public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
macournoyer (author)
Fri Jan 25 11:21:21 -0800 2008
commit  4017a4dc97eac8f12c19e4a36e56357ba9857c86
tree    9f02d832abd730432d2aa0e84513488a58ad66c2
parent  31af2a1bad84a0fef05e5be2d0dde9fe3cf76925
thin / CHANGELOG
100644 86 lines (72 sloc) 3.569 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
== 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.