mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 04:49:12 +00:00
388079: AbstractHttpConnection. Flush the buffer before shutting output down on error condition
This commit is contained in:
parent
9173751438
commit
77c03ad45f
@ -549,8 +549,9 @@ public abstract class AbstractHttpConnection extends AbstractConnection
|
||||
{
|
||||
if (error)
|
||||
{
|
||||
_endp.shutdownOutput();
|
||||
_generator.setPersistent(false);
|
||||
_generator.flushBuffer();
|
||||
_endp.shutdownOutput();
|
||||
if (!_generator.isComplete())
|
||||
_response.complete();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user