Module: kamailio Branch: 5.5 Commit: 88b50be127ca0dab57784e0ffb96d6eb44196772 URL: https://github.com/kamailio/kamailio/commit/88b50be127ca0dab57784e0ffb96d6eb...
Author: lazedo luis.azedo@factorlusitano.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2021-12-16T08:28:55+01:00
websockets: enable KEEPALIVE_MECHANISM_CONCHECK
KEEPALIVE_MECHANISM_CONCHECK was added but can't be enabled
(cherry picked from commit 29c3b865d8efde8435c2217df44d1df684caaea2)
---
Modified: src/modules/websocket/websocket.c
---
Diff: https://github.com/kamailio/kamailio/commit/88b50be127ca0dab57784e0ffb96d6eb... Patch: https://github.com/kamailio/kamailio/commit/88b50be127ca0dab57784e0ffb96d6eb...
---
diff --git a/src/modules/websocket/websocket.c b/src/modules/websocket/websocket.c index 5cef5d6b1a..f7273048e3 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;