Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

tls: Allow establishing secure connection on the existing socket #2489

Closed
wants to merge 1 commit into from
Closed

tls: Allow establishing secure connection on the existing socket #2489

wants to merge 1 commit into from

Conversation

koichik
Copy link

@koichik koichik commented Jan 8, 2012

This is necessary to use SSL over HTTP tunnels.
Refs #2259, #2474.

Please review.

This is necessary to use SSL over HTTP tunnels.

Refs #2259, #2474.
cert: fs.readFileSync(common.fixturesDir + '/keys/agent1-cert.pem')
};

var server = tls.Server(options, function(socket) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tls.createServer()?

@bnoordhuis
Copy link
Member

LGTM.

@koichik
Copy link
Author

koichik commented Jan 9, 2012

@bnoordhuis - Thanks, merging.

@koichik koichik closed this in c1a63a9 Jan 9, 2012
@koichik koichik mentioned this pull request Jan 21, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants