diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2022-01-09 12:20:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-09 12:20:15 +0100 |
commit | abb109f30f7c0b3615b75156376d2e886c365df8 (patch) | |
tree | 949160e798fe862cc9bac0bbefa7104697da1c76 /docs/code/default-loop/main.c | |
parent | bb6248bca4ccc4cb50b3e859be23afd9be52ebcb (diff) | |
download | libuv-abb109f30f7c0b3615b75156376d2e886c365df8.tar.gz libuv-abb109f30f7c0b3615b75156376d2e886c365df8.zip |
darwin: remove EPROTOTYPE error workaround (#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: https://github.com/libuv/libuv/pull/482
Diffstat (limited to 'docs/code/default-loop/main.c')
0 files changed, 0 insertions, 0 deletions