thin 0.5.3-x86-mswin32-60 → 0.5.4-x86-mswin32-60

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of thin might be problematic. Click here for more details.

Files changed (52) hide show
  1. data/CHANGELOG +8 -0
  2. data/benchmark/previous.rb +14 -0
  3. data/benchmark/simple.rb +3 -38
  4. data/benchmark/utils.rb +51 -0
  5. data/bin/thin +1 -1
  6. data/example/config.ru +9 -2
  7. data/lib/thin.rb +1 -1
  8. data/lib/thin/connection.rb +4 -2
  9. data/lib/thin/response.rb +22 -14
  10. data/lib/thin/version.rb +2 -2
  11. data/lib/thin_parser.so +0 -0
  12. data/spec/response_spec.rb +22 -9
  13. data/spec/server_spec.rb +8 -3
  14. metadata +5 -56
  15. data/doc/rdoc/classes/Process.html +0 -181
  16. data/doc/rdoc/classes/Rack.html +0 -156
  17. data/doc/rdoc/classes/Rack/Adapter.html +0 -155
  18. data/doc/rdoc/classes/Rack/Adapter/Rails.html +0 -289
  19. data/doc/rdoc/classes/Rack/Adapter/Rails/CGIWrapper.html +0 -359
  20. data/doc/rdoc/classes/Rack/Handler.html +0 -155
  21. data/doc/rdoc/classes/Rack/Handler/Thin.html +0 -175
  22. data/doc/rdoc/classes/Thin.html +0 -164
  23. data/doc/rdoc/classes/Thin/Cluster.html +0 -399
  24. data/doc/rdoc/classes/Thin/Connection.html +0 -223
  25. data/doc/rdoc/classes/Thin/Daemonizable.html +0 -260
  26. data/doc/rdoc/classes/Thin/Daemonizable/ClassMethods.html +0 -197
  27. data/doc/rdoc/classes/Thin/Headers.html +0 -238
  28. data/doc/rdoc/classes/Thin/InvalidRequest.html +0 -144
  29. data/doc/rdoc/classes/Thin/Logging.html +0 -201
  30. data/doc/rdoc/classes/Thin/Request.html +0 -231
  31. data/doc/rdoc/classes/Thin/Response.html +0 -271
  32. data/doc/rdoc/classes/Thin/Server.html +0 -295
  33. data/doc/rdoc/classes/Thin/StopServer.html +0 -143
  34. data/doc/rdoc/created.rid +0 -1
  35. data/doc/rdoc/files/README.html +0 -226
  36. data/doc/rdoc/files/bin/thin.html +0 -245
  37. data/doc/rdoc/files/lib/rack/adapter/rails_rb.html +0 -146
  38. data/doc/rdoc/files/lib/rack/handler/thin_rb.html +0 -146
  39. data/doc/rdoc/files/lib/thin/cluster_rb.html +0 -146
  40. data/doc/rdoc/files/lib/thin/connection_rb.html +0 -145
  41. data/doc/rdoc/files/lib/thin/daemonizing_rb.html +0 -146
  42. data/doc/rdoc/files/lib/thin/headers_rb.html +0 -146
  43. data/doc/rdoc/files/lib/thin/logging_rb.html +0 -146
  44. data/doc/rdoc/files/lib/thin/request_rb.html +0 -145
  45. data/doc/rdoc/files/lib/thin/response_rb.html +0 -145
  46. data/doc/rdoc/files/lib/thin/server_rb.html +0 -145
  47. data/doc/rdoc/files/lib/thin/statuses_rb.html +0 -145
  48. data/doc/rdoc/files/lib/thin/version_rb.html +0 -145
  49. data/doc/rdoc/files/lib/thin_rb.html +0 -152
  50. data/doc/rdoc/index.html +0 -10
  51. data/doc/rdoc/logo.gif +0 -0
  52. data/doc/rdoc/rdoc-style.css +0 -55
@@ -1,245 +0,0 @@
1
-
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html>
4
- <head>
5
- <title>
6
- thin &raquo; File: thin
7
- </title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
10
- <script language="JavaScript" type="text/javascript">
11
- // <![CDATA[
12
-
13
- function toggleSource( id )
14
- {
15
- var elem
16
- var link
17
-
18
- if( document.getElementById )
19
- {
20
- elem = document.getElementById( id )
21
- link = document.getElementById( "l_" + id )
22
- }
23
- else if ( document.all )
24
- {
25
- elem = eval( "document.all." + id )
26
- link = eval( "document.all.l_" + id )
27
- }
28
- else
29
- return false;
30
-
31
- if( elem.style.display == "block" )
32
- {
33
- elem.style.display = "none"
34
- link.innerHTML = "show source"
35
- }
36
- else
37
- {
38
- elem.style.display = "block"
39
- link.innerHTML = "hide source"
40
- }
41
- }
42
-
43
- function openCode( url )
44
- {
45
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
46
- }
47
- // ]]>
48
- </script>
49
- </head>
50
- <body>
51
- <ul id="menu">
52
- <li><a href="/thin/">about</a></li>
53
- <li><a href="/thin/download/">download</a></li>
54
- <li><a href="/thin/usage/">usage</a></li>
55
- <li><a href="/thin/doc/">doc</a></li>
56
- <li><a href="http://groups.google.com/group/thin-ruby/">community</a></li>
57
- </ul>
58
- <div id="sidebar">
59
- <h2>Files</h2>
60
- <ul class="list">
61
- <li><a href="../../files/README.html" value="File: README">README</a></li>
62
- <li><a href="../../files/lib/rack/adapter/rails_rb.html" value="File: rails.rb">lib/rack/adapter/rails.rb</a></li>
63
- <li><a href="../../files/lib/rack/handler/thin_rb.html" value="File: thin.rb">lib/rack/handler/thin.rb</a></li>
64
- <li><a href="../../files/lib/thin/cluster_rb.html" value="File: cluster.rb">lib/thin/cluster.rb</a></li>
65
- <li><a href="../../files/lib/thin/connection_rb.html" value="File: connection.rb">lib/thin/connection.rb</a></li>
66
- <li><a href="../../files/lib/thin/daemonizing_rb.html" value="File: daemonizing.rb">lib/thin/daemonizing.rb</a></li>
67
- <li><a href="../../files/lib/thin/headers_rb.html" value="File: headers.rb">lib/thin/headers.rb</a></li>
68
- <li><a href="../../files/lib/thin/logging_rb.html" value="File: logging.rb">lib/thin/logging.rb</a></li>
69
- <li><a href="../../files/lib/thin/request_rb.html" value="File: request.rb">lib/thin/request.rb</a></li>
70
- <li><a href="../../files/lib/thin/response_rb.html" value="File: response.rb">lib/thin/response.rb</a></li>
71
- <li><a href="../../files/lib/thin/server_rb.html" value="File: server.rb">lib/thin/server.rb</a></li>
72
- <li><a href="../../files/lib/thin/statuses_rb.html" value="File: statuses.rb">lib/thin/statuses.rb</a></li>
73
- <li><a href="../../files/lib/thin/version_rb.html" value="File: version.rb">lib/thin/version.rb</a></li>
74
- <li><a href="../../files/lib/thin_rb.html" value="File: thin.rb">lib/thin.rb</a></li>
75
- <li><a href="../../files/bin/thin.html" value="File: thin">bin/thin</a></li>
76
- </ul>
77
-
78
- <h2>Classes</h2>
79
- <ul class="list">
80
- <li><a href="../../classes/Rack.html" title="Module: Rack">Rack</a></li>
81
- <li><a href="../../classes/Rack/Adapter.html" title="Module: Rack::Adapter">Rack::Adapter</a></li>
82
- <li><a href="../../classes/Rack/Adapter/Rails.html" title="Class: Rack::Adapter::Rails">Rack::Adapter::Rails</a></li>
83
- <li><a href="../../classes/Rack/Adapter/Rails/CGIWrapper.html" title="Class: Rack::Adapter::Rails::CGIWrapper">Rack::Adapter::Rails::CGIWrapper</a></li>
84
- <li><a href="../../classes/Rack/Handler.html" title="Module: Rack::Handler">Rack::Handler</a></li>
85
- <li><a href="../../classes/Rack/Handler/Thin.html" title="Class: Rack::Handler::Thin">Rack::Handler::Thin</a></li>
86
- <li><a href="../../classes/Thin.html" title="Module: Thin">Thin</a></li>
87
- <li><a href="../../classes/Thin/Daemonizable.html" title="Module: Thin::Daemonizable">Thin::Daemonizable</a></li>
88
- <li><a href="../../classes/Thin/Daemonizable/ClassMethods.html" title="Module: Thin::Daemonizable::ClassMethods">Thin::Daemonizable::ClassMethods</a></li>
89
- <li><a href="../../classes/Thin/VERSION.html" title="Module: Thin::VERSION">Thin::VERSION</a></li>
90
- <li><a href="../../classes/Thin/Logging.html" title="Module: Thin::Logging">Thin::Logging</a></li>
91
- <li><a href="../../classes/Thin/InvalidRequest.html" title="Class: Thin::InvalidRequest">Thin::InvalidRequest</a></li>
92
- <li><a href="../../classes/Thin/StopServer.html" title="Class: Thin::StopServer">Thin::StopServer</a></li>
93
- <li><a href="../../classes/Thin/Response.html" title="Class: Thin::Response">Thin::Response</a></li>
94
- <li><a href="../../classes/Thin/Headers.html" title="Class: Thin::Headers">Thin::Headers</a></li>
95
- <li><a href="../../classes/Thin/Server.html" title="Class: Thin::Server">Thin::Server</a></li>
96
- <li><a href="../../classes/Thin/Request.html" title="Class: Thin::Request">Thin::Request</a></li>
97
- <li><a href="../../classes/Thin/Connection.html" title="Class: Thin::Connection">Thin::Connection</a></li>
98
- <li><a href="../../classes/Thin/Cluster.html" title="Class: Thin::Cluster">Thin::Cluster</a></li>
99
- <li><a href="../../classes/Process.html" title="Module: Process">Process</a></li>
100
- </ul>
101
- </div>
102
- <div id="container">
103
- <div id="header">
104
- <a href="/thin/" title="Home">
105
- <img id="logo" src="../../logo.gif" />
106
- </a>
107
- <h2 id="tag_line">A fast and very simple Ruby web server</h2>
108
- </div>
109
-
110
- <div id="content">
111
- <h2>File: thin</h2>
112
-
113
- <div id="bin/thin" class="page_shade">
114
- <div class="page">
115
- <div class="header">
116
- <div class="path">bin/thin / Fri Jan 18 08:37:21 -0700 2008</div>
117
- </div>
118
-
119
- <p>
120
- <tt>thin <a href="thin.html#M000002">start</a></tt>: Starts the Rails app
121
- in the current directory. Run <tt>thin -h</tt> to get more usage.
122
- </p>
123
-
124
-
125
- <strong>Requires:</strong>
126
- optparse
127
- </ul>
128
-
129
-
130
-
131
- <h2 class="ruled">Methods</h2>
132
- <h4 class="ruled">
133
- <span class="method-type" title="Public Instance method">Public Instance</span>
134
- <strong><a name="M000001" href="#M000001" title="Permalink to Public Instance method: cluster?">cluster?(options)</a></strong>
135
- </h4>
136
-
137
- <h2>Commands definitions</h2>
138
-
139
- <div class="sourcecode">
140
- <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p>
141
- <div id="M000001_source" class="dyn-source">
142
- <pre>
143
- <span class="ruby-comment cmt"># File bin/thin, line 61</span>
144
- 61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cluster?</span>(<span class="ruby-identifier">options</span>)
145
- 62: <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:servers</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:servers</span>] <span class="ruby-operator">&gt;</span> <span class="ruby-value">1</span>
146
- 63: <span class="ruby-keyword kw">end</span>
147
- </pre>
148
- </div>
149
- </div>
150
- <h4 class="ruled">
151
- <span class="method-type" title="Public Instance method">Public Instance</span>
152
- <strong><a name="M000004" href="#M000004" title="Permalink to Public Instance method: restart">restart(options)</a></strong>
153
- </h4>
154
-
155
-
156
- <div class="sourcecode">
157
- <p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p>
158
- <div id="M000004_source" class="dyn-source">
159
- <pre>
160
- <span class="ruby-comment cmt"># File bin/thin, line 97</span>
161
- 97: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">restart</span>(<span class="ruby-identifier">options</span>)
162
- 98: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">cluster?</span>(<span class="ruby-identifier">options</span>)
163
- 99: <span class="ruby-constant">Thin</span><span class="ruby-operator">::</span><span class="ruby-constant">Cluster</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">restart</span>
164
- 100: <span class="ruby-keyword kw">else</span>
165
- 101: <span class="ruby-comment cmt"># Restart only make sense when running as a daemon</span>
166
- 102: <span class="ruby-identifier">options</span>.<span class="ruby-identifier">update</span> <span class="ruby-identifier">:daemonize</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>
167
- 103:
168
- 104: <span class="ruby-identifier">stop</span>(<span class="ruby-identifier">options</span>)
169
- 105: <span class="ruby-identifier">start</span>(<span class="ruby-identifier">options</span>)
170
- 106: <span class="ruby-keyword kw">end</span>
171
- 107: <span class="ruby-keyword kw">end</span>
172
- </pre>
173
- </div>
174
- </div>
175
- <h4 class="ruled">
176
- <span class="method-type" title="Public Instance method">Public Instance</span>
177
- <strong><a name="M000002" href="#M000002" title="Permalink to Public Instance method: start">start(options)</a></strong>
178
- </h4>
179
-
180
-
181
- <div class="sourcecode">
182
- <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p>
183
- <div id="M000002_source" class="dyn-source">
184
- <pre>
185
- <span class="ruby-comment cmt"># File bin/thin, line 65</span>
186
- 65: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start</span>(<span class="ruby-identifier">options</span>)
187
- 66: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">cluster?</span>(<span class="ruby-identifier">options</span>)
188
- 67: <span class="ruby-constant">Thin</span><span class="ruby-operator">::</span><span class="ruby-constant">Cluster</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">start</span>
189
- 68: <span class="ruby-keyword kw">else</span>
190
- 69: <span class="ruby-identifier">server</span> = <span class="ruby-constant">Thin</span><span class="ruby-operator">::</span><span class="ruby-constant">Server</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:address</span>], <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:port</span>])
191
- 70:
192
- 71: <span class="ruby-identifier">server</span>.<span class="ruby-identifier">pid_file</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:pid</span>]
193
- 72: <span class="ruby-identifier">server</span>.<span class="ruby-identifier">log_file</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:log</span>]
194
- 73: <span class="ruby-identifier">server</span>.<span class="ruby-identifier">timeout</span> = <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:timeout</span>]
195
- 74:
196
- 75: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:daemonize</span>]
197
- 76: <span class="ruby-identifier">server</span>.<span class="ruby-identifier">change_privilege</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:user</span>], <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:group</span>] <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:user</span>] <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:group</span>]
198
- 77: <span class="ruby-identifier">server</span>.<span class="ruby-identifier">daemonize</span>
199
- 78: <span class="ruby-keyword kw">end</span>
200
- 79:
201
- 80: <span class="ruby-identifier">server</span>.<span class="ruby-identifier">app</span> = <span class="ruby-constant">Rack</span><span class="ruby-operator">::</span><span class="ruby-constant">Adapter</span><span class="ruby-operator">::</span><span class="ruby-constant">Rails</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>.<span class="ruby-identifier">merge</span>(<span class="ruby-identifier">:root</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:chdir</span>]))
202
- 81:
203
- 82: <span class="ruby-comment cmt"># If a prefix is required, wrap in Rack URL mapper</span>
204
- 83: <span class="ruby-identifier">server</span>.<span class="ruby-identifier">app</span> = <span class="ruby-constant">Rack</span><span class="ruby-operator">::</span><span class="ruby-constant">URLMap</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:prefix</span>] =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">server</span>.<span class="ruby-identifier">app</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:prefix</span>]
205
- 84:
206
- 85: <span class="ruby-identifier">server</span>.<span class="ruby-identifier">start!</span>
207
- 86: <span class="ruby-keyword kw">end</span>
208
- 87: <span class="ruby-keyword kw">end</span>
209
- </pre>
210
- </div>
211
- </div>
212
- <h4 class="ruled">
213
- <span class="method-type" title="Public Instance method">Public Instance</span>
214
- <strong><a name="M000003" href="#M000003" title="Permalink to Public Instance method: stop">stop(options)</a></strong>
215
- </h4>
216
-
217
-
218
- <div class="sourcecode">
219
- <p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p>
220
- <div id="M000003_source" class="dyn-source">
221
- <pre>
222
- <span class="ruby-comment cmt"># File bin/thin, line 89</span>
223
- 89: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>(<span class="ruby-identifier">options</span>)
224
- 90: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">cluster?</span>(<span class="ruby-identifier">options</span>)
225
- 91: <span class="ruby-constant">Thin</span><span class="ruby-operator">::</span><span class="ruby-constant">Cluster</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">options</span>).<span class="ruby-identifier">stop</span>
226
- 92: <span class="ruby-keyword kw">else</span>
227
- 93: <span class="ruby-constant">Thin</span><span class="ruby-operator">::</span><span class="ruby-constant">Server</span>.<span class="ruby-identifier">kill</span> <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:pid</span>], <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:timeout</span>]
228
- 94: <span class="ruby-keyword kw">end</span>
229
- 95: <span class="ruby-keyword kw">end</span>
230
- </pre>
231
- </div>
232
- </div>
233
-
234
- </div>
235
- </div>
236
-
237
-
238
- </div>
239
- </div>
240
- <div id="footer">
241
- <hr />
242
- &copy; <a href="http://macournoyer.com">Marc-Andr&eacute; Cournoyer</a>
243
- </div>
244
- </body>
245
- </html>
@@ -1,146 +0,0 @@
1
-
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html>
4
- <head>
5
- <title>
6
- thin &raquo; File: rails.rb
7
- </title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
10
- <script language="JavaScript" type="text/javascript">
11
- // <![CDATA[
12
-
13
- function toggleSource( id )
14
- {
15
- var elem
16
- var link
17
-
18
- if( document.getElementById )
19
- {
20
- elem = document.getElementById( id )
21
- link = document.getElementById( "l_" + id )
22
- }
23
- else if ( document.all )
24
- {
25
- elem = eval( "document.all." + id )
26
- link = eval( "document.all.l_" + id )
27
- }
28
- else
29
- return false;
30
-
31
- if( elem.style.display == "block" )
32
- {
33
- elem.style.display = "none"
34
- link.innerHTML = "show source"
35
- }
36
- else
37
- {
38
- elem.style.display = "block"
39
- link.innerHTML = "hide source"
40
- }
41
- }
42
-
43
- function openCode( url )
44
- {
45
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
46
- }
47
- // ]]>
48
- </script>
49
- </head>
50
- <body>
51
- <ul id="menu">
52
- <li><a href="/thin/">about</a></li>
53
- <li><a href="/thin/download/">download</a></li>
54
- <li><a href="/thin/usage/">usage</a></li>
55
- <li><a href="/thin/doc/">doc</a></li>
56
- <li><a href="http://groups.google.com/group/thin-ruby/">community</a></li>
57
- </ul>
58
- <div id="sidebar">
59
- <h2>Files</h2>
60
- <ul class="list">
61
- <li><a href="../../../../files/README.html" value="File: README">README</a></li>
62
- <li><a href="../../../../files/lib/rack/adapter/rails_rb.html" value="File: rails.rb">lib/rack/adapter/rails.rb</a></li>
63
- <li><a href="../../../../files/lib/rack/handler/thin_rb.html" value="File: thin.rb">lib/rack/handler/thin.rb</a></li>
64
- <li><a href="../../../../files/lib/thin/cluster_rb.html" value="File: cluster.rb">lib/thin/cluster.rb</a></li>
65
- <li><a href="../../../../files/lib/thin/connection_rb.html" value="File: connection.rb">lib/thin/connection.rb</a></li>
66
- <li><a href="../../../../files/lib/thin/daemonizing_rb.html" value="File: daemonizing.rb">lib/thin/daemonizing.rb</a></li>
67
- <li><a href="../../../../files/lib/thin/headers_rb.html" value="File: headers.rb">lib/thin/headers.rb</a></li>
68
- <li><a href="../../../../files/lib/thin/logging_rb.html" value="File: logging.rb">lib/thin/logging.rb</a></li>
69
- <li><a href="../../../../files/lib/thin/request_rb.html" value="File: request.rb">lib/thin/request.rb</a></li>
70
- <li><a href="../../../../files/lib/thin/response_rb.html" value="File: response.rb">lib/thin/response.rb</a></li>
71
- <li><a href="../../../../files/lib/thin/server_rb.html" value="File: server.rb">lib/thin/server.rb</a></li>
72
- <li><a href="../../../../files/lib/thin/statuses_rb.html" value="File: statuses.rb">lib/thin/statuses.rb</a></li>
73
- <li><a href="../../../../files/lib/thin/version_rb.html" value="File: version.rb">lib/thin/version.rb</a></li>
74
- <li><a href="../../../../files/lib/thin_rb.html" value="File: thin.rb">lib/thin.rb</a></li>
75
- <li><a href="../../../../files/bin/thin.html" value="File: thin">bin/thin</a></li>
76
- </ul>
77
-
78
- <h2>Classes</h2>
79
- <ul class="list">
80
- <li><a href="../../../../classes/Rack.html" title="Module: Rack">Rack</a></li>
81
- <li><a href="../../../../classes/Rack/Adapter.html" title="Module: Rack::Adapter">Rack::Adapter</a></li>
82
- <li><a href="../../../../classes/Rack/Adapter/Rails.html" title="Class: Rack::Adapter::Rails">Rack::Adapter::Rails</a></li>
83
- <li><a href="../../../../classes/Rack/Adapter/Rails/CGIWrapper.html" title="Class: Rack::Adapter::Rails::CGIWrapper">Rack::Adapter::Rails::CGIWrapper</a></li>
84
- <li><a href="../../../../classes/Rack/Handler.html" title="Module: Rack::Handler">Rack::Handler</a></li>
85
- <li><a href="../../../../classes/Rack/Handler/Thin.html" title="Class: Rack::Handler::Thin">Rack::Handler::Thin</a></li>
86
- <li><a href="../../../../classes/Thin.html" title="Module: Thin">Thin</a></li>
87
- <li><a href="../../../../classes/Thin/Daemonizable.html" title="Module: Thin::Daemonizable">Thin::Daemonizable</a></li>
88
- <li><a href="../../../../classes/Thin/Daemonizable/ClassMethods.html" title="Module: Thin::Daemonizable::ClassMethods">Thin::Daemonizable::ClassMethods</a></li>
89
- <li><a href="../../../../classes/Thin/VERSION.html" title="Module: Thin::VERSION">Thin::VERSION</a></li>
90
- <li><a href="../../../../classes/Thin/Logging.html" title="Module: Thin::Logging">Thin::Logging</a></li>
91
- <li><a href="../../../../classes/Thin/InvalidRequest.html" title="Class: Thin::InvalidRequest">Thin::InvalidRequest</a></li>
92
- <li><a href="../../../../classes/Thin/StopServer.html" title="Class: Thin::StopServer">Thin::StopServer</a></li>
93
- <li><a href="../../../../classes/Thin/Response.html" title="Class: Thin::Response">Thin::Response</a></li>
94
- <li><a href="../../../../classes/Thin/Headers.html" title="Class: Thin::Headers">Thin::Headers</a></li>
95
- <li><a href="../../../../classes/Thin/Server.html" title="Class: Thin::Server">Thin::Server</a></li>
96
- <li><a href="../../../../classes/Thin/Request.html" title="Class: Thin::Request">Thin::Request</a></li>
97
- <li><a href="../../../../classes/Thin/Connection.html" title="Class: Thin::Connection">Thin::Connection</a></li>
98
- <li><a href="../../../../classes/Thin/Cluster.html" title="Class: Thin::Cluster">Thin::Cluster</a></li>
99
- <li><a href="../../../../classes/Process.html" title="Module: Process">Process</a></li>
100
- </ul>
101
- </div>
102
- <div id="container">
103
- <div id="header">
104
- <a href="/thin/" title="Home">
105
- <img id="logo" src="../../../../logo.gif" />
106
- </a>
107
- <h2 id="tag_line">A fast and very simple Ruby web server</h2>
108
- </div>
109
-
110
- <div id="content">
111
- <h2>File: rails.rb</h2>
112
-
113
- <div id="lib/rack/adapter/rails.rb" class="page_shade">
114
- <div class="page">
115
- <div class="header">
116
- <div class="path">lib/rack/adapter/rails.rb / Fri Jan 18 08:37:21 -0700 2008</div>
117
- </div>
118
-
119
- <p>
120
- This as been submitted to <a href="../../../../classes/Rack.html">Rack</a>
121
- as a patch, tested and everything. Bug Christian Neukirchen at
122
- chneukirchen@gmail.com to apply the patch!
123
- </p>
124
-
125
-
126
- <strong>Requires:</strong>
127
- cgi
128
- dispatcher
129
- </ul>
130
-
131
-
132
-
133
-
134
-
135
- </div>
136
- </div>
137
-
138
-
139
- </div>
140
- </div>
141
- <div id="footer">
142
- <hr />
143
- &copy; <a href="http://macournoyer.com">Marc-Andr&eacute; Cournoyer</a>
144
- </div>
145
- </body>
146
- </html>
@@ -1,146 +0,0 @@
1
-
2
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3
- <html>
4
- <head>
5
- <title>
6
- thin &raquo; File: thin.rb
7
- </title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
10
- <script language="JavaScript" type="text/javascript">
11
- // <![CDATA[
12
-
13
- function toggleSource( id )
14
- {
15
- var elem
16
- var link
17
-
18
- if( document.getElementById )
19
- {
20
- elem = document.getElementById( id )
21
- link = document.getElementById( "l_" + id )
22
- }
23
- else if ( document.all )
24
- {
25
- elem = eval( "document.all." + id )
26
- link = eval( "document.all.l_" + id )
27
- }
28
- else
29
- return false;
30
-
31
- if( elem.style.display == "block" )
32
- {
33
- elem.style.display = "none"
34
- link.innerHTML = "show source"
35
- }
36
- else
37
- {
38
- elem.style.display = "block"
39
- link.innerHTML = "hide source"
40
- }
41
- }
42
-
43
- function openCode( url )
44
- {
45
- window.open( url, "SOURCE_CODE", "width=400,height=400,scrollbars=yes" )
46
- }
47
- // ]]>
48
- </script>
49
- </head>
50
- <body>
51
- <ul id="menu">
52
- <li><a href="/thin/">about</a></li>
53
- <li><a href="/thin/download/">download</a></li>
54
- <li><a href="/thin/usage/">usage</a></li>
55
- <li><a href="/thin/doc/">doc</a></li>
56
- <li><a href="http://groups.google.com/group/thin-ruby/">community</a></li>
57
- </ul>
58
- <div id="sidebar">
59
- <h2>Files</h2>
60
- <ul class="list">
61
- <li><a href="../../../../files/README.html" value="File: README">README</a></li>
62
- <li><a href="../../../../files/lib/rack/adapter/rails_rb.html" value="File: rails.rb">lib/rack/adapter/rails.rb</a></li>
63
- <li><a href="../../../../files/lib/rack/handler/thin_rb.html" value="File: thin.rb">lib/rack/handler/thin.rb</a></li>
64
- <li><a href="../../../../files/lib/thin/cluster_rb.html" value="File: cluster.rb">lib/thin/cluster.rb</a></li>
65
- <li><a href="../../../../files/lib/thin/connection_rb.html" value="File: connection.rb">lib/thin/connection.rb</a></li>
66
- <li><a href="../../../../files/lib/thin/daemonizing_rb.html" value="File: daemonizing.rb">lib/thin/daemonizing.rb</a></li>
67
- <li><a href="../../../../files/lib/thin/headers_rb.html" value="File: headers.rb">lib/thin/headers.rb</a></li>
68
- <li><a href="../../../../files/lib/thin/logging_rb.html" value="File: logging.rb">lib/thin/logging.rb</a></li>
69
- <li><a href="../../../../files/lib/thin/request_rb.html" value="File: request.rb">lib/thin/request.rb</a></li>
70
- <li><a href="../../../../files/lib/thin/response_rb.html" value="File: response.rb">lib/thin/response.rb</a></li>
71
- <li><a href="../../../../files/lib/thin/server_rb.html" value="File: server.rb">lib/thin/server.rb</a></li>
72
- <li><a href="../../../../files/lib/thin/statuses_rb.html" value="File: statuses.rb">lib/thin/statuses.rb</a></li>
73
- <li><a href="../../../../files/lib/thin/version_rb.html" value="File: version.rb">lib/thin/version.rb</a></li>
74
- <li><a href="../../../../files/lib/thin_rb.html" value="File: thin.rb">lib/thin.rb</a></li>
75
- <li><a href="../../../../files/bin/thin.html" value="File: thin">bin/thin</a></li>
76
- </ul>
77
-
78
- <h2>Classes</h2>
79
- <ul class="list">
80
- <li><a href="../../../../classes/Rack.html" title="Module: Rack">Rack</a></li>
81
- <li><a href="../../../../classes/Rack/Adapter.html" title="Module: Rack::Adapter">Rack::Adapter</a></li>
82
- <li><a href="../../../../classes/Rack/Adapter/Rails.html" title="Class: Rack::Adapter::Rails">Rack::Adapter::Rails</a></li>
83
- <li><a href="../../../../classes/Rack/Adapter/Rails/CGIWrapper.html" title="Class: Rack::Adapter::Rails::CGIWrapper">Rack::Adapter::Rails::CGIWrapper</a></li>
84
- <li><a href="../../../../classes/Rack/Handler.html" title="Module: Rack::Handler">Rack::Handler</a></li>
85
- <li><a href="../../../../classes/Rack/Handler/Thin.html" title="Class: Rack::Handler::Thin">Rack::Handler::Thin</a></li>
86
- <li><a href="../../../../classes/Thin.html" title="Module: Thin">Thin</a></li>
87
- <li><a href="../../../../classes/Thin/Daemonizable.html" title="Module: Thin::Daemonizable">Thin::Daemonizable</a></li>
88
- <li><a href="../../../../classes/Thin/Daemonizable/ClassMethods.html" title="Module: Thin::Daemonizable::ClassMethods">Thin::Daemonizable::ClassMethods</a></li>
89
- <li><a href="../../../../classes/Thin/VERSION.html" title="Module: Thin::VERSION">Thin::VERSION</a></li>
90
- <li><a href="../../../../classes/Thin/Logging.html" title="Module: Thin::Logging">Thin::Logging</a></li>
91
- <li><a href="../../../../classes/Thin/InvalidRequest.html" title="Class: Thin::InvalidRequest">Thin::InvalidRequest</a></li>
92
- <li><a href="../../../../classes/Thin/StopServer.html" title="Class: Thin::StopServer">Thin::StopServer</a></li>
93
- <li><a href="../../../../classes/Thin/Response.html" title="Class: Thin::Response">Thin::Response</a></li>
94
- <li><a href="../../../../classes/Thin/Headers.html" title="Class: Thin::Headers">Thin::Headers</a></li>
95
- <li><a href="../../../../classes/Thin/Server.html" title="Class: Thin::Server">Thin::Server</a></li>
96
- <li><a href="../../../../classes/Thin/Request.html" title="Class: Thin::Request">Thin::Request</a></li>
97
- <li><a href="../../../../classes/Thin/Connection.html" title="Class: Thin::Connection">Thin::Connection</a></li>
98
- <li><a href="../../../../classes/Thin/Cluster.html" title="Class: Thin::Cluster">Thin::Cluster</a></li>
99
- <li><a href="../../../../classes/Process.html" title="Module: Process">Process</a></li>
100
- </ul>
101
- </div>
102
- <div id="container">
103
- <div id="header">
104
- <a href="/thin/" title="Home">
105
- <img id="logo" src="../../../../logo.gif" />
106
- </a>
107
- <h2 id="tag_line">A fast and very simple Ruby web server</h2>
108
- </div>
109
-
110
- <div id="content">
111
- <h2>File: thin.rb</h2>
112
-
113
- <div id="lib/rack/handler/thin.rb" class="page_shade">
114
- <div class="page">
115
- <div class="header">
116
- <div class="path">lib/rack/handler/thin.rb / Fri Jan 18 08:37:21 -0700 2008</div>
117
- </div>
118
-
119
- <p>
120
- This as been submitted to <a href="../../../../classes/Rack.html">Rack</a>
121
- as a patch, tested and everything. Bug Christian Neukirchen at
122
- chneukirchen@gmail.com to apply the patch!
123
- </p>
124
-
125
-
126
- <strong>Requires:</strong>
127
- cgi
128
- dispatcher
129
- </ul>
130
-
131
-
132
-
133
-
134
-
135
- </div>
136
- </div>
137
-
138
-
139
- </div>
140
- </div>
141
- <div id="footer">
142
- <hr />
143
- &copy; <a href="http://macournoyer.com">Marc-Andr&eacute; Cournoyer</a>
144
- </div>
145
- </body>
146
- </html>