Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(128)

Unified Diff: net/http/http_auth_handler_digest.cc

Issue 10854139: Use HttpAuthController in SocketStream (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased and Skipped added browser test on chromeos Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/http/tests/wss.html ('k') | net/http/http_auth_handler_digest_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_handler_digest.cc
diff --git a/net/http/http_auth_handler_digest.cc b/net/http/http_auth_handler_digest.cc
index 7ac8b1c0b74e23e925526b4d6e87135c50541de0..bfc83123be17057a29da1c459a085809a6859b8e 100644
--- a/net/http/http_auth_handler_digest.cc
+++ b/net/http/http_auth_handler_digest.cc
@@ -303,7 +303,8 @@ void HttpAuthHandlerDigest::GetRequestMethodAndPath(
const GURL& url = request->url;
- if (target_ == HttpAuth::AUTH_PROXY && url.SchemeIs("https")) {
+ if (target_ == HttpAuth::AUTH_PROXY &&
+ (url.SchemeIs("https") || url.SchemeIs("ws") || url.SchemeIs("wss"))) {
*method = "CONNECT";
*path = GetHostAndPort(url);
} else {
« no previous file with comments | « chrome/test/data/http/tests/wss.html ('k') | net/http/http_auth_handler_digest_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698