Module: kamailio
Branch: master
Commit: 4434e83db1d4b668dabbe915fe36719ede165915
URL:
https://github.com/kamailio/kamailio/commit/4434e83db1d4b668dabbe915fe36719…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-09-16T15:00:13+02:00
websocket: debug message for rpc command when finding no tcp connection
---
Modified: src/modules/websocket/ws_conn.c
---
Diff:
https://github.com/kamailio/kamailio/commit/4434e83db1d4b668dabbe915fe36719…
Patch:
https://github.com/kamailio/kamailio/commit/4434e83db1d4b668dabbe915fe36719…
---
diff --git a/src/modules/websocket/ws_conn.c b/src/modules/websocket/ws_conn.c
index 0015dfa778..a56eb49238 100644
--- a/src/modules/websocket/ws_conn.c
+++ b/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)