From 02785764a4625cc10de36bbf1d5dcf2fa87389c3 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Tue, 3 Apr 2007 14:45:44 +0200 Subject: [PATCH] [BUG] Status line in HTTP response could not be rewritten Typo implied use of HTTP_MSG_RQMETH state instead of HTTP_MSG_RPVER. --- src/proto_http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto_http.c b/src/proto_http.c index c8d4acb96..236e77464 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))