[BUG] Status line in HTTP response could not be rewritten

Typo implied use of HTTP_MSG_RQMETH state instead of HTTP_MSG_RPVER.
This commit is contained in:
Willy Tarreau 2007-04-03 14:45:44 +02:00
parent 1e443e9084
commit 02785764a4

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