An issue was discovered in res_http_websocket.c in Asterisk 15.x through 15.2.1. If the HTTP server is enabled (default is disabled), WebSocket payloads of size 0 are mishandled (with a busy loop).
https://issues.asterisk.org/jira/browse/ASTERISK-27658
http://www.securitytracker.com/id/1040419