commit | 61b347342cbf93abc96bf0a9a4744ea5acce00c4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Oct 03 23:49:35 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 04 11:00:11 2009 +0200 |
tree | 9ecd5cbba431fca208ea7cdd0878cef1a6c9b118 | |
parent | fe8903cc76184ef20109d9ec9729a88368b2ccd7 [diff] |
[MINOR] stats_dump_errors_to_buffer: use buffer_feed_chunk() We can simplify the code in the stats functions using buffer_feed_chunk() instead of buffer_write_chunk(). Let's start with this function. This patch also fixed an issue where we could dump past the end of the capture buffer if it is shorter than the captured request.