http2-proxy
Advanced tools
Comparing version 0.1.10 to 0.1.12
@@ -133,6 +133,13 @@ const createError = require('http-errors') | ||
const callback = err => { | ||
const abort = () => { | ||
if (!proxyReq.aborted) { | ||
proxyReq.abort() | ||
} | ||
(req.stream || req).removeListener(abort) | ||
} | ||
(req.stream || req).on('error', abort) | ||
const callback = err => { | ||
abort() | ||
onError(err) | ||
@@ -139,0 +146,0 @@ } |
{ | ||
"name": "http2-proxy", | ||
"version": "0.1.10", | ||
"version": "0.1.12", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "dev": "nodemon --inspect=9308 --expose-http2 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
12684
244