tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57779] Deadlock if using separate thread to write to ServletOutputStream
Date Wed, 01 Apr 2015 13:01:57 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57779

Mark Thomas <markt@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #9 from Mark Thomas <markt@apache.org> ---
OK. I've stopped Tomcat doing the dispatch to another thread unless Servlet 3+
async is being used. This should enable your code to work with BIO again.

The fix has been made to trunk, 8.0.x (for 8.0.22 onwards) and 7.0.x (for
7.0.62 onwards).

Switching to NIO will avoid the issue since NIO actually does a dispatch to a
new thread (which then blocks waiting for the lock) whereas BIo does it
in-line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

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


Mime
View raw message