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

Unified Diff: net/base/net_errors_win.cc

Issue 14666002: Adding ERR_SOCKET_IS_CONNECTED. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add ERR_SOCKET_IS_CONNECTED to MapSystemError Created 7 years, 8 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
Index: net/base/net_errors_win.cc
diff --git a/net/base/net_errors_win.cc b/net/base/net_errors_win.cc
index c56225f5f42bd521d98b3d235a1a0d28ca3d08a5..f5cf85457bd2c77dbfa75330b16b1b9525b9a253 100644
--- a/net/base/net_errors_win.cc
+++ b/net/base/net_errors_win.cc
@@ -52,6 +52,8 @@ Error MapSystemError(int os_error) {
return ERR_INVALID_ARGUMENT;
case WSAEADDRINUSE:
return ERR_ADDRESS_IN_USE;
+ case WSAEISCONN:
+ return ERR_SOCKET_IS_CONNECTED;
// System errors.
case ERROR_FILE_NOT_FOUND: // The system cannot find the file specified.

Powered by Google App Engine
This is Rietveld 408576698