Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
Subject: hijack support pushed out rainbows.git
Date: Mon, 11 Feb 2013 02:00:16 +0000	[thread overview]
Message-ID: <20130211020016.GA19007@dcvr.yhbt.net> (raw)

>From e166cfe5e8d648b544b1291ec157bd234a425e21 Mon Sep 17 00:00:00 2001
From: Eric Wong <normalperson-rMlxZR9MS24@public.gmane.org>
Date: Fri, 8 Feb 2013 22:45:20 +0000
Subject: [PATCH] hijacking support for Rack 1.5.x users

This requires Rack 1.5.x and unicorn 4.6.0 for hijacking
support.  Older versions of Rack continue to work fine,
but we must use unicorn 4.6.0 features to support this.
---
 The patch is rather gigantic given everything we support, you can
 curl the following for the full diff:
 http://bogomips.org/rainbows.git/patch?id=e166cfe5e8d6

 lib/rainbows/coolio/client.rb                | 24 +++++++---
 lib/rainbows/coolio/thread_client.rb         |  2 +
 lib/rainbows/epoll/client.rb                 | 20 ++++++--
 lib/rainbows/ev_core.rb                      |  9 ++--
 lib/rainbows/event_machine/client.rb         | 13 +++--
 lib/rainbows/process_client.rb               | 10 ++--
 lib/rainbows/response.rb                     | 72 +++++++++++++++++++++-------
 lib/rainbows/revactor/client/methods.rb      |  2 +-
 lib/rainbows/stream_response_epoll.rb        | 49 +++++++++++++------
 lib/rainbows/stream_response_epoll/client.rb | 14 ++++--
 lib/rainbows/writer_thread_pool/client.rb    |  2 +
 rainbows.gemspec                             |  2 +-
 t/hijack.ru                                  | 56 ++++++++++++++++++++++
 t/t0800-rack-hijack.sh                       | 27 +++++++++++
 t/test_isolate.rb                            |  4 +-
 15 files changed, 246 insertions(+), 60 deletions(-)
 create mode 100644 t/hijack.ru
 create mode 100755 t/t0800-rack-hijack.sh
_______________________________________________
Rainbows! mailing list - rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org
http://rubyforge.org/mailman/listinfo/rainbows-talk
Do not quote signatures (like this one) or top post when replying


                 reply	other threads:[~2013-02-11  2:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=20130211020016.GA19007@dcvr.yhbt.net \
    --to=normalperson-rmlxzr9ms24@public.gmane.org \
    --cc=rainbows-talk-GrnCvJ7WPxnNLxjTenLetw@public.gmane.org \
    --subject='Re: hijack support pushed out rainbows.git' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

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

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

	../../rainbows.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).