Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/v1.x' into v1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechsTech committed Apr 26, 2024
2 parents 94e063e + 520eb62 commit 6624ebb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion docs/src/guide/processes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ to hand off their I/O to other processes. Applications include load-balancing
servers, worker processes and other ways to make optimum use of CPU. libuv only
supports sending **TCP sockets or other pipes** over pipes for now.

To demonstrate, we will look at a echo server implementation that hands of
To demonstrate, we will look at an echo server implementation that hands off
clients to worker processes in a round-robin fashion. This program is a bit
involved, and while only snippets are included in the book, it is recommended
to read the full code to really understand it.
Expand Down
5 changes: 0 additions & 5 deletions src/win/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1557,11 +1557,6 @@ int uv__tcp_connect(uv_connect_t* req,
return 0;
}

#ifndef WSA_FLAG_NO_HANDLE_INHERIT
/* Added in Windows 7 SP1. Specify this to avoid race conditions, */
/* but also manually clear the inherit flag in case this failed. */
#define WSA_FLAG_NO_HANDLE_INHERIT 0x80
#endif

int uv_socketpair(int type, int protocol, uv_os_sock_t fds[2], int flags0, int flags1) {
SOCKET server = INVALID_SOCKET;
Expand Down

0 comments on commit 6624ebb

Please sign in to comment.