public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Search Repo:
Update example file to a simpler one to understand (IMHO)
Update TODO w/ latest known bugs and upcoming features.
macournoyer (author)
Fri Jan 18 11:48:07 -0800 2008
commit  da5cf49093fb4f057bf36f567b909ccf8ad8ab70
tree    e961420283d4101a248bc4b6f5e899d5b61da205
parent  08376de8e60d83bb1e7c1c949d33991d348fe783
0
...
1
2
3
4
 
 
 
5
6
 
 
7
 
8
9
10
11
12
13
14
15
16
...
1
2
3
 
4
5
6
7
8
9
10
11
12
13
14
15
 
 
 
16
17
18
0
@@ -1,16 +1,18 @@
0
 == BUGS
0
  * Carl Mercier is experiencing weird stuff, response headers seems to be happened
0
    to the top of every HTML page in the browser ?wtf?
0
- * Thin uses more memory then Mongrel on some apps, investigate why
0
+ * Thin uses more memory then Mongrel on some apps (refactormycode), investigate why
0
+ * -u and -g options don't seem to work:
0
+ http://groups.google.com/group/thin-ruby/browse_thread/thread/a2483855a3d3380e/c29f8412dea1303b
0
 
0
 == FEATURES
0
+ * Add a --trace option to log response/request [thronedrk]
0
+ * Load options from a config file
0
  * IPv6 support (should be able to bind to ::1)
0
+ * Create a Stats adapter to show server stats in the browser
0
  
0
 == TASKS
0
  * Apply patch: http://groups.google.com/group/thin-ruby/browse_thread/thread/c2e157f0792f6054/9cd8b6af27854d38#9cd8b6af27854d38
0
- * Load options from a config file
0
- * Add a --trace option to log response/request [thronedrk]
0
- * Create a Stats adapter to show server stats in the browser
0
  * Check for memory usage/leaks using dike or other:
0
    http://blog.evanweaver.com/articles/2007/05/06/leak-proof-direct-heap-instrumentation-for-bleak_house/
0
  * Change benchmarking tests to use
...
4
5
6
7
8
9
 
 
 
 
 
 
 
 
 
...
4
5
6
 
7
 
8
9
10
11
12
13
14
15
16
0
@@ -4,7 +4,14 @@
0
 # http://rack.rubyforge.org/doc/classes/Rack/Builder.html
0
 
0
 require File.dirname(__FILE__) + '/../lib/thin'
0
-require 'rack/lobster'
0
 
0
-run Rack::Lobster.new
0
+app = proc do |env|
0
+ [
0
+ 200,
0
+ {'Content-Type' => 'text/html'},
0
+ ['hi!']
0
+ ]
0
+end
0
+
0
+run app

Comments

    No one has commented yet.