Module: kamailio
Branch: master
Commit: a975bca1702ea2f3db47f834f7e4da2786ced201
URL:
https://github.com/kamailio/kamailio/commit/a975bca1702ea2f3db47f834f7e4da2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)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/a975bca1702ea2f3db47f834f7e4da2…
Patch:
https://github.com/kamailio/kamailio/commit/a975bca1702ea2f3db47f834f7e4da2…
---
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++;