REST API hang on a bogus call, closes #297.

This commit is contained in:
kimchy 2010-08-11 13:18:33 +03:00
parent ee26d55296
commit fbea92e688
1 changed files with 2 additions and 1 deletions

View File

@ -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();
} }
} }
} }