projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b4d059
)
https: make `https` use new `tls.connect` API
author
Maciej Małecki
<maciej.malecki@notimplemented.org>
Tue, 1 Nov 2011 15:27:42 +0000
(16:27 +0100)
committer
koichik
<koichik@improvement.jp>
Sun, 8 Jan 2012 10:13:18 +0000
(11:13 +0100)
Refs #1983.
lib/https.js
patch
|
blob
|
history
diff --git
a/lib/https.js
b/lib/https.js
index
1c3d61e
..
991c63c
100644
(file)
--- a/
lib/https.js
+++ b/
lib/https.js
@@
-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) {