[MEDIUM] replace BUFSIZE with buf->size in computations
authorWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 21:27:46 +0000 (23:27 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 16 Aug 2009 21:27:46 +0000 (23:27 +0200)
commita07a34eb24d5765070ef35a572db9f5d21efe259
tree1ecbed3f2907e755fe813dce03f89d12dde5a289
parent4e5b8287a6fe500fc0af6c68635a05d69cecf40b
[MEDIUM] replace BUFSIZE with buf->size in computations

The first step towards dynamic buffer size consists in removing
all static definitions of the buffer size. Instead, we store a
buffer's size in itself. Right now they're all preinitialized
to BUFSIZE, but we will change that.
include/proto/buffers.h
include/types/buffers.h
src/buffers.c
src/client.c
src/proto_http.c
src/proto_uxst.c
src/session.c
src/stream_sock.c