Module: kamailio
Branch: 5.2
Commit: b3567878dd8b43f22bd7ce88db7611cf6ca029ff
URL:
https://github.com/kamailio/kamailio/commit/b3567878dd8b43f22bd7ce88db7611c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2019-01-31T09:32:12+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)
---
Modified: src/modules/websocket/ws_frame.c
---
Diff:
https://github.com/kamailio/kamailio/commit/b3567878dd8b43f22bd7ce88db7611c…
Patch:
https://github.com/kamailio/kamailio/commit/b3567878dd8b43f22bd7ce88db7611c…
---
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++;