cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Randomly no response from IIS, but *only* with cURL

From: Felix E. Klee <felix.klee_at_inka.de>
Date: Tue, 7 Feb 2012 12:44:27 +0100

I read a little bit about other people having issues with IIS sometimes
taking minutes to respond:

  http://forums.iis.net/p/1155755/1942669.aspx

Someone speculates about a possible cause of the problem:

  FireFox apparently holds connections for 5 minutes and attempts to
  reuse them during this time period. This may be longer than other
  browsers and may explain why FireFox is the only one that displays
  this issue.

Maybe cURL is also holding connections for a long time?

I now set "CURLOPT_FRESH_CONNECT" to 1, just to see if that makes the
problem go away. Could that be a solution? What would be the
disadvantage of setting "CURLOPT_FRESH_CONNECT" to 1?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-07