tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: setting the text or binary buffer size for websockets
Date Wed, 20 Nov 2013 11:09:27 GMT
On 19/11/2013 17:12, Johan Compagner wrote:
>>
>>> I expect that i can send now 32K at
>>> once of text (or binary) withing that "continuation frame"
>>
>> The buffer sizes control the input buffer - i.e. they control the
>> maximum size of a message that can be received if an application doesn't
>> support partial messages.
>>
>> The output buffers are all 8K.
>>
>> The splitting of a WebSocket message into multiple frames should be
>> transparent to the application.
>>
>>
> 
> ah thx.
> 
> But then i think a doc needs to be updated:
> 
> http://tomcat.apache.org/tomcat-8.0-doc/web-socket-howto.html
> 
> that doesn't tell me at all that it only input buffers, the property name
> doesn't say that and also the text doesn't mention that at all
> it just says: "The default buffer size for text messages is 8192 bytes" and
> many times in java that means an output buffer.

Done.

Mark

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


Mime
View raw message