yahns Ruby server user/dev discussion
 help / color / 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.
       ctx_list << ctx

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

only message in thread, back to index

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

yahns Ruby server user/dev discussion

Archives are clonable:
	git clone --mirror https://yhbt.net/yahns-public
	git clone --mirror http://ou63pmih66umazou.onion/yahns-public

Example config snippet for mirrors

Newsgroups are available over NNTP:

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git