mirror of https://github.com/nodejs/node.git
Upgrade libuv to 2c7e8bb
parent
00bbe958c4
commit
fb3cccc257
|
@ -865,6 +865,8 @@ struct uv_getaddrinfo_s {
|
|||
*
|
||||
* uv_freeaddrinfo() must be called after completion to free the addrinfo
|
||||
* structure.
|
||||
*
|
||||
* On error NXDOMAIN the status code will be non-zero and UV_ENOENT returned.
|
||||
*/
|
||||
int uv_getaddrinfo(uv_loop_t*,
|
||||
uv_getaddrinfo_t* handle,
|
||||
|
|
|
@ -103,6 +103,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
|
|||
case ENOTDIR: return UV_ENOTDIR;
|
||||
case ENOTCONN: return UV_ENOTCONN;
|
||||
case EEXIST: return UV_EEXIST;
|
||||
case EAI_NONAME: return UV_ENOENT;
|
||||
default: return UV_UNKNOWN;
|
||||
}
|
||||
|
||||
|
|
|
@ -129,6 +129,7 @@ uv_err_code uv_translate_sys_error(int sys_errno) {
|
|||
case ERROR_PIPE_BUSY: return UV_EBUSY;
|
||||
case ERROR_SEM_TIMEOUT: return UV_ETIMEDOUT;
|
||||
case ERROR_ALREADY_EXISTS: return UV_EEXIST;
|
||||
case WSAHOST_NOT_FOUND: return UV_ENOENT;
|
||||
default: return UV_UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue