Hi Mark,

Unless I missed something, Websockets 1.0 on Servlet 3.1 upgrade doesn't
do much flushing, so that the IS/OS used in upgrade must effectively
just write immediately the data (and ensure it is really sent over the
wire).

I find that a bit weird, since during the design of Servlets 3.1, the
idea was to retain buffering. Of course, upgrade was then added, char
support was taken out of the new IO, and it should be feasible to use
this sort of bufferless streams in upgraded mode. But that's a lot of
assumptions, shouldn't the websockets implementation just flush ? In any
case it would be good to have the buffer vs no buffer choice clarified
for the upgraded mode [to be honest, I thought it was like the regular
Servlet 3.1 IO mode, minus the HTTP transfer encodings].

Thanks,
Rémy



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

Reply via email to