[Bug 57157] out.setWriteListener in runnable of AsyncContext.start(runnable) cause response failed

2014-10-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57157

Mark Thomas ma...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Mark Thomas ma...@apache.org ---
Thanks for the report.

The NPE was triggered by some faulty error handling which has been fixed in
8.0.x for 8.0.15 onwards.

With the error handling fixed it was clear that Tomcat was not allowing calls
to AsyncContext.start(Runnable) during non-blocking reads and writes. I can see
no reason for that restriction - it looks like an oversight when the
non-blocking IO support was added - so I have removed it. This fix has also
been made in 8.0.x and will be in 8.0.15 onwards.

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

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



[Bug 57157] out.setWriteListener in runnable of AsyncContext.start(runnable) cause response failed

2014-10-28 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=57157

Zen Zhong zenzhong8...@gmail.com changed:

   What|Removed |Added

 CC||zenzhong8...@gmail.com

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

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