Module: sip-router
Branch: 4.1
Commit: 74c1bd884ec2a3418dee3cbf358ab8bb7e899d7a
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=74c1bd8…
Author: Vitaliy Aleksandrov <vitalik.voip(a)gmail.com>
Committer: Hugh Waite <--global>
Date: Thu May 8 15:01:02 2014 +0100
websocket: Fix crash in websocket module
- Avoid race condition by maintaining a connection reference count
- Fixes FS#406
---
modules/websocket/ws_conn.c | 180 +++++++++++++++++++++++++++++++++----
modules/websocket/ws_conn.h | 8 ++
modules/websocket/ws_frame.c | 182 +++++++++++++++++++++++++------------
modules/websocket/ws_handshake.c | 4 +-
4 files changed, 295 insertions(+), 79 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=74c…