[asterisk-bugs] [JIRA] (ASTERISK-22441) WebSocket response when subprotocol is omitted violates spec
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Tue Sep 3 09:19:05 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-22441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Jordan updated ASTERISK-22441:
-----------------------------------
Status: Open (was: Triage)
> WebSocket response when subprotocol is omitted violates spec
> ------------------------------------------------------------
>
> Key: ASTERISK-22441
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-22441
> 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