commit | 189a3a5514a0e99a88af89c4e8cada32eb8f18d4 | [log] [tgz] |
---|---|---|
author | Kenichi Ishibashi <bashi@chromium.org> | Fri May 30 08:38:52 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 30 08:38:52 2025 |
tree | fecb577026ed87f785336b991157392859b0ad57 | |
parent | c7da297866f174d81f8ef9f43bf8fcc07ecedf4a [diff] |
HttpStreamPool: Fix JobController leak in preconnect crrev.com/c/6550757 modified HttpStreamPool::Preconnect() to always put a JobController into `job_controllers_`. However, the callback isn't invoked when the method completes synchronously. This resulted in leaking the JobController. Fix the leak by not putting the JobController when Preconnect() completes synchronously. Bug: 396998469 Change-Id: I6522ff87f55f0705ed9bc77fec13c5b6d6553e0e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6605137 Reviewed-by: Nidhi Jaju <nidhijaju@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1467366}
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.