mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-15 07:54:33 +00:00
BUG/MINOR: http: Set the response error state in http_sync_res_state
This is just typo. It may only report a wrong response message state in "show errors" on the CLI. This patch must be backported in 1.7.
This commit is contained in:
parent
7ab16868bc
commit
a3992e06a6
@ -5549,7 +5549,7 @@ int http_sync_res_state(struct stream *s)
|
||||
goto http_msg_closed;
|
||||
}
|
||||
else if (chn->flags & CF_SHUTW) {
|
||||
txn->req.err_state = txn->req.msg_state;
|
||||
txn->rsp.err_state = txn->rsp.msg_state;
|
||||
txn->rsp.msg_state = HTTP_MSG_ERROR;
|
||||
s->be->be_counters.cli_aborts++;
|
||||
if (objt_server(s->target))
|
||||
|
Loading…
Reference in New Issue
Block a user