Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove infinityAgent when Node 0.10 is deprecated #60

Closed
sindresorhus opened this issue May 6, 2015 · 0 comments
Closed

Remove infinityAgent when Node 0.10 is deprecated #60

sindresorhus opened this issue May 6, 2015 · 0 comments
Milestone

Comments

@sindresorhus
Copy link
Owner

Just putting it in an issue instead of a inline TODO.

got/index.js

Lines 93 to 102 in e3897a0

if (process.version.indexOf('v0.10') === 0 && fn === https && (
typeof opts.ca !== 'undefined' ||
typeof opts.cert !== 'undefined' ||
typeof opts.ciphers !== 'undefined' ||
typeof opts.key !== 'undefined' ||
typeof opts.passphrase !== 'undefined' ||
typeof opts.pfx !== 'undefined' ||
typeof opts.rejectUnauthorized !== 'undefined')) {
arg.agent = new (infinityAgent.https.Agent)(opts);
}

@floatdrop floatdrop added this to the 4.0.0 milestone Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants