mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 12:59:30 +00:00
Jetty9 - Resetting the commit status when sending 1xx responses.
This commit is contained in:
parent
f48f98b4d4
commit
f118c77f90
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user