mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
MINOR: h2: add a new flag to quickly distinguish front vs back connection
We will need to know if a mux was created for a front or a back connection and once it's established it's much harder, so let's introduce H2_CF_IS_BACK for this.
This commit is contained in:
parent
a8e4954856
commit
b3fb56db10
@ -60,6 +60,7 @@ static struct pool_head *pool_head_h2s;
|
|||||||
#define H2_CF_GOAWAY_SENT 0x00001000 // a GOAWAY frame was successfully sent
|
#define H2_CF_GOAWAY_SENT 0x00001000 // a GOAWAY frame was successfully sent
|
||||||
#define H2_CF_GOAWAY_FAILED 0x00002000 // a GOAWAY frame failed to be sent
|
#define H2_CF_GOAWAY_FAILED 0x00002000 // a GOAWAY frame failed to be sent
|
||||||
#define H2_CF_WAIT_FOR_HS 0x00004000 // We did check that at least a stream was waiting for handshake
|
#define H2_CF_WAIT_FOR_HS 0x00004000 // We did check that at least a stream was waiting for handshake
|
||||||
|
#define H2_CF_IS_BACK 0x00008000 // this is an outgoing connection
|
||||||
|
|
||||||
|
|
||||||
/* H2 connection state, in h2c->st0 */
|
/* H2 connection state, in h2c->st0 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user