]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] make it possible to change the buffer size in the configuration
authorWilly Tarreau <w@1wt.eu>
Mon, 17 Aug 2009 05:23:33 +0000 (07:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Aug 2009 20:56:56 +0000 (22:56 +0200)
commit27a674efb84bde8c045b87c9634f123e2f8925dc
tree1f61d8e91716e4820fef83f9060a68d37a767e38
parenta07a34eb24d5765070ef35a572db9f5d21efe259
[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.
doc/configuration.txt
include/types/global.h
src/buffers.c
src/cfgparse.c
src/client.c
src/haproxy.c
src/proto_uxst.c
src/session.c