Files | Admin

Notes:

Release Name: 3.3.1

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:

We now close the client socket after closing the response body.
This does not affect most applications that run under Unicorn,
in fact, it may not affect any.

There is also a new v1.1.6 release for users who do not use
kgio.



Changes: GIT-VERSION-GEN | 2 +- lib/unicorn/const.rb | 4 ++-- lib/unicorn/http_response.rb | 1 - lib/unicorn/http_server.rb | 1 + t/t0018-write-on-close.sh | 23 +++++++++++++++++++++++ t/write-on-close.ru | 11 +++++++++++ test/unit/test_response.rb | 18 +++++++++--------- 7 files changed, 47 insertions(+), 13 deletions(-) commit 5ebd22a9d28fc96c69c09b695d99c1f173ce5a67 Author: Eric Wong Date: Thu Jan 6 15:46:56 2011 -0800 unicorn 3.3.1 - one minor, esoteric bugfix We now close the client socket after closing the response body. This does not affect most applications that run under Unicorn, in fact, it may not affect any. There is also a new v1.1.6 release for users who do not use kgio. commit b72a86f66c722d56a6d77ed1d2779ace6ad103ed Author: Eric Wong Date: Wed Jan 5 22:39:03 2011 -0800 close client socket after closing response body Response bodies may capture the block passed to each and save it for body.close, so don't close the socket before we have a chance to call body.close