| Index: net/http/http_network_transaction.h
|
| diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
|
| index b10e155d15acbfd6f103aa97531ca71b989de0c7..24ab95b8ac21e67d6b00ea0f1c69bd368c3abba0 100644
|
| --- a/net/http/http_network_transaction.h
|
| +++ b/net/http/http_network_transaction.h
|
| @@ -210,9 +210,9 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
|
| // Gets the response headers from the HttpStream.
|
| HttpResponseHeaders* GetResponseHeaders() const;
|
|
|
| - // Called when we reached EOF or got an error. Returns true if we should
|
| - // resend the request. |error| is OK when we reached EOF.
|
| - bool ShouldResendRequest(int error) const;
|
| + // Called when the socket is unexpectedly closed. Returns true if the request
|
| + // should be resent in case of a socket reuse/close race.
|
| + bool ShouldResendRequest() const;
|
|
|
| // Resets the connection and the request headers for resend. Called when
|
| // ShouldResendRequest() is true.
|
|
|