guohao commented on a change in pull request #8774:
URL: https://github.com/apache/dubbo/pull/8774#discussion_r706960528



##########
File path: 
dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleHttp2FrameServerHandler.java
##########
@@ -199,10 +200,18 @@ public void onHeadersRead(ChannelHandlerContext ctx, 
Http2HeadersFrame msg) thro
         } else {
             stream = AbstractServerStream.unary(invoker.getUrl());
         }
+        ctx.channel().attr(TripleUtil.SERVER_STREAM_KEY).set(stream);
+        Channel channel = ctx.channel();
+        ChannelPromise promise = channel.newPromise();
+        promise.addListener(future -> {

Review comment:
       This exception should be throwed to RPC caller




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to