浏览代码

modules/websocket: re-added declaration of ws_keepalive_mechanism to ws_frame.c

- Accidentally removed when configuration framework stuff was added.
Peter Dunkley 12 年之前
父节点
当前提交
8def957134
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      modules/websocket/ws_frame.c

+ 1 - 0
modules/websocket/ws_frame.c

@@ -94,6 +94,7 @@ typedef enum
 #define OPCODE_PONG		(0xa)
 /* 0xb - 0xf are reserved for further control frames */
 
+int ws_keepalive_mechanism = DEFAULT_KEEPALIVE_MECHANISM;
 str ws_ping_application_data = {0, 0};
 
 stat_var *ws_failed_connections;