You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by GitBox <gi...@apache.org> on 2020/09/28 08:04:16 UTC

[GitHub] [incubator-brpc] cstarc opened a new issue #1259: 在客户端判断stream 结束

cstarc opened a new issue #1259:
URL: https://github.com/apache/incubator-brpc/issues/1259


   **Describe the bug (描述bug)**
   
   是否能在发送端streamwrite 结束并close 后,  在发送端通过调用一个函数方便的判断 stream 有没有结束?
   **To Reproduce (复现方法)**
   
   
   **Expected behavior (期望行为)**
   
   
   **Versions (各种版本)**
   OS:
   Compiler:
   brpc:
   protobuf:
   
   **Additional context/screenshots (更多上下文/截图)**
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] gydong commented on issue #1259: 在客户端判断stream 结束

Posted by GitBox <gi...@apache.org>.
gydong commented on issue #1259:
URL: https://github.com/apache/incubator-brpc/issues/1259#issuecomment-700583596


   如果要在客户端判断服务端是否真正处理完成,则一定要服务端的主动反馈机制,客户端不可能单方面判断服务端是否处理完成


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org


[GitHub] [incubator-brpc] cstarc commented on issue #1259: 在客户端判断stream 结束

Posted by GitBox <gi...@apache.org>.
cstarc commented on issue #1259:
URL: https://github.com/apache/incubator-brpc/issues/1259#issuecomment-699850198


   是否可以通过判断内部的_produced == _remote_consumed,若相等即表名server端处理结束?


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org