Created by: phillipj
This ensures the incoming request does not timeout before the target's timeout configured with options.proxyTimeout
.
As I'm not familiar to the code base, I struggled seeing the best entry to write a test for this. Any thoughts would be appreciated.
Fixes https://github.com/nodejitsu/node-http-proxy/issues/1113
Edit: I'm looking into the existing timeout test failing