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

http-proxy

Package Overview
Dependencies
Maintainers
3
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-proxy - npm Package Compare versions

Comparing version 0.6.5 to 0.6.6

28

lib/node-http-proxy.js

@@ -347,2 +347,9 @@ /*

},
destroy: function () {
this.end();
this.resume = function () {
console.error("Cannot resume buffer after destroying it.");
};
onData = onEnd = events = obj = null;
},
resume: function () {

@@ -590,4 +597,8 @@ this.end();

// If we have been passed buffered data, resume it.
if (options.buffer && !errState) {
options.buffer.resume();
if (options.buffer) {
if (!errState) {
options.buffer.resume();
} else {
options.buffer.destroy();
}
}

@@ -738,2 +749,3 @@ };

catch (e) {
detach();
reverseProxy.incoming.socket.end();

@@ -755,2 +767,3 @@ proxySocket.end();

catch (e) {
detach();
proxySocket.end();

@@ -840,3 +853,2 @@ socket.end();

}
socket.end();

@@ -940,8 +952,10 @@ }

//
// If we have been passed buffered data, resume it.
//
if (options.buffer && !errState) {
options.buffer.resume();
if (options.buffer) {
if (!errState) {
options.buffer.resume();
} else {
options.buffer.destroy();
}
}
};
{
"name": "http-proxy",
"description": "A full-featured http reverse proxy for node.js",
"version": "0.6.5",
"version": "0.6.6",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",

@@ -6,0 +6,0 @@ "contributors": [

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