Browse Source

fix socket-timeout. Also fix makefile test list name net-stream

v0.7.4-release
Henry Rawas 14 years ago
committed by Ben Noordhuis
parent
commit
92057554d5
  1. 3
      Makefile
  2. 2
      lib/net_uv.js

3
Makefile

@ -140,7 +140,8 @@ test-uv: all
simple/test-net-reconnect \
simple/test-net-remote-address-port \
simple/test-net-server-try-ports \
simple/test-net-server-stream \
simple/test-net-stream \
simple/test-net-socket-timeout \
simple/test-next-tick \
simple/test-next-tick-errors \
simple/test-next-tick-ordering \

2
lib/net_uv.js

@ -440,7 +440,7 @@ function Server(/* [ options, ] listener */) {
options = {};
self.on('connection', arguments[0]);
} else {
options = arguments[0];
options = arguments[0] || {};
if (typeof arguments[1] == 'function') {
self.on('connection', arguments[1]);

Loading…
Cancel
Save