Re: [WS] To flush or not to flush

2013-09-24 Thread Mark Thomas
On 23/09/2013 09:43, Remy Maucherat wrote: 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). Correct. Unless

Re: [WS] To flush or not to flush

2013-09-24 Thread Remy Maucherat
On Tue, 2013-09-24 at 06:34 -0700, Mark Thomas wrote: Non-blocking IO with non-upgraded streams still uses the standard buffering mechanisms. I agree some clarification is required. When section 5.1 discusses buffering, it does so in the context of the ServletResponse object so it isn't

[WS] To flush or not to flush

2013-09-23 Thread Remy Maucherat
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,