mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 04:58:00 +00:00
Bug 883981 - correctly reflect the server's port in httpd.js; r=ted
This commit is contained in:
parent
7de7004013
commit
0495cf2f72
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user