acpid: update to 2.0.28
[feed/packages.git] / net / haproxy / patches / 0011-BUG-MINOR-http-Set-the-response-error-state-in-http_.patch
1 From 9304b76fb37a36f6249ec963093d74210bd237f6 Mon Sep 17 00:00:00 2001
2 From: Christopher Faulet <cfaulet@haproxy.com>
3 Date: Tue, 18 Jul 2017 10:35:55 +0200
4 Subject: [PATCH 11/18] BUG/MINOR: http: Set the response error state in
5 http_sync_res_state
6
7 This is just typo. It may only report a wrong response message state in
8 "show errors" on the CLI.
9
10 This patch must be backported in 1.7.
11
12 (cherry picked from commit a3992e06a6e74142d9784d18d8cb3527fadb64d6)
13 Signed-off-by: William Lallemand <wlallemand@haproxy.org>
14 ---
15 src/proto_http.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/src/proto_http.c b/src/proto_http.c
19 index 94c8d639..796955f5 100644
20 --- a/src/proto_http.c
21 +++ b/src/proto_http.c
22 @@ -5530,7 +5530,7 @@ int http_sync_res_state(struct stream *s)
23 goto http_msg_closed;
24 }
25 else if (chn->flags & CF_SHUTW) {
26 - txn->req.err_state = txn->req.msg_state;
27 + txn->rsp.err_state = txn->rsp.msg_state;
28 txn->rsp.msg_state = HTTP_MSG_ERROR;
29 s->be->be_counters.cli_aborts++;
30 if (objt_server(s->target))
31 --
32 2.13.0
33