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…
Reference in New Issue