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

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: Merge to origin/master 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
« no previous file with comments | « net/base/net_errors_posix.cc ('k') | net/udp/udp_socket_libevent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..2cde82f4d25c194d7a67742b9e25618ab3af1d23 100644
--- a/net/base/net_errors_win.cc
+++ b/net/base/net_errors_win.cc
@@ -37,6 +37,8 @@ Error MapSystemError(int os_error) {
case WSA_IO_INCOMPLETE:
case WSAEDISCON:
return ERR_CONNECTION_CLOSED;
+ case WSAEISCONN:
+ return ERR_SOCKET_IS_CONNECTED;
case WSAEHOSTUNREACH:
case WSAENETUNREACH:
return ERR_ADDRESS_UNREACHABLE;
« no previous file with comments | « net/base/net_errors_posix.cc ('k') | net/udp/udp_socket_libevent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698