http2-proxy
Advanced tools
Comparing version 0.1.18 to 0.1.19
@@ -173,3 +173,7 @@ const createError = require('http-errors') | ||
try { | ||
proxyRes.on('aborted', () => callback(new createError.BadGateway('socket hang up'))) | ||
proxyRes.on('aborted', () => { | ||
const error = new Error('socket hang up') | ||
error.code = 'ECONNRESET' | ||
callback(error) | ||
}) | ||
@@ -176,0 +180,0 @@ if (resOrSocket instanceof net.Socket) { |
{ | ||
"name": "http2-proxy", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"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
13308
260