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


Re: curl_exec() dies intermittently

From: Daniel Stenberg <>
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:
Received on 2007-09-06