commit | 8bfacd474c14c33e4942959a79345cb391d74e3d | [log] [tgz] |
---|---|---|
author | Bence Béky <bnc@chromium.org> | Fri Feb 23 13:05:13 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 23 13:05:13 2018 |
tree | d1828f058894bb8708bbc301c6ce4de830da309f | |
parent | aa6d66244524495c2705625c5d06199528cb19b4 [diff] |
Enable WebSockets over HTTP/2. Change HttpStreamFactoryImpl::Job to allow secure WebSocket requests to use an existing HTTP/2 connection if the server has already indicated support. If no such connection exists, a new non-HTTP/2 connection is created for the WebSocket request just like before. This is a reland of https://crrev.com/c/905344, which got reverted at https://crrev.com/c/933303, with an additional change in http_network_session.cc to initialize HttpNetworkSession::Params::enable_websocket_over_http2 to false. Bug: 801564 Change-Id: I576a208e4f81b87efb56e116adf93bef9fc661ff Reviewed-on: https://chromium-review.googlesource.com/933441 Reviewed-by: Adam Rice <ricea@chromium.org> Commit-Queue: Bence Béky <bnc@chromium.org> Cr-Commit-Position: refs/heads/master@{#538769}
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 .