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

Side by Side Diff: net/http/http_network_transaction.cc

Issue 7204025: Revert 89628 - Revert 89489 - net: don't check revocation when fetching PAC files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/base/load_flags_list.h ('k') | net/proxy/proxy_script_fetcher_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/http/http_network_transaction.h" 5 #include "net/http/http_network_transaction.h"
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 155
156 int HttpNetworkTransaction::Start(const HttpRequestInfo* request_info, 156 int HttpNetworkTransaction::Start(const HttpRequestInfo* request_info,
157 CompletionCallback* callback, 157 CompletionCallback* callback,
158 const BoundNetLog& net_log) { 158 const BoundNetLog& net_log) {
159 SIMPLE_STATS_COUNTER("HttpNetworkTransaction.Count"); 159 SIMPLE_STATS_COUNTER("HttpNetworkTransaction.Count");
160 160
161 net_log_ = net_log; 161 net_log_ = net_log;
162 request_ = request_info; 162 request_ = request_info;
163 start_time_ = base::Time::Now(); 163 start_time_ = base::Time::Now();
164 164
165 if (request_->load_flags & LOAD_DISABLE_CERT_REVOCATION_CHECKING)
166 ssl_config_.rev_checking_enabled = false;
167
165 next_state_ = STATE_CREATE_STREAM; 168 next_state_ = STATE_CREATE_STREAM;
166 int rv = DoLoop(OK); 169 int rv = DoLoop(OK);
167 if (rv == ERR_IO_PENDING) 170 if (rv == ERR_IO_PENDING)
168 user_callback_ = callback; 171 user_callback_ = callback;
169 return rv; 172 return rv;
170 } 173 }
171 174
172 int HttpNetworkTransaction::RestartIgnoringLastError( 175 int HttpNetworkTransaction::RestartIgnoringLastError(
173 CompletionCallback* callback) { 176 CompletionCallback* callback) {
174 DCHECK(!stream_.get()); 177 DCHECK(!stream_.get());
(...skipping 1166 matching lines...) Expand 10 before | Expand all | Expand 10 after
1341 description = base::StringPrintf("Unknown state 0x%08X (%u)", state, 1344 description = base::StringPrintf("Unknown state 0x%08X (%u)", state,
1342 state); 1345 state);
1343 break; 1346 break;
1344 } 1347 }
1345 return description; 1348 return description;
1346 } 1349 }
1347 1350
1348 #undef STATE_CASE 1351 #undef STATE_CASE
1349 1352
1350 } // namespace net 1353 } // namespace net
OLDNEW
« no previous file with comments | « net/base/load_flags_list.h ('k') | net/proxy/proxy_script_fetcher_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698