Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Unified Diff: net/quic/reliable_quic_stream.cc

Issue 1437023002: Landing Recent QUIC changes until 2015-11-09 20:32 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/reliable_quic_stream.h ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/reliable_quic_stream.cc
diff --git a/net/quic/reliable_quic_stream.cc b/net/quic/reliable_quic_stream.cc
index f4e9a8a8ec34d08a1137ca840d61cd467738a265..1efad1902607faa34274df5b90918cff9dc5c2a9 100644
--- a/net/quic/reliable_quic_stream.cc
+++ b/net/quic/reliable_quic_stream.cc
@@ -100,11 +100,6 @@ void ReliableQuicStream::OnStreamFrame(const QuicStreamFrame& frame) {
}
}
- if (!FLAGS_quic_stop_checking_for_mismatch_ids && frame.stream_id != id_) {
- session_->connection()->SendConnectionClose(QUIC_INTERNAL_ERROR);
- return;
- }
-
if (frame.fin) {
fin_received_ = true;
if (fin_sent_) {
@@ -186,7 +181,6 @@ void ReliableQuicStream::OnFinRead() {
}
void ReliableQuicStream::Reset(QuicRstStreamErrorCode error) {
- DCHECK_NE(QUIC_STREAM_NO_ERROR, error);
stream_error_ = error;
// Sending a RstStream results in calling CloseStream.
session()->SendRstStream(id(), error, stream_bytes_written_);
« no previous file with comments | « net/quic/reliable_quic_stream.h ('k') | net/quic/test_tools/crypto_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698