Module: kamailio
Branch: master
Commit: 29c3b865d8efde8435c2217df44d1df684caaea2
URL:
https://github.com/kamailio/kamailio/commit/29c3b865d8efde8435c2217df44d1df…
Author: lazedo <luis.azedo(a)factorlusitano.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/29c3b865d8efde8435c2217df44d1df…
Patch:
https://github.com/kamailio/kamailio/commit/29c3b865d8efde8435c2217df44d1df…
---
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;