mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
grammar correction
This commit is contained in:
parent
91e9bb9070
commit
729496d289
@ -358,7 +358,7 @@ server.on('upgrade', function(req, socket, head) {
|
|||||||
|
|
||||||
### Configuring your Socket limits
|
### Configuring your Socket limits
|
||||||
|
|
||||||
By default, `node-http-proxy` will set a 100 socket limit for all `host:port` proxy targets. If you wish to change this you can two it in two ways:
|
By default, `node-http-proxy` will set a 100 socket limit for all `host:port` proxy targets. You can change this in two ways:
|
||||||
|
|
||||||
1. By passing the `maxSockets` option to `httpProxy.createServer()`
|
1. By passing the `maxSockets` option to `httpProxy.createServer()`
|
||||||
2. By calling `httpProxy.setMaxSockets(n)`, where `n` is the number of sockets you with to use.
|
2. By calling `httpProxy.setMaxSockets(n)`, where `n` is the number of sockets you with to use.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user