thin 0.5.3-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.
- data/CHANGELOG +40 -0
- data/COPYING +18 -0
- data/README +60 -0
- data/Rakefile +11 -0
- data/benchmark/simple.rb +48 -0
- data/bin/thin +123 -0
- data/doc/benchmarks.txt +86 -0
- data/doc/rdoc/classes/Process.html +181 -0
- data/doc/rdoc/classes/Rack.html +156 -0
- data/doc/rdoc/classes/Rack/Adapter.html +155 -0
- data/doc/rdoc/classes/Rack/Adapter/Rails.html +289 -0
- data/doc/rdoc/classes/Rack/Adapter/Rails/CGIWrapper.html +359 -0
- data/doc/rdoc/classes/Rack/Handler.html +155 -0
- data/doc/rdoc/classes/Rack/Handler/Thin.html +175 -0
- data/doc/rdoc/classes/Thin.html +164 -0
- data/doc/rdoc/classes/Thin/Cluster.html +399 -0
- data/doc/rdoc/classes/Thin/Connection.html +223 -0
- data/doc/rdoc/classes/Thin/Daemonizable.html +260 -0
- data/doc/rdoc/classes/Thin/Daemonizable/ClassMethods.html +197 -0
- data/doc/rdoc/classes/Thin/Headers.html +238 -0
- data/doc/rdoc/classes/Thin/InvalidRequest.html +144 -0
- data/doc/rdoc/classes/Thin/Logging.html +201 -0
- data/doc/rdoc/classes/Thin/Request.html +231 -0
- data/doc/rdoc/classes/Thin/Response.html +271 -0
- data/doc/rdoc/classes/Thin/Server.html +295 -0
- data/doc/rdoc/classes/Thin/StopServer.html +143 -0
- data/doc/rdoc/created.rid +1 -0
- data/doc/rdoc/files/README.html +226 -0
- data/doc/rdoc/files/bin/thin.html +245 -0
- data/doc/rdoc/files/lib/rack/adapter/rails_rb.html +146 -0
- data/doc/rdoc/files/lib/rack/handler/thin_rb.html +146 -0
- data/doc/rdoc/files/lib/thin/cluster_rb.html +146 -0
- data/doc/rdoc/files/lib/thin/connection_rb.html +145 -0
- data/doc/rdoc/files/lib/thin/daemonizing_rb.html +146 -0
- data/doc/rdoc/files/lib/thin/headers_rb.html +146 -0
- data/doc/rdoc/files/lib/thin/logging_rb.html +146 -0
- data/doc/rdoc/files/lib/thin/request_rb.html +145 -0
- data/doc/rdoc/files/lib/thin/response_rb.html +145 -0
- data/doc/rdoc/files/lib/thin/server_rb.html +145 -0
- data/doc/rdoc/files/lib/thin/statuses_rb.html +145 -0
- data/doc/rdoc/files/lib/thin/version_rb.html +145 -0
- data/doc/rdoc/files/lib/thin_rb.html +152 -0
- data/doc/rdoc/index.html +10 -0
- data/doc/rdoc/logo.gif +0 -0
- data/doc/rdoc/rdoc-style.css +55 -0
- data/example/config.ru +9 -0
- data/example/thin.god +72 -0
- data/ext/thin_parser/common.rl +54 -0
- data/ext/thin_parser/ext_help.h +14 -0
- data/ext/thin_parser/extconf.rb +6 -0
- data/ext/thin_parser/parser.c +1199 -0
- data/ext/thin_parser/parser.h +49 -0
- data/ext/thin_parser/parser.rl +143 -0
- data/ext/thin_parser/thin.c +424 -0
- data/lib/rack/adapter/rails.rb +155 -0
- data/lib/rack/handler/thin.rb +13 -0
- data/lib/thin.rb +36 -0
- data/lib/thin/cluster.rb +106 -0
- data/lib/thin/connection.rb +46 -0
- data/lib/thin/daemonizing.rb +112 -0
- data/lib/thin/headers.rb +37 -0
- data/lib/thin/logging.rb +23 -0
- data/lib/thin/request.rb +72 -0
- data/lib/thin/response.rb +48 -0
- data/lib/thin/server.rb +80 -0
- data/lib/thin/statuses.rb +43 -0
- data/lib/thin/version.rb +11 -0
- data/lib/thin_parser.so +0 -0
- data/spec/cluster_spec.rb +58 -0
- data/spec/daemonizing_spec.rb +93 -0
- data/spec/headers_spec.rb +35 -0
- data/spec/rack_rails_spec.rb +92 -0
- data/spec/rails_app/app/controllers/application.rb +10 -0
- data/spec/rails_app/app/controllers/simple_controller.rb +19 -0
- data/spec/rails_app/app/helpers/application_helper.rb +3 -0
- data/spec/rails_app/app/views/simple/index.html.erb +15 -0
- data/spec/rails_app/config/boot.rb +109 -0
- data/spec/rails_app/config/environment.rb +64 -0
- data/spec/rails_app/config/environments/development.rb +18 -0
- data/spec/rails_app/config/environments/production.rb +19 -0
- data/spec/rails_app/config/environments/test.rb +22 -0
- data/spec/rails_app/config/initializers/inflections.rb +10 -0
- data/spec/rails_app/config/initializers/mime_types.rb +5 -0
- data/spec/rails_app/config/routes.rb +35 -0
- data/spec/rails_app/public/404.html +30 -0
- data/spec/rails_app/public/422.html +30 -0
- data/spec/rails_app/public/500.html +30 -0
- data/spec/rails_app/public/dispatch.cgi +10 -0
- data/spec/rails_app/public/dispatch.fcgi +24 -0
- data/spec/rails_app/public/dispatch.rb +10 -0
- data/spec/rails_app/public/favicon.ico +0 -0
- data/spec/rails_app/public/images/rails.png +0 -0
- data/spec/rails_app/public/index.html +277 -0
- data/spec/rails_app/public/javascripts/application.js +2 -0
- data/spec/rails_app/public/javascripts/controls.js +963 -0
- data/spec/rails_app/public/javascripts/dragdrop.js +972 -0
- data/spec/rails_app/public/javascripts/effects.js +1120 -0
- data/spec/rails_app/public/javascripts/prototype.js +4225 -0
- data/spec/rails_app/public/robots.txt +5 -0
- data/spec/rails_app/script/about +3 -0
- data/spec/rails_app/script/console +3 -0
- data/spec/rails_app/script/destroy +3 -0
- data/spec/rails_app/script/generate +3 -0
- data/spec/rails_app/script/performance/benchmarker +3 -0
- data/spec/rails_app/script/performance/profiler +3 -0
- data/spec/rails_app/script/performance/request +3 -0
- data/spec/rails_app/script/plugin +3 -0
- data/spec/rails_app/script/process/inspector +3 -0
- data/spec/rails_app/script/process/reaper +3 -0
- data/spec/rails_app/script/process/spawner +3 -0
- data/spec/rails_app/script/runner +3 -0
- data/spec/rails_app/script/server +3 -0
- data/spec/request_spec.rb +258 -0
- data/spec/response_spec.rb +56 -0
- data/spec/server_spec.rb +75 -0
- data/spec/spec_helper.rb +127 -0
- metadata +219 -0
@@ -0,0 +1,146 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
thin » File: cluster.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: cluster.rb</h2>
|
112
|
+
|
113
|
+
<div id="lib/thin/cluster.rb" class="page_shade">
|
114
|
+
<div class="page">
|
115
|
+
<div class="header">
|
116
|
+
<div class="path">lib/thin/cluster.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
|
+
© <a href="http://macournoyer.com">Marc-André Cournoyer</a>
|
144
|
+
</div>
|
145
|
+
</body>
|
146
|
+
</html>
|
@@ -0,0 +1,145 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
thin » File: connection.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: connection.rb</h2>
|
112
|
+
|
113
|
+
<div id="lib/thin/connection.rb" class="page_shade">
|
114
|
+
<div class="page">
|
115
|
+
<div class="header">
|
116
|
+
<div class="path">lib/thin/connection.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
|
+
socket
|
128
|
+
</ul>
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
|
138
|
+
</div>
|
139
|
+
</div>
|
140
|
+
<div id="footer">
|
141
|
+
<hr />
|
142
|
+
© <a href="http://macournoyer.com">Marc-André Cournoyer</a>
|
143
|
+
</div>
|
144
|
+
</body>
|
145
|
+
</html>
|
@@ -0,0 +1,146 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
thin » File: daemonizing.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: daemonizing.rb</h2>
|
112
|
+
|
113
|
+
<div id="lib/thin/daemonizing.rb" class="page_shade">
|
114
|
+
<div class="page">
|
115
|
+
<div class="header">
|
116
|
+
<div class="path">lib/thin/daemonizing.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
|
+
etc
|
128
|
+
daemons
|
129
|
+
</ul>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
<div id="footer">
|
142
|
+
<hr />
|
143
|
+
© <a href="http://macournoyer.com">Marc-André Cournoyer</a>
|
144
|
+
</div>
|
145
|
+
</body>
|
146
|
+
</html>
|
@@ -0,0 +1,146 @@
|
|
1
|
+
|
2
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
3
|
+
<html>
|
4
|
+
<head>
|
5
|
+
<title>
|
6
|
+
thin » File: headers.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: headers.rb</h2>
|
112
|
+
|
113
|
+
<div id="lib/thin/headers.rb" class="page_shade">
|
114
|
+
<div class="page">
|
115
|
+
<div class="header">
|
116
|
+
<div class="path">lib/thin/headers.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
|
+
etc
|
128
|
+
daemons
|
129
|
+
</ul>
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
</div>
|
136
|
+
</div>
|
137
|
+
|
138
|
+
|
139
|
+
</div>
|
140
|
+
</div>
|
141
|
+
<div id="footer">
|
142
|
+
<hr />
|
143
|
+
© <a href="http://macournoyer.com">Marc-André Cournoyer</a>
|
144
|
+
</div>
|
145
|
+
</body>
|
146
|
+
</html>
|