http2-proxy
Advanced tools
Comparing version 4.2.5 to 4.2.6
14
index.js
@@ -202,3 +202,5 @@ const http = require('http') | ||
proxySocket.on('error', noop) | ||
proxySocket.destroy() | ||
if (proxySocket.destroy) { | ||
proxySocket.destroy() | ||
} | ||
} | ||
@@ -212,3 +214,5 @@ | ||
proxyRes.on('error', noop) | ||
proxyRes.destroy() | ||
if (proxyRes.destroy) { | ||
proxyRes.destroy() | ||
} | ||
} | ||
@@ -223,3 +227,7 @@ | ||
proxyReq.on('error', noop) | ||
proxyReq.abort() | ||
if (proxyReq.abort) { | ||
proxyReq.abort() | ||
} else if (proxyReq.destroy) { | ||
proxyReq.destroy() | ||
} | ||
} | ||
@@ -226,0 +234,0 @@ |
{ | ||
"name": "http2-proxy", | ||
"version": "4.2.5", | ||
"version": "4.2.6", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "dev": "nodemon --inspect=9308 src", |
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
99468
358