]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[BUG] Status line in HTTP response could not be rewritten
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Apr 2007 12:45:44 +0000 (14:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 3 Apr 2007 12:45:44 +0000 (14:45 +0200)
Typo implied use of HTTP_MSG_RQMETH state instead of HTTP_MSG_RPVER.

src/proto_http.c

index c8d4acb964f357dfde29e4c1090404db8e5f10b0..236e77464fd80bb92c229d482c889e299fadcba2 100644 (file)
@@ -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))