commit | fc2a2d97d6855e9a00a22bc26623e4f2f2c1aeda | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 29 18:15:01 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Sep 29 18:15:01 2015 +0200 |
tree | a82b695b2470868cff564a675899db787feeccda | |
parent | f50ec0fdbc7f5c8eff3fa91c09ce19c5df3cf8d6 [diff] |
CLEANUP: tcp: silent-drop: only drain the connection when quick-ack is disabled The conn_sock_drain() call is only there to force the system to ACK pending data in case of TCP_QUICKACK so that the client doesn't retransmit, otherwise it leads to a real RST making the feature useless. There's no point in draining the connection when quick ack cannot be disabled, so let's move the call inside the ifdef part.