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

curl-and-php

Re: connection not resuming

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 5 Mar 2008 08:42:18 +0100 (CET)

On Tue, 4 Mar 2008, Mads Martin Joergensen wrote:

>>> Oh, right. I didn't read your question properly it seems. You're
>>> right, that
>>> timeout will not be what you want. But libcurl provides no
>>> particular timeout
>>> for the "connected but not yet provided any data" state.
>
> Can I get it on the wishlist?

CURLOPT_LOW_SPEED_TIME and CURLOPT_LOW_SPEED_LIMIT should cover that case
fine, or you craft your own with the progress callback. I see no reason to
introduce a new timeout.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2008-03-05