[sr-dev] git:master:a975bca1: websocket: put the ws connection after keepalive

Daniel-Constantin Mierla miconda at gmail.com
Thu Jan 31 09:27:03 CET 2019


Module: kamailio
Branch: master
Commit: a975bca1702ea2f3db47f834f7e4da2786ced201
URL: https://github.com/kamailio/kamailio/commit/a975bca1702ea2f3db47f834f7e4da2786ced201

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-01-31T09:25:28+01:00

websocket: put the ws connection after keepalive

- c&p error of last commits resulted in doing get op instead

---

Modified: src/modules/websocket/ws_frame.c

---

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

---

diff --git a/src/modules/websocket/ws_frame.c b/src/modules/websocket/ws_frame.c
index 94004cb2f2..840125a041 100644
--- a/src/modules/websocket/ws_frame.c
+++ b/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++;
 




More information about the sr-dev mailing list