commit | 7eb405edf8d82bb1b8c7fc8f71b937549443a169 | [log] [tgz] |
---|---|---|
author | Matt Menke <[email protected]> | Thu Apr 25 20:48:21 2019 |
committer | Commit Bot <[email protected]> | Thu Apr 25 20:48:21 2019 |
tree | 9ca4f5b430158d3cb09a2797a37b2d4be8f228d5 | |
parent | 4dd211ad37fc3b67b26150bca3fe700a6af318b5 [diff] |
ClientSocketPool: Add argument to CancelRequest to cancel ConnectJobs When requests end up using H2 connection pooling (Or even just using an H2 connection established for another request), any in-progress ConnectJobs won't be needed, so we should be able to abort them. The new argument won't help us do anything about backup ConnectJobs, created if the original request was taking too long, or multiple ConnectJobs created for other reasons (Start 2 requests to a server, cancel 1 of them for other reasons, and the other establishes an H2 connection, and the other ConnectJob may still complete successfully, and just be left idle in the socket pool). Bug: 912727 Change-Id: I0428534a542b863866639412f82a3023df3d7066 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1582324 Commit-Queue: Matt Menke <[email protected]> Reviewed-by: David Benjamin <[email protected]> Cr-Commit-Position: refs/heads/master@{#654186}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .