]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] http: offsets are relative to the buffer, not to ->som
authorWilly Tarreau <w@1wt.eu>
Sun, 27 Dec 2009 14:50:06 +0000 (15:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 27 Dec 2009 14:50:06 +0000 (15:50 +0100)
commit1d3bcce4dd2f6e440a9a7680870c5ca7aea28be1
tree4ec7d52259b43ff0970d271f228842e289571731
parentd21e01c63fec778f85f8321bbb373ab90ec96fb3
[BUG] http: offsets are relative to the buffer, not to ->som

Some wrong operations were performed on buffers, assuming the
offsets were relative to the beginning of the request while they
are relative to the beginning of the buffer. In practice this is
not yet an issue since both are the same... until we add support
for keep-alive.
include/types/proto_http.h
src/proto_http.c