commit | c9b654b48b805dcdac34ed7f1fdafa03d617e36d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue May 08 14:46:53 2007 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue May 08 14:46:53 2007 +0200 |
tree | 6e51d7785079a0dba1206ef49f37d08dafdc897e | |
parent | 540abe406dbe907790698f313a6bc39478398d54 [diff] |
[BUG] fix early server close after client close Problem reported by Andy Smith. If a client sends TCP data and quickly closes the connection before the server connection is established, AND the whole buffer can be sent at once when the connection establishes, then the server side believes that it can simply abort the connection because the buffer is empty, without checking that some work was performed. Fix: ensure that nothing was written before closing.