Skip to content

Commit

Permalink
improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kaijchen committed Feb 4, 2024
1 parent 2b6fd9a commit 7721e6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/brpc/policy/baidu_rpc_protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void SendRpcResponse(int64_t correlation_id,
// stream for some reason.
if(cntl->has_remote_stream()){
// In certain cases, if the server-side stream is actively closing the stream.
// The client-side cannot receive on_closed message due to connectted is not set.
// The close frame is not sent to client-side due to connected is not set.
// We should set connected before send stream data.
if (stream_ptr) {
// Now it's ok the mark this server-side stream as connectted as all the
Expand Down

0 comments on commit 7721e6a

Please sign in to comment.