Skip to content

Commit

Permalink
Update rpc_byte_stream.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Ye-Tian-Zero committed Mar 20, 2018
1 parent 1306c93 commit 5095bbf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/sofa/pbrpc/rpc_byte_stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ class RpcByteStream : public sofa::pbrpc::enable_shared_from_this<RpcByteStream>
, _remote_endpoint(endpoint)
, _ticks(0)
, _last_rw_ticks(0)
, _no_delay(true)
, _read_buffer_base_block_factor(SOFA_PBRPC_TRAN_BUF_BLOCK_MAX_FACTOR)
, _write_buffer_base_block_factor(4)
, _timer(io_service)
, _socket(io_service)
, _connect_timeout(-1)
, _status(STATUS_INIT)
, _no_delay(true)
, _read_buffer_base_block_factor(SOFA_PBRPC_TRAN_BUF_BLOCK_MAX_FACTOR)
, _write_buffer_base_block_factor(4)
{
SOFA_PBRPC_INC_RESOURCE_COUNTER(RpcByteStream);
memset(_error_message, 0, sizeof(_error_message));
Expand Down Expand Up @@ -422,7 +422,7 @@ class RpcByteStream : public sofa::pbrpc::enable_shared_from_this<RpcByteStream>
volatile int64 _ticks;
volatile int64 _last_rw_ticks;
bool _no_delay;

size_t _read_buffer_base_block_factor;
size_t _write_buffer_base_block_factor;

Expand Down

0 comments on commit 5095bbf

Please sign in to comment.