unix: Remove assert in uv__pipe_accept
This assert unnecessarily prevents people from using the pipe_wrap class in node to send file descriptors over sockets.
This commit is contained in:
parent
f9b478cfd8
commit
98c0498dbc
@ -251,7 +251,6 @@ void uv__pipe_accept(EV_P_ ev_io* watcher, int revents) {
|
||||
pipe = watcher->data;
|
||||
|
||||
assert(pipe->type == UV_NAMED_PIPE);
|
||||
assert(pipe->pipe_fname != NULL);
|
||||
|
||||
sockfd = uv__accept(pipe->fd, (struct sockaddr *)&saddr, sizeof saddr);
|
||||
if (sockfd == -1) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user