mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
Add proxy-timeout option to documentation (#1075)
http-proxy provides a [proxyTimeout option](https://github.com/nodejitsu/node-http-proxy/blob/master/lib/http-proxy/passes/web-incoming.js#L122) that allows us to set a timeout on the outgoing socket connection to the target. This timeout is very effective when the upstream target does not respond within an expected time. I had wasted a few hours searching for this option. Documenting this option can save others a significant amount of time.
This commit is contained in:
parent
912cd3acae
commit
d0a1588639
Loading…
x
Reference in New Issue
Block a user