Allow WebSocket connections on more URL's
authorDavid M. Lee <dlee@digium.com>
Thu, 18 Apr 2013 17:30:28 +0000 (17:30 +0000)
committerDavid M. Lee <dlee@digium.com>
Thu, 18 Apr 2013 17:30:28 +0000 (17:30 +0000)
commit9c696e665fde0e94b6d6aac20cf40bcb35ac94e6
tree7cfb51649449a98c9342d175c19f7823d4c78816
parentaff127a73722d37e2cd78b61046f1f5dce012426
Allow WebSocket connections on more URL's

This patch adds the concept of ast_websocket_server to
res_http_websocket, allowing WebSocket connections on URL's more more
than /ws.

The existing funcitons for managing the WebSocket subprotocols on /ws
still work, so this patch should be completely backward compatible.

(closes issue ASTERISK-21279)
Review: https://reviewboard.asterisk.org/r/2453/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
include/asterisk/http_websocket.h
res/res_http_websocket.c