]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: http: don't reject anymore message bodies not containing the url param
authorWilly Tarreau <w@1wt.eu>
Thu, 10 Apr 2014 09:50:37 +0000 (11:50 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 22 Apr 2014 21:15:27 +0000 (23:15 +0200)
commit31a19957d60c36d061a1670e1a5b49ff20f8c7bf
tree1bf6326d20b4d02ecc1ba203ea9a2c4df9736877
parentdad3d1d402a08d0fd6c14736756279a0949ff4ee
MEDIUM: http: don't reject anymore message bodies not containing the url param

http_process_request_body() currently expects a request body containing
exactly an expected message body. This was done in order to support load
balancing on a unique POST parameter but the way it's done still suffers
from some limitations. One of them is that there is no guarantee that the
accepted message will contain the appropriate string if it starts with
another parameter. But at the same time it will reject a message when the
buffer is full.

So as a first step, we don't reject anymore message bodies that fill the
buffer.
src/proto_http.c