| Index: net/quic/quic_connection.cc
|
| diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
|
| index d3d98bfcf0ff3174ddc0ce7fe9b55adace37e980..ba181f950b2d2f49542d2832a81d1716e12ed328 100644
|
| --- a/net/quic/quic_connection.cc
|
| +++ b/net/quic/quic_connection.cc
|
| @@ -698,8 +698,7 @@ bool QuicConnection::OnStreamFrame(const QuicStreamFrame& frame) {
|
| }
|
| if (frame.stream_id != kCryptoStreamId &&
|
| last_decrypted_packet_level_ == ENCRYPTION_NONE) {
|
| - if (FLAGS_quic_detect_memory_corrpution &&
|
| - MaybeConsiderAsMemoryCorruption(frame)) {
|
| + if (MaybeConsiderAsMemoryCorruption(frame)) {
|
| CloseConnection(QUIC_MAYBE_CORRUPTED_MEMORY,
|
| "Received crypto frame on non crypto stream.",
|
| ConnectionCloseBehavior::SEND_CONNECTION_CLOSE_PACKET);
|
|
|