chenbay commented on code in PR #1958:
URL: https://github.com/apache/incubator-brpc/pull/1958#discussion_r1004464608
##########
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]