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

Unified Diff: net/http/http_auth_handler_digest.cc

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: use system srp and mpi libs, not local copies Created 9 years, 8 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
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 e8cb819cef70ec390e5aebc5a3fefd7187d9eeb9..26d45fcf0b6837a302f15bae9e9d75aa6d7bdb2b 100644
--- a/net/http/http_auth_handler_digest.cc
+++ b/net/http/http_auth_handler_digest.cc
@@ -298,7 +298,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("httpsv"))) {
*method = "CONNECT";
*path = GetHostAndPort(url);
} else {

Powered by Google App Engine
This is Rietveld 408576698