[
https://issues.jboss.org/browse/JBWEB-238?page=com.atlassian.jira.plugin....
]
Mike Brock commented on JBWEB-238:
----------------------------------
If you look at this:
https://github.com/mikebrock/jboss-websockets/tree/master/src/main/java/o...
You will see that with this change, I was able to very elegantly support all popular
versions of the spec with automatic protocol detection. If you want, I have a war file
here, you can use for deploying to JBoss 7 -- assuming you have this patch -- where you
can test WebSockets yourself. I will attach.
HTTP Upgrade API Broken
-----------------------
Key: JBWEB-238
URL:
https://issues.jboss.org/browse/JBWEB-238
Project: JBoss Web
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: JBossWeb-7.0.13.GA
Environment: Any
Reporter: Mike Brock
Assignee: Remy Maucherat
Attachments: JBossWeb.patch
The HTTP Upgrade API currently does not permit reading and writing to the
ServetOutputStream and ServletInputStream during the initial negotiation. All of the data
is swallowed until after the negotiation and head exchange.
Unfortunately this is insufficient as some WebSocket Draft Specification rely on data
within the body of the request and response as part of the handshake.
The attached patch fixes this problem.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira