commit | 9bcb57bf0f70c80a1d4bc3eee603a2ac7ab18972 | [log] [tgz] |
---|---|---|
author | Matt Menke <[email protected]> | Fri Apr 12 19:09:34 2019 |
committer | Commit Bot <[email protected]> | Fri Apr 12 19:09:34 2019 |
tree | 4aab577bdefe01cfffba441a0278d2c8e1d5b549 | |
parent | 195bdc1fb0d13630273b3841940d4856869f602e [diff] |
H2 session reuse refactor 1: Rework AddRequestToSpdySessionRequestMap() Instead of taking an HttpStreamRequest, SpdySessionPool::AddRequestToSpdySessionRequestMap() now takes a new delegate interface. It returns an object that can be deleted to cancel the request, instead of taking the HttpStreamRequest against to cancel. Instead of relying on the HttpStreamRequest to track what SpdySessionKey is being watched, the SpdySessionPool now handles that itself. Finally, the new delegate interface takes the SpdySession itself when a matching SpdySession is creating, and then makes the appropriate stream type on top of it, instead of requiring the SpdySessionPool to make a stream of the correct type. The new behavior more closely matches the common case where HttpStreamFactory::Job makes the streams. Bug: 912727 Change-Id: Icb1138e2f7438459019e9ed6f04e38aecf408c94 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1549900 Commit-Queue: Matt Menke <[email protected]> Reviewed-by: Bence Béky <[email protected]> Cr-Commit-Position: refs/heads/master@{#650403}
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 .