[sr-dev] git:master: Revert "modules/websocket: b/ f defined missing ws_keepalive_mechanism variable"

Peter Dunkley peter.dunkley at crocodile-rcs.com
Fri Apr 5 14:36:33 CEST 2013


Module: sip-router
Branch: master
Commit: 52741b4c709713b0cd0a3b9b81701ce2cf95b731
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=52741b4c709713b0cd0a3b9b81701ce2cf95b731

Author: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley at crocodile-rcs.com>
Date:   Fri Apr  5 13:33:19 2013 +0100

Revert "modules/websocket: b/f defined missing ws_keepalive_mechanism variable"

This reverts commit caf4769ec0f243df71e79ee3c0781afbe5884bac.

---

 modules/websocket/ws_mod.c |    2 --
 modules/websocket/ws_mod.h |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/websocket/ws_mod.c b/modules/websocket/ws_mod.c
index 7ac4316..4159a47 100644
--- a/modules/websocket/ws_mod.c
+++ b/modules/websocket/ws_mod.c
@@ -50,8 +50,6 @@ static void destroy(void);
 
 sl_api_t ws_slb;
 
-int ws_keepalive_mechanism = KEEPALIVE_MECHANISM_PING;
-
 #define DEFAULT_KEEPALIVE_INTERVAL	1
 static int ws_keepalive_interval = DEFAULT_KEEPALIVE_INTERVAL;
 
diff --git a/modules/websocket/ws_mod.h b/modules/websocket/ws_mod.h
index 028368a..819d3ea 100644
--- a/modules/websocket/ws_mod.h
+++ b/modules/websocket/ws_mod.h
@@ -37,7 +37,6 @@ enum
 extern sl_api_t ws_slb;
 extern gen_lock_t *ws_stats_lock;
 
-extern int ws_keepalive_mechanism;
 extern int ws_ping_interval;	/* time (in seconds) between sending Pings */
 
 #endif /* _WS_MOD_H */




More information about the sr-dev mailing list