Index: net/quic/quic_session.cc |
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc |
index 34613ac7d39cdd6f22e70d5bd0fb417a1ced7feb..8a2f8b4eaa6a25a6e50796fc4360185f8b5cf124 100644 |
--- a/net/quic/quic_session.cc |
+++ b/net/quic/quic_session.cc |
@@ -452,7 +452,8 @@ void QuicSession::UpdateFlowControlOnFinalReceivedByteOffset( |
flow_controller_->highest_received_byte_offset() + offset_diff)) { |
// If the final offset violates flow control, close the connection now. |
if (flow_controller_->FlowControlViolation()) { |
- connection_->SendConnectionClose(QUIC_FLOW_CONTROL_SENT_TOO_MUCH_DATA); |
+ connection_->SendConnectionClose( |
+ QUIC_FLOW_CONTROL_RECEIVED_TOO_MUCH_DATA); |
return; |
} |
} |