| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Stop using `arguments` for performance and readability.
|
| |
|
|
|
|
|
| |
Listen for the 'clientError' event that is emitted when a renegotation attack
is detected and close the connection.
Fixes test/pummel/test-https-ci-reneg-attack.js
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit changes the default value of the rejectUnauthorized option from
false to true.
What that means is that tls.connect(), https.get() and https.request() will
reject invalid server certificates from now on, including self-signed
certificates.
There is an escape hatch: if you set the NODE_TLS_REJECT_UNAUTHORIZED
environment variable to the literal string "0", node.js reverts to its
old behavior.
Fixes #3949.
|
| |
|
|
|
|
|
| |
https.get() now accepts either a URL (as a string) or an options object.
Refs #2859.
Fixes #3882.
|
| |
|
|
| |
This reverts commit 53716eb0b5338999761d115fad9d392077836e63.
|
| |
|
|
|
| |
It's useful for passing some additional options of request object to the
underlying API
|
| |
|
|
| |
Binds to a local address before making the outgoing connection.
|
| | |
|
| | |
|
| |
|
|
| |
Refs #1983.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
http2.js
protocols object to store defaults for http and https, and use as a switch for supported protocols.
options.hostname > options.host > 'localhost'
if I have an options.auth element and I do not have an Authorization header, I do basic auth.
http.request collapses to new ClientRequest since the defaults are handled by the protocol object
test-http-url.parse*
Fixes #1390
Conflicts:
lib/http2.js
|
| | |
|
| |
|
|
| |
Fixes #1411
|
| |
|
|
| |
http2 is currently disabled pending addition of a --use-http2 switch
|
| | |
|
| |
|
|
| |
fixes #979.
|
| |
|
|
| |
closes #926.
|
| |
|
|
|
|
| |
However, this test is failing for some quite unrelated issue.
Getting some odd "socket hangup" crashes, and only the first request
ever makes it to the server.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|