On 04/05/2016 20:24, Jason Ricles wrote:
> I am trying to send a file over a websocket in binary and keep getting
> this error
>
> "code [1009], reason [No async message support and buffer too small.
> Buffer size: [800,000], Message size: [131,170]]"
>
> I am confused since it is saying the buffer size is too small but the
> size is 800,000 and the message size is 131,170. What could be causing
> this issue?
Compression? 131170 is the payload size (i.e. the compressed message).
The buffer needs to be big enough for the uncompressed message. That
error message was written before compression support was added. If this
is what is going on, the message looks like it could stand some improvement.
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org