Jetty9 - Resetting the commit status when sending 1xx responses.

This commit is contained in:
Simone Bordet 2012-08-23 17:17:13 +02:00
parent f48f98b4d4
commit f118c77f90

View File

@ -579,6 +579,11 @@ public class HttpChannel implements HttpParser.RequestHandler, Runnable
{
// Try to commit with the passed info
_transport.commit(info, content, complete);
// If we are committing a 1xx response, we need to reset the commit
// status so that the "real" response can be committed again.
if (info.getStatus() < 200)
_committed.set(false);
}
catch (Exception e)
{