haproxy/include
Willy Tarreau ad38acedaa MEDIUM: connection: centralize handling of nolinger in fd management
Right now we see many places doing their own setsockopt(SO_LINGER).
Better only do it just before the close() in fd_delete(). For this
we add a new flag on the file descriptor, indicating if it's safe or
not to linger. If not (eg: after a connect()), then the setsockopt()
call is automatically performed before a close().

The flag automatically turns to safe when receiving a read0.
2013-12-16 02:23:52 +01:00
..
common BUILD: definitely silence some stupid GCC warnings 2013-12-13 15:21:36 +01:00
import
proto MEDIUM: connection: centralize handling of nolinger in fd management 2013-12-16 02:23:52 +01:00
types MEDIUM: connection: centralize handling of nolinger in fd management 2013-12-16 02:23:52 +01:00