dgram: call send callback asynchronously
authorYosuke Furukawa <yosuke.furukawa@gmail.com>
Wed, 1 Apr 2015 14:32:48 +0000 (23:32 +0900)
committerYosuke Furukawa <yosuke.furukawa@gmail.com>
Sun, 10 May 2015 03:03:21 +0000 (12:03 +0900)
commit18d457bd3408557a48b453f13b2b99e1ab5e7159
treebc0bece749bfac62be77dbd9f4ed2e86b7c5888b
parentaed6bce9064915bda28237b1a5fbf7fcdbf439ef
dgram: call send callback asynchronously

dgram#send callback was changed synchronously.
The PR-URL is here https://github.com/joyent/libuv/pull/1358

This commit is temporary fix until libuv issue is resolved.
https://github.com/libuv/libuv/issues/301

PR-URL: https://github.com/iojs/io.js/pull/1313
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
lib/dgram.js
test/parallel/test-dgram-send-callback-recursive.js [new file with mode: 0644]