diff options
author | Lukas Larsson <[email protected]> | 2015-08-14 19:45:44 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2015-12-15 10:05:45 +0100 |
commit | 9612b1fff77dc50e797f23b587321c90ceffe953 (patch) | |
tree | e329daa4a71978798e059dcca5d37a6af242ccc5 /erts/emulator/beam/erl_debug.c | |
parent | 898ca7f86dff3fe21c9bf2e5018c7fb93dca158e (diff) | |
download | otp-9612b1fff77dc50e797f23b587321c90ceffe953.tar.gz otp-9612b1fff77dc50e797f23b587321c90ceffe953.tar.bz2 otp-9612b1fff77dc50e797f23b587321c90ceffe953.zip |
erts: Fix uds socket handling for os x
OS X is very strict in what it requires of you and also
gives strange error codes for some errors. In this commit
we remap EMSGSIZE to EMFILE and also precisely tune the
amount of data we send on the socket so that we can recv
only that data. If we try to recv more, recvmsg fails with
EPIPE if the remote end has been closed.
Diffstat (limited to 'erts/emulator/beam/erl_debug.c')
0 files changed, 0 insertions, 0 deletions