[sr-dev] git:master:29c3b865: websockets: enable KEEPALIVE_MECHANISM_CONCHECK
Daniel-Constantin Mierla
miconda at gmail.com
Fri Dec 10 12:02:23 CET 2021
Module: kamailio
Branch: master
Commit: 29c3b865d8efde8435c2217df44d1df684caaea2
URL: https://github.com/kamailio/kamailio/commit/29c3b865d8efde8435c2217df44d1df684caaea2
Author: lazedo <luis.azedo at factorlusitano.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2021-12-10T12:02:18+01:00
websockets: enable KEEPALIVE_MECHANISM_CONCHECK
KEEPALIVE_MECHANISM_CONCHECK was added but can't be enabled
---
Modified: src/modules/websocket/websocket.c
---
Diff: https://github.com/kamailio/kamailio/commit/29c3b865d8efde8435c2217df44d1df684caaea2.diff
Patch: https://github.com/kamailio/kamailio/commit/29c3b865d8efde8435c2217df44d1df684caaea2.patch
---
diff --git a/src/modules/websocket/websocket.c b/src/modules/websocket/websocket.c
index 5cef5d6b1a7..f7273048e36 100644
--- a/src/modules/websocket/websocket.c
+++ b/src/modules/websocket/websocket.c
@@ -221,6 +221,7 @@ static int mod_init(void)
switch(ws_keepalive_mechanism) {
case KEEPALIVE_MECHANISM_PING:
case KEEPALIVE_MECHANISM_PONG:
+ case KEEPALIVE_MECHANISM_CONCHECK:
break;
default:
ws_keepalive_mechanism = DEFAULT_KEEPALIVE_MECHANISM;
More information about the sr-dev
mailing list