commit | 0a5d5ddeb98f37149c04e6f729f0320b9a15957c | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Nov 23 19:31:35 2008 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Nov 23 19:31:35 2008 +0100 |
tree | f5cfd17b0979b655ba7484306e6419acfc72c581 | |
parent | 74ab2ac7b0aaf7f96afd063c6e4f8a2f3653155b [diff] |
[MEDIUM] remove stream_sock_update_data() Two new functions are used instead : buffer_check_{shutr,shutw}. It is indeed more adequate to check for new closures only when the buffer reports them. Several remaining unclosed connections were detected after a test, even before this patch, so a bug remains. To reproduce, try the following during 30 seconds : inject30l4 -n 20000 -l -t 1000 -P 10 -o 4 -u 100 -s 100 -G 127.0.0.1:8000/