2014/1/8 Mark Thomas <ma...@apache.org> > 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. > > Yes, I saw after my commit there was code to do it for HTTP, but upgrade uses the code in the AbstractServletOutputStream which only sets the listener and doesn't do anything with it until there's an actual write.
Rémy