Module: kamailio
Branch: 6.0
Commit: 6de03f80bd266ab8b2ddf018b68f3501bd0094b0
URL: 
https://github.com/kamailio/kamailio/commit/6de03f80bd266ab8b2ddf018b68f3501bd0094b0

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-06-24T18:54:06+02:00

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

- GH #3950

(cherry picked from commit e77ba1cdf80b384bc55cc457d280b5fc0aef80db)

---

Modified: src/modules/websocket/ws_conn.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/6de03f80bd266ab8b2ddf018b68f3501bd0094b0.diff
Patch: 
https://github.com/kamailio/kamailio/commit/6de03f80bd266ab8b2ddf018b68f3501bd0094b0.patch

---

diff --git a/src/modules/websocket/ws_conn.c b/src/modules/websocket/ws_conn.c
index 18e0e4667bd..577abbe582a 100644
--- a/src/modules/websocket/ws_conn.c
+++ b/src/modules/websocket/ws_conn.c
@@ -708,6 +708,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);
                                }

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to