diff options
author | Eric Wong <e@80x24.org> | 2015-07-21 20:19:31 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-07-21 20:19:31 +0000 |
commit | 6232929e4bcdca08344e9373f6cbf66fc4cecd0b (patch) | |
tree | dc94b8247fad156d4a9f41fb72d0e64c5260a221 /test | |
parent | 8bfa5669cc253d2ed893377f7627fe2f73299636 (diff) | |
download | yahns-6232929e4bcdca08344e9373f6cbf66fc4cecd0b.tar.gz |
This release improves socket inheritance support. TCP socket options are now applied to inherited sockets. We also emulate the sd_listen_fds function to allow inheriting sockets from systemd. HTTP status strings are now generated dynamically, allowing applications to modify Rack::Utils::HTTP_STATUS_CODES to apply changes in the Rack response. Unfortunately, this leads to minor (likely unnoticeable) performance regressions. However, our code is not optimized for Ruby 2.2+, so users on the latest released Ruby will benefit from reduced inline cache and constant lookups as we reduced our constant footprint. Expect further minor performance regressions if you are running Ruby 2.2 and earlier. For Ruby 2.2 users, overall performance should be largely unchanged from 1.7.0 to 1.8.0 shortlog of changes since 1.7.0: * use opt_str_freeze for Hash#delete * test/helper: warn atomically * generate response status strings dynamically * reduce constants and optimize for Ruby 2.2+ * http_response: reduce bytecode size * apply TCP socket options on inherited sockets * test/test_rack_hijack.rb: try to increase test reliability * emulate sd_listen_fds for systemd support * test/test_rack_hijack: ensure proper ordering of log messages
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions