Browse code

tcp: define new flag to control tcpop's tcp:closed

for enhancement #461

Camille Oudot authored on 29/01/2016 17:18:19
Showing 1 changed files
... ...
@@ -55,6 +55,7 @@
55 55
 #define F_CONN_WANTS_RD  4096  /* conn. should be watched for READ */
56 56
 #define F_CONN_WANTS_WR  8192  /* conn. should be watched for WRITE */
57 57
 #define F_CONN_PASSIVE  16384 /* conn. created via accept() and not connect()*/
58
+#define F_CONN_CLOSE_EV 32768 /* explicitely call tcpops ev route when closed */
58 59
 
59 60
 #ifndef NO_READ_HTTP11
60 61
 #define READ_HTTP11