Skip to content

unix,stream: don't clear writable flag on shutdown#2967

Closed
cjihrig wants to merge 1 commit into
libuv:v1.xfrom
cjihrig:revert
Closed

unix,stream: don't clear writable flag on shutdown#2967
cjihrig wants to merge 1 commit into
libuv:v1.xfrom
cjihrig:revert

Conversation

@cjihrig

@cjihrig cjihrig commented Aug 24, 2020

Copy link
Copy Markdown
Contributor

12be29f correctly updated uv_shutdown() to clear the writable
flag on Unix platforms. However, the change is causing test
failures in Node.js. This commit reverts the change so that the
1.39.0 release is unblocked.

12be29f correctly updated uv_shutdown() to clear the writable
flag on Unix platforms. However, the change is causing test
failures in Node.js. This commit reverts the change so that the
1.39.0 release is unblocked.
@cjihrig

cjihrig commented Aug 24, 2020

Copy link
Copy Markdown
Contributor Author

@cjihrig

cjihrig commented Aug 24, 2020

Copy link
Copy Markdown
Contributor Author

None of the CI failures appear to be related, and macOS passed.

@bnoordhuis bnoordhuis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some trepidation. Per #2943 (comment), there's at least two ways to fix the regression, which suggests to me there could be more issues with 12be29f. I'd probably revert it wholesale.

@santigimeno

Copy link
Copy Markdown
Member

I agree with Ben here. I'd revert the whole commit and investigate what's going on.

@cjihrig

cjihrig commented Aug 24, 2020

Copy link
Copy Markdown
Contributor Author

Closing this in favor of a full revert in #2968.

@cjihrig cjihrig closed this Aug 24, 2020
@cjihrig cjihrig deleted the revert branch August 24, 2020 16:50
cjihrig added a commit that referenced this pull request Aug 24, 2020
This reverts commit 12be29f.

The commit in question was introducing failures in the Node.js
test suite.

Refs: #2943
Refs: #2967
Refs: #2409
PR-URL: #2968
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
vtjnash added a commit that referenced this pull request May 21, 2021
This reverts commit 46f36e3.

PR-URL: #3006
Refs: #2967
Refs: #2409
Refs: #2943
Refs: #2968
Refs: nodejs/node#36111
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
JeffroMF pushed a commit to JeffroMF/libuv that referenced this pull request May 16, 2022
This reverts commit 12be29f.

The commit in question was introducing failures in the Node.js
test suite.

Refs: libuv#2943
Refs: libuv#2967
Refs: libuv#2409
PR-URL: libuv#2968
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
JeffroMF pushed a commit to JeffroMF/libuv that referenced this pull request May 16, 2022
This reverts commit 46f36e3.

PR-URL: libuv#3006
Refs: libuv#2967
Refs: libuv#2409
Refs: libuv#2943
Refs: libuv#2968
Refs: nodejs/node#36111
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Jul 23, 2025
This reverts commit 12be29f.

The commit in question was introducing failures in the Node.js
test suite.

Refs: libuv/libuv#2943
Refs: libuv/libuv#2967
Refs: libuv/libuv#2409
PR-URL: libuv/libuv#2968
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Jul 23, 2025
This reverts commit 46f36e3.

PR-URL: libuv/libuv#3006
Refs: libuv/libuv#2967
Refs: libuv/libuv#2409
Refs: libuv/libuv#2943
Refs: libuv/libuv#2968
Refs: nodejs/node#36111
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Dec 16, 2025
This reverts commit 12be29f.

The commit in question was introducing failures in the Node.js
test suite.

Refs: libuv/libuv#2943
Refs: libuv/libuv#2967
Refs: libuv/libuv#2409
PR-URL: libuv/libuv#2968
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
liujinye-sys pushed a commit to open-vela/apps_system_libuv that referenced this pull request Dec 16, 2025
This reverts commit 46f36e3.

PR-URL: libuv/libuv#3006
Refs: libuv/libuv#2967
Refs: libuv/libuv#2409
Refs: libuv/libuv#2943
Refs: libuv/libuv#2968
Refs: nodejs/node#36111
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants