[sr-dev] git:master: websocket: Fix crash in websocket module
Hugh Waite
hugh.waite at crocodile-rcs.com
Thu May 8 16:04:20 CEST 2014
Module: sip-router
Branch: master
Commit: 4460dce0e2fff775d6cf7328008c6cf6270537cd
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=4460dce0e2fff775d6cf7328008c6cf6270537cd
Author: Vitaliy Aleksandrov <vitalik.voip at gmail.com>
Committer: Hugh Waite <hugh.waite at 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=4460dce0e2fff775d6cf7328008c6cf6270537cd
More information about the sr-dev
mailing list