forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement RenewStreamForAuth for WebSockets
An implementation of HttpStream::RenewStreamForAuth() is needed for connection reuse for authentication. Add an implementation to WebSocketBasicHandshakeStream. Without the "WebSocketHandshakeReuseConnection" feature enabled, the method returns nullptr as before. Add the WebSocketStreamCreateBasicAuthTest.SuccessfulConnectionReuse test to verify that connection reuse is really working. BUG=423609 Change-Id: I92d247c5204646f82894bce6c691f4711c571d0e Reviewed-on: https://chromium-review.googlesource.com/1077876 Commit-Queue: Adam Rice <ricea@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#564066}
- Loading branch information
Showing
3 changed files
with
99 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters