We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b55d88 commit b2684deCopy full SHA for b2684de
lib/dispatcher/proxy-agent.js
@@ -165,6 +165,7 @@ class ProxyAgent extends DispatcherBase {
165
if (statusCode !== 200) {
166
socket.on('error', noop).destroy()
167
callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`))
168
+ return
169
}
170
if (opts.protocol !== 'https:') {
171
callback(null, socket)
0 commit comments