Author: markt
Date: Fri Apr 25 15:38:00 2014
New Revision: 1590060
URL: http://svn.apache.org/r1590060
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56458
Report WebSocket sessions that are created over secure connections as secure
rather than as not secure.
Modified:
tomcat/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java
tomcat/trunk/webapps/docs/changelog.xml
Modified:
tomcat/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java?rev=1590060&r1=1590059&r2=1590060&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java
(original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/WsWebSocketContainer.java Fri
Apr 25 15:38:00 2014
@@ -323,7 +323,7 @@ public class WsWebSocketContainer
WsSession wsSession = new WsSession(endpoint, wsRemoteEndpointClient,
this, null, null, null, null, null, subProtocol,
- Collections.<String, String> emptyMap(), false,
+ Collections.<String, String> emptyMap(), secure,
clientEndpointConfiguration);
endpoint.onOpen(wsSession, clientEndpointConfiguration);
registerSession(endpoint, wsSession);
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1590060&r1=1590059&r2=1590060&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Fri Apr 25 15:38:00 2014
@@ -258,6 +258,10 @@
message handlers are in place should the <code>onOpen()</code> method
trigger the sending of any messages. (markt)
</fix>
+ <fix>
+ <bug>56458</bug>: Report WebSocket sessions that are created over
secure
+ connections as secure rather than as not secure. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Web applications">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]