]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: http: the action set-{method|path|query|uri} doesn't run.
authorThierry FOURNIER <tfournier@haproxy.com>
Sat, 14 Mar 2015 13:14:47 +0000 (14:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 14 Mar 2015 14:53:31 +0000 (15:53 +0100)
commit01c30124ae36bc13ffa0d0373015ceffdf97b08e
treec85859fd8871dafe4e5a7efbc327dc981730c4fd
parent10b688f2b4b429941032c3c71934985e03d50687
BUG/MEDIUM: http: the action set-{method|path|query|uri} doesn't run.

This bug is introduced by the commit "MEDIUM: http/tcp: permit to
resume http and tcp custom actions" ( bc4c1ac6ad3dfd5bb ).

Before this patch, the return code of the function was ignored.
After this path, if the function returns 0, it wats a YIELD.

The function http_action_set_req_line() retunrs 0, in succes case.

This patch changes the return code of this function.
src/proto_http.c