Chromium Code Reviews| 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, |