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.0.9 to 0.1.0

17

lib/proxy.js

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

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

@@ -129,4 +130,6 @@ // req.connection.setTimeout(timeout); // we'll set or own timer

var code = req.aborted ? 499 : (errors[err.code] || 500);
res.writeHead(code, {'Content-Type': 'text/plain', 'Connection': 'close'});
if (!res.headersSent) {
var code = req.aborted ? 499 : (errors[err.code] || 500);
res.writeHead(code, {'Content-Type': 'text/plain', 'Connection': 'close'});
}

@@ -158,7 +161,2 @@ if (req.method !== 'HEAD')

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

@@ -179,2 +177,7 @@

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

@@ -181,0 +184,0 @@ // log('Proxy response ended.')

{
"name": "under",
"version": "0.0.9",
"version": "0.1.0",
"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