| Index: net/quic/quic_flow_controller.cc
|
| diff --git a/net/quic/quic_flow_controller.cc b/net/quic/quic_flow_controller.cc
|
| index d169648891a4a79af029eb28087194406721de45..59a6e774fd626d355193c936e4b2a965edf41aa1 100644
|
| --- a/net/quic/quic_flow_controller.cc
|
| +++ b/net/quic/quic_flow_controller.cc
|
| @@ -19,21 +19,20 @@ QuicFlowController::QuicFlowController(QuicVersion version,
|
| uint64 send_window_offset,
|
| uint64 receive_window_offset,
|
| uint64 max_receive_window)
|
| - : id_(id),
|
| - is_enabled_(true),
|
| - is_server_(is_server),
|
| - bytes_consumed_(0),
|
| - bytes_buffered_(0),
|
| - bytes_sent_(0),
|
| - send_window_offset_(send_window_offset),
|
| - receive_window_offset_(receive_window_offset),
|
| - max_receive_window_(max_receive_window),
|
| - last_blocked_send_window_offset_(0) {
|
| + : id_(id),
|
| + is_enabled_(true),
|
| + is_server_(is_server),
|
| + bytes_consumed_(0),
|
| + bytes_buffered_(0),
|
| + bytes_sent_(0),
|
| + send_window_offset_(send_window_offset),
|
| + receive_window_offset_(receive_window_offset),
|
| + max_receive_window_(max_receive_window),
|
| + last_blocked_send_window_offset_(0) {
|
| DVLOG(1) << ENDPOINT << "Created flow controller for stream " << id_
|
| << ", setting initial receive window offset to: "
|
| << receive_window_offset_
|
| - << ", max receive window to: "
|
| - << max_receive_window_
|
| + << ", max receive window to: " << max_receive_window_
|
| << ", setting send window offset to: " << send_window_offset_;
|
| if (version < QUIC_VERSION_17) {
|
| DVLOG(1) << ENDPOINT << "Disabling QuicFlowController for stream " << id_
|
| @@ -99,10 +98,9 @@ bool QuicFlowController::FlowControlViolation() {
|
| }
|
|
|
| if (receive_window_offset_ < TotalReceivedBytes()) {
|
| - LOG(ERROR)
|
| - << ENDPOINT << "Flow control violation on stream " << id_
|
| - << ", receive window: " << receive_window_offset_
|
| - << ", bytes received: " << TotalReceivedBytes();
|
| + LOG(ERROR) << ENDPOINT << "Flow control violation on stream " << id_
|
| + << ", receive window: " << receive_window_offset_
|
| + << ", bytes received: " << TotalReceivedBytes();
|
|
|
| return true;
|
| }
|
|
|