mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-25 08:10:54 -04:00
[BUG] http: redirect needed to be updated after recent changes
The data forwarding fixes broke http redirection which relied on tricks.
This commit is contained in:
parent
2fa144c66a
commit
9300fb2c01
1 changed files with 3 additions and 2 deletions
|
|
@ -2834,8 +2834,9 @@ int http_process_req_common(struct session *s, struct buffer *req, int an_bit, s
|
|||
buffer_ignore(req, msg->sov - msg->som);
|
||||
msg->som = msg->sov;
|
||||
req->analysers = AN_REQ_HTTP_XFER_BODY;
|
||||
txn->req.msg_state = HTTP_MSG_DONE;
|
||||
txn->rsp.msg_state = HTTP_MSG_CLOSED;
|
||||
s->rep->analysers = AN_RES_HTTP_XFER_BODY;
|
||||
txn->req.msg_state = HTTP_MSG_CLOSED;
|
||||
txn->rsp.msg_state = HTTP_MSG_DONE;
|
||||
break;
|
||||
} else {
|
||||
/* keep-alive not possible */
|
||||
|
|
|
|||
Loading…
Reference in a new issue