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

Side by Side Diff: net/quic/core/quic_spdy_session.cc

Issue 2446893003: Make Quic client more memory efficient. Protected by --quic_headers_stream_release_sequencer_buffer. (Closed)
Patch Set: Remove NOLINT Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/quic/core/quic_spdy_session.h" 5 #include "net/quic/core/quic_spdy_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "net/quic/core/quic_bug_tracker.h" 9 #include "net/quic/core/quic_bug_tracker.h"
10 #include "net/quic/core/quic_headers_stream.h" 10 #include "net/quic/core/quic_headers_stream.h"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 return; 179 return;
180 } 180 }
181 const QuicStreamOffset offset = 181 const QuicStreamOffset offset =
182 stream->flow_controller()->highest_received_byte_offset(); 182 stream->flow_controller()->highest_received_byte_offset();
183 const QuicStreamFrame frame(stream_id, fin, offset, StringPiece(data, len)); 183 const QuicStreamFrame frame(stream_id, fin, offset, StringPiece(data, len));
184 DVLOG(1) << "De-encapsulating DATA frame for stream " << stream_id 184 DVLOG(1) << "De-encapsulating DATA frame for stream " << stream_id
185 << " offset " << offset << " len " << len << " fin " << fin; 185 << " offset " << offset << " len " << len << " fin " << fin;
186 OnStreamFrame(frame); 186 OnStreamFrame(frame);
187 } 187 }
188 188
189 bool QuicSpdySession::ShouldReleaseHeadersStreamSequencerBuffer() {
190 return false;
191 }
192
189 } // namespace net 193 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698