commit | cb359e3f3cf6d3334d2d07613a374c8d0cd470ae | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Sep 15 21:23:54 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sat Sep 19 14:53:47 2009 +0200 |
tree | daa3486d247e56f19be4f29ec1ed6fa98f927ed6 | |
parent | 9cb8daa20364796816730d17aab86362b0686310 [diff] |
[MEDIUM] stream_interface: make use of buffer_cut_tail() to report errors The stream_int_return() function used to call buffer_erase() on the response buffer, which completely wipes it without taking care about whatever could have been there. Now we more carefully strip only data not scheduled to be sent.