Up to [cvs.NetBSD.org] / pkgsrc / www / thin
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
www/thin: update to 2.0.1 2.0.0 (2025-06-23) * Ensure SERVER_PORT is correct when using SSL (#397) * Remove mention of ActionCable in README.md * Fix broken workflows. (#421) * Bump Rack maximum version * Use lowercase header in validate_with_lint helper * Remove HTTP_VERSION * Support streaming response via #call * Fix usage of Rack::File. * Fix version assignment. * Add rdoc to gemfile. * Add missing logger gem dependency. * Add missing benchmark dependency. * Log tests to debug hangs. * Add missing ostruct gem. * Fix flaky daemonize specs. (#434) * Support rack 3.x and rackup (#435) * Rack 3 no longer required environments (#437) * Fix "No such file or directory @ rb_io_reopen" error from test. * Rakefile: rely on Rake's rakelib/ default to auto-load multiple .rake files. * Remove legacy Ruby 1.8 compatibility shims. 2.0.1 (2025-06-24) * Correction to uninitialized constant. Fixes #445 (#446) * Add license files for ruby and gpl (#438) * Use bake for release management.
www/thin: update to 1.8.0 Update thin package to 1.8.0. 1.8.0 (2020-11-13) No update to CHANGELOG, please refer <https://github.com/macournoyer/thin/compare/v1.7.2...v1.8.0> in detail.
Add ${GEM_EXTSDIR}/gem.build_complete for new rubygems and updated ruby.
Update thin to 1.6.3. pkgsrc change: Add pkg_alternatives support. == 1.6.3 Protein Powder * Add HTTP 422 status code [rajcybage] * Add warning about EM reactor still running when stopping. * Remove version number from "Server" HTTP header. [benbasson] * Adding `--ssl-disable-verify` to allow disabling of client cert requests when SSL enabled [brucek] * Ensure Tempfiles created by a large request are closed and deleted. [Tonkpils]
Update thin to 1.6.2. == 1.6.2 Doc Brown * No longer replace response's body on HEAD request. Ensuring body.close will be called. * Remove `---ssl-verify` option as EventMachine doesn't verify the certificate. * Fix env['rack.peer_cert'] to return SSL certifcate. == 1.6.1 Death Proof * Regression: Default logger to STDOUT when using outside of CLI. * Regression: Downgrade Rack required version back to 1.0 to work w/ prior Rails versions. == 1.6.0 Greek Yogurt * Accept absolute URL in request line, eg.: 'GET http://site.com/he/lo HTTP/1.1'. * HEAD request no longer return a body in the response. * No longer stop EventMachine's reactor loop unless it was started by Thin. * Make request env keys upcasing locale-agnostic. * Use Ruby's `Logger` for logging. [Akshay Moghe]. The logger can now be set using `Thin::Logging.logger=`. Tracing of request is handled by a second logger, `Thin::Logging.trace_logger=`. * Add --threadpool-size option to configure EM's thread pool size (default: 20). * Pipelining is no longer supported.
Update thin to 1.4.1. == 1.4.1 Chromeo Fix * Fix error when sending USR1 signal and no log file is supplied. == 1.4.0 Chromeo * kill -USR1 $PID for log rotation [catwell]. * Fix HUP signal being reseted after deamonization [atotic]. * Fix error with nil addresses in Connection#socket_address. == 1.3.2 Low-bar Squat * Remove mack and halcyon Rack adapters from automatic detection.
Update thin pacakge to 1.3.1.
== 1.3.1 Triple Espresso
* Fix service not working pre 1.9.
== 1.3.0 Double Espresso
* BREAKING CHANGE: Thin no longer ships with fat Windows binaries.
From now on, to install on Windows, install https://github.com/oneclick/rubyinstaller/wiki/Development-Kit.
* BREAKING CHANGE: Remove automatic Content-Length setting.
It is now the responsibility of the app (or a middleware) to set the Content-Length.
* Log errors to STDERR [textgoeshere]
* Shut down gracefully when receiving SIGTERM [ddollar]
Processes are allowed a chance to shut down gracefully when receiving
SIGTERM (http://en.wikipedia.org/wiki/SIGTERM).
On Heroku, when shutting down a process, we send a SIGTERM followed 10
seconds later with a SIGKILL, similar to the behavior of the init daemon
on most Unix systems. This patch will allow Heroku apps to shut down
gracefully when they need to be terminated / moved.
Updated www/thin to 1.2.7. == 1.2.7 No Hup * Support multiple Ruby version (fat binaries under windows) * Do not trap unsupported HUP signal on Windows == 1.2.6 Crazy Delicious * Make work with Rails 3 out-of-the-box. * Auto-detect and load config.ru files on start. Makes Rails 3 work. * Fix signals being ignored under 1.9 when daemonized. == 1.2.5 This Is Not A Web Server * Add rolling restart support (--onebyone option) [sikachu] * Force external_encoding of request's body to ASCII_8BIT [jeremyz] * Ensure Rack base API is used in Rails adapter only if version >= 2.3.2 [#111 state:resolved] == 1.2.4 Flaming Astroboy * Fix a few issues in thin to make it a better "gem citizen" [josh] * Fix test for rack based Rails in adapter under Ruby >= 1.8.7 [#109 state:resolved] * Fix Remote address spoofing vulnerability in Connection#remote_address [Alexey Borzenkov] * Fix uninitialized constant ActionController::Dispatcher error with Rails 1.2.3 [Chris Anderton] [#103 state:resolved] == 1.2.2 I Find Your Lack of Sauce Disturbing release * Fix force kill under 1.9 [Alexey Chebotar] * Fix regression when --only option is used w/ --socket. * Add process name 'tag' functionality. Easier to distinguish thin daemons from eachother in process listing [ctcherry] == 1.2.1 Asynctilicious Ultra Supreme release * Require Rack 1.0.0 * Require EventMachine 0.12.6 * Use Rails Rack based dispatcher when available * Allow String for response body * Require openssl before eventmachine to prevent crash in 1.9 == 1.2.0 Asynctilicious Supreme release * Add support for Windows mingw Ruby distro [Juan C. Rodriguez] * Add async response support, see example/async_*.ru [raggi] == 1.1.1 Super Disco Power Plus release * Fix bug when running with only options [hasimo] == 1.1.0 Super Disco Power release * Require EventMachine 0.12.4 * Remove Thin handler, now part of Rack 0.9.1 * Fix Rack protocol version to 0.1 in environment hash. * Fix error when passing no_epoll option to a cluster. * Omit parsing #defined strings [Jeremy Zurcher] * Defaults SERVER_NAME to localhost like webrick does [#87 state:resolved] * Namespace parser to prevent error when mongrel is required [cliffmoon] * Set RACK_ENV based on environment option when loading rackup file [Curtis Summers] [#83 state:resolved] * Fixes a warning RE relative_url_root when using a prefix with Rails 2.1.1 [seriph] [#85 state:resolved] * --only can work as a sequence number (if < 80) or a port number (if >= 80) [jmay] [#81 state:resolved] == 1.0.0 That's What She Said release * Fixed vlad.rake to allow TCP or socket [hellekin] * Updated Mack adapter to handle both <0.8.0 and >0.8.0 [Mark Bates] * rails rack adapter uses File.readable_real? so it recognizes ACL permissions [Ricardo Chimal] * Log a warning if Rack application returns nil body [Michael S. Klishin] * Handle nil and Time header values correctly [#76 state:resolved] [tmm1] * Add Content-Length header to response automatically when possible [#74 state:resolved] [dkubb] * Runner now remembers -r, -D and -V parameters so that clustered servers inherit those and 'restart' keep your parameters. * Make Set-Cookie header, in Rails adapter, compatible with current Rack spec [Pedro Belo] [#73, state:resolved] * Add --no-epoll option to disable epoll usage on Linux [#61 state:resolved] * Add --force (-f) option to force stopping of a daemonized server [#72 state:resolved] * Update halycon adapter loader [mtodd] == 0.8.2 Double Margarita release * Require EventMachine 0.12.0 * [bug] Fix timeout handling when running command * [bug] Fix hanging when restarting and no process is running in single server move, fixes #67 * Added Mack adapter [markbates] * Allow rackup .rb files by getting a conventionally named constant as the app [bmizerany]
Convert @exec/@unexec to @pkgdir or drop it.
Update www/thin to version 0.8.1. Changes from version 0.8.0 include:
* [bug] Rescue all types of errors when processing request
* [bug] Use Swiftiply backend when -y option is specified
* Allow passing port as a string in Server.new
* Define deferred?(env) in your Rack application to set if a request
is handled in a thread (return true) or not (return false).
Update www/thin to 0.8.0. Changes from version 0.7.1 include: * Fix server crash when header too large. * Add --require (-r) option to require a library before executing your script. * Rename --rackup short option to -R, warn and load as rackup when file ends with .ru. * List supported adapters in command usage. * Add file adapter to built-in adapter, serve static files in current directory. * Allow disabling signal handling in Server with :signals => false * Make Server.new arguments more flexible, can now specify any of host, port, app or hash options. * Add --backend option to specified which backend to use. * Serve static file only on GET and HEAD requests in Rails adapter. * Add threaded option to run server in threaded mode; calling the application in a thread allowing for concurrency in the Rack adapter. * Guess which adapter to use from directory (chdir option) or use specified one in 'adapter' option.
Initial import of thin-0.7.1 as www/thin. Thin is a very simple web server written in Ruby. It's single-threaded, which means it can only serve one request at a time. This simplicity affords increased speed and decreased memory usage for singled-threaded framework like Rails.
Initial revision