Sitelet https://github.com/nodejs/node/commit/0526d834f93c884ea135d682d229d9a7586f4cc4
Skip to content

Commit 0526d83

Browse files
committed
Revert "dgram: implicit binds should be exclusive"
This reverts commit a32b92d. Reverted for breaking the parallel/test-cluster-dgram-2 test on all platforms. PR-URL: #279 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org>
1 parent a32b92d commit 0526d83

2 files changed

Lines changed: 1 addition & 101 deletions

File tree

‎lib/dgram.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Socket.prototype.send = function(buffer,
299299
self._healthCheck();
300300

301301
if (self._bindState == BIND_STATE_UNBOUND)
302-
self.bind({port: 0, exclusive: true}, null);
302+
self.bind(0, null);
303303

304304
// If the socket hasn't been bound yet, push the outbound packet onto the
305305
// send queue and send after binding is complete.

‎test/parallel/test-dgram-exclusive-implicit-bind.js‎

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)