[gnutls-devel] GnuTLS | need configurable echo server inactivity timeout (#1471)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Mon Mar 13 19:41:06 CET 2023
John Muehlhausen created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1471
gnutls-serv does not appear to allow testing of heartbeats (-b) via echo server since timeout is hard-coded to 30 seconds? Recommend adding a configuration parameter to control the inactivity interval.
```
if (j->start != 0 && now - j->start > 30) {
if (verbose != 0) {
fprintf(stderr, "Scheduling inactive connection for close\n");
}
j->http_state = HTTP_STATE_CLOSING;
}
```
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1471
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230313/9a4d257f/attachment-0001.html>
More information about the Gnutls-devel
mailing list