[sr-dev] git:master:71517152: websocket: fetch ws connections based on keepalive process index

Daniel-Constantin Mierla miconda at gmail.com
Wed Dec 19 14:12:38 CET 2018


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-12-19T13:15:36+01:00

websocket: fetch ws connections based on keepalive process index

- get the ones with id that matches the index when doing modulo over the
number of keepalive process in order to spread the load of doing the
ping-pong

---

Modified: src/modules/websocket/websocket.c
Modified: src/modules/websocket/ws_conn.c
Modified: src/modules/websocket/ws_conn.h
Modified: src/modules/websocket/ws_frame.c

---

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




More information about the sr-dev mailing list