ygrek / ocurl

OCaml bindings to libcurl
https://ygrek.org/p/ocurl
MIT License
59 stars 32 forks source link

add support for tcp_keepalive, tcp_keepidle, tcp_keepintvl options #70

Closed sewenthy closed 8 months ago

sewenthy commented 9 months ago

These options help with sending TCP level probes to make sure connection is alive.

See: https://curl.se/libcurl/c/CURLOPT_TCP_KEEPALIVE.html

sewenthy commented 8 months ago

fixup in: https://github.com/ygrek/ocurl/pull/70/commits/170985041a1bd7fa1d629352e095a6e2d5153986 test in: https://github.com/ygrek/ocurl/pull/70/commits/95e6ff8643581c261cf2f5f85e80b02fdf8b72a4

thanks!