Bug 883981 - correctly reflect the server's port in httpd.js; r=ted

This commit is contained in:
Nathan Froyd 2013-06-17 14:58:56 -04:00
parent 5d8adc664b
commit 56bff3cb5e

View File

@ -535,7 +535,8 @@ nsHttpServer.prototype =
dumpn(">>> listening on port " + socket.port + ", " + maxConnections +
" pending connections");
socket.asyncListen(this);
this._identity._initialize(port, host, true);
this._port = socket.port;
this._identity._initialize(socket.port, host, true);
this._socket = socket;
}
catch (e)