cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: I've found that libcurl isn't sending params sometimes to NTLM proxies?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Oct 2008 22:13:57 +0100 (CET)

On Thu, 30 Oct 2008, Theodore H. Smith wrote:

> Any work arounds anyone?

libcurl issues are better sent to the curl-library list.

>> It seems libcurl really ISNT sending the params sometimes. So the fault
>> seems to be with libcurl. Here is the output. It's NOT using the curl
>> executable, as it was harder to reproduce the error there. I did try to use
>> a format similar to the one curl outputs, but it's not identical :)
>>
>> Also... for what it's worth, this error rarely happens unless I use the
>> "multi" interface.

So it still fails sometimes with the easy interface? Does it ever work with
the multi interface? When it works, does it work against the same server/proxy
it also somtimes fails against? i.e is the error consistent or not.

>> Proxy-Authorization: NTLM TlRMTVNTUAABAAAABoIIAAAAAAAAAAAAAAAAAAAAAAA=
>> Proxy-Connection: Keep-Alive
>> Content-Length: 0
>>
>> <= Recv header: HTTP/1.1 200 OK
>> <= Recv header: Date: Thu, 30 Oct 2008 13:45:44 GMT
>> <= Recv header:
>>
>> => Send data
>> 10

Uh? It sends data even though it sent "Content-Length: 0" ? That certainly
looks wrong. Did you really show us the full output?

Can you show us a complete example code that repeats this problem for you?

Oh BTW: Are you still using that old version from before? I'm only really
interested in answers to all my questions if you also see this problem with
libcurl 7.19.0.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2008-10-31