cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] Keepalive - one step further

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 2 Jan 2008 22:25:34 +0100

On Jan 2, 2008 4:25 PM, <autrelandes-curl_at_yahoo.fr> wrote:

> I have written a patch against current CVS for adding the possibility to
> change the tcp_keepalive_probes, tcp_keepalive_time and tcp_keepalive_intvl
> on a per-socket basis in libcurl and in curl (it avoids to have to change
> kernel parameters for every socket).

Thanks, but can you please elaborate on why you think libcurl needs to
have this ability rather than you just set these options in your app
using one of the existing callbacks libcurl already provides? Like
CURLOPT_SOCKOPTFUNCTION...
Received on 2008-01-04