LightTPD reverse proxy timeout -


i'm using lighttpd reverse proxy our backend, both running in windows. nothing special @ all, just:

$http["url"] =~ "^/s-api"  {     proxy.server =  ("" => ( ( "host" => "127.0.0.1", "port" => 8220  ) ) ) } 

everything works fine when backend , running, but, if backend goes down requests throught proxy left in sort of endless wait state. no 504 - gateway timeout or anything. browser (both chrome , ie10) sits there waiting requests complete. in lighttpd debug logs can see proxy module tries connect fails:

2017-03-28 12:48:19: (mod_proxy.c.1058) establishing connection failed: connection refused 

but doesn't bubble browser.

with ngingx can use proxy_connect_timeout setting handle how do in lighttpd?

i've tried messing around of settings, like

server.max-keep-alive-requests = 0 server.max-keep-alive-idle = 0 server.max-read-idle = 10 server.max-write-idle = 10 

but make no difference. possible specify proxy connection timeout in lightttpd (running in windows)?

best regards, anders


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -