> 
> > 3.1 seems to be a fairly minor update so far, so we should be able to
> start
> > pushing Tomcat 8 right around the time as the spec is finalized.
> 
> Just a word of caution. The EG is far from agreed on the best way to do
> the non-blocking API at the moment. As with happened with the 3.0 async
> API, a complete re-write could still happen.
[Filip Hanik] 
I'd expect this API to change

    public abstract boolean canWrite();

if this returns true, and then I write 1MB of buffered data, what does the
system expect this to be non blocking?
The better signature would have been 
    public abstract int canWrite();

and at least return the number of free bytes we have in the response buffer
(configurable)

Filip



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

Reply via email to