Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

http2-proxy

Package Overview
Dependencies
Maintainers
1
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http2-proxy - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

10

index.js

@@ -48,3 +48,11 @@ const http2 = require('http2')

}, onProxyError) {
let hasError = false
function onError (err, statusCode = (err && err.statusCode) || 500) {
if (hasError) {
return
}
hasError = true
if (resOrSocket.closed === true ||

@@ -98,3 +106,3 @@ resOrSocket.headersSent !== false ||

if (timeout) {
req.setTimeout(timeout, () => onError(new createError.RequestTimeout()))
req.setTimeout(timeout, () => onError(createError('request timeout', null, 408)))
}

@@ -101,0 +109,0 @@

2

package.json
{
"name": "http2-proxy",
"version": "0.2.9",
"version": "0.2.10",
"scripts": {

@@ -5,0 +5,0 @@ "dev": "nodemon --inspect=9308 --expose-http2 src",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc