summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-20 17:29:56 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-20 17:29:56 +0000
commitd539beae684ad05d65dad3338c442bf472e89279 (patch)
treeb2903930a1bab207f32e32c512b6cc361983d8f3 /net
parentb93ca987e90cfc80be99311f5a410fba885076a8 (diff)
downloadchromium_src-d539beae684ad05d65dad3338c442bf472e89279.zip
chromium_src-d539beae684ad05d65dad3338c442bf472e89279.tar.gz
chromium_src-d539beae684ad05d65dad3338c442bf472e89279.tar.bz2
Map WSAEMSGSIZE to ERR_MSG_TOO_BIG.
TEST=None BUG=None Review URL: http://codereview.chromium.org/7046089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89679 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/base/net_errors_win.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/base/net_errors_win.cc b/net/base/net_errors_win.cc
index fbb5a16..0fff5d6 100644
--- a/net/base/net_errors_win.cc
+++ b/net/base/net_errors_win.cc
@@ -38,6 +38,8 @@ Error MapSystemError(int os_error) {
return ERR_ADDRESS_UNREACHABLE;
case WSAEADDRNOTAVAIL:
return ERR_ADDRESS_INVALID;
+ case WSAEMSGSIZE:
+ return ERR_MSG_TOO_BIG;
case WSAENOTCONN:
return ERR_SOCKET_NOT_CONNECTED;
case WSAEAFNOSUPPORT: