aboutsummaryrefslogtreecommitdiffstats
path: root/erts/example/matrix_nif.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2018-11-28 20:31:37 +0100
committerSverker Eriksson <[email protected]>2018-11-28 20:32:23 +0100
commit06c46662022efb6892c036eeaf8c957e51fc17f7 (patch)
tree592110ed892da08874980e0ce369f1b30f5b7d31 /erts/example/matrix_nif.c
parent0ad63bcc5523f0b560c843b3ed02c08e1369e522 (diff)
downloadotp-06c46662022efb6892c036eeaf8c957e51fc17f7.tar.gz
otp-06c46662022efb6892c036eeaf8c957e51fc17f7.tar.bz2
otp-06c46662022efb6892c036eeaf8c957e51fc17f7.zip
erts: Fix unexpected inet_reply message from failing file:sendfile
A failing file:sendfile call would often send a message {inet_reply, Port, {error, Reason}} that would pollute the mailbox of the calling process. TCP_REQ_SENDFILE has its own reply messages format {sendfile, _, _} and does not expect an inet_reply message. Solution: Suppress inet_reply error message if TCP_ADDF_SENDFILE is set.
Diffstat (limited to 'erts/example/matrix_nif.c')
0 files changed, 0 insertions, 0 deletions