wasphin commented on code in PR #1958:
URL: https://github.com/apache/incubator-brpc/pull/1958#discussion_r1004380583
##########
src/brpc/stream.cpp:
##########
@@ -72,6 +74,17 @@ int Stream::Create(const StreamOptions &options,
s->_connected = false;
s->_options = options;
s->_closed = false;
+ s->_cur_buf_size = options.max_buf_size;
+ if (options.max_buf_size > 0 && options.min_buf_size >
options.max_buf_size)
+ {
Review Comment:
这里可以统一下风格, 括号挪上去...
--
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]