yahns Ruby server user/dev discussion
 help / color / mirror / code / Atom feed
* [PATCH] server: fix incomplete comment about SSLContext#setup
@ 2017-04-20 20:00 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2017-04-20 20:00 UTC (permalink / raw)
  To: yahns-public

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-20 20:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-20 20:00 [PATCH] server: fix incomplete comment about SSLContext#setup Eric Wong

Code repositories for project(s) associated with this inbox:

	../../../yahns.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).