Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
"TypeError: Cannot set property 'port' of undefined" using .forever() with HTTPS #437
If I use
There is some discussion here (looks like a workaround got patched in another app that uses request) and I've added a comment their referencing their actual commit.
referenced this issue
Feb 21, 2013
The easy fix is to:
(and get rid of createConnectionSSL function block)
Not submitting a pull request yet though as that may lose compatibility with older node versions and dealing with that could be a little more complex.
This module's package.json specifies compat with node.js 0.3.6 and above. Going back through the TLS docs I see that back then
Unfortunately that API isn't documented so it's into the tagged sources…