diff options
author | Brad Smith <brad@comstyle.com> | 2022-08-12 18:23:28 -0400 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-08-12 19:36:25 -0400 |
commit | 6524a2fb6faa2b4281c6d45bc0c15879a011a718 (patch) | |
tree | ae7c6fec9cc4b64afed7575d961bb2a083ee53b4 /src/fdevent.c | |
parent | 6252c682da883ae761d5c9685e5c96fd1c360168 (diff) | |
download | lighttpd-git-6524a2fb6faa2b4281c6d45bc0c15879a011a718.tar.gz |
Update comment about TCP_INFO on OpenBSD
github: closes #113
Diffstat (limited to 'src/fdevent.c')
-rw-r--r-- | src/fdevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fdevent.c b/src/fdevent.c index 4194e18e..0394f0e5 100644 --- a/src/fdevent.c +++ b/src/fdevent.c @@ -544,7 +544,7 @@ int fdevent_is_tcp_half_closed(int fd) { return (0 == getsockopt(fd, IPPROTO_TCP, TCP_CONNECTION_INFO, &tcpi, &tlen) && tcpi.tcpi_state == TCPS_CLOSE_WAIT); #elif defined(TCP_INFO) && defined(TCPS_CLOSE_WAIT) - /* FreeBSD, NetBSD (not present in OpenBSD or DragonFlyBSD) */ + /* FreeBSD, NetBSD, OpenBSD (not present in DragonFlyBSD) */ struct tcp_info tcpi; socklen_t tlen = sizeof(tcpi); return (0 == getsockopt(fd, IPPROTO_TCP, TCP_INFO, &tcpi, &tlen) |