]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: channel/stconn: Move rto/wto from the channel to the stconn
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 Feb 2023 10:09:15 +0000 (11:09 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 22 Feb 2023 13:52:15 +0000 (14:52 +0100)
commited7e66fe1a316c5344e10da9d3433ad67d2ce866
tree0f21987cce1b29beb299b9e2899ac990ae11a73a
parent6362934793af284bd249466ca35e51742721dd96
MINOR: channel/stconn: Move rto/wto from the channel to the stconn

Read and write timeouts concerns the I/O. Thus, it is logical to move it into
the stconn. At the end, the stream is responsible to detect the timeouts. So
it is logcial to have these values in the stconn and not in the SE
descriptor. But it may change depending on the recfactoring.

So, now:
  * scf->rto is used instead of req->rto
  * scf->wto is used instead of res->wto
  * scb->rto is used instead of res->rto
  * scb->wto is used instead of req->wto
include/haproxy/channel-t.h
include/haproxy/stconn-t.h
src/cli.c
src/dns.c
src/hlua.c
src/http_ana.c
src/http_client.c
src/sink.c
src/stconn.c
src/stream.c