mirror of https://github.com/grpc/grpc-java.git
netty: complete promise when RequestMessagesCommand
This commit is contained in:
parent
a702102e41
commit
af2434375a
|
|
@ -317,6 +317,7 @@ class NettyServerHandler extends AbstractNettyHandler {
|
|||
sendResponseHeaders(ctx, (SendResponseHeadersCommand) msg, promise);
|
||||
} else if (msg instanceof RequestMessagesCommand) {
|
||||
((RequestMessagesCommand) msg).requestMessages();
|
||||
promise.setSuccess();
|
||||
} else if (msg instanceof CancelServerStreamCommand) {
|
||||
cancelStream(ctx, (CancelServerStreamCommand) msg, promise);
|
||||
} else if (msg instanceof ForcefulCloseCommand) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue