On Sat, 2017-05-06 at 13:16 -0700, Gary Gregory wrote:
> Or I could just simply show a patch:
>
> Index:
> src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
> ===================================================================
> --- src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
> (revision
> 1793912)
> +++ src/main/java/org/apache/http/nio/protocol/HttpAsyncService.java
> (working
> copy)
> @@ -277,10 +277,10 @@
> @Override
> public void exception(
> final NHttpServerConnection conn, final Exception cause)
> {
> + log(cause);
> final State state = getState(conn);
> if (state == null) {
> shutdownConnection(conn);
> - log(cause);
> return;
> }
> state.setTerminated();
>
> Gary
>
Works for me.
Oleg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]