-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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
Instantiation of Agent
without parameter caused an error
#12918
Comments
3 tasks
You’re using new (require('https').Agent)()
// not (new require('https')).Agent() |
mscdex
added
https
Issues or PRs related to the https subsystem.
question
Issues that look for answers.
labels
May 9, 2017
cjihrig
added a commit
to cjihrig/node
that referenced
this issue
May 11, 2017
Fixes: nodejs#12918 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
anchnk
pushed a commit
to anchnk/node
that referenced
this issue
May 19, 2017
Fixes: nodejs#12918 PR-URL: nodejs#12927 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@ryan-copperleaf Thanks very much, I think my original understanding of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run the code below, it causes an error: Type Error: Cannot read property 'maxCachedSessions' of undefined.
According to document, The parameter
options
ofnew Agent
is not required. So I think the error should not be raised.The text was updated successfully, but these errors were encountered: