Browse Source

websockets: enable KEEPALIVE_MECHANISM_CONCHECK

KEEPALIVE_MECHANISM_CONCHECK was added but can't be enabled

(cherry picked from commit 29c3b865d8efde8435c2217df44d1df684caaea2)
(cherry picked from commit 88b50be127ca0dab57784e0ffb96d6eb44196772)
lazedo 3 years ago
parent
commit
aec3e22400
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/websocket/websocket.c

+ 1 - 0
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;