Disable Upstream Timeouts in Custom Module

Jared McIntyre Jared.McIntyre at medsimulation.com
Fri Aug 15 21:01:54 UTC 2014


I have a custom module that is proxying an upstream TCP based server. I can manipulate the timeouts by changing the ngx_http_upstream_conf_t's read_timeout and send_timeout to increase the timeout. However, for my particular use case, it would be better if there is no artificial timeout based on the length of time between received and sent packets. As long as the TCP connection is still live, there should be no 504. Is there any way to disable the send and read timouts in their entirety?

Thanks,

Jared
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140815/f562b88e/attachment.html>


More information about the nginx mailing list