Socket
Socket
Sign inDemoInstall

proxying-agent

Package Overview
Dependencies
0
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.6 to 0.1.7

test.js

21

lib/proxying-agent.js

@@ -128,2 +128,7 @@ 'use strict';

}.bind(this));
tlsSocket.once('error', function(error) {
this.emitError(req, 'Tunnel socket error: ' + error);
}.bind(this));
}.bind(this));

@@ -142,3 +147,3 @@

}
}
};

@@ -214,3 +219,3 @@ /**

newReq.end();
}
};

@@ -226,3 +231,3 @@ /**

}
};

@@ -242,3 +247,3 @@ /**

}
}
};

@@ -259,7 +264,7 @@ /**

this.openSockets[req].on('close', onClose);
}
};
ProxyingAgent.prototype.getSocket = function(req) {
return this.openSockets[req];
}
};

@@ -276,7 +281,7 @@ /**

return this.agent.prototype.createSocket.call(this, name, host, port, localAddress, req);
}
};
ProxyingAgent.prototype.emitError = function(req, message) {
req.emit('error', new Error(message));
}
};

@@ -283,0 +288,0 @@

{
"name": "proxying-agent",
"version": "0.1.6",
"version": "0.1.7",
"description": "Node HTTP/HTTPS Forward Proxy Agent",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc