From: Christopher Faulet Date: Mon, 1 Oct 2018 10:10:13 +0000 (+0200) Subject: MINOR: conn-stream: Add CL_FL_NOT_FIRST flag X-Git-Tag: v1.9-dev4~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08088e77c6d5d0a406db1099402b82392fcf182c;p=thirdparty%2Fhaproxy.git MINOR: conn-stream: Add CL_FL_NOT_FIRST flag This flags will be used by multiplexers to warn a conn-stream (and, by transitivity, a stream) it is not the first one created by the mux. It will help mux H1 to handle keep-alive connections. --- diff --git a/include/types/connection.h b/include/types/connection.h index 20daa43e1e..8a0ce79f40 100644 --- a/include/types/connection.h +++ b/include/types/connection.h @@ -83,6 +83,8 @@ enum { CS_FL_EOS = 0x00001000, /* End of stream delivered to data layer */ CS_FL_REOS = 0x00002000, /* End of stream received (buffer not empty) */ CS_FL_WAIT_FOR_HS = 0x00010000, /* This stream is waiting for handhskae */ + + CS_FL_NOT_FIRST = 0x00100000, /* This stream is not the first one */ }; /* cs_shutr() modes */