ncr / rack-proxy

A request/response rewriting HTTP proxy. A Rack app.
MIT License
269 stars 94 forks source link

Timeout after 60 seconds #43

Closed jp closed 10 years ago

jp commented 10 years ago

When the query last more that 60 seconds, the proxy exits with a timeout. Is there a way ton configure or change it (I'm happy to provide a pull request but I didn't find where too change this).

ncr commented 10 years ago

There's no way to configure it currently, I guess read_timeout should be set on a request somewhere near the https://github.com/ncr/rack-proxy/blob/master/lib/rack/proxy.rb#L74

jp commented 10 years ago

Just submitted a pull request for this : https://github.com/ncr/rack-proxy/pull/44 Didn't managed to link it to this issue :-1: