Welcome! Log In Create A New Profile

Advanced

Re: Mysterious proxy timeout at 2 min

Thomas Love
August 24, 2011 06:40AM
On 24 August 2011 12:12, Thomas Love <tomlove@gmail.com> wrote:
> On 24 August 2011 12:09, Maxim Dounin <mdounin@mdounin.ru> wrote:
>
>> Error 502 suggests it's not nginx timeout (error will be 504 then)
>> but backend's one.
>>
>> Maxim Dounin
>
> Thanks. I thought it might be. I'm scouring node...
>
> Thomas
>

Found it. For any other node fanboys: there's a hardcoded 120-second
idle timeout in node.js's http.js, and to change it, call

request.socket.setTimeout(seconds * 1000);

Thomas

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Mysterious proxy timeout at 2 min

Thomas Love August 24, 2011 06:08AM

Re: Mysterious proxy timeout at 2 min

Maxim Dounin August 24, 2011 06:10AM

Re: Mysterious proxy timeout at 2 min

Thomas Love August 24, 2011 06:14AM

Re: Mysterious proxy timeout at 2 min

Thomas Love August 24, 2011 06:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready