Rainbows! Rack HTTP server user/dev discussion
 help / color / mirror / code / Atom feed
* hijack support pushed out rainbows.git
@ 2013-02-11  2:00 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2013-02-11  2:00 UTC (permalink / raw)
  To: rainbows-talk-GrnCvJ7WPxnNLxjTenLetw

>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


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

only message in thread, other threads:[~2013-02-11  2:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-11  2:00 hijack support pushed out rainbows.git Eric Wong

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