fixed close on early shutdown

This commit is contained in:
Greg Wilkins 2011-11-21 10:25:26 +11:00
parent dbd97a52ae
commit a00f790bc5
2 changed files with 1 additions and 2 deletions

View File

@ -235,7 +235,6 @@ public class SslConnection extends AbstractConnection implements AsyncConnection
/* ------------------------------------------------------------ */
public void onClose()
{
}
/* ------------------------------------------------------------ */

View File

@ -161,7 +161,7 @@ public class AsyncHttpConnection extends AbstractHttpConnection implements Async
if (_generator.isIdle() && !_request.getAsyncContinuation().isSuspended())
{
// then no more can happen, so close.
_endp.shutdownOutput();
_endp.close();
}
}