Caddy: Feature request:fastcgi timeout options

Created on 7 Sep 2016  路  6Comments  路  Source: caddyserver/caddy

In nginx, there are various fastcgi timeout options, e.g.:
http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_connect_timeout
http://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_read_timeout

It would be nice to also have these options (or at least know the current values) in caddy.

feature request help wanted

Most helpful comment

Work continues. I'll be investigating a send_timeout property next.

All 6 comments

I'll give this a shot.

Hello, just wanted to touch base on this request. I'm getting pretty close to a fix and hope to soon have a PR to review!

I've noticed an issue with the read_timeout directive. I'm working on the changes. Also, as requested, I'll set default values for both read_timeout and connect_timeout.

Work continues. I'll be investigating a send_timeout property next.

Hello, @Echsecutor!

We've added the following timeout properties to the fastcgi directive:

  • connect_timeout
  • read_timeout
  • send_timeout

Each of these have a default value of 60 seconds.

Are these updates sufficient? If so then I'll close this issue.

Closing.

Was this page helpful?
0 / 5 - 0 ratings