cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: tcp keepalice probes

From: Tiaan Wessels <tiaanwessels_at_gmail.com>
Date: Wed, 21 Oct 2015 08:22:47 +0000

No, its not counterproductive at all. If you are allowed to set the other
keepalive parameters, why single out the probe count? One has insight and
historical history of you network reliability and only if you can set all
three parameters can you minimise outage for your critical network
connections.
Regards
On 21 Oct 2015 10:19, "Daniel Stenberg" <daniel_at_haxx.se> wrote:

> On Wed, 21 Oct 2015, Tiaan Wessels wrote:
>
> It seems that libcurl is missing the ability to set the number of tcp
>> keepalive probes. Is this correct?
>>
>
> That seems to be the case. In what sort of use case do you want to limit
> the number of keepalives? Isn't that counter-productive?
>
> Anyway: you can always set your own socket options anyway to whatever you
> like with CURLOPT_SOCKOPTFUNCTION:
> http://curl.haxx.se/libcurl/c/CURLOPT_SOCKOPTFUNCTION.html
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-21