mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
parent
4b4d059791
commit
df0edf5fe6
@ -52,7 +52,9 @@ exports.createServer = function(opts, requestListener) {
|
||||
// HTTPS agents.
|
||||
|
||||
function createConnection(port, host, options) {
|
||||
return tls.connect(port, host, options);
|
||||
options.port = port;
|
||||
options.host = host;
|
||||
return tls.connect(options);
|
||||
};
|
||||
|
||||
function Agent(options) {
|
||||
|
Loading…
Reference in New Issue
Block a user