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

Unified Diff: net/http/http_network_transaction.cc

Issue 9307093: Don't use IDENT_SRC_URL for HttpAuth challenges. IE hasn't supported it for years, and at worst ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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_network_transaction.cc
===================================================================
--- net/http/http_network_transaction.cc (revision 120359)
+++ net/http/http_network_transaction.cc (working copy)
@@ -1290,9 +1290,14 @@
if (!auth_controllers_[target].get())
return ERR_UNEXPECTED_PROXY_AUTH;
+ int option_mask = 0;
+ if (!(request_->load_flags & LOAD_DO_NOT_SEND_AUTH_DATA))
+ option_mask |= HttpAuthController::CHALLENGE_OPTION_SEND_SERVER_AUTH;
+ if ((request_->load_flags & LOAD_ENABLE_EMBEDDED_IDENTITY))
+ option_mask |= HttpAuthController::CHALLENGE_OPTION_USE_EMBEDDED_AUTH;
+
int rv = auth_controllers_[target]->HandleAuthChallenge(
- headers, (request_->load_flags & LOAD_DO_NOT_SEND_AUTH_DATA) != 0, false,
- net_log_);
+ headers, option_mask, net_log_);
if (auth_controllers_[target]->HaveAuthHandler())
pending_auth_target_ = target;

Powered by Google App Engine
This is Rietveld 408576698