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

Side by Side Diff: net/quic/quic_headers_stream.cc

Issue 1865803007: relnote: Add QUIC connection option DHDT to disable HPACK dynamic table. Guarded by FLAGS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_CL_118983961
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/quic_headers_stream.h" 5 #include "net/quic/quic_headers_stream.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "net/quic/quic_bug_tracker.h" 10 #include "net/quic/quic_bug_tracker.h"
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 } 357 }
358 358
359 void QuicHeadersStream::OnCompressedFrameSize(size_t frame_len) { 359 void QuicHeadersStream::OnCompressedFrameSize(size_t frame_len) {
360 frame_len_ += frame_len; 360 frame_len_ += frame_len;
361 } 361 }
362 362
363 bool QuicHeadersStream::IsConnected() { 363 bool QuicHeadersStream::IsConnected() {
364 return session()->connection()->connected(); 364 return session()->connection()->connected();
365 } 365 }
366 366
367 void QuicHeadersStream::DisableHpackDynamicTable() {
368 spdy_framer_.UpdateHeaderEncoderTableSize(0);
369 }
370
367 } // namespace net 371 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698