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

Unified Diff: net/http/http_network_transaction.cc

Issue 7916: Port bunch of files in net/ (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 2 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 | « net/base/dns_resolution_observer.cc ('k') | net/net_lib.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_transaction.cc
===================================================================
--- net/http/http_network_transaction.cc (revision 3810)
+++ net/http/http_network_transaction.cc (working copy)
@@ -421,7 +421,8 @@
// Set the reused_socket_ flag to indicate that we are using a keep-alive
// connection. This flag is used to handle errors that occur while we are
// trying to reuse a keep-alive connection.
- if (reused_socket_ = (connection_.socket() != NULL)) {
+ reused_socket_ = (connection_.socket() != NULL);
+ if (reused_socket_) {
next_state_ = STATE_WRITE_HEADERS;
} else {
next_state_ = STATE_RESOLVE_HOST;
« no previous file with comments | « net/base/dns_resolution_observer.cc ('k') | net/net_lib.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698