Socket
Socket
Sign inDemoInstall

http2-proxy

Package Overview
Dependencies
0
Maintainers
1
Versions
193
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.41 to 5.0.42

12

index.js

@@ -163,7 +163,8 @@ const net = require('net')

if (err) {
err.connected = Boolean(proxyReq && proxyReq[kConnected])
err.reusedSocket = Boolean(proxyReq && proxyReq.reusedSocket)
}
if (proxyReq) {
if (err) {
err.reusedSocket = proxyReq.reusedSocket
}
proxyReq.off('drain', onProxyReqDrain)

@@ -193,3 +194,4 @@ if (proxyReq.abort) {

this.method === 'GET' ||
this.method === 'HEAD'
this.method === 'HEAD' ||
this.method === 'OPTIONS'
) {

@@ -196,0 +198,0 @@ // Dump request.

{
"name": "http2-proxy",
"version": "5.0.41",
"version": "5.0.42",
"scripts": {

@@ -5,0 +5,0 @@ "test": "jest",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc