geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 60240cfb3f5f2bf9fbcb726c6a2c37699ae0900f
parent c99b01b00b1c6d0740e92d9e77ab8e0daa96c4bf
Author: Christoph Lohmann <20h@r-36.net>
Date:   Wed, 22 Jul 2020 15:29:49 +0200

Add comment about lingerie after close.

Diffstat:
main.c | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/main.c b/main.c @@ -869,6 +869,12 @@ main(int argc, char *argv[]) clientp, nocgi, istls); if (!istls) { + /* + * On close only wait for at maximum 60 + * seconds for all data to be transmitted + * before forcefully closing the + * connection. + */ lingerie.l_onoff = 1; lingerie.l_linger = 60; setsockopt(sock, SOL_SOCKET, SO_LINGER,