Permalink
Browse files

Update example file to a simpler one to understand (IMHO)

Update TODO w/ latest known bugs and upcoming features.
  • Loading branch information...
1 parent 08376de commit da5cf49093fb4f057bf36f567b909ccf8ad8ab70 @macournoyer macournoyer committed Jan 18, 2008
Showing with 15 additions and 6 deletions.
  1. +6 −4 TODO
  2. +9 −2 example/config.ru
View
10 TODO
@@ -1,16 +1,18 @@
== BUGS
* Carl Mercier is experiencing weird stuff, response headers seems to be happened
to the top of every HTML page in the browser ?wtf?
- * Thin uses more memory then Mongrel on some apps, investigate why
+ * Thin uses more memory then Mongrel on some apps (refactormycode), investigate why
+ * -u and -g options don't seem to work:
+ http://groups.google.com/group/thin-ruby/browse_thread/thread/a2483855a3d3380e/c29f8412dea1303b
== FEATURES
+ * Add a --trace option to log response/request [thronedrk]
+ * Load options from a config file
* IPv6 support (should be able to bind to ::1)
+ * Create a Stats adapter to show server stats in the browser
== TASKS
* Apply patch: http://groups.google.com/group/thin-ruby/browse_thread/thread/c2e157f0792f6054/9cd8b6af27854d38#9cd8b6af27854d38
- * Load options from a config file
- * Add a --trace option to log response/request [thronedrk]
- * Create a Stats adapter to show server stats in the browser
* Check for memory usage/leaks using dike or other:
http://blog.evanweaver.com/articles/2007/05/06/leak-proof-direct-heap-instrumentation-for-bleak_house/
* Change benchmarking tests to use
View
11 example/config.ru
@@ -4,6 +4,13 @@
# http://rack.rubyforge.org/doc/classes/Rack/Builder.html
require File.dirname(__FILE__) + '/../lib/thin'
-require 'rack/lobster'
-run Rack::Lobster.new
+app = proc do |env|
+ [
+ 200,
+ {'Content-Type' => 'text/html'},
+ ['hi!']
+ ]
+end
+
+run app

0 comments on commit da5cf49

Please sign in to comment.