commit | 33b230b34ae4f0646b6d16576b8d394b5153ae8f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sun Oct 04 09:16:41 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 04 09:19:36 2009 +0200 |
tree | 9ad598661b17c77b28b42d6edaccd44e62203bb9 | |
parent | f27b5ea8dc615bd2a9ffaba90ba3dda66567dbc4 [diff] |
[BUG] stats: don't call buffer_shutw(), but ->shutw() instead Calling buffer_shutw() marks the buffer as closed but if it was already closed in the other direction, the stream interface is not marked as closed, causing infinite loops. We took this opportunity to completely remove buffer_shutw() and buffer_shutr() which have no reason to be used at all and which will always cause trouble when directly called. The stats occurrence was the last one.