cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: socket error with NTLM auth proxy and multi interface

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Oct 2011 21:55:35 +0200 (CEST)

On Thu, 6 Oct 2011, Pingzhong Li wrote:

> The line where conn->bits.rewindaftersend is set as true. At the code which
> only uses easy interface, this code won't be hit. However for code which
> uses both easy and multi interface (although it only has one easy interface
> inside) would hit this code. If I just change that line to like this to
> never let rewind happen: conn->bits.rewindaftersend = FALSE; My code would
> work without any socket error and iStillRunning got from curl_multi_perform
> would be correct as well.
>
> Any suggestion how we could avoid to let it rewind? Why do we need to rewind
> here?

I don't recall the reason right now off the top of my head. Can you still run
all the test cases with with your change applied?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-14