Module: sip-router
Branch: master
Commit: 4460dce0e2fff775d6cf7328008c6cf6270537cd
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4460dce…
Author: Vitaliy Aleksandrov <vitalik.voip(a)gmail.com>
Committer: Hugh Waite <hugh.waite(a)acision.com>
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 | 180 ++++++++++++++++++++++++++------------
modules/websocket/ws_handshake.c | 4 +-
4 files changed, 294 insertions(+), 78 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=446…