From 08088e77c6d5d0a406db1099402b82392fcf182c Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 1 Oct 2018 12:10:13 +0200 Subject: [PATCH] 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. --- include/types/connection.h | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.39.5