mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-01 22:48:25 +00:00
BUG/MINOR: proto-http: Don't forward request body anymore on error
In the commit 93e02d8b7
("MINOR: proto-http/proto-htx: Make error handling
clearer during data forwarding"), a return clause was removed by error in the
function http_request_forward_body(). This bug seems not having any visible
impact.
This patch must be backported to 1.9.
This commit is contained in:
parent
d360ac60f4
commit
2f5c784864
@ -3992,6 +3992,7 @@ int http_request_forward_body(struct stream *s, struct channel *req, int an_bit)
|
||||
msg->err_state = msg->msg_state;
|
||||
msg->msg_state = HTTP_MSG_ERROR;
|
||||
http_resync_states(s);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Note that we don't have to send 100-continue back because we don't
|
||||
|
Loading…
Reference in New Issue
Block a user