http2-proxy
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -127,6 +127,4 @@ const http2 = require('http2') | ||
// NOTE http2.Http2ServerRequest doesn't forward stream errors. | ||
const incoming = req.stream || req | ||
(req.stream || req).on('error', onError) | ||
incoming.on('error', onError) | ||
return proxy(req, resOrSocket, options, onRes, onError) | ||
@@ -170,3 +168,2 @@ } catch (err) { | ||
} else { | ||
err.statusCode = 500 | ||
callback(err) | ||
@@ -173,0 +170,0 @@ } |
{ | ||
"name": "http2-proxy", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"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
15296
276