cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: tcp keepalice probes

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Oct 2015 10:03:50 +0200 (CEST)

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
Received on 2015-10-21