Author: markt
Date: Thu Mar 1 18:50:13 2012
New Revision: 1295735
URL: http://svn.apache.org/viewvc?rev=1295735&view=rev
Log:
Comment out AutoBahn required buffer increase by default
Modified:
tomcat/trunk/webapps/examples/WEB-INF/web.xml
Modified: tomcat/trunk/webapps/examples/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/web.xml?rev=1295735&r1=1295734&r2=1295735&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/web.xml (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/web.xml Thu Mar 1 18:50:13 2012
@@ -359,8 +359,19 @@
<servlet>
<servlet-name>wsEchoMessage</servlet-name>
<servlet-class>websocket.EchoMessage</servlet-class>
-
<init-param><param-name>byteBufferMaxSize</param-name><param-value>20971520</param-value></init-param>
-
<init-param><param-name>charBufferMaxSize</param-name><param-value>20971520</param-value></init-param>
+ <!-- Uncomment the following block to increase the default maximum
+ WebSocket buffer size from 2MB to 20MB which is required for the
+ Autobahn test suite to pass fully. -->
+ <!--
+ <init-param>
+ <param-name>byteBufferMaxSize</param-name>
+ <param-value>20971520</param-value>
+ </init-param>
+ <init-param>
+ <param-name>charBufferMaxSize</param-name>
+ <param-value>20971520</param-value>
+ </init-param>
+ -->
</servlet>
<servlet-mapping>
<servlet-name>wsEchoMessage</servlet-name>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]