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

Unified Diff: net/http/http_network_transaction.cc

Issue 8775044: Resend requests when we only learn a connection has closed while (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Cleanup comments Created 9 years, 1 month 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 | « no previous file | net/http/http_network_transaction_unittest.cc » ('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 112237)
+++ net/http/http_network_transaction.cc (working copy)
@@ -1187,6 +1187,11 @@
case ERR_CONNECTION_RESET:
case ERR_CONNECTION_CLOSED:
case ERR_CONNECTION_ABORTED:
+ // Under certain circumstances, we may first learn a socket's been
willchan no longer on Chromium 2011/12/07 18:46:28 Can you describe the circumstance? Explain that th
mmenke 2011/12/07 19:34:11 Done. Added a link to the bug, too, as it now con
+ // disconnected when trying to read/write from it or get its IP address,
willchan no longer on Chromium 2011/12/07 18:46:28 getting the peer's IP address
mmenke 2011/12/07 19:34:11 Completely rewrote the sentence.
+ // before processing the connection closed/reset message. In this case,
+ // we'll receive the following error code.
+ case ERR_SOCKET_NOT_CONNECTED:
if (ShouldResendRequest(error)) {
net_log_.AddEvent(
NetLog::TYPE_HTTP_TRANSACTION_RESTART_AFTER_ERROR,
« no previous file with comments | « no previous file | net/http/http_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698