mirror of https://github.com/grpc/grpc-java.git
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:
parent
68cba971af
commit
c8c478ef81
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue