Files | Admin

Notes:

Release Name: 3.0.0pre2

Notes:
Unicorn is an HTTP server for Rack applications designed to only serve
fast clients on low-latency, high-bandwidth connections and take
advantage of features in Unix/Unix-like kernels.  Slow clients should
only be served by placing a reverse proxy capable of fully buffering
both the the request and response in between Unicorn and slow clients.

* http://unicorn.bogomips.org/
* mongrel-unicorn@rubyforge.org
* git://git.bogomips.org/unicorn.git

Changes:

This release updates us to the Kgio 2.x series which should play
more nicely with other applications.  There are also bugfixes
from the 2.0.1 release and a small bugfix to the new StreamInput
class.

The Unicorn 3.x series will supercede the 2.x series
while the 1.x series will remain supported indefinitely.



Changes: GIT-VERSION-GEN | 2 +- lib/unicorn/const.rb | 4 ++-- lib/unicorn/http_server.rb | 2 +- lib/unicorn/stream_input.rb | 2 +- script/isolate_for_tests | 2 +- t/t0002-parser-error.sh | 31 +++++++++++++++++++++++++++++++ t/t0013.ru | 12 ++++++++++++ t/t0014.ru | 12 ++++++++++++ test/unit/test_stream_input.rb | 17 +++++++++++++++++ unicorn.gemspec | 2 +- 10 files changed, 79 insertions(+), 7 deletions(-) commit 507f228864574437e610e57d20d3b77c1e6d0e41 Author: Eric Wong Date: Fri Nov 19 08:04:14 2010 +0800 unicorn 3.0.0pre2 - less bad than 2.x or 3.0.0pre1! This release updates us to the Kgio 2.x series which should play more nicely with other applications. There are also bugfixes from the 2.0.1 release and a small bugfix to the new StreamInput class. The Unicorn 3.x series will supercede the 2.x series while the 1.x series will remain supported indefinitely. commit 238c98ec4c353bb14671ab543c21baa068b7e3f2 Author: Eric Wong Date: Fri Nov 19 08:02:45 2010 +0800 update to kgio 2.x series The Kgio 2.x API is less brain-damaged than the 1.3.x series was, and should solve API-compatibility problems with dalli 0.11.1. commit 86d2a22ffdc4bf9f16e1870f9db9a2ff84760c7c Merge: eda4086 268c2ec Author: Eric Wong Date: Thu Nov 18 07:48:12 2010 +0800 Merge branch '2.0.x-stable' * 2.0.x-stable: unicorn 2.0.1 - fix errors in error handling tests: add parser error test from Rainbows! http_server: fix HttpParserError constant resolution t0012: fix race condition in reload commit 268c2ec5fef2630b0626b848be9d6ec46d360ddb Author: Eric Wong Date: Thu Nov 18 07:42:40 2010 +0800 unicorn 2.0.1 - fix errors in error handling This release fixes errors in our own error handling, causing certain errors to not be logged nor responded to correctly. Eric Wong (3): t0012: fix race condition in reload http_server: fix HttpParserError constant resolution tests: add parser error test from Rainbows! commit 859593b418db7e5fd93295a7a8b15de56cc4f6dd Author: Eric Wong Date: Thu Nov 18 07:44:47 2010 +0800 tests: add parser error test from Rainbows! This will help ensure we trap our own errors properly in the future. (cherry picked from commit eda408603edc51f10f17217c767b31a45eb6c627) commit eda408603edc51f10f17217c767b31a45eb6c627 Author: Eric Wong Date: Thu Nov 18 07:44:47 2010 +0800 tests: add parser error test from Rainbows! This will help ensure we trap our own errors properly in the future. commit 3362dc51934c15fd944748e55ba4a470cc60d27d Author: Eric Wong Date: Thu Nov 18 07:36:27 2010 +0800 stream_input: read with zero length returns '' Any calls to read with an explicit zero length now returns an empty string. While not explicitly specified by Rack::Lint, this is for compatibility with StringIO and IO methods which are common in other web servers. commit a6d96b61c2d81af077d55f43121c8472aa095447 Author: Eric Wong Date: Wed Nov 17 11:20:02 2010 -0800 http_server: fix HttpParserError constant resolution "Unicorn" is no longer in the default constant resolution namespace. (cherry picked from commit 390e351dd1283d4c80a12b744b1327fff091a141) commit 390e351dd1283d4c80a12b744b1327fff091a141 Author: Eric Wong Date: Wed Nov 17 11:20:02 2010 -0800 http_server: fix HttpParserError constant resolution "Unicorn" is no longer in the default constant resolution namespace. commit 01ae51fa5fda40a63277b0d1189925fb209c75a9 Author: Eric Wong Date: Thu Nov 18 02:48:41 2010 +0800 add missing test files oops :x commit d41e5364bde413e195df8803845f7232718325a6 Author: Eric Wong Date: Thu Oct 28 09:03:21 2010 +0000 t0012: fix race condition in reload We need to ensure the old worker is reaped before sending new requests intended for the new worker. (cherry picked from commit b45bf946545496cf8d69037113533d7a58ce7e20)