summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2012-04-18 21:55:36 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2012-04-18 21:55:36 +0200
commitc56d1559fc45375283cc9a616abf73b2e453d77e (patch)
treea77e138da1350794aa2b993eec839d0da0886a03 /test/fixtures
parent12f77440ef17d947c704bc4a6e98c0de89d7cd57 (diff)
downloadnode-c56d1559fc45375283cc9a616abf73b2e453d77e.tar.gz
test: use the new net.listen(backlog=x) API
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/fork2.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/fixtures/fork2.js b/test/fixtures/fork2.js
index d8a39f0b6..900183ad9 100644
--- a/test/fixtures/fork2.js
+++ b/test/fixtures/fork2.js
@@ -16,10 +16,7 @@ process.on('message', function(m, serverHandle) {
process.send({ childConnections: connections });
});
- // TODO need better API for this.
- server._backlog = 9;
-
- server.listen(serverHandle, function() {
+ server.listen(serverHandle, /* backlog */ 9, function() {
process.send({ gotHandle: true });
});
});