Idle Timeout during the HTTP request response phase

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Idle Timeout during the HTTP request response phase

wld75
Hi,

Is there any directive available in Nginx to set a timeout between two
successive receive or two successive send network input/output operations
during the HTTP request response phase?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281614,281614#msg-281614

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

RE: Idle Timeout during the HTTP request response phase

Reinis Rozitis
> Is there any directive available in Nginx to set a timeout between two
> successive receive or two successive send network input/output operations
> during the HTTP request response phase?

For send:
http://nginx.org/en/docs/http/ngx_http_core_module.html#send_timeout

for read:
http://nginx.org/en/docs/http/ngx_http_core_module.html#client_header_timeout (just for http headers)
http://nginx.org/en/docs/http/ngx_http_core_module.html#client_body_timeout


p.s. for backend/upstream connections there are different directives

rr

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx
Reply | Threaded
Open this post in threaded view
|

Re: RE: Idle Timeout during the HTTP request response phase

wld75
Thanks for the pointers.

For backend/upstream servers does they translate to the below two
directives

For read :
proxy_read_timeout

For send:
proxy_send_timeout

Please correct me if I am wrong

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,281614,281618#msg-281618

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx