From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00, RP_MATCHES_RCVD shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id AB66C207BD for ; Thu, 20 Apr 2017 20:00:15 +0000 (UTC) From: Eric Wong To: yahns-public@yhbt.net Subject: [PATCH] server: fix incomplete comment about SSLContext#setup Date: Thu, 20 Apr 2017 20:00:15 +0000 Message-Id: <20170420200015.23569-1-yahns-public@yhbt.net> List-Id: 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