]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] http: the request URI pointer is relative to the buffer
authorWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 12:04:35 +0000 (13:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 3 Jan 2010 12:04:35 +0000 (13:04 +0100)
commita95a1f46143d56996b55df6dac87007472570832
tree15eda9a02b3b3a804f365592b829ed48a3d6c37f
parent3bb9c23bd61b68b56cf667a1870f03b3af3e122a
[BUG] http: the request URI pointer is relative to the buffer

The rq.u field is relative to buf->data, not to msg->sol. We have
to subtract msg->som everywhere this error was made. Maybe it will
be simpler to have a pointer to the buffer in the message and find
appropriate data there.
src/backend.c
src/proto_http.c