Browse Source

Allow people to set backlog. Need a better API.

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
6691aca229
  1. 2
      lib/net.js

2
lib/net.js

@ -1187,7 +1187,7 @@ Server.prototype._startWatcher = function () {
}; };
Server.prototype._doListen = function () { Server.prototype._doListen = function () {
listen(this.fd, 128); listen(this.fd, this._backlog || 128);
this._startWatcher(); this._startWatcher();
}; };

Loading…
Cancel
Save