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 <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
1 parent a32b92d commit 0526d83

File tree

2 files changed

+1
-101
lines changed

2 files changed

+1
-101
lines changed

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)