]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: h2: reverse connection after SETTINGS reception
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 27 Jul 2023 13:58:08 +0000 (15:58 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Thu, 24 Aug 2023 12:49:03 +0000 (14:49 +0200)
commit4fb538d4b6743dcd6f01acb47bf8a5a3ea111fb2
tree8c17ee298863925dd64ce38123ff71dbce42c119
parent1f76b8ae075507891b8d12a8501faddc6c5e6c8f
MEDIUM: h2: reverse connection after SETTINGS reception

Reverse connection after SETTINGS reception if it was set as reversable.
This operation is done in a new function h2_conn_reverse(). It regroups
common changes which are needed for both reversal direction :
H2_CF_IS_BACK is set or unset and timeouts are inverted.

For the moment, only passive reverse is fully implemented. Once done,
the connection instance is directly inserted in its targetted server
pool. It can then be used immediately for future transfers using this
server.
include/haproxy/connection.h
src/mux_h2.c