commit | f9ce57e86c9126785a25e5b6625f0f43b17ce210 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 05 17:24:42 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 22 09:54:16 2017 +0200 |
tree | 712e8875568eaad561712b77c6780a7f6f4d82e9 | |
parent | 1a0545f3d74630ee124540c2fc77f8c88c81df04 [diff] |
MEDIUM: connection: make conn_sock_shutw() aware of lingering Instead of having to manually handle lingering outside, let's make conn_sock_shutw() check for it before calling shutdown(). We simply don't want to emit the FIN if we're going to reset the connection due to lingering. It's particularly important for silent-drop where it's absolutely mandatory that no packet leaves the machine.