netty: Remove goAwayStatus when client closing

Client closing doesn't really many anything special, since it is still
fully-operational. We don't want a later goAwayStatus() from getting
squelched because we were shutting down.
This commit is contained in:
Eric Anderson 2015-05-04 17:07:16 -07:00
parent 68cba971af
commit c8c478ef81
1 changed files with 0 additions and 6 deletions

View File

@ -186,12 +186,6 @@ class NettyClientHandler extends Http2ConnectionHandler {
stream.transportReportStatus(Status.UNKNOWN, false, new Metadata.Trailers());
}
@Override
public void close(ChannelHandlerContext ctx, ChannelPromise promise) throws Exception {
goAwayStatus(Status.UNAVAILABLE.withDescription("Network channel closed by the client"));
super.close(ctx, promise);
}
/**
* Handler for the Channel shutting down.
*/