Skip to content

Commit 7721e6a

Browse files
committed
improve comments
1 parent 2b6fd9a commit 7721e6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/brpc/policy/baidu_rpc_protocol.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void SendRpcResponse(int64_t correlation_id,
248248
// stream for some reason.
249249
if(cntl->has_remote_stream()){
250250
// In certain cases, if the server-side stream is actively closing the stream.
251-
// The client-side cannot receive on_closed message due to connectted is not set.
251+
// The close frame is not sent to client-side due to connected is not set.
252252
// We should set connected before send stream data.
253253
if (stream_ptr) {
254254
// Now it's ok the mark this server-side stream as connectted as all the

0 commit comments

Comments
 (0)