Rainbows! Rack HTTP server user/dev discussion
 help / color / Atom feed
From: Eric Wong <e@80x24.org>
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> (raw)
In-Reply-To: <20151118035805.29572-1-e@80x24.org>

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)

  reply index

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18  3:58 [PATCH 0/3] final round of changes for unicorn 5 compatibility Eric Wong
2015-11-18  3:58 ` Eric Wong [this message]
2015-11-18  3:58 ` [PATCH 2/3] stream_response_epoll: remove hijack_prepare call Eric Wong
2015-11-18  3:58 ` [PATCH 3/3] bump to unicorn 5.0.1, use monotonic clock Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://yhbt.net/rainbows/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151118035805.29572-2-e@80x24.org \
    --to=e@80x24.org \
    --cc=rainbows-public@bogomips.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Rainbows! Rack HTTP server user/dev discussion

Archives are clonable:
	git clone --mirror https://yhbt.net/rainbows-public
	git clone --mirror http://ou63pmih66umazou.onion/rainbows-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