[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:
Willy Tarreau 2010-01-05 00:58:24 +01:00
parent 2fa144c66a
commit 9300fb2c01

View file

@ -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 */