mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
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…
x
Reference in New Issue
Block a user