Module: sip-router
Branch: master
Commit: 6f928a54d137e2e08ccc1a278afb04b40e34307f
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6f928a5…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Tue Aug 7 23:38:18 2012 +0100
modules/websocket: Added new event_route[websocket:closed] which is run when a WebSocket
connection is closed
- Also changed ws_handle_handshake() to return 1 on success (still 0 on all
errors as they are handled - and the correct responses sent - within the
function).
---
modules/websocket/README | 34 +++++++++++++++++++++--
modules/websocket/doc/websocket_admin.xml | 33 ++++++++++++++++++++--
modules/websocket/example/kamailio.cfg | 11 +++++++-
modules/websocket/ws_conn.c | 42 ++++++++++++++++++++++++++--
modules/websocket/ws_conn.h | 12 +++++++-
modules/websocket/ws_frame.c | 6 ++--
modules/websocket/ws_handshake.c | 10 +++++--
7 files changed, 130 insertions(+), 18 deletions(-)
Diff:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=6f9…