mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
[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:
parent
1e443e9084
commit
02785764a4
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user