-
Notifications
You must be signed in to change notification settings - Fork 29.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PipeWrap::Connect() should handle errors from uv_pipe_connect2() #50652
Labels
c++
Issues and PRs that require attention from people who are familiar with C++.
Comments
bnoordhuis
added
the
c++
Issues and PRs that require attention from people who are familiar with C++.
label
Nov 10, 2023
deokjinkim
added a commit
to deokjinkim/node
that referenced
this issue
Nov 10, 2023
We need to handle errors from uv_pipe_connect2() because return type is `int`. Fixes: nodejs#50652 Refs: nodejs#49667 Refs: libuv/libuv#4030
deokjinkim
added a commit
to deokjinkim/node
that referenced
this issue
Nov 10, 2023
We need to handle errors from uv_pipe_connect2() because return type is `int`. Fixes: nodejs#50652 Refs: nodejs#49667 Refs: libuv/libuv#4030
nodejs-github-bot
pushed a commit
that referenced
this issue
Nov 12, 2023
We need to handle errors from uv_pipe_connect2() because return type is `int`. Fixes: #50652 Refs: #49667 Refs: libuv/libuv#4030 PR-URL: #50657 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: theanarkh <[email protected]>
targos
pushed a commit
that referenced
this issue
Nov 23, 2023
We need to handle errors from uv_pipe_connect2() because return type is `int`. Fixes: #50652 Refs: #49667 Refs: libuv/libuv#4030 PR-URL: #50657 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: theanarkh <[email protected]>
UlisesGascon
pushed a commit
that referenced
this issue
Dec 11, 2023
We need to handle errors from uv_pipe_connect2() because return type is `int`. Fixes: #50652 Refs: #49667 Refs: libuv/libuv#4030 PR-URL: #50657 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: theanarkh <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
553169f switched from uv_pipe_connect() to uv_pipe_connect2(). The former doesn't return errors (it can't because void) but the latter can and does.
The comment here is no longer applicable:
node/src/pipe_wrap.cc
Line 237 in 89c66ae
The text was updated successfully, but these errors were encountered: