It seems there is still a bug in the proxy code which causes
this timeout expiries to be missed.
---
lib/yahns/server.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb
index 583fd38..128b894 100644
--- a/lib/yahns/server.rb
+++ b/lib/yahns/server.rb
@@ -500,6 +500,8 @@ def dropping(fdmap)
if drop_acceptors[0] || fdmap.size > 0
timeout = @shutdown_expire < Yahns.now ? -1 : @shutdown_timeout
n = fdmap.desperate_expire(timeout)
+ return false if timeout == -1
+
$0 = "yahns quitting, #{n} FD(s) remain"
true
else
--
EW
--
unsubscribe: [email protected]
archive: https://yhbt.net/yahns-public/