Oops. Occasionally my brain experiences packet loss :x
---
lib/yahns/server.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/yahns/server.rb b/lib/yahns/server.rb
index efd6f05..583fd38 100644
--- a/lib/yahns/server.rb
+++ b/lib/yahns/server.rb
@@ -396,7 +396,9 @@ def fdmap_init
# call OpenSSL::SSL::SSLContext#setup explicitly here to detect
# errors and avoid race conditions. We avoid calling this in the
- # parent process since
+ # parent process (if we have multiple workers) in case the
+ # setup code starts TCP connections to memcached or similar
+ # for session caching.
ssl_ctx.setup
end
ctx_list << ctx
--
EW
--
unsubscribe: [email protected]
archive: https://yhbt.net/yahns-public/