commit | 27a674efb84bde8c045b87c9634f123e2f8925dc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Aug 17 07:23:33 2009 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Aug 17 22:56:56 2009 +0200 |
tree | 1f61d8e91716e4820fef83f9060a68d37a767e38 | |
parent | a07a34eb24d5765070ef35a572db9f5d21efe259 [diff] |
[MEDIUM] make it possible to change the buffer size in the configuration The new tune.bufsize and tune.maxrewrite global directives allow one to change the buffer size and the maxrewrite size. Right now, setting bufsize too low will block stats sockets which will not be able to write at all. An error checking must be added to buffer_write_chunk() so that if it cannot write its message to an empty buffer, it causes the caller to abort.