From: Willy Tarreau Date: Tue, 3 Apr 2007 12:45:44 +0000 (+0200) Subject: [BUG] Status line in HTTP response could not be rewritten X-Git-Tag: v1.3.8.2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02785764a4625cc10de36bbf1d5dcf2fa87389c3;p=thirdparty%2Fhaproxy.git [BUG] Status line in HTTP response could not be rewritten Typo implied use of HTTP_MSG_RQMETH state instead of HTTP_MSG_RPVER. --- diff --git a/src/proto_http.c b/src/proto_http.c index c8d4acb964..236e77464f 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -4564,7 +4564,7 @@ int apply_filter_to_sts_line(struct session *t, struct buffer *rtr, struct hdr_e cur_end += delta; cur_end = (char *)http_parse_stsline(&txn->rsp, rtr->data, - HTTP_MSG_RQMETH, + HTTP_MSG_RPVER, cur_ptr, cur_end + 1, NULL, NULL); if (unlikely(!cur_end))