Forum: NGINX read_timeout directive

Posted by ilmerovingio (Guest)
on 2013-03-15 11:36
(Received via mailing list)
Hi, I've a few servers with nginx 1.2.3 that run a streaming services
platform.

Is there in nginx any "read_timeout" directive (like the send_timeout 
but
for the opposite) that shuts down the connection if the client has not 
send
any data for x time?

I'm looking for something also in beta stage, modules, plugin, patch...

Many thanks for your help

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,237396,237396#msg-237396
Posted by Maxim Dounin (Guest)
on 2013-03-15 12:59
(Received via mailing list)
Hello!

On Fri, Mar 15, 2013 at 06:35:27AM -0400, ilmerovingio wrote:

> Hi, I've a few servers with nginx 1.2.3 that run a streaming services
> platform.
>
> Is there in nginx any "read_timeout" directive (like the send_timeout but
> for the opposite) that shuts down the connection if the client has not send
> any data for x time?
>
> I'm looking for something also in beta stage, modules, plugin, patch...

There are two timeouts related to reading data from a client,
client_header_timeout and client_body_timeout.

See here for details:

http://nginx.org/r/client_header_timeout
http://nginx.org/r/client_body_timeout

--
Maxim Dounin
http://nginx.org/en/donation.html
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.