commit | 9fbbff6de4222c79236043a2f9c2f5e6d7fb6c81 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 05 17:24:42 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Oct 31 18:03:24 2017 +0100 |
tree | 10894eac6c3193c0c22e0ef5f50b24ccc3400b89 | |
parent | ecdb3fe9f4b27ffe053d34d92a4c37692af49737 [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.