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

gohttp

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gohttp - npm Package Compare versions

Comparing version 4.1.0-beta4 to 4.1.0-beta5

26

http2proxy.js

@@ -71,3 +71,3 @@ 'use strict'

break
case 'maxBody':

@@ -287,3 +287,20 @@ case 'addIP':

if (!self.hostProxy[c.host] || !self.hostProxy[c.host][c.routepath]) {
let host = c.host
let hind = c.host.length - 1
if (hind > 4) {
let eind = hind - 5
while (hind >= eind) {
if (c.host[hind] === ':') {
host = c.host.substring(0, hind)
break
}
hind -= 1
}
}
if (!self.hostProxy[host] || !self.hostProxy[host][c.routepath]) {
if (self.full) {

@@ -369,3 +386,6 @@ return c.send(error_502_text, 502)

app.use(this.mid(), {pre: true, group: `titbit_h2_proxy`})
app.use(this.mid(), {
pre: true,
group: `titbit_h2_proxy`
})

@@ -372,0 +392,0 @@ }

2

package.json
{
"name": "gohttp",
"version": "4.1.0-beta4",
"version": "4.1.0-beta5",
"description": "http & https client for HTTP/1.1 and HTTP/2",

@@ -5,0 +5,0 @@ "main": "index.js",

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