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

under

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

under - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

17

lib/proxy.js

@@ -107,3 +107,2 @@ /*

opts.lowercase = true;
var header_func = opts.lowercase ? function(h){ return h } : upperize;

@@ -153,2 +152,3 @@ // req.connection.setTimeout(timeout); // we'll set or own timer

/*
if (response.headers.connection) {

@@ -161,2 +161,10 @@ if (req.headers.connection) {

}
this throws an error if running on node 0.10 or later:
Error: Cannot switch to old mode now.
response.connection.on('end', function() {
if (response.readable && response.resume)
response.resume();
});
*/

@@ -177,7 +185,2 @@

response.connection.on('end', function() {
if (response.readable && response.resume)
response.resume();
});
response.once('end', function(){

@@ -256,2 +259,2 @@ // log('Proxy response ended.')

}
}
{
"name": "under",
"version": "0.1.0",
"version": "0.1.1",
"description": "Fast reverse HTTP proxy with load balancing and queue support.",

@@ -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