commit | c5d795b86022970c7cb1a703bfce43046ea29440 | [log] [tgz] |
---|---|---|
author | Kenichi Ishibashi <bashi@chromium.org> | Thu Aug 15 10:20:01 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Aug 15 10:20:01 2024 |
tree | afcbb782f364a5e98612dd23178f5bbda1f10009 | |
parent | eb80ca7299ddc7483a90933b906c0a06fca4e7c9 [diff] |
Do not use the existing SPDY session for "http" request HttpStreamPool should check the scheme of a request before checking the existing SPDY session. Otherwise, it may use the existing SPDY session for a plain HTTP request since the SpdySessionKey only has host and port and doesn't have scheme. This CL adds some checks before using the existing SPDY session. To avoid unexpected session match, create empty {Spdy,Quic}SessionKey when scheme is not crptographic. This CL also fixes a bug in HttpStreamRequest::ToQuicSessionKey() that used `disable_cert_network_fetches()` as `require_dns_https_alpn`. This fixes HttpNetworkTransaction.DoNotUseSpdySessionForHttp when HttpStreamPool is used. Bug: 346835898 Change-Id: I5c4f6e9a388fa095c469faaaf3693eed98954951 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5788802 Reviewed-by: Adam Rice <ricea@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1342198}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.