| Index: net/socket_stream/socket_stream.cc
|
| ===================================================================
|
| --- net/socket_stream/socket_stream.cc (revision 59119)
|
| +++ net/socket_stream/socket_stream.cc (working copy)
|
| @@ -930,10 +930,11 @@
|
|
|
| LOG(INFO) << "The proxy " << auth_origin << " requested auth";
|
|
|
| - // The auth we tried just failed, hence it can't be valid.
|
| - // Remove it from the cache so it won't be used again.
|
| - if (auth_handler_.get() && !auth_identity_.invalid &&
|
| - auth_handler_->IsFinalRound()) {
|
| + // TODO(cbentzel): Since SocketStream only suppports basic authentication
|
| + // right now, another challenge is always treated as a rejection.
|
| + // Ultimately this should be converted to use HttpAuthController like the
|
| + // HttpNetworkTransaction has.
|
| + if (auth_handler_.get() && !auth_identity_.invalid) {
|
| if (auth_identity_.source != HttpAuth::IDENT_SRC_PATH_LOOKUP)
|
| auth_cache_.Remove(auth_origin,
|
| auth_handler_->realm(),
|
|
|