deps: cherry-pick libuv/libuv@abb109f · nodejs/node@cc8d542 · GitHub
Skip to content

Commit cc8d542

Browse files
bnoordhuisdanielleadams
authored andcommitted
deps: cherry-pick libuv/libuv@abb109f
Original commit log follows: darwin: remove EPROTOTYPE error workaround (libuv/libuv#3405) It's been reported in the past that OS X 10.10, because of a race condition in the XNU kernel, sometimes returns a transient EPROTOTYPE error when trying to write to a socket. Libuv handles that by retrying the operation until it succeeds or fails with a different error. Recently it's been reported that current versions of the operating system formerly known as OS X fail permanently with EPROTOTYPE under certain conditions, resulting in an infinite loop. Because Apple isn't exactly forthcoming with bug fixes or even details, I'm opting to simply remove the workaround and have the error bubble up. Refs: libuv/libuv#482 Fixes: #43916 PR-URL: #43950 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
1 parent 29bcd47 commit cc8d542

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

deps/uv/src/unix/stream.c

Lines changed: 3 additions & 17 deletions

0 commit comments

Comments
 (0)