[sr-dev] git:master:df875b53: tcp: define new flag to control tcpop's tcp:closed
Camille Oudot
camille.oudot at orange.com
Tue Feb 9 10:45:51 CET 2016
Module: kamailio
Branch: master
Commit: df875b53340c9e09b6ca0baaa2154000d0bbba47
URL: https://github.com/kamailio/kamailio/commit/df875b53340c9e09b6ca0baaa2154000d0bbba47
Author: Camille Oudot <camille.oudot at orange.com>
Committer: Camille Oudot <camille.oudot at orange.com>
Date: 2016-01-29T18:18:19+01:00
tcp: define new flag to control tcpop's tcp:closed
for enhancement #461
---
Modified: tcp_conn.h
---
Diff: https://github.com/kamailio/kamailio/commit/df875b53340c9e09b6ca0baaa2154000d0bbba47.diff
Patch: https://github.com/kamailio/kamailio/commit/df875b53340c9e09b6ca0baaa2154000d0bbba47.patch
---
diff --git a/tcp_conn.h b/tcp_conn.h
index e1c31cd..7c4ef5d 100644
--- a/tcp_conn.h
+++ b/tcp_conn.h
@@ -55,6 +55,7 @@
#define F_CONN_WANTS_RD 4096 /* conn. should be watched for READ */
#define F_CONN_WANTS_WR 8192 /* conn. should be watched for WRITE */
#define F_CONN_PASSIVE 16384 /* conn. created via accept() and not connect()*/
+#define F_CONN_CLOSE_EV 32768 /* explicitely call tcpops ev route when closed */
#ifndef NO_READ_HTTP11
#define READ_HTTP11
More information about the sr-dev
mailing list