MINOR: stream-int/txn: Move buffer for L7 retries in the HTTP transaction
The L7 retries only concerns the stream when a server connection is
established. Thus instead of storing the L7 buffer into the
stream-interface, it may be moved to the stream. And because it is only
available for HTTP streams, it may be moved in the HTTP transaction.
Associated flags are also moved into the HTTP transaction.
diff --git a/src/stream.c b/src/stream.c
index 833be0e..fe1e2c2 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -2163,8 +2163,8 @@
si_b->conn_retries = s->be->conn_retries;
if ((s->be->retry_type &~ PR_RE_CONN_FAILED) &&
(s->be->mode == PR_MODE_HTTP) &&
- !(si_b->flags & SI_FL_D_L7_RETRY))
- si_b->flags |= SI_FL_L7_RETRY;
+ !(s->txn->flags & TX_D_L7_RETRY))
+ s->txn->flags |= TX_L7_RETRY;
}
}
else {