diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-09-07 13:12:05 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-11-09 10:02:59 +0000 |
commit | 33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (patch) | |
tree | f6af110909c79b2759136554f1143d8b0572af0a /chromium/net/quic/quic_context.h | |
parent | 7d2c5d177e9813077a621df8d18c0deda73099b3 (diff) | |
download | qtwebengine-chromium-33fc33aa94d4add0878ec30dc818e34e1dd3cc2a.tar.gz |
BASELINE: Update Chromium to 104.0.5112.120
Change-Id: I5d2726c2ab018d75d055739b6ba64317904f05bb
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438935
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/net/quic/quic_context.h')
-rw-r--r-- | chromium/net/quic/quic_context.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/chromium/net/quic/quic_context.h b/chromium/net/quic/quic_context.h index 7595182ecfb..a698a7aa46f 100644 --- a/chromium/net/quic/quic_context.h +++ b/chromium/net/quic/quic_context.h @@ -21,17 +21,16 @@ DefaultSupportedQuicVersions() { // the ordering received from the server via Alt-Svc. However, cronet offers // an addQuicHint() API which uses the first version from this list until // it receives Alt-Svc from the server. - return quic::ParsedQuicVersionVector{quic::ParsedQuicVersion::RFCv1(), - quic::ParsedQuicVersion::Q050()}; + return quic::ParsedQuicVersionVector{quic::ParsedQuicVersion::RFCv1()}; } // Obsolete QUIC supported versions are versions that are supported by the // QUIC shared code but that Chrome refuses to use because modern clients // should only use versions at least as recent as the oldest default version. inline NET_EXPORT_PRIVATE quic::ParsedQuicVersionVector ObsoleteQuicVersions() { - return quic::ParsedQuicVersionVector{quic::ParsedQuicVersion::Q043(), - quic::ParsedQuicVersion::Q046(), - quic::ParsedQuicVersion::Draft29()}; + return quic::ParsedQuicVersionVector{ + quic::ParsedQuicVersion::Q043(), quic::ParsedQuicVersion::Q046(), + quic::ParsedQuicVersion::Q050(), quic::ParsedQuicVersion::Draft29()}; } // When a connection is idle for 30 seconds it will be closed. @@ -135,7 +134,7 @@ struct NET_EXPORT QuicParams { bool migrate_idle_sessions = false; // If true, sessions with open streams will attempt to migrate to a different // port when the current path is poor. - bool allow_port_migration = false; + bool allow_port_migration = true; // A session can be migrated if its idle time is within this period. base::TimeDelta idle_session_migration_period = kDefaultIdleSessionMigrationPeriod; @@ -183,6 +182,9 @@ struct NET_EXPORT QuicParams { // (1 << broken_count). Otherwise, the delay would be initial_delay, 5min, // 10min and so on. absl::optional<bool> exponential_backoff_on_initial_delay; + // If true, delay main job even the request can be sent immediately on an + // available SPDY session. + bool delay_main_job_with_available_spdy_session = true; }; // QuicContext contains QUIC-related variables that are shared across all of the |