Browse Source

websocket: put the ws connection after keepalive

- c&p error of last commits resulted in doing get op instead
Daniel-Constantin Mierla 6 năm trước cách đây
mục cha
commit
a975bca170
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/modules/websocket/ws_frame.c

+ 1 - 1
src/modules/websocket/ws_frame.c

@@ -820,7 +820,7 @@ void ws_keepalive(unsigned int ticks, void *param)
 			}
 		}
 		if(wsc) {
-			wsconn_get(list_head[i].id);
+			wsconn_put_id(list_head[i].id);
 		}
 		i++;