Re: NTLM proxy nightmare - POST problem?
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
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
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-03-15