Skip to content

Commit

Permalink
Address ticket #180 here since that problem is so hard to discover wh…
Browse files Browse the repository at this point in the history
…en you run into it. If there was an error, people would search for the error text, but there isn't.
  • Loading branch information
drewp committed Feb 7, 2012
1 parent 868f7e7 commit 73e415a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,12 @@ By default, `node-http-proxy` will set a 100 socket limit for all `host:port` pr
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.

## POST requests and buffering

express.bodyParser will interfere with proxying of POST requests (and other methods that have a request
body). They'll never sending anything to the upstream server, and the original client will just hang.
See https://github.com/nodejitsu/node-http-proxy/issues/180 for options.

## Using node-http-proxy from the command line
When you install this package with npm, a node-http-proxy binary will become available to you. Using this binary is easy with some simple options:

Expand Down

0 comments on commit 73e415a

Please sign in to comment.