nghttpx: Longer read timeouts
This commit is contained in:
parent
381488a9bd
commit
f178b78816
|
@ -671,13 +671,13 @@ void fill_default_config() {
|
||||||
mod_config()->http2_upstream_read_timeout = {180, 0};
|
mod_config()->http2_upstream_read_timeout = {180, 0};
|
||||||
|
|
||||||
// Read timeout for non-HTTP2 upstream connection
|
// Read timeout for non-HTTP2 upstream connection
|
||||||
mod_config()->upstream_read_timeout = {30, 0};
|
mod_config()->upstream_read_timeout = {180, 0};
|
||||||
|
|
||||||
// Write timeout for HTTP2/non-HTTP2 upstream connection
|
// Write timeout for HTTP2/non-HTTP2 upstream connection
|
||||||
mod_config()->upstream_write_timeout = {30, 0};
|
mod_config()->upstream_write_timeout = {30, 0};
|
||||||
|
|
||||||
// Read/Write timeouts for downstream connection
|
// Read/Write timeouts for downstream connection
|
||||||
mod_config()->downstream_read_timeout = {30, 0};
|
mod_config()->downstream_read_timeout = {180, 0};
|
||||||
mod_config()->downstream_write_timeout = {30, 0};
|
mod_config()->downstream_write_timeout = {30, 0};
|
||||||
|
|
||||||
// Read timeout for HTTP/2 stream
|
// Read timeout for HTTP/2 stream
|
||||||
|
|
Loading…
Reference in New Issue