Select query failing now Moriarty uses curl-multi on Curl 7.21.0

3 views
Skip to first unread message

astilla

unread,
Jul 23, 2010, 10:20:28 AM7/23/10
to moriarty-dev
I've just tried upgrading Aspire to use the head revision of Moriarty
as we're currently languishing on revision 92.

We're using cURL to make requests as opposed to the HTTP/SASL
libraries so Moriarty is using CurlHttpClient internally.

Normal DESCRIBE queries seem to work on but SELECT queries don't for
some reason. After adding logging I can see that when curl multi is
polling for the response and it gets a message back the raw response
doesn't conain anything

( CurlHttpClient -> processCurlMessage() )
$raw_response = curl_multi_getcontent($done['handle']);

I am running on MacPorts on OSX10.6.4 and using cURL 7.21.0 (libcurl
7.21.0).

When trying the same svn branch on Ubuntu using cURL 7.18.0 the SELECT
query works as expected.

Anyone seen anything like this? Would it be a specific cURL version
problem or maybe an issue somewhere in Moriarty.

I'm going to continue trying to track down the issue but if anyone has
seen this or knows a way to fix it then please let me know.

Andrew

astilla

unread,
Aug 3, 2010, 10:00:19 AM8/3/10
to moriarty-dev
Anyone seen this or able to reproduce on whatever version of cURL
you're running?

Fails on my MacPorts with cURL 7.21.0, works on Ubuntu with cURL
7.18.0.

If I get the time I'll try and create a stub page/app that shows the
issue on latest Moriary..

Andrew

Rob Styles

unread,
Aug 4, 2010, 4:16:03 AM8/4/10
to moriar...@googlegroups.com
I have curl 7.21.0 installed, so if you create a command line php script I'll take a look.

rob

--
You received this message because you are subscribed to the Google Groups "moriarty-dev" group.
To post to this group, send email to moriar...@googlegroups.com.
To unsubscribe from this group, send email to moriarty-dev...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/moriarty-dev?hl=en.




--
Rob Styles
http://dynamicorange.com

Andrew Bate

unread,
Aug 4, 2010, 1:38:55 PM8/4/10
to moriar...@googlegroups.com
Cheers Rob - prob won't be until the weekend but would be good to see if anyone else gets the same issue.

astilla

unread,
Aug 19, 2010, 7:48:05 AM8/19/10
to moriarty-dev
I've finally got time to go back and look at this again and it seems
it was a buggy version of cURL (7.21.0).

I upgraded my MacPorts a few days ago and cURL 7.21.1 came down so I
tried my branch again and the problem went away. Googling for the
release notes for 7.21.1 does seem to indicate that it fixed a couple
of issues around curl-multi requests.

So, don't use cURL 7.21.0 with Moriarty :-)

Andrew
Reply all
Reply to author
Forward
0 new messages