https://bz.apache.org/bugzilla/show_bug.cgi?id=60372
--- Comment #7 from Violeta Georgieva <violet...@apache.org> --- (In reply to Evgenij Ryazanov from comment #5) > Oh, I see. But exception in the middle of commit() method can prevent proper > reinitialization. > > @@ -347,6 +347,8 @@ > if (headerBuffer.position() > 0) { > // Sending the response header buffer > headerBuffer.flip(); > + // Random I/O exception > + if (Math.random() < 0.1) > + throw new IOException(); > socketWrapper.write(isBlocking(), headerBuffer); Yes that's the problem that I also saw while inspecting the code. IOException can be thrown while writing the response headers to the socket. Here [1] is the fix. Do you think you can test it? Thanks, Violeta [1] http://svn.apache.org/viewvc?view=revision&revision=1769976 -- 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