curl-and-php
Re: Premature timeout
Date: Fri, 21 May 2004 10:32:10 -0400 (EDT)
--- Daniel Stenberg <daniel-curl_at_haxx.se> wrote: > On Wed, 19 May
2004, Alex Bolgarov wrote:
>
> > But in reality, curl reports "Empty reply from server" (error
> 52) in 15 sec.
>
> This error means that curl connected fine and that it sent a
> (HTTP) request
> but got no data at all back.
Yes, I understand this, and since we have firewalled down the
server port in this test, this was an expected behaviour.
The question I was asking was how can I control (if I can at all)
the timeout when the curl waits for something to be received from
the server. I set all possible timeouts (CURLOPT_TIMEOUT and
CURLOPT_CONNECTTIMEOUT) to 60 sec, and was expected the curl to
wait for 60 sec. Instead, it waited only for 15 sec.
Thank you,
alex.
______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca
Received on 2004-05-21