cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: curl_exec() dies intermittently

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 6 Sep 2007 15:02:42 +0200 (CEST)

On Thu, 6 Sep 2007, Richard Draucker wrote:

> My application repeatedly requests pages from a given site. Some sites work
> just fine. Others, however, intermittently hang while executing
> curl_exec().

The subject says "dies" and this says "hang". I take it hang is the word you
wanted to use?

> Any suggestions as to how to prevent curl_exec() from hanging or how to make
> CURLOPT_TIMEOUT force a return after the specified time period?

What libcurl version is this? libcurl is supposed to always return no sooner
than the given timeout time...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-09-06