tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1440088 - /tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServlet.java
Date Tue, 29 Jan 2013 20:03:11 GMT
Author: markt
Date: Tue Jan 29 20:03:11 2013
New Revision: 1440088

URL: http://svn.apache.org/viewvc?rev=1440088&view=rev
Log:
Currently no extension support (and none planned)

Modified:
    tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServlet.java

Modified: tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServlet.java?rev=1440088&r1=1440087&r2=1440088&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServlet.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/websocket/server/WsServlet.java Tue Jan 29 20:03:11
2013
@@ -100,12 +100,8 @@ public class WsServlet extends HttpServl
             subProtocol = sec.getNegotiatedSubprotocol(subProtocols);
         }
         // Extensions
-        List<String> requestedExtensions = getTokensFromHeader(req,
-                "Sec-WebSocket-Extensions");
-        if (!requestedExtensions.isEmpty()) {
-            // TODO
-            // extensions = sec.getNegotiatedExtensions(requestedExtensions);
-        }
+        // Currently no extensions are supported by this implementation
+
         // If we got this far, all is good. Accept the connection.
         resp.setHeader(Constants.UPGRADE_HEADER_NAME,
                 Constants.UPGRADE_HEADER_VALUE);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message