[asterisk-bugs] [JIRA] (ASTERISK-22444) WebSocket response when subprotocol is omitted violates spec
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Tue Sep 3 09:19:08 CDT 2013
Matt Jordan created ASTERISK-22444:
--------------------------------------
Summary: WebSocket response when subprotocol is omitted violates spec
Key: ASTERISK-22444
URL: https://issues.asterisk.org/jira/browse/ASTERISK-22444
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_http_websocket
Affects Versions: 12.0.0-alpha1
Reporter: David M. Lee
When I added the possibility of using a default subprotocol on WebSocket connections, the WebSocket server in Asterisk always responds with a {{Sec-WebSocket-Protocol}} indicating the subprotocol actually in use.
[As it turns out|https://github.com/tavendo/AutobahnPython/pull/147#issuecomment-21330341], [the spec|http://tools.ietf.org/html/rfc6455#page-20] actually says the "the client MUST _Fail the WebSocket Connection_" if the client omits the protocol but the server supplies one in its response.
Go figure.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list