From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS43350 77.247.176.0/21 X-Spam-Status: No, score=-2.0 required=3.0 tests=AWL,BAYES_00,RCVD_IN_XBL shortcircuit=no autolearn=no version=3.3.2 X-Original-To: rainbows-public@bogomips.org Received: from 80x24.org (politkovskaja.torservers.net [77.247.181.165]) by dcvr.yhbt.net (Postfix) with ESMTP id 1C0D4203F8 for ; Wed, 18 Nov 2015 03:58:12 +0000 (UTC) From: Eric Wong To: rainbows-public@bogomips.org Subject: [PATCH 1/3] http_server: add master_pid attribute Date: Wed, 18 Nov 2015 03:58:03 +0000 Message-Id: <20151118035805.29572-2-e@80x24.org> In-Reply-To: <20151118035805.29572-1-e@80x24.org> References: <20151118035805.29572-1-e@80x24.org> List-Id: We'll need this for unicorn 5, as they dropped this publically accessible attribute while retaining the ivar. Eventually we may not have to check this attribute at all, instead detecting parent death via worker pipe. --- lib/rainbows/http_server.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rainbows/http_server.rb b/lib/rainbows/http_server.rb index 09f2589..429539c 100644 --- a/lib/rainbows/http_server.rb +++ b/lib/rainbows/http_server.rb @@ -8,6 +8,7 @@ class Rainbows::HttpServer < Unicorn::HttpServer attr_accessor :client_header_buffer_size attr_accessor :client_max_body_size attr_reader :use + attr_reader :master_pid def self.setup(block) Rainbows.server.instance_eval(&block) -- EW