]> git.kaiwu.me - haproxy.git/commit
MAJOR: http: stop using msg->sol outside the parsers
authorWilly Tarreau <w@1wt.eu>
Fri, 18 May 2012 20:36:34 +0000 (22:36 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 18 May 2012 20:43:55 +0000 (22:43 +0200)
commit09d1e254c9b96300e425d0a99a162618cab12c38
tree39dd3be598db5eae1f8225b880655371b0aa201b
parentd1de8af362905d43bcd96e7522fcee62a93a53bf
MAJOR: http: stop using msg->sol outside the parsers

This is a left-over from the buffer changes. Msg->sol is always null at the
end of the parsing, so we must not use it anymore to read headers or find
the beginning of a message. As a side effect, the dump of the request in
debug mode is working again because it was relying on msg->sol not being
null.

Maybe it will even be mergeable with another of the message pointers.
include/types/proto_http.h
src/backend.c
src/proto_http.c