From 8df88133a317dc3b16b66c9edbd734406414324a Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Fri, 4 Oct 2019 10:57:08 -0700 Subject: [PATCH] Adjust comment --- index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 9e076946..2791aea8 100644 --- a/index.js +++ b/index.js @@ -159,9 +159,10 @@ HttpsProxyAgent.prototype.callback = function connect(req, opts, fn) { // that the node core `http` can parse and handle the error status code cleanup(); - // The original socket is closed, and a "fake socket" EventEmitter is - // returned instead, so that the proxy doesn't get the HTTP request written - // to it (which may contain `Authorization` headers or other sensitive data. + // the original socket is closed, and a "fake socket" EventEmitter is + // returned instead, so that the proxy doesn't get the HTTP request + // written to it (which may contain `Authorization` headers or other + // sensitive data). // // See: https://hackerone.com/reports/541502 socket.destroy();