metasploit-framework/lib/gemcache/ruby/1.9.1/arch/linux32/thin-1.3.1/CHANGELOG

336 lines
16 KiB
Plaintext
Raw Normal View History

Cutting over rails3 to master. This switches the Metasploit Framework to a Rails 3 backend. If you run into new problems (especially around Active Record or your postgresql gem) you should try first updating your Ruby installation to 1.9.3 and use a more recent 'pg' gem. If that fails, we'd love to see your bug report (just drop all the detail you can into an issue on GitHub). In the meantime, you can checkout the rails2 branch, which was branched from master immediately before this cutover. Squashed commit of the following: commit 5802ec851580341c6717dfea529027c12678d35f Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 23:30:12 2012 -0500 Enable MSF_BUNDLE_GEMS mode by default (set to N/F/0 to disable) commit 8102f98dce9eb0c73c4374e40dce09af7b51d060 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 23:30:03 2012 -0500 Add a method to expand win32 file paths commit bda6479d154cf75572dd5de8b66bfde661a55de9 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 18:53:44 2012 -0500 Fix 1.8.x compatibility commit 101ce4eb17bfdf755ef8c0a5198174668b6cd6fd Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 18:40:59 2012 -0500 Use verbose instead of stringio commit 5db467ffb593488285576d183b1662093e454b3e Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 18:30:06 2012 -0500 Hide the iconv warning, were stuck with it due to EBCDIC support commit 63b9cb20eb6a61daf4effb4c8d2761c16ff0c4e0 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 18:29:58 2012 -0500 Dont use GEM_HOME by default commit ca49271c22c314a4465fff934334df18c704cbc0 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 18:23:34 2012 -0500 Move Gemfile to root (there be dragons, lets find them) and catch failed bundler loads commit 34af04076a068e9f60c5526045ddbba5fca359fd Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 18:18:29 2012 -0500 Fallback to bundler when not running inside of a installer env commit ed1066a4f3f12fae7d4afc03eb1ab70ffe2f9cf3 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 16:26:55 2012 -0500 Remove a mess of gems that were not actually required commit 21290a73926809e9049a59359449168f740d13d2 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 15:59:10 2012 -0500 Hack around a gem() call that is well-intentioned but an obstacle in this case commit 8e414a8bfab9641c81088d22f73033be5b37a700 Author: Tod Beardsley <todb@metasploit.com> Date: Sun Apr 15 15:06:08 2012 -0500 Ruby, come on. Ducktype this. Please. Use interpolated strings to get the to_s behavior you don't get with just plussing. commit 0fa92c58750f8f84edbecfaab72cd2da5062743f Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 15:05:42 2012 -0500 Add new eventmachine/thin gems commit 819d5e7d45e0a16741d3852df3ed110b4d7abc44 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 15:01:18 2012 -0500 Purge (reimport in a second) commit ea6f3f6c434537ca15b6c6674e31081e27ce7f86 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 14:54:42 2012 -0500 Cleanup uncessary .so files (ext vs lib) commit d219330a3cc563e9da9f01fade016c9ed8cda21c Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 14:53:02 2012 -0500 PG gems built against the older installation environment commit d6e590cfa331ae7b25313ff1471c6148a6b36f3b Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 14:06:35 2012 -0500 Rename to include the version commit a893de222b97ce1222a55324f1811b0262aae2d0 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 13:56:47 2012 -0500 Detect older installation environments and load the arch-lib directories into the search path commit 6444bba0a421921e2ebe2df2323277a586f9736f Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 13:49:25 2012 -0500 Merge in windows gems commit 95efbcfde220917bc7ee08e6083d7b383240d185 Author: Tod Beardsley <todb@metasploit.com> Date: Sun Apr 15 13:49:33 2012 -0500 Report_vuln shouldn't use :include in finder find_or_create_by doesn't take :include as a param. commit c5f99eb87f0874ef7d32fa42828841c9a714b787 Author: David Maloney <DMaloney@rapid7.com> Date: Sun Apr 15 12:44:09 2012 -0500 One more msised Mdm namespace issue commit 2184e2bbc3dd9b0993e8f21d2811a65a0c694d68 Author: David Maloney <DMaloney@rapid7.com> Date: Sun Apr 15 12:33:41 2012 -0500 Fixes some mroe Mdm namespace confusion Fixes #6626 commit 10cee17f391f398bb2be3409137ff7348c7a66ee Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 03:40:44 2012 -0500 Add robots gem (required by webscan) commit 327e674c83850101364c9cca8f8d16da1de3dfb5 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 03:39:05 2012 -0500 Fix missing error checks commit a5a24641866e47e611d7636a3f19ba3b3ed10ac5 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 01:15:37 2012 -0500 Reorder requires and add a method for injecting a new migration path commit 250a5fa5ae8cb05807af022aa4168907772c15f8 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 00:56:09 2012 -0500 Remove missing constant (use string) and add gemcache cleaner commit 37ad6063fce0a41dddedb857fa49aa2c4834a508 Merge: d47ee82 4be0361 Author: Tod Beardsley <todb@metasploit.com> Date: Sun Apr 15 00:40:16 2012 -0500 Merge branch 'master-clone' into rails3-clone commit d47ee82ad7e66de53dd3d3a65649cc37299a2479 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 00:30:03 2012 -0500 cleanup leftovers from gems commit 6d883b5aa8a3a7ddbcde5bfd4521d57c5b30d3c2 Author: HD Moore <hd_moore@rapid7.com> Date: Sun Apr 15 00:25:47 2012 -0500 MDM update with purged DBSave module commit 71e4f2d81f6da221b76150562a16c730888f5925 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 23:19:37 2012 -0500 Add new mdm commit 651cd5adac8211d65e0c8079371d8264e549533a Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 23:19:13 2012 -0500 Update mdm commit 0191a8bd0acec30ddb2a9e9c291111a12378537f Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 22:30:40 2012 -0500 This fixes numerous cases of missed Mdm:: prefixes on db objects commit a2a9bb3f2148622c135663dead80b3367b6f7695 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 18:30:18 2012 -0500 Add eventmachine commit 301ddeb12b906ed3c508613ca894347bedc3b499 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 18:18:12 2012 -0500 A nicer error for folks who need to upgrade pg commit fa6bde1e67b12e2d3d9978f59bbc98e0c1a1a707 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 17:54:55 2012 -0500 Remove bundler requirements commit 2e3ab9ed211303f1116e602b9a450141b71e56a4 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 17:35:38 2012 -0500 Pull in eventmachine with actual .so's this time commit 901fb33ff6b754ce2c2cfd51e3b0b669f6ec600b Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 17:19:12 2012 -0500 Update deps, still need to add eventmachine commit 6b0e17068e8caa0601f3ef81e8dbdb672758fcbe Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 13:07:06 2012 -0500 Handle older installer environments and only allow binary gems when the environment specifically asks for it commit b98eb7873a6342834840424699caa414a5cb172a Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 04:05:13 2012 -0500 Bump version to -testing commit 6ac508c4ba3fdc278aaf8cfe2c58d01de3395431 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 02:25:09 2012 -0500 Remove msf3 subdir commit a27dac5067635a95b4cbb773df1985f2a2dc2c5a Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 02:24:39 2012 -0500 Remove the old busted external commit 5fb5a0fc642b6c301934c319db854cc3145427a1 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 02:03:10 2012 -0500 Add the gemcache loader commit 09e2d89dfd09b9ac0c123fcc4e19816c86725627 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Apr 14 02:02:23 2012 -0500 Purge gemfile/bundler configure in exchange for new gemcache setup commit 3cc0264e1cfb027b515d7f24b95a74b023bd905c Author: Tod Beardsley <todb@metasploit.com> Date: Thu Apr 12 14:11:45 2012 -0500 Mode change on modicon_ladder.apx commit c18b3d56efd639e461137acdc76b4b283fe978d4 Author: HD Moore <hd_moore@rapid7.com> Date: Thu Apr 12 01:38:56 2012 -0500 The go faster button commit ca2a67d51d6d4c7c3ca2e745f8b018279aef668a Merge: 674ee09 b8129f9 Author: Tod Beardsley <todb@metasploit.com> Date: Mon Apr 9 15:50:33 2012 -0500 Merge branch 'master-clone' into rails3-clone Picking up Packetfu upstream changes, all pretty minor commit 674ee097ab8a6bc9608bf377479ccd0b87e7302b Merge: e9513e5 a26e844 Author: Tod Beardsley <todb@metasploit.com> Date: Mon Apr 9 13:57:26 2012 -0500 Merge branch 'master-clone' into rails3-clone Conflicts: lib/msf/core/handler/reverse_http.rb lib/msf/core/handler/reverse_https.rb modules/auxiliary/scanner/discovery/udp_probe.rb modules/auxiliary/scanner/discovery/udp_sweep.rb Resolved conflicts with the reverse_http handlers and the udp probe / scanners byt favoring the more recent changes (which happened to be the intent anyway). The reverse_http and reverse_https changes were mine so I know what the intent was, and @dmaloney-r7 changed udp_probe and udp_sweep to use pcAnywhere_stat instead of merely pcAnywhere, so the intent is clear there as well. commit e9513e54f984fdb100c13b44a1724246779ccb76 Author: David Maloney <dmaloney@melodie.gateway.2wire.net> Date: Fri Apr 6 18:21:46 2012 -0500 Some fixes to how services get reported to prevent issues with the web interface commit adeb44e9aaf1a329a0e587d2b26e678398730422 Author: David Maloney <David_Maloney@rapid7.com> Date: Mon Apr 2 15:39:46 2012 -0500 Some corrections to pcAnywhere discovery modules to distinguish between the two services commit b13900176484fea8f5217a2ef925ae2ad9b7af47 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Mar 31 12:03:21 2012 -0500 Enable additional migration-path parameters, use a temporary directory to bring the database online commit 526b4c56883f461417f71269404faef38639917c Author: David Maloney <David_Maloney@rapid7.com> Date: Wed Mar 28 23:24:56 2012 -0500 A bunch of Mdsm fixes for .kind_of? calls, to make sure we ponit to the right place commit 2cf3143370af808637d164ce59400605300f922c Author: HD Moore <hd_moore@rapid7.com> Date: Mon Mar 26 16:22:09 2012 -0500 Check for ruby 2.0 as well as 1.9 for encoding override commit 4d0f51b76d89f00f7acbce6b1f00dc6e4c4545ee Author: HD Moore <hd_moore@rapid7.com> Date: Mon Mar 26 15:36:04 2012 -0500 Remove debug statement commit f5d2335e7745aa1a354f4d6c8fc9d0b3876c472a Author: HD Moore <hd_moore@rapid7.com> Date: Mon Mar 26 15:01:55 2012 -0500 Be explicit about the Mdm namespace commit bc8be225606d6ea38dd2a85ab4310c1c181a94ee Author: hdm <hdm@hypo.(none)> Date: Mon Mar 26 11:49:51 2012 -0500 Precalculate some uri strings in case the 1000-round generation fails commit 4254f419723349ffb93e4aebdaeabbd7d66bf8c0 Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Sat Mar 24 14:03:44 2012 -0500 Removed some non-namespaced calls to Host commit c8190e1bb8ad365fb0d7a1c4a9173e6c739be85c Author: HD Moore <hd_moore@rapid7.com> Date: Tue Mar 20 00:37:00 2012 -0500 Purge the rvmrc, this is causing major headaches commit 76df18588917b7150a3bedf2569710a80bab51f8 Author: HD Moore <hd_moore@rapid7.com> Date: Tue Mar 20 00:31:52 2012 -0500 Switch .rvmrc to the shipping 1.9.3 version commit 7124971d0032b268f4ddf89aca125f15e284f345 Author: David Maloney <David_Maloney@rapid7.com> Date: Mon Mar 12 16:56:40 2012 -0500 Adds mixin for looking up Mime Types by extension commit b7ca8353164c43db6bacb2f3f16afa1269f66e43 Merge: a0b0c75 6b9a219 Author: Matt Buck <techpeace@gmail.com> Date: Tue Mar 6 19:38:53 2012 -0600 Merge from develop. commit a0b0c7528d2b8fabb76b2246a15004bc89239cf0 Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Tue Mar 6 11:08:59 2012 -0600 Somehow migration file is new? commit 84d2b3cb1ad6290413c3ea3222ddf9932270b105 Author: David Maloney <David_Maloney@rapid7.com> Date: Wed Feb 29 16:38:55 2012 -0600 Added ability to specify headers to redirects in http server commit e50d27cda83872c616722adb03dc1a6a5e685405 Author: HD Moore <hd_moore@rapid7.com> Date: Sat Feb 4 04:44:50 2012 -0600 Tweak the event dispatcher to enable customer events without a category and trigger http request events from the main exploit mixin. Experimental commit 0e4fd2040df49df2e6cb0e8d2c6240a03d108033 Author: Matt Buck <Matthew_Buck@rapid7.com> Date: Thu Feb 2 22:09:05 2012 -0600 Change Msm -> Mdm in migrations. This is what was preventing migrations from finishing on first boot. commit c94a2961d04eee84adfd42bb01ed7a3e3846b83a Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Wed Feb 1 12:48:48 2012 -0600 Changed Gemfile to use new gem name commit 245c2063f06b4fddbfc607d243796669ef236136 Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Wed Feb 1 12:47:42 2012 -0600 Did find/replace for final namespace of Mdm commit 6ed9bf8430b555dcbe62daeddb2f33bd400ab5bc Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Tue Jan 24 10:47:44 2012 -0600 Fix a bunch of namespace issues commit 2fe08d9e4226c27e78d07a00178c58f528cbc72e Author: Matt Buck <Matthew_Buck@rapid7.com> Date: Fri Jan 20 14:37:37 2012 -0600 Update Msm contstants in migrations for initial DB builds. commit 4cc6b8fb0440c6258bf70de77a9153468fea4ea5 Author: Matt Buck <Matthew_Buck@rapid7.com> Date: Fri Jan 20 14:37:25 2012 -0600 Update Gemfile.lock. commit 1cc655b678f0a054a9a783da119237fe3f67faa4 Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Thu Jan 19 11:48:29 2012 -0600 Errant Workspaces needed namespace commit 607a78285582c530a68985add33ccf4d899c467a Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Tue Jan 17 15:44:02 2012 -0600 Refactored all models to use the new namespace * Every model using DBManager::* namespace is now Msm namespace * Almost all of this in msf/base/core * Some in modules commit a690cd959b3560fa2284975ca7ecca10c228fb05 Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Tue Jan 17 13:41:44 2012 -0600 Move bundler setup commit dae115cc8f7619ca7a827123079cb67fb4d9354b Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Mon Jan 9 15:51:07 2012 -0600 Moved ActiveSupport dep to gem commit d32f8edb6e7f82079b775ffbc2b9a405d1f32b3b Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Mon Jan 9 14:40:05 2012 -0600 Removed model require file commit d0c74cff8c44771e566ec63b03eda10d03b25c42 Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Tue Jan 3 16:06:10 2012 -0600 Update some more finds commit 4eb79ea6b58b74c309ab1f1bb0bd35fe9041de46 Author: Trevor Rosen <Trevor_Rosen@rapid7.com> Date: Tue Jan 3 14:21:15 2012 -0600 Yet another dumb commit commit a75febcb593d52fdfe930306b4275829759d81d1 Author: Trevor Rosen <trevor@catapult-creative.com> Date: Thu Dec 29 19:20:51 2011 -0600 Fixing deletion commit dc139ff2fdfc4e7cdee3901dfb863e70913d6b92 Author: Trevor Rosen <trevor@catapult-creative.com> Date: Wed Dec 7 17:06:45 2011 -0600 Fixed erroneous commit commit 531c1e611cf4d23aeb9c48350dabf7630d662d25 Author: Trevor Rosen <trevor@catapult-creative.com> Date: Mon Nov 21 16:11:35 2011 -0600 Remove AR patch stuff; attempting to debug non-connection between MSF and Pro commit 458611224189c7aa27e500aabd373d85dc2dc5c0 Author: Trevor Rosen <trevor@catapult-creative.com> Date: Fri Nov 18 16:17:27 2011 -0600 Drop ActiveRecord/ActiveSupport in preparation for upgrade
2012-04-16 04:35:38 +00:00
== 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.
== 1.2.11 Bat-Shit Crazy
* Fix pure Ruby gem to not include binary.
== 1.2.10 I'm dumb (BAD RELEASE, DON'T USE)
* I really am (bad release fix)
== 1.2.9 Black Keys Extra Plus Wow (BAD RELEASE, DON'T USE)
* Improve fat binary loading.
== 1.2.8 Black Keys
* Allow the connection to remain open for 1xx statuses [timshadel]
Both the 100 and 101 status codes require that the connection to the
server remain open. The 100 status code is used to tell the client that
the server is still receiving its request, and will continue to read
request input on the connection. The 101 status code is used to upgrade
the existing connection to another protocol, and specifically is NOT
used to upgrade a separate connection. Therefore, the connection must
remain open after this response in order to facilitate that.
* Accept IE7 badly encoded URL (eg.: %uEEEE)
* Fix gemspec to work w/ Bundler [smparkes]
* Add SSL support [tmm1]
* Catch Errno::EPERM in Process.running? [Tony Kemp]
On some systems (e.g. OpenBSD) you receive an EPERM exception if
you try to Process.getpgid on a process you do not own (even if you
are root). But it does mean that the process exists, so return true.
* Fix Rails version check that select which Rack adapter to use. Was using CGI adapter in Rails 3.
* Ignore SIGHUP when no restart block is given
* Add SSL options to thin command line tool [goldmann]
--ssl Enables SSL
--ssl-key-file PATH Path to private key
--ssl-cert-file PATH Path to certificate
--ssl-verify Enables SSL certificate verification
* Expose peer SSL certificate in env (rack.peer_cert) [fd]
* Adjusting unix socket permissions to be more open [mbj]
== 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 [Jérémy 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]
== 0.8.1 Rebel Porpoise release
* [bug] Rescue all types of errors when processing request, fixes #62
* [bug] Use Swiftiply backend when -y option is specified, fixes #63 and #64
* 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).
== 0.8.0 Dodgy Dentist release
* [bug] 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, closes #55
* [bug] Serve static file only on GET and HEAD requests in Rails adapter, fixes #58
* Add threaded option to run server in threaded mode, calling the application in a
thread allowing for concurrency in the Rack adapter, closes #46
* Guess which adapter to use from directory (chdir option)
or use specified one in 'adapter' option, re #47.
== 0.7.1 Fancy Pants release
* Clean stale PID files when starting as daemon, fixes #53 [Chu Yeow]
* Require EventMachine 0.11.0 for UNIX domain sockets. Until it's released, install from:
gem install eventmachine --source http://code.macournoyer.com
* Ruby 1.8.5 compatibility, closes #49 [Wincent Colaiuta]
* Move all EventMachine stuff out of Server, you can now create a Thin Backend that
does not depend on EventMachine.
* Rename Connector to Backend. Extend Thin::Backends::Base to implement your own.
* Fix high memory usage with big POST body, fixes #48
== 0.7.0 Spherical Cow release
* Add --max-persistent-conns option to sets the maximum number of persistent connections.
Set to 0 to disable Keep-Alive.
* INT signal now force stop and QUIT signal gracefully stops.
* Warn when descriptors table size can't be set as high as expected.
* Eval Rackup config file using top level bindings.
* Remove daemons gem dependency on Windows plateform, fixes #45.
* Change default timeout from 60 to 30 seconds.
* Add --max-conns option to sets the maximum number of file or socket descriptors that
your process may open, defaults to 1024.
* Tail logfile when stopping and restarting a demonized server, fixes #26.
* Wrap application in a Rack::CommonLogger adapter in debug mode.
* --debug (-D) option no longer set $DEBUG so logging will be less verbose
and Ruby won't be too strict, fixes #36.
* Deprecate Server#silent in favour of Logging.silent.
* Persistent connection (keep-alive) support.
* Fix -s option not being included in generated config file, fixes #37.
* Add Swiftiply support. Use w/ the --swiftiply (-y) option in the thin script,
closes #28 [Alex MacCaw]
== 0.6.4 Sexy Lobster release
* Fix error when stopping server on UNIX domain socket, fixes #42
* Rescue errors in Connection#get_peername more gracefully, setting REMOTE_ADDR to nil, fixes #43
== 0.6.3 Ninja Cookie release
* Add tasks for Vlad the Deployer in example/vlad.rake [cnantais]
* Add Ramaze Rackup config file in example dir [tmm1]
Use like this from you Ramaze app dir:
thin start -r /path/to/thin/example/ramaze.ru
* Add the --rackup option to load a Rack config file instead of the Rails adapter.
So you can use any framework with the thin script and start cluster and stuff like that.
A Rack config file is one that is usable through the rackup command and looks like this:
use Rack::CommonLogger
run MyCrazyRackAdapter.new(:uterly, 'cool')
Then use it with thin like this:
thin start --rackup config.ru
* thin config --chrdir ... -C thin/yml do not change current directory anymore, fixes #33.
* Add a better sample god config file in example/thin.god that loads all info from config
files in /etc/thin. Drop-in replacement for the thin runlevel service [Gump].
* Add support for specifying a custom Connector to the server and add more doc about Server
configuration.
* Add a script to run thin as a runlevel service that can start at startup, closes #31 [Gump]
Setup the service like this:
sudo thin install /etc/thin
This will install the boot script under /etc/init.d/thin. Then copy your config files to
/etc/thin. Works only under Linux.
* Set process name to 'thin server (0.0.0.0:3000)' when running as a daemon, closes #32.
* Make sure chdir option from config file is used when present.
* Raise an error when starting a server as a daemon and pid file already exist, fixes #27.
== 0.6.2 Rambo release
* Server now let current connections finish before stopping, fixes #18
* Fix uploading hanging bug when body is moved to a tempfile,
also delete the tempfile properly upon completion, fixes #25
* 'thin restart' now sends HUP signals rather then stopping & starting, closes #17
* HUP signal now launches a new process with the same options.
* Add PID and more info from the last request to the Stats adapter
mostly taken from Rack::ShowException.
* pid and log files in cluster are no longer required to be relative to the
app directory (chdir option), fixes #24
* Revert to using #each when building response headers under Ruby 1.8,
solves an issue w/ Camping adapter, fixes #22
* Restructure thin script options in 3 sections: server, daemon and cluster
* Add --only (-o) option to control only one server of a cluster.
* Stylize stats page and make the url configurable from the thin script.
* Raise error if attempting to use unix sockets on windows.
* Add example config files for http://www.tildeslash.com/monit usage.
Include the example file using "include /path/to/thin/monit/file" in your monitrc file.
The group settings let you do this to manage your clusters:
sudo monit -g blog restart all
There are examples of thin listening on sockets and thin listening on unix sockets.
== 0.6.1 Cheesecake release
* Remove socket file when server stops.
* Set back cluster to use 'thin' command to launch servers.
== 0.6.0 Big Pony release
* Add support for connection through UNIX domain socket.
Use the --socket (-S) option w/ the thin script to configure the socket filename.
Nginx support binding to a UNIX socket like this:
upstream backend {
server unix:/tmp/thin.0.sock;
server unix:/tmp/thin.1.sock;
server unix:/tmp/thin.2.sock;
}
Start your servers like this:
thin start -s3 -S/tmp/thin.sock
* Remove Server#listen! method. Use Server#start instead.
* Server can now yield a Rack::Builder to allow building an app in one call:
Server.start '0.0.0.0', 3000 do
use Rack::CommonLogger
use Rack::ShowExceptions
map "/lobster" do
use Rack::Lint
run Rack::Lobster.new
end
end
* Add a very basic stats page through Stats adapter, load w/ --stats and browse to /stats.
* Add --trace (-V) option to trace request/response and get backtrace w/out all Ruby debug stuff.
* Add --config (-C) option to load options from a config file in thin script [Matt Todd].
* Alter response headers to output directly to a string.
* Improve specs stability.
* Move request body to a Tempfile if too big (> 112 MB)
* Remove useless check for max header size in Request (already done in the parser)
== 0.5.4 Flying Mustard release
* Don't read the full body, use direct streaming when sending response.
See: Response#each
As a result, the Content-Length can not be calculated anymore.
You have to do set this in your adapter. All frameworks do it anyway.
It improve memory usage and boost speed for low concurrency.
Thanks to Kent Sibilev and Ezra for their help on that one.
* Add 'Server' response header
* Fix --user and --group option not changing daemon process privileges
== 0.5.3 Purple Yogurt release
* win32 pre-compiled gem now available
* change rake task configuration to allow win32 gem build
* Add prefix option to thin script to mount app under a given path.
== 0.5.2 Cheezburger release
* Add cluster support through the -s option in the thin script, start 3 thins like this:
thin start -s3 -p3000
3 thin servers will be started on port 3000, 3001, 3002, also the port number will be
injected in the pid and log filenames.
* Fix IOError when writing to logger when starting server as a daemon.
* Really change directory when the -c option is specified.
* Add restart command to thin script.
* Fix typos in thin script usage message and expand chdir path.
* Rename thin script options to be the same as mongrel_rails script [thronedrk]:
-o --host => -a --address
--log-file => --log
--pid-file => --pid
--env => --environment
== 0.5.1 LOLCAT release
* Add URL rewriting to Rails adapter so that page caching works and / fetches index.html if present.
* Fix bug in multiline response header parsing.
* Add specs for the Rails adapter.
* Fix Set-Cookie headers in Rails adapter to handle multiple values correctly.
* Fix Ruby 1.9 incompatibility in Response#headers= and Rakefile.
* Fix parser to be Ruby 1.9 compatible [Aman Gupta]
* Set gemspec to use EventMachine version 0.8.1 as it's the latest one having precompiled windows binaries.
[Francis Cianfrocca].
* Add -D option to thin script to set debugging on.
* Output incoming data and response when debugging is on.
== 0.5.0
* Full rewrite to use EventMachine, Rack and Mongrel parser
== 0.4.1
* Fix Rails environment option not being used in thin script.
== 0.4.0
* First alphaish release as a gem.