]> git.ipfire.org Git - thirdparty/curl.git/commit
quic: manage connection idle timeouts
authorStefan Eissing <stefan@eissing.org>
Tue, 10 Oct 2023 10:51:25 +0000 (12:51 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Oct 2023 21:15:47 +0000 (23:15 +0200)
commit9cc57875777eacbb514bcc741350393999e14eca
tree8a49e8bf514d1d91faf2f700bbbd3714ecc973e4
parentf1e05a6e6e7225fa09952abb2c935ae1abe44f45
quic: manage connection idle timeouts

- configure a 120s idle timeout on our side of the connection
- track the timestamp when actual socket IO happens
- check IO timestamp to our *and* the peer's idle timeouts
  in "is this connection alive" checks

Reported-by: calvin2021y on github
Fixes #12064
Closes #12077
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_quiche.c
lib/vquic/vquic.c
lib/vquic/vquic_int.h