Socket
Socket
Sign inDemoInstall

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 1.0.2 to 1.0.3

6

index.js

@@ -41,2 +41,3 @@ const http2 = require('http2')

const kOnProxyRes = Symbol('onProxyRes')
const kFinished = Symbol('finished')

@@ -60,2 +61,3 @@ function proxy (req, res, head, {

res[kProxySocket] = null
res[kFinished] = false

@@ -163,6 +165,8 @@ assert(typeof callback === 'function' || callback == null)

if (!res[kProxyCallback]) {
if (res[kFinished]) {
return
}
res[kFinished] = true
if (err) {

@@ -169,0 +173,0 @@ err.statusCode = statusCode || err.statusCode || 500

2

package.json
{
"name": "http2-proxy",
"version": "1.0.2",
"version": "1.0.3",
"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