]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] debug: correctly report truncated messages
authorWilly Tarreau <w@1wt.eu>
Mon, 7 Jun 2010 12:06:08 +0000 (14:06 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 7 Jun 2010 20:43:55 +0000 (22:43 +0200)
commit663308bea1ec769cb5e560b11eeec7be055b83ab
tree9949cd9ba2de61da916471dd5d312bb9d5277e0b
parent1ba0e5f4510bb9917699019d02eff315d9497006
[BUG] debug: correctly report truncated messages

By using msg->sol as the beginning of a message, wrong messages were
displayed in debug mode when they were truncated on the last line,
because msg->sol points to the beginning of the last line. Use
data+msg->som instead.
src/proto_http.c