Description
#4694 assumed that the default size of the buffers from the socketpair was 64k on linux, which at least, in my box is much larger: 212992
, whereas after the change they're set to 131072
which is 128k (2x64k) as man (7) socket explains:
Sets or gets the maximum socket receive buffer in bytes. The kernel doubles this value (to allow space for bookkeeping overhead) when it is set using setsockopt(2), and this doubled value is returned by getsockopt(2).
This is causing failures in the node.js CI: https://ci.nodejs.org/job/node-test-commit-linux-containered/50277/nodes=ubuntu2204_sharedlibs_withoutssl_x64/testReport/junit/(root)/parallel/test_child_process_stdout_flush_exit/.
Should we revert this or just apply the changes to macOS
? Whatever we decide we'll need to make a patch release afterwards.