summaryrefslogtreecommitdiff
path: root/doc/blog/release/v0.10.15.md
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-06-27 00:43:23 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-07-29 06:48:46 +0200
commit6bd922fce83d505e44ee3706df9a78c0ad449d64 (patch)
tree93bc0e124530c8e518a3f814f5825c38900aff4a /doc/blog/release/v0.10.15.md
parent34b0a36120a039968a87342b048d1596782524b0 (diff)
downloadnode-new-6bd922fce83d505e44ee3706df9a78c0ad449d64.tar.gz
dgram: report send errors to cb, don't pass bytes
Passing the number of sent bytes to the callback is superfluous; datagram sockets operate in atomic mode: either the sendmsg() system call succeeds or it fails but it never does partial writes. Instead, report send errors to the callback. UDP error reporting is fairly haphazard on most platforms. You should not expect reliable delivery of anything besides EMSGSIZE and (possibly) ENETDOWN and ENETUNREACH. Fixes #2608.
Diffstat (limited to 'doc/blog/release/v0.10.15.md')
0 files changed, 0 insertions, 0 deletions