We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
maxSockets
target
RoutingProxy
1 parent 5ff2b6e commit e1d384eCopy full SHA for e1d384e
lib/node-http-proxy/routing-proxy.js
@@ -42,6 +42,7 @@ var RoutingProxy = exports.RoutingProxy = function (options) {
42
//
43
this.target = {};
44
this.target.https = options.target && options.target.https;
45
+ this.target.maxSockets = options.target && options.target.maxSockets;
46
47
48
// Setup other default options to be used for instances of
@@ -91,6 +92,7 @@ RoutingProxy.prototype.add = function (options) {
91
92
options.target.socketPath = options.target.socketPath || options.socketPath;
93
options.target.https = this.target && this.target.https ||
94
options.target && options.target.https;
95
+ options.target.maxSockets = this.target && this.target.maxSockets;
96
97
98
// Setup options to pass-thru to the new `HttpProxy` instance
0 commit comments