Up to [cvs.NetBSD.org] / pkgsrc / www / ruby-puma
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
www/ruby-puma: update to 6.6.1 6.6.1 (2025-07-30) Bugfixes * Accept to_path to be nil on request bodies ([#3635]) * Fix single runner stats before the server start ([#3572]) * Fix incomplete worker boot state on refork ([#3601]) * Improve HttpParserError messages for better debugging ([#3586]) * Fix refork logs to distinguish from phased restarts ([#3598]) * Fix rack.after_reply so it doesn't interrupt chain on error ([#3680])
www/ruby-puma: update to 6.6.0 6.6.0 (2025-01-28) Some stuff for JRuby users (SIGUSR2 trap), reforkers (see below), and a few debug/logging/observability related goodies. Features * Option to turn off SIGUSR2 trapping ([#3570], [#3567]) * Shorten ThreadPool trimmer and reaper thread names ([#3383]) * Add after_refork hook ([#3386]) * Add busy threads stat ([#3517]) * Add a debug log before running each type of hook ([#3375]) * Allow alternative schemes in Binder ([#3348], [#3302]) * Avoid spawning Threadpool#trim thread if pool size is fixed ([#3384]) Bugfixes * Change HttpParserError to be subclass of StandardError ([#3590], [#3552]) * added test cases * fix update phased restart symlink folder Performance * Only ping worker 0 during phased restart if using fork worker ([#3568]) Refactor * Fix multi-delimiter split to get status app token ([#3505]) * Change ping to use const ([#3595]) * Fixup use of Puma::Const::PipeRequest constants ([#3565]) * Update DSL hook processing logic to be consistent ([#3376])
www/ruby-puma: update to 6.5.0 6.5.0 (2024-11-22) They say good things come to wait, and you've all had to wait a long time for 6.5.0 because @nateberkopec had another daughter: Sky! Features * Print RUBY_DESCRIPTION when Puma starts ([#3407]) * Set the worker process count automatically when using WEB_CONCURRENCY=auto ([#3439], [#3437]) * Mark as ractor-safe ([#3486], [#3422]) * Add option enable_keep_alives. true (the default) mimics existing behavior, but now you can use false to disable keepalive to reduce queue tail latency ([#3496]) * Add parameters to Puma methods to allow CI to change ENV in isolation ([#3485]) * Add ssl_ciphersuites option for TLSv1.3 ciphers ([#3359], [#3343]) * You can now use --threads 5 or threads 5 to config max/min threads with a single number (used to need to say 5:5) ([#3309]) * Option to turn off systemd plugin ([#3425], [#3424]) * Add on_stopped hook ([#3411], [#3380]) Bugfixes * Handle blank environment variables when loading config ([#3539]) * lib/rack/handler/puma.rb - fix for rackup v1.0.1, adjust Gemfile ([#3532], [#3531]) * null_io.rb - add external_encoding, set_encoding, binmode, binmode? ([#3214]) * Implement NullIO#seek and #pos to mimic IO ([#3468]) * add support in rack handler & fix regression in binder for linux abstract namespace sockets ([#3508]) * Use actual thread local for Puma::Server.current. ([#3360]) * client.rb - fix request chunked body handling ([#3338], [#3337]) * Properly handle two requests seen in the initial buffer ([#3332]) * Fix response repeated status line when request is invalid or errors are raised ([#3308], [#3307]) * Fix child processes not being reaped when Process.detach used ([#3314], [#3313]) JRuby * Make HTTP length constants configurable ([#3518]) * Fixup jruby_restart.rb & launcher.rb to work with ARM64 macOS JRuby ([#3467]) Performance * Avoid checking if all workers reached timeout unless idle timeout is configured ([#3341]) * Request body - increase read size to 64 kB ([#3548]) * single mode skip wait_for_less_busy_worker ([#3325]) Refactor * A ton of CI/test improvements by @MSP-Greg, as usual. * Add ThreadPool#stats and adjust Server#stats to use it ([#3527]) * normalize whitespace in worker stats string ([#3513]) * rack/handler/puma.rb - ssl - use start_with?, add test ([#3510]) * extconf.rb - add logging for OpenSSL versions ([#3370]) * Lazily require Puma::Rack::Builder ([#3340]) * Refactor: Constantize worker pipe request types ([#3318]) Docs * stats.md improvements ([#3514]) * control_cli.rb: Harmonize help message with bin/puma ([#3434]) * dsl.rb: Clarify a callback's argument ([#3435])
www/ruby-puma: update to 6.4.3 6.4.3 (2024-09-19) Security * Discards any headers using underscores if the non-underscore version also exists. Without this, an attacker could overwrite values set by intermediate proxies (e.g. X-Forwarded-For). (CVE-2024-45614/GHSA-9hf4-67fc-4vf4)
www/ruby-puma: update to 6.4.2 6.4.1 (2024-01-03) Bugfixes * DSL#warn_if_in_single_mode - fixup when workers set via CLI (#3256) * Fix idle-timeout not working in cluster mode (#3235, #3228, #3282, #3283) * Fix worker 0 timing out during phased restart (#3225, #2786) * context_builder.rb - require openssl if verify_mode != 'none' (#3179) * Make puma cluster process suitable as PID 1 (#3255) * Improve Puma::NullIO consistency with real IO (#3276) * extconf.rb - fixup to detect openssl info in Ruby build (#3271, #3266) * MiniSSL.java - set serialVersionUID, fix RaiseException deprecation (#3270) * dsl.rb - fix warn_if_in_single_mode when WEB_CONCURRENCY is set (#3265, #3264) Maintenance * LOTS of test refactoring to make tests more stable and easier to write - thanks to @MSP-Greg! * Fix bug in tests re: TestPuma::HOST4 (#3254) * Dockerfile for minimal repros: use Ruby 3.2, expect bundler installed (#3245) * fix define_method calls, use Symbol parameter instead of String (#3293) 6.4.2 (2024-01-08) Security * Limit the size of chunk extensions. Without this limit, an attacker could cause unbounded resource (CPU, network bandwidth) consumption. (GHSA-c2f4-cvqm-65w2)
www/ruby-puma: update to 6.4.0 6.4.0 (2023-09-21) Features * on_thread_exit hook ([#2920]) * on_thread_start_hook ([#3195]) * Shutdown on idle ([#3209], [#2580]) * New error message when control server port taken ([#3204]) Refactor * Remove Forwardable dependency ([#3191], #3190) * Update URLMap Regexp usage for Ruby v3.3 ([#3165]) Bugfixes * Bring the cert_pem: parameter into parity with the cert: parameter to ssl_bind. ([#3174]) * Fix using control server with IPv6 host ([#3181]) * control_cli.rb - add require_relative 'log_writer' ([#3187]) * Fix cases where fallback Rack response wasn't sent to the client ([#3094])
*: bump for openssl 3
www/ruby-puma: update to 6.3.1 6.3.1 (2023-08-18) Security * Address HTTP request smuggling vulnerabilities with zero-length Content Length header and trailer fields (GHSA-68xg-gqqm-vgj8)
www/ruby-puma: update to 6.3.0 6.3.0 - Mugi No Toki Itaru (2023-05-31) Japan has 72 traditional microseasons. May 31 is the first day of 麦秋至, which means the time of the wheat/barley harvest. Features * Add dsl method supported_http_methods ([#3106], [#3014]) * Puma error responses no longer have any fingerprints to indicate Puma ([#3161], [#3037]) * Support decryption of SSL key ([#3133], [#3132]) Bugfixes * Don't send 103 early hints response when only invalid headers are used ([#3163]) * Handle malformed request path ([#3155], [#3148]) * Misc lib file fixes - trapping additional errors, CI helper ([#3129]) * Fixup req form data file upload with "r\n" line endings ([#3137]) * Restore rack 1.6 compatibility ([#3156]) Refactor * const.rb - Update Puma::HTTP_STATUS_CODES ([#3162]) * Clarify Reactor#initialize ([#3151]) New Contributors * @severin made their first contribution in #3156
www/ruby-puma: update to 6.2.2 6.2.0 (2023-03-29) Features * Ability to supply a custom logger ([#2770], [#2511]) * Warn when clustered-only hooks are defined in single mode ([#3089]) * Adds the on_booted event ([#2709]) Bugfixes * Loggers - internal_write - catch Errno::EINVAL ([#3091]) * commonlogger.rb - fix HIJACK time format, use constants, not strings ([#3074]) * Fixed some edge cases regarding request hijacking ([#3072]) 6.2.1 (2023-03-31) Bugfixes * Fix java 8 compatibility ([#3109], [#3108]) * Always write io_buffer when in "enum bodies" branch. ([#3113], [#3112]) * Fix warn_if_in_single_mode incorrect message ([#3111]) 6.2.2 (2023-04-17) Bugfixes * Fix Rack-related NameError by adding :: operator ([#3118], [#3117])
www/ruby-puma: update to 6.1.1 6.1.1 Latest (2023-02-28) Bugfixes * We no longer try to use the systemd plugin for JRuby ([#3079]) * Allow ::Rack::Handler::Puma.run to work regardless of whether Rack/Rackup are loaded ([#3080])
www/ruby-puma: update to 6.1.0 6.1.0 (2023-02-12) Features * WebSocket support via partial hijack ([#3058], [#3007]) * Add built-in systemd notify support ([#3011]) * Periodically send status to systemd ([#3006], [#2604]) * Introduce the ability to return 413: payload too large for requests ([#3040]) * Log loaded extensions when PUMA_DEBUG is set ([#3036], [#3020]) Bugfixes * Fix issue with rack 3 compatibility re: rackup ([#3061], [#3057]) * Allow setting TCP low_latency with SSL listener ([#3065]) Performance * Reduce memory usage for large file uploads ([#3062])
www/ruby-puma: update to 6.0.2 6.0.1 (2022-12-20) Bugfixes * Handle waking up a closed selector in Reactor#add ([#3005]) * Fixup response processing, enumerable bodies ([#3004], [#3000]) * Correctly close app body for all code paths ([#3002], [#2999]) Refactor * Add IOBuffer to Client, remove from ThreadPool thread instances ([#3013]) 6.0.2 (2023-01-01) Refactor * Remove use of etc and time gems in Puma ([#3035], [#3033]) * Refactor const.rb - freeze ([#3016])
www/ruby-puma: update to 6.0.0 6.0.0 (2022-10-14) Breaking Changes * Dropping Ruby 2.2 and 2.3 support (now 2.4+) (#2919) * Remote_addr functionality has changed (#2652, #2653) * No longer supporting Java 1.7 or below (JRuby 9.1 was the last release to support this) (#2849) * Remove nakayoshi GC (#2933, #2925) * wait_for_less_busy_worker is now default on (#2940) * Prefix all environment variables with PUMA_ (#2924, #2853) * Removed some constants (#2957, #2958, #2959, #2960) * The following classes are now part of Puma's private API: Client, Cluster::Worker, Cluster::Worker, HandleRequest. (#2988) * Configuration constants like DefaultRackup removed (#2928) * Extracted LogWriter from Events (#2798) * Only accept the standard 8 HTTP methods, others rejected with 501. (#2932) Features * Increase throughput on large (100kb+) response bodies by 3-10x (#2896, #2892) * Increase throughput on file responses (#2923) * Add support for streaming bodies in Rack. (#2740) * Allow OpenSSL session reuse via a 'reuse' ssl_bind method or bind string query parameter (#2845) * Allow run_hooks to pass a hash to blocks for use later (#2917, #2915) * Allow using preload_app! with fork_worker (#2907) * Support request_body_wait metric with higher precision (#2953) * Allow header values to be arrays (Rack 3) (#2936, #2931) * Export Puma/Ruby versions in /stats (#2875) * Allow configuring request uri max length & request path max length (#2840) * Add a couple of public accessors (#2774) * Log entire backtrace when worker start fails (#2891) * [jruby] Enable TLSv1.3 support (#2886) * [jruby] support setting TLS protocols + rename ssl_cipher_list (#2899) * [jruby] Support a truststore option (#2849, #2904, #2884) Bugfixes * Load the configuration before passing it to the binder (#2897) * Do not raise error raised on HTTP methods we don't recognize or support, like CONNECT (#2932, #1441) * Fixed a memory leak when creating a new SSL listener (#2956) Refactor * log_writer.rb - add internal_write method (#2888) * Extract prune_bundler code into it's own class. (#2797) * Refactor Launcher#run to increase readability (no logic change) (#2795) * Ruby 3.2 will have native IO#wait_* methods, don't require io/wait (#2903) * Various internal API refactorings (#2942, #2921, #2922, #2955)
www/ruby-puma: update to 5.6.5
5.6.5 (2022-08-23)
Bugfixes
* NullIO#closed should return false ([#2883])
* Puma::ControlCLI - allow refork command to be sent as a request ([#2868],
[#2866])
* [jruby] Fix TLS verification hang ([#2890], [#2729])
* extconf.rb - don't use pkg_config('openssl') if '--with-openssl-dir' is
used ([#2885], [#2839])
* MiniSSL - detect SSL_CTX_set_dh_auto ([#2864], [#2863])
* Fix rack.after_reply exceptions breaking connections ([#2861], [#2856])
* Escape SSL cert and filenames ([#2855])
* Fail hard if SSL certs or keys are invalid ([#2848])
* Fail hard if SSL certs or keys cannot be read by user ([#2847])
* Fix build with Opaque DH in LibreSSL 3.5. ([#2838])
* Pre-existing socket file removed when TERM is issued after USR2 (if puma
is running in cluster mode) ([#2817])
* Fix Puma::StateFile#load incompatibility ([#2810])
Pullup ticket #6623 - requested by taca
www/ruby-puma: security fix
Revisions pulled up:
- www/ruby-puma/Makefile 1.33
- www/ruby-puma/distinfo 1.30
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Apr 24 14:43:10 UTC 2022
Modified Files:
pkgsrc/www/ruby-puma: Makefile distinfo
Log Message:
www/ruby-puma: update to 5.6.4
5.6.4 (2022-03-30)
Security
* Close several HTTP Request Smuggling exploits (CVE-2022-24790)
5.6.2 (2022-02-11)
Bugfix/Security
* Response body will always be closed. (GHSA-rmj8-8hhh-gv5h, related to #2809)
5.6.1 (2022-01-26)
Bugfixes
* Reverted a commit which appeared to be causing occasional blank header
values (#2809)
5.6.0 (2022-01-25)
Features
* Support localhost integration in ssl_bind (#2764, #2708)
* Allow backlog parameter to be set with ssl_bind DSL (#2780)
* Remove yaml (psych) requirement in StateFile (#2784)
* Allow culling of oldest workers, previously was only youngest (#2773,
#2794)
* Add worker_check_interval configuration option (#2759)
* Always send lowlevel_error response to client (#2731, #2341)
* Support for cert_pem and key_pem with ssl_bind DSL (#2728)
Bugfixes
* Keep thread names under 15 characters, prevents breakage on some OSes
(#2733)
* Fix two 'old-style-definition' compile warning (#2807, #2806)
* Log environment correctly using option value (#2799)
* Fix warning from Ruby master (will be 3.2.0) (#2785)
* extconf.rb - fix openssl with old Windows builds (#2757)
* server.rb - rescue handling (Errno::EBADF) for @notify.close (#2745)
Refactor
* server.rb - refactor code using @options[:remote_address] (#2742)
* [jruby] a couple refactorings - avoid copy-ing bytes (#2730)
www/ruby-puma: update to 5.6.4 5.6.4 (2022-03-30) Security * Close several HTTP Request Smuggling exploits (CVE-2022-24790) 5.6.2 (2022-02-11) Bugfix/Security * Response body will always be closed. (GHSA-rmj8-8hhh-gv5h, related to #2809) 5.6.1 (2022-01-26) Bugfixes * Reverted a commit which appeared to be causing occasional blank header values (#2809) 5.6.0 (2022-01-25) Features * Support localhost integration in ssl_bind (#2764, #2708) * Allow backlog parameter to be set with ssl_bind DSL (#2780) * Remove yaml (psych) requirement in StateFile (#2784) * Allow culling of oldest workers, previously was only youngest (#2773, #2794) * Add worker_check_interval configuration option (#2759) * Always send lowlevel_error response to client (#2731, #2341) * Support for cert_pem and key_pem with ssl_bind DSL (#2728) Bugfixes * Keep thread names under 15 characters, prevents breakage on some OSes (#2733) * Fix two 'old-style-definition' compile warning (#2807, #2806) * Log environment correctly using option value (#2799) * Fix warning from Ruby master (will be 3.2.0) (#2785) * extconf.rb - fix openssl with old Windows builds (#2757) * server.rb - rescue handling (Errno::EBADF) for @notify.close (#2745) Refactor * server.rb - refactor code using @options[:remote_address] (#2742) * [jruby] a couple refactorings - avoid copy-ing bytes (#2730)
www/ruby-puma: update to 5.5.2 5.5.2 (2021-10-12) Bugfixes * Allow UTF-8 in HTTP header values 5.5.1 (2021-10-12) Feature (added as mistake - we don't normally do this on bugfix releases, sorry!) * Allow setting APP_ENV in preference to RACK_ENV or RAILS_ENV (#2702) Security * Do not allow LF as a line ending in a header (CVE-2021-41136) 5.5.0 (2021-09-19) Features * Automatic SSL certificate provisioning for localhost, via localhost gem (#2610, #2257) * add support for the PROXY protocol (v1 only) (#2654, #2651) * Add a semantic CLI option for no config file (#2689) Bugfixes * More elaborate exception handling - lets some dead pumas die. (#2700, #2699) * allow multiple after_worker_fork hooks (#2690) * Preserve BUNDLE_APP_CONFIG on worker fork (#2688, #2687) Performance * Fix performance of server-side SSL connection close. (#2675)
www/ruby-puma: update to 5.4.0 5.4.0 (2021-07-28) Features * Better/expanded names for threadpool threads (#2657) * Allow pkg_config for OpenSSL (#2648, #1412) * Add rack_url_scheme to Puma::DSL, allows setting of rack.url_scheme header (#2586, #2569) Bugfixes * Binder#parse - allow for symlinked unix path, add create_activated_fds debug ENV (#2643, #2638) * Fix deprecation warning: minissl.c - Use Random.bytes if available (#2642) * Client certificates: set session id context while creating SSLContext (#2633) * Fix deadlock issue in thread pool (#2656) Refactor * Replace IO.select with IO#wait_* when checking a single IO (#2666)
www/ruby-puma: update to 5.3.2 5.3.2 (2021-05-21) Bugfixes * Gracefully handle Rack not accepting CLI options (#2630, #2626) * Fix sigterm misbehavior (#2629) * Improvements to keepalive-connection shedding (#2628) 5.3.1 (2021-05-11) Security * Close keepalive connections after the maximum number of fast inlined requests (CVE-2021-29509) (#2625) 5.3.0 (2021-05-07) Features * Add support for Linux's abstract sockets (#2564, #2526) * Add debug to worker timeout and startup (#2559, #2528) * Print warning when running one-worker cluster (#2565, #2534) * Don't close systemd activated socket on pumactl restart (#2563, #2504) Bugfixes * systemd - fix event firing (#2591, #2572) * Immediately unlink temporary files (#2613) * Improve parsing of HTTP_HOST header (#2605, #2584) * Handle fatal error that has no backtrace (#2607, #2552) * Fix timing out requests too early (#2606, #2574) * Handle segfault in Ruby 2.6.6 on thread-locals (#2567, #2566) * Server#closed_socket? - parameter may be a MiniSSL::Socket (#2596) * Define UNPACK_TCP_STATE_FROM_TCP_INFO in the right place (#2588, #2556) * request.rb - fix chunked assembly for ascii incompatible encodings, add test (#2585, #2583) Performance * Reset peerip only if remote_addr_header is set (#2609) * Reduce puma_parser struct size (#2590) Refactor * Refactor drain on shutdown (#2600) * Micro optimisations in wait_for_less_busy_worker feature (#2579) * Lots of test fixes
www/ruby-puma: update to 5.2.2 5.2.2 / 2021-02-22 Bugfixes * Add #flush and #sync methods to Puma::NullIO (#2553) * Restore sync=true on STDOUT and STDERR streams (#
www/ruby-puma: update to 5.2.1 5.2.1 (2021-02-05) Bugfixes * Fix TCP cork/uncork operations to work with ssl clients ([#2550]) * Require rack/common_logger explicitly if :verbose is true ([#2547]) * MiniSSL::Socket#write - use data.byteslice(wrote..-1) ([#2543]) * Set @env[CONTENT_LENGTH] value as string. ([#2549])
www/ruby-puma: update to 5.2.0 5.2.0 (2021-01-27) Features * 10x latency improvement for MRI on ssl connections by reducing overhead ([#2519]) * Add option to specify the desired IO selector backend for libev ([#2522]) * Add ability to set OpenSSL verification flags (MRI only) ([#2490]) * Uses flush after writing messages to avoid mutating $stdout and $stderr using sync=true ([#2486]) Bugfixes * MiniSSL - Update dhparam to 2048 bit for use with SSL_CTX_set_tmp_dh ([#2535]) * Change 'Goodbye!' message to be output after listeners are closed ([#2529]) * Fix ssl bind logging with 0.0.0.0 and localhost ([#2533]) * Fix compiler warnings, but skipped warnings related to ragel state machine generated code ([#1953]) * Fix phased restart errors related to nio4r gem when using the Puma control server ([#2516]) * Add #string method to Puma::NullIO ([#2520]) * Fix binding via Rack handler to IPv6 addresses ([#2521]) Refactor * Refactor MiniSSL::Context on MRI, fix MiniSSL::Socket#write ([#2519]) * Remove Server#read_body ([#2531]) * Fail build if compiling extensions raises warnings on GH Actions, configurable via MAKE_WARNINGS_INTO_ERRORS ([#1953])
www/ruby-puma: update to 5.1.1
5.1.1 / 2020-12-10
* Bugfixes
- Fix over eager matching against banned header names (#2510)
5.1.0 / 2020-11-30
* Features
- Phased restart availability is now always logged, even if it is not
available.
- Prints the loaded configuration if the environment variable
PUMA_LOG_CONFIG is present (#2472)
- Integrate with systemd's watchdog and notification features (#2438)
- Adds max_fast_inline as a configuration option for the Server object
(#2406)
- You can now fork workers from worker 0 using SIGURG w/o fork_worker
enabled #2449
- Add option to bind to systemd activated sockets (#2362)
- Add compile option to change the QUERY_STRING max length (#2485)
* Bugfixes
- Fix JRuby handling in Puma::DSL#ssl_bind (#2489)
- control_cli.rb - all normal output should be to @stdout (#2487)
- Catch 'Error in reactor loop escaped: mode not supported for this
object: r' (#2477)
- Ignore Rails' reaper thread (and any thread marked forksafe) for
warning (#2475)
- Ignore illegal (by Rack spec) response header (#2439)
- Close idle connections immediately on shutdown (#2460)
- Fix some instances of phased restart errors related to the json gem
(#2473)
- Remove use of json gem to fix phased restart errors (#2479)
- Fix grouping regexp of ILLEGAL_HEADER_KEY_REGEX (#2495)
5.0.4 / 2020-10-27
* Bugfixes
- Pass preloaded application into new workers if available when using
preload_app (#2461, #2454)
5.0.3 / 2020-10-26
* Bugfixes
- Add Client#io_ok?, check before Reactor#register (#2432)
- Fix hang on shutdown in refork (#2442)
- Fix Bundler::GemNotFound errors for nio4r gem during phased restarts
(#2427, #2018)
- Server run thread safety fix (#2435)
- Fire on_booted after server starts (#2431, #2212)
- Cleanup daemonization in rc.d script (#2409)
* Refactor
- Remove accept_nonblock.rb, add test_integration_ssl.rb (#2448)
- Refactor status.rb - dry it up a bit (#2450)
- Extract req/resp methods to new request.rb from server.rb (#2419)
- Refactor Reactor and Client request buffering (#2279)
- client.rb - remove JRuby specific 'finish' code (#2412)
- Consolidate fast_write calls in Server, extract early_hints assembly
(#2405)
- Remove upstart from docs (#2408)
- Extract worker process into separate class (#2374)
- Consolidate option handling in Server, Server small refactors, doc
changes (#2389)
5.0.2 / 2020-09-28
* Bugfixes
- Reverted API changes to Server.
5.0.1 / 2020-09-28
* Bugfixes
- Fix LoadError in CentOS 8 (#2381)
- Better error handling during force shutdown (#2271)
- Prevent connections from entering Reactor after shutdown begins
(#2377)
- Fix error backtrace debug logging && Do not log request dump if it is
not parsed (#2376)
- Split TCP_CORK and TCP_INFO (#2372)
- Do not log EOFError when a client connection is closed without write
(#2384)
* Refactor
- Change Events#ssl_error signature from (error, peeraddr, peercert) to
(error, ssl_socket) (#2375)
- Consolidate option handling in Server, Server small refactors, doc
chang (#2373)
www/ruby-puma: update to 5.0.0 Update ruby-puma package to 5.0.0. ## 5.0.0 * Features * Allow compiling without OpenSSL and dynamically load files needed for SSL, add 'no ssl' CI (#2305) * EXPERIMENTAL: Add `fork_worker` option and `refork` command for reduced memory usage by forking from a worker process instead of the master process. (#2099) * EXPERIMENTAL: Added `wait_for_less_busy_worker` config. This may reduce latency on MRI through inserting a small delay before re-listening on the socket if worker is busy (#2079). * EXPERIMENTAL: Added `nakayoshi_fork` option. Reduce memory usage in preloaded cluster-mode apps by GCing before fork and compacting, where available. (#2093, #2256) * Added pumactl `thread-backtraces` command to print thread backtraces (#2054) * Added incrementing `requests_count` to `Puma.stats`. (#2106) * Increased maximum URI path length from 2048 to 8192 bytes (#2167, #2344) * `lowlevel_error_handler` is now called during a forced threadpool shutdown, and if a callable with 3 arguments is set, we now also pass the status code (#2203) * Faster phased restart and worker timeout (#2220) * Added `state_permission` to config DSL to set state file permissions (#2238) * Added `Puma.stats_hash`, which returns a stats in Hash instead of a JSON string (#2086, #2253) * `rack.multithread` and `rack.multiprocess` now dynamically resolved by `max_thread` and `workers` respectively (#2288) * Deprecations, Removals and Breaking API Changes * `--control` has been removed. Use `--control-url` (#1487) * `worker_directory` has been removed. Use `directory`. * min_threads now set by environment variables PUMA_MIN_THREADS and MIN_THREADS. (#2143) * max_threads now set by environment variables PUMA_MAX_THREADS and MAX_THREADS. (#2143) * max_threads default to 5 in MRI or 16 for all other interpreters. (#2143) * preload by default if workers > 1 (#2143) * Puma::Plugin.workers_supported? has been removed. Use Puma.forkable? instead. (#2143) * `tcp_mode` has been removed without replacement. (#2169) * Daemonization has been removed without replacement. (#2170) * Changed #connected_port to #connected_ports (#2076) * Configuration: `environment` is read from `RAILS_ENV`, if `RACK_ENV` can't be found (#2022) * Log binding on http:// for TCP bindings to make it clickable * Bugfixes * Fix JSON loading issues on phased-restarts (#2269) * Improve shutdown reliability (#2312, #2338) * Close client http connections made to an ssl server with TLSv1.3 (#2116) * Do not set user_config to quiet by default to allow for file config (#2074) * Always close SSL connection in Puma::ControlCLI (#2211) * Windows update extconf.rb for use with ssp and varied Ruby/MSYS2 combinations (#2069) * Ensure control server Unix socket is closed on shutdown (#2112) * Preserve `BUNDLE_GEMFILE` env var when using `prune_bundler` (#1893) * Send 408 request timeout even when queue requests is disabled (#2119) * Rescue IO::WaitReadable instead of EAGAIN for blocking read (#2121) * Ensure `BUNDLE_GEMFILE` is unspecified in workers if unspecified in master when using `prune_bundler` (#2154) * Rescue and log exceptions in hooks defined by users (on_worker_boot, after_worker_fork etc) (#1551) * Read directly from the socket in #read_and_drop to avoid raising further SSL errors (#2198) * Set `Connection: closed` header when queue requests is disabled (#2216) * Pass queued requests to thread pool on server shutdown (#2122) * Fixed a few minor concurrency bugs in ThreadPool that may have affected non-GVL Rubies (#2220) * Fix `out_of_band` hook never executed if the number of worker threads is > 1 (#2177) * Fix ThreadPool#shutdown timeout accuracy (#2221) * Fix `UserFileDefaultOptions#fetch` to properly use `default` (#2233) * Improvements to `out_of_band` hook (#2234) * Prefer the rackup file specified by the CLI (#2225) * Fix for spawning subprocesses with fork_worker option (#2267) * Set `CONTENT_LENGTH` for chunked requests (#2287) * JRuby - Add Puma::MiniSSL::Engine#init? and #teardown methods, run all SSL tests (#2317) * Improve shutdown reliability (#2312) * Resolve issue with threadpool waiting counter decrement when thread is killed * Constrain rake-compiler version to 0.9.4 to fix `ClassNotFound` exception when using MiniSSL with Java8. * Fix recursive `prune_bundler` (#2319). * Ensure that TCP_CORK is usable * Fix corner case when request body is chunked (#2326) * Fix filehandle leak in MiniSSL (#2299) * Refactor * Remove unused loader argument from Plugin initializer (#2095) * Simplify `Configuration.random_token` and remove insecure fallback (#2102) * Simplify `Runner#start_control` URL parsing (#2111) * Removed the IOBuffer extension and replaced with Ruby (#1980) * Update `Rack::Handler::Puma.run` to use `**options` (#2189) * ThreadPool concurrency refactoring (#2220) * JSON parse cluster worker stats instead of regex (#2124) * Support parallel tests in verbose progress reporting (#2223) * Refactor error handling in server accept loop (#2239)
www/ruby-puma: update to 4.3.6
Update ruby-puma to 4.3.6.
## 4.3.6 / 2020-09-05
* Bugfixes
* Explicitly include ctype.h to fix compilation warning and build error on
macOS with Xcode 12 (#2304)
* Don't require json at boot (#2269)
Pullup ticket #6223 - requested by taca
www/ruby-puma: security fix
Revisions pulled up:
- www/ruby-puma/Makefile 1.23
- www/ruby-puma/distinfo 1.18
---
Module Name: pkgsrc
Committed By: taca
Date: Sun May 24 13:47:49 UTC 2020
Modified Files:
pkgsrc/www/ruby-puma: Makefile distinfo
Log Message:
www/ruby-puma: update to 4.3.5
Update ruby-puma to 4.3.5.
4.3.4/4.3.5 and 3.12.5/3.12.6 / 2020-05-22
Each patchlevel release contains a separate security fix. We recommend
simply upgrading to 4.3.5/3.12.6.
* Security
Fix: Fixed two separate HTTP smuggling vulnerabilities that used the
Transfer-Encoding header. CVE-2020-11076 and CVE-2020-11077.
www/ruby-puma: update to 4.3.5 Update ruby-puma to 4.3.5. 4.3.4/4.3.5 and 3.12.5/3.12.6 / 2020-05-22 Each patchlevel release contains a separate security fix. We recommend simply upgrading to 4.3.5/3.12.6. * Security Fix: Fixed two separate HTTP smuggling vulnerabilities that used the Transfer-Encoding header. CVE-2020-11076 and CVE-2020-11077.
Pullup ticket #6144 - requested by taca
www/ruby-puma: security fix
Revisions pulled up:
- www/ruby-puma/Makefile 1.21-1.22
- www/ruby-puma/distinfo 1.16-1.17
---
Module Name: pkgsrc
Committed By: taca
Date: Sat Feb 29 02:19:55 UTC 2020
Modified Files:
pkgsrc/www/ruby-puma: Makefile distinfo
Log Message:
www/ruby-puma: update to 4.3.2
Update ruby-puma to 4.3.2.
## 4.3.2 and 3.12.3 / 2020-02-27
* Security
* Fix: Prevent HTTP Response splitting via CR/LF in header
values. CVE-2020-5247.
---
Module Name: pkgsrc
Committed By: taca
Date: Sun Mar 1 02:52:25 UTC 2020
Modified Files:
pkgsrc/www/ruby-puma: Makefile distinfo
Log Message:
www/ruby-puma: update to 4.3.3
Update ruby-puma to 4.3.3.
## 4.3.3 and 3.12.4 / 2020-02-28
* Bugfixes
* Fix: Fixes a problem where we weren't splitting headers correctly on newlines (#2132)
* Security
* Fix: Prevent HTTP Response splitting via CR in early hints.
www/ruby-puma: update to 4.3.3
Update ruby-puma to 4.3.3.
## 4.3.3 and 3.12.4 / 2020-02-28
* Bugfixes
* Fix: Fixes a problem where we weren't splitting headers correctly on newlines (#2132)
* Security
* Fix: Prevent HTTP Response splitting via CR in early hints.
www/ruby-puma: update to 4.3.2
Update ruby-puma to 4.3.2.
## 4.3.2 and 3.12.3 / 2020-02-27
* Security
* Fix: Prevent HTTP Response splitting via CR/LF in header
values. CVE-2020-5247.
all: migrate homepages from http to https pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
*: Recursive revision bump for openssl 1.1.1.
www/ruby-puma: update to 4.3.1 ## 4.3.1 and 3.12.2 / 2019-12-05 * Security * Fix: a poorly-behaved client could use keepalive requests to monopolize Puma's reactor and create a denial of service attack. CVE-2019-16770. ## 4.3.0 / 2019-11-07 * Features * Strip whitespace at end of HTTP headers (#2010) * Optimize HTTP parser for JRuby (#2012) * Add SSL support for the control app and cli (#2046, #2052) * Bugfixes * Fix Errno::EINVAL when SSL is enabled and browser rejects cert (#1564) * Fix pumactl defaulting puma to development if an environment was not specified (#2035) * Fix closing file stream when reading pid from pidfile (#2048) * Fix a typo in configuration option `--extra_runtime_dependencies` (#2050) ## 4.2.1 / 2019-10-07 * 3 bugfixes * Fix socket activation of systemd (pre-existing) unix binder files (#1842, #1988) * Deal with multiple calls to bind correctly (#1986, #1994, #2006) * Accepts symbols for `verify_mode` (#1222) ## 4.2.0 / 2019-09-23 * 6 features * Pumactl has a new -e environment option and reads `config/puma/<environment>.rb` config files (#1885) * Semicolons are now allowed in URL paths (MRI only), useful for Angular or Redmine (#1934) * Allow extra dependencies to be defined when using prune_bundler (#1105) * Puma now reports the correct port when binding to port 0, also reports other listeners when binding to localhost (#1786) * Sending SIGINFO to any Puma worker now prints currently active threads and their backtraces (#1320) * Puma threads all now have their name set on Ruby 2.3+ (#1968) * 4 bugfixes * Fix some misbehavior with phased restart and externally SIGTERMed workers (#1908, #1952) * Fix socket closing on error (#1941) * Removed unnecessary SIGINT trap for JRuby that caused some race conditions (#1961) * Fix socket files being left around after process stopped (#1970) * Absolutely thousands of lines of test improvements and fixes thanks to @MSP-Greg ## 4.1.1 / 2019-09-05 * 3 bugfixes * Revert our attempt to not dup STDOUT/STDERR (#1946) * Fix socket close on error (#1941) * Fix workers not shutting down correctly (#1908) ## 4.1.0 / 2019-08-08 * 4 features * Add REQUEST_PATH on parse error message (#1831) * You can now easily add custom log formatters with the `log_formatter` config option (#1816) * Puma.stats now provides process start times (#1844) * Add support for disabling TLSv1.1 (#1836) * 7 bugfixes * Fix issue where Puma was creating zombie process entries (#1887) * Fix bugs with line-endings and chunked encoding (#1812) * RACK_URL_SCHEME is now set correctly in all conditions (#1491) * We no longer mutate global STDOUT/STDERR, particularly the sync setting (#1837) * SSL read_nonblock no longer blocks (#1857) * Swallow connection errors when sending early hints (#1822) * Backtrace no longer dumped when invalid pumactl commands are run (#1863) * 5 other * Avoid casting worker_timeout twice (#1838) * Removed a call to private that wasn't doing anything (#1882) * README, Rakefile, docs and test cleanups (#1848, #1847, #1846, #1853, #1859, #1850, #1866, #1870, #1872, #1833, #1888) * Puma.io has proper documentation now (https://puma.io/puma/) * Added the Contributor Covenant CoC * 1 known issue * Some users are still experiencing issues surrounding socket activation and Unix sockets (#1842) ## 4.0.1 / 2019-07-11 * 2 bugfixes * Fix socket removed after reload - should fix problems with systemd socket activation. (#1829) * Add extconf tests for DTLS_method & TLS_server_method, use in minissl.rb. Should fix "undefined symbol: DTLS_method" when compiling against old OpenSSL versions. (#1832) * Removed unnecessary RUBY_VERSION checks. (#1827) ## 4.0.0 / 2019-06-25 9 features * Add support for disabling TLSv1.0 (#1562) * Request body read time metric (#1569) * Add out_of_band hook (#1648) * Re-implement (native) IOBuffer for JRuby (#1691) * Min worker timeout (#1716) * Add option to suppress SignalException on SIGTERM (#1690) * Allow mutual TLS CA to be set using `ssl_bind` DSL (#1689) * Reactor now uses nio4r instead of `select` (#1728) 9 x bugfixes * Do not accept new requests on shutdown (#1685, #1808) * Fix 3 corner cases when request body is chunked (#1508) * Change pid existence check's condition branches (#1650) * Don't call .stop on a server that doesn't exist (#1655) * Implemented NID_X9_62_prime256v1 (P-256) curve over P-521 (#1671) * Fix @notify.close can't modify frozen IOError (RuntimeError) (#1583) * Fix Java 8 support (#1773) * Fix error `uninitialized constant Puma::Cluster` (#1731) * Fix `not_token` being able to be set to true (#1803) ## 3.12.1 / 2019-01-08 * 1 features * Internal strings are frozen (#1649) * 3 bugfixes * Fix chunked ending check (#1607) * Rack handler should use provided default host (#1700) * Better support for detecting runtimes that support `fork` (#1630)
www/ruby-puma: update to 3.12.0 ## 3.12.0 / 2018-07-13 * 5 features: * You can now specify which SSL ciphers the server should support, default is unchanged (#1478) * The setting for Puma's `max_threads` is now in `Puma.stats` (#1604) * Pool capacity is now in `Puma.stats` (#1579) * Installs restricted to Ruby 2.2+ (#1506) * `--control` is now deprecated in favor of `--control-url` (#1487) * 2 bugfixes: * Workers will no longer accept more web requests than they have capacity to process. This prevents an issue where one worker would accept lots of requests while starving other workers (#1563) * In a test env puma now emits the stack on an exception (#1557)
www/ruby-puma: update to 3.11.4 ## 3.11.4 / 2018-04-12 * 2 features: * Manage puma as a service using rc.d (#1529) * Server stats are now available from a top level method (#1532) * 5 bugfixes: * Fix parsing CLI options (#1482) * Order of stderr and stdout is made before redirecting to a log file (#1511) * Init.d fix of `ps -p` to check if pid exists (#1545) * Early hits bugfix (#1550) * Purge interrupt queue when closing socket fails (#1553)
www/ruby-puma: update to 3.11.3 Changes are too many to write here, please refer History.md.
Switch to depends on www/ruby-rack16 from ruby-rack. Bump PKGREVISION.
Update ruby-puma to 2.16.0. === 2.16.0 / 2016-01-27 * 7 minor features: * Add 'set_remote_address' config option * Allow to run puma in silent mode * Expose cli options in DSL * Support passing JRuby keystore info in ssl_bind DSL * Allow umask for unix:/// style control urls * Expose `old_worker_count` in stats url * Support TLS client auth (verify_mode) in jruby * 7 bug fixes: * Don't persist before_fork hook in state file * Reload bundler before pulling in rack. Fixes #859 * Remove NEWRELIC_DISPATCHER env variable * Cleanup C code * Use Timeout.timeout instead of Object.timeout * Make phased restarts faster * Ignore the case of certain headers, because HTTP * 1 doc changes: * Test against the latest Ruby 2.1, 2.2, 2.3, head and JRuby 9.0.4.0 on Travis * 12 merged PRs * Merge pull request #822 from kwugirl/remove_NEWRELIC_DISPATCHER * Merge pull request #833 from joemiller/jruby-client-tls-auth * Merge pull request #837 from YuriSolovyov/ssl-keystore-jruby * Merge pull request #839 from mezuka/master * Merge pull request #845 from deepj/timeout-deprecation * Merge pull request #846 from sriedel/strip_before_fork * Merge pull request #850 from deepj/travis * Merge pull request #853 from Jeffrey6052/patch-1 * Merge pull request #857 from zendesk/faster_phased_restarts * Merge pull request #858 from mlarraz/fix_some_warnings * Merge pull request #860 from zendesk/expose_old_worker_count * Merge pull request #861 from zendesk/allow_control_url_umask
Bump PKGREVISION for security/openssl ABI bump.
Update ruby-puma to 2.15.3.
=== 2.15.3 / 2015-11-07
* 1 bug fix:
* Fix JRuby parser
=== 2.15.2 / 2015-11-06
* 2 bug fixes:
* ext/puma_http11: handle duplicate headers as per RFC
* Only set ctx.ca iff there is a params['ca'] to set with.
* 2 PRs merged:
* Merge pull request #818 from unleashed/support-duplicate-headers
* Merge pull request #819 from VictorLowther/fix-ca-and-verify_null-exception
=== 2.15.1 / 2015-11-06
* 1 bug fix:
* Allow older openssl versions
=== 2.15.0 / 2015-11-06
* 6 minor features:
* Allow setting ca without setting a verify mode
* Make jungle for init.d support rbenv
* Use SSL_CTX_use_certificate_chain_file for full chain
* cluster: add worker_boot_timeout option
* configuration: allow empty tags to mean no tag desired
* puma/cli: support specifying STD{OUT,ERR} redirections and append mode
* 5 bug fixes:
* Disable SSL Compression
* Fix bug setting worker_directory when using a symlink directory
* Fix error message in DSL that was slightly inaccurate
* Pumactl: set correct process name. Fixes #563
* thread_pool: fix race condition when shutting down workers
* 10 doc fixes:
* Add before_fork explanation in Readme.md
* Correct spelling in DEPLOYMENT.md
* Correct spelling in docs/nginx.md
* Fix spelling errors.
* Fix typo in deployment description
* Fix typos (it's -> its) in events.rb and server.rb
* fixing for typo mentioned in #803
* Spelling correction for README
* thread_pool: fix typos in comment
* More explicit docs for worker_timeout
* 18 PRs merged:
* Merge pull request #768 from nathansamson/patch-1
* Merge pull request #773 from rossta/spelling_corrections
* Merge pull request #774 from snow/master
* Merge pull request #781 from sunsations/fix-typo
* Merge pull request #791 from unleashed/allow_empty_tags
* Merge pull request #793 from robdimarco/fix-working-directory-symlink-bug
* Merge pull request #794 from peterkeen/patch-1
* Merge pull request #795 from unleashed/redirects-from-cmdline
* Merge pull request #796 from cschneid/fix_dsl_message
* Merge pull request #799 from annafw/master
* Merge pull request #800 from liamseanbrady/fix_typo
* Merge pull request #801 from scottjg/ssl-chain-file
* Merge pull request #802 from scottjg/ssl-crimes
* Merge pull request #804 from burningTyger/patch-2
* Merge pull request #809 from unleashed/threadpool-fix-race-in-shutdown
* Merge pull request #810 from vlmonk/fix-pumactl-restart-bug
* Merge pull request #814 from schneems/schneems/worker_timeout-docs
* Merge pull request #817 from unleashed/worker-boot-timeout
Update to ruby-puma to 2.14.0. === 2.14.0 / 2015-09-18 * 1 minor feature: * Make building with SSL support optional * 1 bug fix: * Use Rack::Builder if available. Fixes #735
Update ruby-puma to 2.13.4.
=== 2.13.4 / 2015-08-16
* 1 bug fix:
* Use the environment possible set by the config early and from
the config file later (if set).
=== 2.13.3 / 2015-08-15
Seriously, I need to revamp config with tests.
* 1 bug fix:
* Fix preserving options before cleaning for state. Fixes #769
=== 2.13.2 / 2015-08-15
The "clearly I don't have enough tests for the config" release.
* 1 bug fix:
* Fix another place binds wasn't initialized. Fixes #767
=== 2.13.1 / 2015-08-15
* 2 bug fixes:
* Fix binds being masked in config files. Fixes #765
* Use options from the config file properly in pumactl. Fixes #764
=== 2.13.0 / 2015-08-14
* 1 minor feature:
* Add before_fork hooks option.
* 3 bug fixes:
* Check for OPENSSL_NO_ECDH before using ECDH
* Eliminate logging overhead from JRuby SSL
* Prefer cli options over config file ones. Fixes #669
* 1 deprecation:
* Add deprecation warning to capistrano.rb. Fixes #673
* 4 PRs merged:
* Merge pull request #668 from kcollignon/patch-1
* Merge pull request #754 from nathansamson/before_boot
* Merge pull request #759 from BenV/fix-centos6-build
* Merge pull request #761 from looker/no-log
=== 2.12.3 / 2015-08-03
* 8 minor bugs fixed:
* Fix Capistrano 'uninitialized constant Puma' error.
* Fix some ancient and incorrect error handling code
* Fix uninitialized constant error
* Remove toplevel rack interspection, require rack on load instead
* Skip empty parts when chunking
* Switch from inject to each in config_ru_binds iteration
* Wrap SSLv3 spec in version guard.
* ruby 1.8.7 compatibility patches
* 4 PRs merged:
* Merge pull request #742 from deivid-rodriguez/fix_missing_require
* Merge pull request #743 from matthewd/skip-empty-chunks
* Merge pull request #749 from huacnlee/fix-cap-uninitialized-puma-error
* Merge pull request #751 from costi/compat_1_8_7
* 1 test fix:
* Add 1.8.7, rbx-1 (allow failures) to Travis.
=== 2.12.2 / 2015-07-17
* 2 bug fix:
* Pull over and use Rack::URLMap. Fixes #741
* Stub out peercert on JRuby for now. Fixes #739
=== 2.12.1 / 2015-07-16
* 2 bug fixes:
* Use a constant format. Fixes #737
* Use strerror for Windows sake. Fixes #733
* 1 doc change:
* typo fix: occured -> occurred
* 1 PR merged:
* Merge pull request #736 from paulanunda/paulanunda/typo-fix
=== 2.12.0 / 2015-07-14
* 13 bug fixes:
* Add thread reaping to thread pool
* Do not automatically use chunked responses when hijacked
* Do not suppress Content-Length on partial hijack
* Don't allow any exceptions to terminate a thread
* Handle ENOTCONN client disconnects when setting REMOTE_ADDR
* Handle very early exit of cluster mode. Fixes #722
* Install rack when running tests on travis to use rack/lint
* Make puma -v and -h return success exit code
* Make pumactl load config/puma.rb by default
* Pass options from pumactl properly when pruning. Fixes #694
* Remove rack dependency. Fixes #705
* Remove the default Content-Type: text/plain
* Add Client Side Certificate Auth
* 8 doc/test changes:
* Added example sourcing of environment vars
* Added tests for bind configuration on rackup file
* Fix example config text
* Update DEPLOYMENT.md
* Update Readme with example of custom error handler
* ci: Improve Travis settings
* ci: Start running tests against JRuby 9k on Travis
* ci: Convert to container infrastructure for travisci
* 2 ops changes:
* Check for system-wide rbenv
* capistrano: Add additional env when start rails
* 16 PRs merged:
* Merge pull request #686 from jjb/patch-2
* Merge pull request #693 from rob-murray/update-example-config
* Merge pull request #697 from spk/tests-bind-on-rackup-file
* Merge pull request #699 from deees/fix/require_rack_builder
* Merge pull request #701 from deepj/master
* Merge pull request #702 from Jimdo/thread-reaping
* Merge pull request #703 from deepj/travis
* Merge pull request #704 from grega/master
* Merge pull request #709 from lian/master
* Merge pull request #711 from julik/master
* Merge pull request #712 from yakara-ltd/pumactl-default-config
* Merge pull request #715 from RobotJiang/master
* Merge pull request #725 from rwz/master
* Merge pull request #726 from strenuus/handle-client-disconnect
* Merge pull request #729 from allaire/patch-1
* Merge pull request #730 from iamjarvo/container-infrastructure
Update ruby-puma to 2.11.3. === 2.11.3 / 2015-05-18 * 5 bug fixes: * Be sure to unlink tempfiles after a request. Fixes #690 * Coerce the key to a string before checking. (thar be symbols). Fixes #684 * Fix hang on bad SSL handshake * Remove `enable_SSLv3` support from JRuby * 1 PR merged: * Merge pull request #698 from looker/hang-handshake === 2.11.2 / 2015-04-11 * 2 minor features: * Add `on_worker_fork` hook, which allows to mimic Unicorn's behavior * Add shutdown_debug config option * 4 bug fixes: * Fix the Config constants not being available in the DSL. Fixes #683 * Ignore multiple port declarations * Proper 'Connection' header handling compatible with HTTP 1.[01] protocols * Use "Puma" instead of "puma" to reporting to New Relic * 1 doc fixes: * Add Gitter badge. * 6 PRs merged: * Merge pull request #657 from schneems/schneems/puma-once-port * Merge pull request #658 from Tomohiro/newrelic-dispatcher-default-update * Merge pull request #662 from basecrm/connection-compatibility * Merge pull request #664 from fxposter/on-worker-fork * Merge pull request #667 from JuanitoFatas/doc/gemspec * Merge pull request #672 from chulkilee/refactor
Update ruby-puma to 2.11.1.
pkgsrc changes:
* Add pkg_alternatives support.
* Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby.
=== 2.11.1 / 2015-02-11
* 2 bug fixes:
* Avoid crash in strange restart conditions
* Inject the GEM_HOME that bundler into puma-wild's env. Fixes #653
* 2 PRs merged:
* Merge pull request #644 from bpaquet/master
* Merge pull request #646 from mkonecny/master
Update ruby-puma to 2.11.0.
=== 2.11.0 / 2015-01-20
* 9 bug fixes:
* Add mode as an additional bind option to unix sockets. Fixes #630
* Advertise HTTPS properly after a hot restart
* Don't write lowlevel_error_handler to state
* Fix phased restart with stuck requests
* Handle spaces in the path properly. Fixes #622
* Set a default REMOTE_ADDR to avoid using peeraddr on unix sockets. Fixes #583
* Skip device number checking on jruby. Fixes #586
* Update extconf.rb to compile correctly on OS X
* redirect io right after daemonizing so startup errors are shown. Fixes #359
* 6 minor features:
* Add a configuration option that prevents puma from queueing requests.
* Add reload_worker_directory
* Add the ability to pass environment variables to the init script (for Jungle).
* Add the proctitle tag to the worker. Fixes #633
* Infer a proctitle tag based on the directory
* Update lowlevel error message to be more meaningful.
* 10 PRs merged:
* Merge pull request #478 from rubencaro/master
* Merge pull request #610 from kwilczynski/master
* Merge pull request #611 from jasonl/better-lowlevel-message
* Merge pull request #616 from jc00ke/master
* Merge pull request #623 from raldred/patch-1
* Merge pull request #628 from rdpoor/master
* Merge pull request #634 from deepj/master
* Merge pull request #637 from raskhadafi/patch-1
* Merge pull request #639 from ebeigarts/fix-phased-restarts
* Merge pull request #640 from codehotter/issue-612-dependent-requests-deadlock
=== 2.10.2 / 2014-11-26
* 1 bug fix:
* Conditionalize thread local cleaning, fixes perf degradation fix
The code to clean out all Thread locals adds pretty significant
overhead to a each request, so it has to be turned on explicitly
if a user needs it.
=== 2.10.1 / 2014-11-24
* 1 bug fix:
* Load the app after daemonizing because the app might start threads.
This change means errors loading the app are now reported only in the redirected
stdout/stderr.
If you're app has problems starting up, start it without daemon mode initially
to test.
=== 2.10.0 / 2014-11-23
* 3 minor features:
* Added on_worker_shutdown hook mechanism
* Allow binding to ipv6 addresses for ssl URIs
* Warn about any threads started during app preload
* 5 bug fixes:
* Clean out a threads local data before doing work
* Disable SSLv3. Fixes #591
* First change the directory to use the correct Gemfile.
* Only use config.ru binds if specified. Fixes #606
* Strongish cipher suite with FS support for some browsers
* 2 doc changes:
* Change umask examples to more permissive values
* fix typo in README.md
* 9 Merged PRs:
* Merge pull request #560 from raskhadafi/prune_bundler-bug
* Merge pull request #566 from sheltond/master
* Merge pull request #593 from andruby/patch-1
* Merge pull request #594 from hassox/thread-cleanliness
* Merge pull request #596 from burningTyger/patch-1
* Merge pull request #601 from sorentwo/friendly-umask
* Merge pull request #602 from 1334/patch-1
* Merge pull request #608 from Gu1/master
* Merge remote-tracking branch 'origin/pr/538'
=== 2.9.2 / 2014-10-25
* 8 bug fixes:
* Fix puma-wild handling a restart properly. Fixes #550
* JRuby SSL POODLE update
* Keep deprecated features warnings
* Log the current time when Puma shuts down.
* Fix cross-platform extension library detection
* Use the correct Windows names for OpenSSL.
* Better error logging during startup
* Fixing sexist error messages
* 6 PRs merged:
* Merge pull request #549 from bsnape/log-shutdown-time
* Merge pull request #553 from lowjoel/master
* Merge pull request #568 from mariuz/patch-1
* Merge pull request #578 from danielbuechele/patch-1
* Merge pull request #581 from alexch/slightly-better-logging
* Merge pull request #590 from looker/jruby_disable_sslv3
=== 2.9.1 / 2014-09-05
* 4 bug fixes:
* Cleanup the SSL related structures properly, fixes memory leak
* Fix thread spawning edge case.
* Force a worker check after a worker boots, don't wait 5sec. Fixes #574
* Implement SIGHUP for logs reopening
* 2 PRs merged:
* Merge pull request #561 from theoldreader/sighup
* Merge pull request #570 from havenwood/spawn-thread-edge-case
=== 2.9.0 / 2014-07-12
* 1 minor feature:
* Add SSL support for JRuby
* 3 bug fixes:
* Typo BUNDLER_GEMFILE -> BUNDLE_GEMFILE
* Use fast_write because we can't trust syswrite
* pumactl - do not modify original ARGV
* 4 doc fixes:
* BSD-3-Clause over BSD to avoid confusion
* Deploy doc: clarification of the GIL
* Fix typo in DEPLOYMENT.md
* Update README.md
* 6 PRs merged:
* Merge pull request #520 from misfo/patch-2
* Merge pull request #530 from looker/jruby-ssl
* Merge pull request #537 from vlmonk/patch-1
* Merge pull request #540 from allaire/patch-1
* Merge pull request #544 from chulkilee/bsd-3-clause
* Merge pull request #551 from jcxplorer/patch-1
=== 2.8.2 / 2014-04-12
* 4 bug fixes:
* During upgrade, change directory in main process instead of workers.
* Close the client properly on error
* Capistrano: fallback from phased restart to start when not started
* Allow tag option in conf file
* 4 doc fixes:
* Fix Puma daemon service README typo
* `preload_app!` instead of `preload_app`
* add preload_app and prune_bundler to example config
* allow changing of worker_timeout in config file
* 11 PRs merged:
* Merge pull request #487 from ckuttruff/master
* Merge pull request #492 from ckuttruff/master
* Merge pull request #493 from alepore/config_tag
* Merge pull request #503 from mariuz/patch-1
* Merge pull request #505 from sammcj/patch-1
* Merge pull request #506 from FlavourSys/config_worker_timeout
* Merge pull request #510 from momer/rescue-block-handle-servers-fix
* Merge pull request #511 from macool/patch-1
* Merge pull request #514 from edogawaconan/refactor_env
* Merge pull request #517 from misfo/patch-1
* Merge pull request #518 from LongMan/master
This package needs OpenSSL to build (no change where OpenSSL is built-in).
Update ruby-puma to 2.8.1. === 2.8.1 / 2014-03-06 * 1 bug fixes: * Run puma-wild with proper deps for prune_bundler * 2 doc changes: * Described the configuration file finding behavior added in 2.8.0 and how to disable it. * Start the deployment doc * 6 PRs merged: * Merge pull request #471 from arthurnn/fix_test * Merge pull request #485 from joneslee85/patch-9 * Merge pull request #486 from joshwlewis/patch-1 * Merge pull request #490 from tobinibot/patch-1 * Merge pull request #491 from brianknight10/clarify-no-config === 2.8.0 / 2014-02-28 * 8 minor features: * Add ability to autoload a config file. Fixes #438 * Add ability to detect and terminate hung workers. Fixes #333 * Add booted_workers to stats response * Add config to customize the default error message * Add prune_bundler option * Add worker indexes, expose them via on_worker_boot. Fixes #440 * Add pretty process name * Show the ruby version in use * 7 bug fixes: * Added 408 status on timeout. * Be more hostile with sockets that write block. Fixes #449 * Expect at_exit to exclusively remove the pidfile. Fixes #444 * Expose latency and listen backlog via bind query. Fixes #370 * JRuby raises IOError if the socket is there. Fixes #377 * Process requests fairly. Fixes #406 * Rescue SystemCallError as well. Fixes #425 * 4 doc changes: * Add 2.1.0 to the matrix * Add Code Climate badge to README * Create signals.md * Set the license to BSD. Fixes #432 * 14 PRs merged: * Merge pull request #428 from alexeyfrank/capistrano_default_hooks * Merge pull request #429 from namusyaka/revert-const_defined * Merge pull request #431 from mrb/master * Merge pull request #433 from alepore/process-name * Merge pull request #437 from ibrahima/master * Merge pull request #446 from sudara/master * Merge pull request #451 from pwiebe/status_408 * Merge pull request #453 from joevandyk/patch-1 * Merge pull request #470 from arthurnn/fix_458 * Merge pull request #472 from rubencaro/master * Merge pull request #480 from jjb/docs-on-running-test-suite * Merge pull request #481 from schneems/master * Merge pull request #482 from prathamesh-sonpatki/signals-doc-cleanup * Merge pull request #483 from YotpoLtd/master === 2.7.1 / 2013-12-05 * 1 bug fix: * Keep STDOUT/STDERR the right mode. Fixes #422 === 2.7.0 / 2013-12-03 * 1 minor feature: * Adding TTIN and TTOU to increment/decrement workers * N bug fixes: * Always use our Process.daemon because it's not busted * Add capistrano restart failback to start. * Change position of `cd` so that rvm gemset is loaded * Clarify some platform specifics * Do not close the pipe sockets when retrying * Fix String#byteslice for Ruby 1.9.1, 1.9.2 * Fix compatibility with 1.8.7. * Handle IOError closed stream in IO.select * Increase the max URI path length to 2048 chars from 1024 chars * Upstart jungle use config/puma.rb instead
Set USE_GCC_RUNTIME=yes for packages which build shared libraries but do not use libtool to do so. This is required to correctly depend upon a gcc runtime package (e.g. gcc47-libs) when using USE_PKGSRC_GCC_RUNTIME.
Update ruby-puma to 2.6.0. Changes are too many to write here, please refer History.txt file.
Update ruby-puma to 1.6.3. Puma: A Ruby Web Server Built For Concurrency Puma is a simple, fast, and highly concurrent HTTP 1.1 server for Ruby web applications. It can be used with any application that supports Rack, and is considered the replacement for Webrick and Mongrel. It was designed to be the go-to server for Rubinius, but also works well with JRuby and MRI. Puma is intended for use in both development and production environments.