http2-proxy
Advanced tools
Comparing version 5.0.41 to 5.0.42
12
index.js
@@ -163,7 +163,8 @@ const net = require('net') | ||
if (err) { | ||
err.connected = Boolean(proxyReq && proxyReq[kConnected]) | ||
err.reusedSocket = Boolean(proxyReq && proxyReq.reusedSocket) | ||
} | ||
if (proxyReq) { | ||
if (err) { | ||
err.reusedSocket = proxyReq.reusedSocket | ||
} | ||
proxyReq.off('drain', onProxyReqDrain) | ||
@@ -193,3 +194,4 @@ if (proxyReq.abort) { | ||
this.method === 'GET' || | ||
this.method === 'HEAD' | ||
this.method === 'HEAD' || | ||
this.method === 'OPTIONS' | ||
) { | ||
@@ -196,0 +198,0 @@ // Dump request. |
{ | ||
"name": "http2-proxy", | ||
"version": "5.0.41", | ||
"version": "5.0.42", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "test": "jest", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27665
581