Files | Admin

Notes:

Release Name: 4.4.3

Notes:
Rainbows! 4.4.3 - bugfixes for EventMachine users

Rainbows! is an HTTP server for sleepy Rack applications.  It is based on
Unicorn, but designed to handle applications that expect long
request/response times and/or slow clients.

* http://rainbows.rubyforge.org/
* rainbows-talk@rubyforge.org
* git://bogomips.org/rainbows.git
* http://rainbows.rubyforge.org/NEWS.atom.xml

Changes:

This release fixes two EventMachine bugfixes from Lin Jen-Shin
and Mark J. Titorenko.  There are also some minor cleanups.

Lin Jen-Shin (1):
      event_machine: avoid close on deferred response

Mark J. Titorenko (1):
      event_machine: join reactor_thread if it is already running

Eric Wong (2):
      event_machine: cleanup confusing assignment
      t/GNUmakefile: cleanup test dependencies



Changes: GIT-VERSION-GEN | 2 +- lib/rainbows/const.rb | 2 +- lib/rainbows/event_machine.rb | 1 + lib/rainbows/event_machine/client.rb | 11 ++++++++--- t/GNUmakefile | 4 +--- 5 files changed, 12 insertions(+), 8 deletions(-) commit ad5ab9fe21d57b78b7c6681bbc0907c934e898b0 Author: Eric Wong Date: Fri Jan 18 11:21:45 2013 +0000 Rainbows! 4.4.3 - bugfixes for EventMachine users This release fixes two EventMachine bugfixes from Lin Jen-Shin and Mark J. Titorenko. There are also some minor cleanups. Lin Jen-Shin (1): event_machine: avoid close on deferred response Mark J. Titorenko (1): event_machine: join reactor_thread if it is already running Eric Wong (2): event_machine: cleanup confusing assignment t/GNUmakefile: cleanup test dependencies commit 5eaec3184b49d3c1068b1f011e7afe43b33dd2d5 Author: Eric Wong Date: Thu Jan 17 10:17:29 2013 +0000 t/GNUmakefile: cleanup test dependencies The missing random_blob dependency was causing the following to fail on a fresh clone: make -C t ThreadPool.t0005-large-file-response.sh commit a12d2e64e04b5098f31e63a72ea8330b6c8f3a19 Author: Mark J. Titorenko Date: Fri Jan 11 11:57:12 2013 +0000 event_machine: join reactor_thread if it is already running ...rather than falling through worker_loop Prior to the application of this patch, if an EventMachine reactor_thread has already been started elsewhere before the worker_loop is entered, the worker_loop exits as a second call to EM.run does not block the current thread. This patch causes the worker_loop thread to join the reactor_thread if it is running. [ew: commit message formatting] Signed-off-by: Eric Wong commit 28eaf3e766f5dddc6ca073a155b8005afdaecfba Author: Eric Wong Date: Wed Dec 19 03:39:58 2012 +0000 event_machine: cleanup confusing assignment commit 42bf1f6de55b82af46fd8255453036c6582b7f19 Author: Lin Jen-Shin Date: Wed Dec 19 04:03:55 2012 +0800 event_machine: avoid close on deferred response close_connection_after_writing only if not deferred, as in cool.io Deferred responses may buffer more data down the line, so keep the connection alive if we have a deferred response body. [ew: clear @deferred when we really want to quit, updated commit message] Acked-by: Eric Wong