mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-15 07:54:33 +00:00
MINOR: stream: Don't reset sov value with HTX messages
This commit is contained in:
parent
ef77922776
commit
ed28da534a
@ -2192,7 +2192,7 @@ redo:
|
|||||||
* we simply reset msg->sov so that HTTP rewinding points to the
|
* we simply reset msg->sov so that HTTP rewinding points to the
|
||||||
* headers.
|
* headers.
|
||||||
*/
|
*/
|
||||||
if (s->txn)
|
if (IS_HTX_STRM(s) && s->txn)
|
||||||
s->txn->req.sov = s->txn->req.eoh + s->txn->req.eol - co_data(req);
|
s->txn->req.sov = s->txn->req.eoh + s->txn->req.eol - co_data(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2353,7 +2353,7 @@ redo:
|
|||||||
* we simply reset msg->sov so that HTTP rewinding points to the
|
* we simply reset msg->sov so that HTTP rewinding points to the
|
||||||
* headers.
|
* headers.
|
||||||
*/
|
*/
|
||||||
if (s->txn)
|
if (IS_HTX_STRM(s) && s->txn)
|
||||||
s->txn->rsp.sov = s->txn->rsp.eoh + s->txn->rsp.eol - co_data(res);
|
s->txn->rsp.sov = s->txn->rsp.eoh + s->txn->rsp.eol - co_data(res);
|
||||||
|
|
||||||
/* if we have no analyser anymore in any direction and have a
|
/* if we have no analyser anymore in any direction and have a
|
||||||
|
Loading…
Reference in New Issue
Block a user