mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-28 04:12:17 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue