소스 검색

websocket: set the field for event route execution on timer removing

- GH #3950
Daniel-Constantin Mierla 2 달 전
부모
커밋
e77ba1cdf8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/modules/websocket/ws_conn.c

+ 1 - 0
src/modules/websocket/ws_conn.c

@@ -709,6 +709,7 @@ void ws_timer(unsigned int ticks, void *param)
 					LM_DBG("ws structure without active tcp connection\n");
 					wsc->state = WS_S_REMOVING;
 					wsc->rmticks = get_ticks();
+					wsc->run_event = 1;
 				} else {
 					tcpconn_put(con);
 				}