REST API hang on a bogus call, closes #297.
This commit is contained in:
parent
ee26d55296
commit
fbea92e688
|
@ -253,7 +253,8 @@ public class NettyHttpServerTransport extends AbstractLifecycleComponent<HttpSer
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!NetworkExceptionHelper.isCloseConnectionException(e.getCause())) {
|
if (!NetworkExceptionHelper.isCloseConnectionException(e.getCause())) {
|
||||||
logger.warn("Caught exception while handling client http traffic", e.getCause());
|
logger.warn("Caught exception while handling client http traffic, closing connection", e.getCause());
|
||||||
|
ctx.getChannel().disconnect();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue