tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rémy Maucherat <r...@apache.org>
Subject Re: svn commit: r1556071 - /tomcat/trunk/java/org/apache/tomcat/websocket/server/WsRemoteEndpointImplServer.java
Date Wed, 08 Jan 2014 10:59:15 GMT
2014/1/8 Mark Thomas <markt@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message