Module: kamailio
Branch: 5.1
Commit: eb29671e9b68fafdeea0849b6f7340e88beb0949
URL:
https://github.com/kamailio/kamailio/commit/eb29671e9b68fafdeea0849b6f7340e…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-01-31T09:34:34+01:00
websocket: put the ws connection after keepalive
- c&p error of last commits resulted in doing get op instead
(cherry picked from commit a975bca1702ea2f3db47f834f7e4da2786ced201)
(cherry picked from commit b3567878dd8b43f22bd7ce88db7611cf6ca029ff)
---
Modified: src/modules/websocket/ws_frame.c
---
Diff:
https://github.com/kamailio/kamailio/commit/eb29671e9b68fafdeea0849b6f7340e…
Patch:
https://github.com/kamailio/kamailio/commit/eb29671e9b68fafdeea0849b6f7340e…
---
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++;