commit | 2eaedaab4e2064605e3c67b43fc54b9520279773 | [log] [tgz] |
---|---|---|
author | Kenichi Ishibashi <bashi@chromium.org> | Thu May 01 09:17:55 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 01 09:17:55 2025 |
tree | 5a1a90b65cd7b333f38681ce56529e4e36ec8374 | |
parent | 4523ba44808e4b5f977c084f05302dd1bb2478ff [diff] |
HttpStreamPool: Remove PostTask from NotifyJobOfFailure() Previously AttemptManager::NotifyJobOfFailure() used PostTask() to avoid dangling pointer when it was introduced as "Job" (https://crrev.com/c/5679902). However, we later added JobController, which removed potential dangling pointers when notifying failures. Remove PostTask as it's not needed anymore. Also, using PostTask could slow down HttpStream retries at the HttpNetworkTransaction layer. This might be a source of a regression of the linked bug. Existing tests should cover this change. Bug: 414173943 Change-Id: If3936c0bb39eb3748744637cc94c01951eb4e504 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6504097 Reviewed-by: Nidhi Jaju <nidhijaju@chromium.org> Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1454373}
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.