cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: NTLM proxy nightmare - POST problem?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 15 Mar 2007 13:06:24 +0100 (CET)

On Fri, 9 Mar 2007, Jonathan Arnold wrote:

> Okay, I added the call to CURLOPT_POSTFIELDSIZE and backed out my changes.
> There is still the problem where it thinks there is something to send, but
> there is no socket opened to send it. But it does point out a flaw in my
> little hack, because expectsend now equals 6, so it would fall through into
> the bad if conditional anyway. This may also show some kind of bug where
> the postfieldsize isn't getting set early enough if it isn't set by the
> user?

I believe postfieldsize is only set internally if you set the
CURLOPT_POSTFIELDS option, and then it sets it to strlen() of the given string
if you haven't set it yourself.

Any chance you can covert your troubles into a taste case for curl's test
suite?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-15

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET