Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=51324
Improve handling of exceptions when flushing the response buffer to ensure that the doFlush flag does not get stuck in the enabled state.
Patch by Jeremy Norris.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc5.5.x/trunk@1157008 13f79535-47bb-0310-9956-ffa450edef68
3 files changed