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

Unified Diff: trunk/src/net/quic/quic_session.cc

Issue 15018013: Revert 198736 "Land Recent QUIC changes" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 7 months 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 | « trunk/src/net/quic/quic_session.h ('k') | trunk/src/net/quic/quic_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/net/quic/quic_session.cc
===================================================================
--- trunk/src/net/quic/quic_session.cc (revision 198763)
+++ trunk/src/net/quic/quic_session.cc (working copy)
@@ -108,20 +108,6 @@
stream->OnStreamFrame(frames[i]);
}
}
-
- while (!decompression_blocked_streams_.empty()) {
- QuicHeaderId header_id = decompression_blocked_streams_.begin()->first;
- if (header_id == decompressor_.current_header_id()) {
- QuicStreamId stream_id = decompression_blocked_streams_.begin()->second;
- decompression_blocked_streams_.erase(header_id);
- ReliableQuicStream* stream = GetStream(stream_id);
- if (!stream) {
- connection()->SendConnectionClose(
- QUIC_STREAM_RST_BEFORE_HEADERS_DECOMPRESSED);
- }
- stream->OnDecompressorAvailable();
- }
- }
return true;
}
@@ -316,11 +302,6 @@
write_blocked_streams_.AddBlockedObject(id);
}
-void QuicSession::MarkDecompressionBlocked(QuicHeaderId header_id,
- QuicStreamId stream_id) {
- decompression_blocked_streams_[header_id] = stream_id;
-}
-
void QuicSession::PostProcessAfterData() {
STLDeleteElements(&closed_streams_);
closed_streams_.clear();
« no previous file with comments | « trunk/src/net/quic/quic_session.h ('k') | trunk/src/net/quic/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698