Browse Source

websocket: debug message for rpc command when finding no tcp connection

Daniel-Constantin Mierla 3 years ago
parent
commit
4434e83db1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/modules/websocket/ws_conn.c

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

@@ -766,8 +766,10 @@ static int ws_rpc_add_node(
 
 		tcpconn_put(con);
 		return 1;
-	} else
+	} else {
+		LM_DBG("ws structure [%p] without an active tcp connection\n", wsc);
 		return 0;
+	}
 }
 
 void ws_rpc_dump(rpc_t *rpc, void *ctx)