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:
Christopher Faulet 2017-07-18 10:35:55 +02:00 committed by Willy Tarreau
parent 7ab16868bc
commit a3992e06a6

View File

@ -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))