On 06/01/2014 23:40, r...@apache.org wrote:
> Author: remm
> Date: Mon Jan  6 23:40:32 2014
> New Revision: 1556071
> 
> URL: http://svn.apache.org/r1556071
> Log:
> Avoid NPE if the write listener is called once immediately after being set, 
> even if no data was written (= the app doesn't send any message during the 
> init of the connection).
> I don't think Tomcat does it yet (this doesn't need to be ported to Tomcat 7 
> since it is not a Servlet 3.1 impl).

Tomcat only does this if the WriteListener is set via the
CoyoteOutputStream. It does not do it if HTTP upgrade is used (which
uses a lighter-weight ServletOutputStream). That looks like a bug that
needs fixing.

Mark


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

Reply via email to