Files | Admin

Notes:

Release Name: 0.95.3

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:

The HTTP parser now allows (but does not parse) the userinfo
component in the very rare requests that send absoluteURIs.
Thanks to Scott Chacon for reporting and submitting a test case
for this fix.

There are also minor documentation updates and tiny cleanups.



Changes: GIT-VERSION-GEN | 2 +- GNUmakefile | 42 ++++++++++++++--------- Rakefile | 29 ++++++++++++++++ ext/unicorn_http/unicorn_http_common.rl | 3 +- lib/unicorn.rb | 5 +-- lib/unicorn/const.rb | 2 +- lib/unicorn/tee_input.rb | 55 +++++++++++++++++++++++------- local.mk.sample | 4 +- test/unit/test_http_parser.rb | 39 ++++++++++++++++++++++ 9 files changed, 142 insertions(+), 39 deletions(-) commit c0fb9a72f06b02f399df8a56a342372f334b472a Author: Eric Wong Date: Mon Dec 21 13:46:15 2009 -0800 unicorn 0.95.3 The HTTP parser now allows (but does not parse) the userinfo component in the very rare requests that send absoluteURIs. Thanks to Scott Chacon for reporting and submitting a test case for this fix. There are also minor documentation updates and tiny cleanups. commit ed8ef914756d61d47da23aecfc58c4d65739236b Author: Eric Wong Date: Mon Dec 21 12:41:38 2009 -0800 build: favor upper-case variable names in Makefiles It should be more compatible and easier to express that they're overridable to hackers. We keep the lower-case versions around in case people depend on them. commit d1c5847f74bad4969a0324dc47f0c7a59e72fa8c Author: Eric Wong Date: Mon Dec 21 12:37:33 2009 -0800 tee_input: rdoc for all public methods commit 6b7967ee2d396b95becbd8cf1a1fb3419908b614 Author: Eric Wong Date: Mon Dec 21 11:56:24 2009 -0800 GNUmakefile: nuke *.rbc files when generating RDoc TODO: fix RDoc to ignore *.rbc files commit 05fa45e54b0a6033250249ec0ed2009d4dbacf48 Author: Eric Wong Date: Sat Dec 19 01:05:41 2009 -0800 http: allow userinfo component in absoluteURIs This is not explicitly specified or listed as an example in in rfc2616. However, rfc2616 section 3.2.1 defers to rfc2396[1] for the definition of absolute URIs, so the userinfo component should be allowable, even if it does not make any sense. In the real world, previous versions of Mongrel used URI.parse() and thus allowed userinfo, so we also have precedence to allow userinfo to be compatible *in case* our interpretation of the RFCs is incorrect. This change is unfortunately needed because *occasionally* real clients rely on them. Reported-by: Scott Chacon [1] rfc3986 obsoletes rfc2396, but also includes userinfo commit 4c8c891b76c2a44a0ae76eea8f07934b984caab0 Author: Eric Wong Date: Sun Dec 13 23:30:52 2009 -0800 simplify pid assignment Durr.... commit 48e206052201d4b5c86f02c9e2fb5772f5a2775d Author: Eric Wong Date: Mon Dec 7 02:03:30 2009 -0800 Rakefile: add Freshmeat.net update task No more having bother with a clunky web browser \o/