passenger 2.2.7 → 2.2.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- data/NEWS +40 -0
- data/Rakefile +1 -1
- data/bin/passenger-install-apache2-module +1 -0
- data/bin/passenger-install-nginx-module +2 -0
- data/doc/Architectural overview.html +173 -138
- data/doc/Security of user switching support.html +147 -109
- data/doc/Users guide Apache.html +4 -43
- data/doc/Users guide Nginx.html +4 -43
- data/doc/cxxapi/Bucket_8h-source.html +1 -1
- data/doc/cxxapi/Configuration_8h-source.html +1 -1
- data/doc/cxxapi/DirectoryMapper_8h-source.html +1 -1
- data/doc/cxxapi/Hooks_8h-source.html +1 -1
- data/doc/cxxapi/annotated.html +1 -1
- data/doc/cxxapi/classHooks-members.html +1 -1
- data/doc/cxxapi/classHooks.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DirectoryMapper-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DirectoryMapper.html +1 -1
- data/doc/cxxapi/classes.html +1 -1
- data/doc/cxxapi/definitions_8h-source.html +1 -1
- data/doc/cxxapi/files.html +1 -1
- data/doc/cxxapi/functions.html +1 -1
- data/doc/cxxapi/functions_func.html +1 -1
- data/doc/cxxapi/graph_legend.html +1 -1
- data/doc/cxxapi/group__Configuration.html +1 -1
- data/doc/cxxapi/group__Core.html +1 -1
- data/doc/cxxapi/group__Hooks.html +1 -1
- data/doc/cxxapi/group__Support.html +1 -1
- data/doc/cxxapi/main.html +1 -1
- data/doc/cxxapi/modules.html +1 -1
- data/doc/rdoc/classes/GC.html +4 -4
- data/doc/rdoc/classes/PhusionPassenger.html +2 -1
- data/doc/rdoc/classes/PhusionPassenger/AbstractInstaller.html +8 -8
- data/doc/rdoc/classes/PhusionPassenger/AbstractRequestHandler.html +26 -26
- data/doc/rdoc/classes/PhusionPassenger/AbstractServer.html +98 -98
- data/doc/rdoc/classes/PhusionPassenger/AbstractServerCollection.html +61 -61
- data/doc/rdoc/classes/PhusionPassenger/AppInitError.html +4 -4
- data/doc/rdoc/classes/PhusionPassenger/Application.html +14 -14
- data/doc/rdoc/classes/PhusionPassenger/ConsoleTextTemplate.html +12 -12
- data/doc/rdoc/classes/PhusionPassenger/FrameworkInitError.html +4 -4
- data/doc/rdoc/classes/PhusionPassenger/HTMLTemplate.html +12 -12
- data/doc/rdoc/classes/PhusionPassenger/InitializationError.html +5 -5
- data/doc/rdoc/classes/PhusionPassenger/MessageChannel.html +42 -42
- data/doc/rdoc/classes/PhusionPassenger/Rack/ApplicationSpawner.html +33 -33
- data/doc/rdoc/classes/PhusionPassenger/Rack/RequestHandler.html +59 -59
- data/doc/rdoc/classes/PhusionPassenger/Railz/ApplicationSpawner.html +3 -3
- data/doc/rdoc/classes/PhusionPassenger/Railz/FrameworkSpawner.html +7 -7
- data/doc/rdoc/classes/PhusionPassenger/SpawnManager.html +23 -23
- data/doc/rdoc/classes/PhusionPassenger/UnknownError.html +4 -4
- data/doc/rdoc/classes/PhusionPassenger/Utils.html +2 -0
- data/doc/rdoc/classes/PhusionPassenger/Utils/PseudoIO.html +16 -16
- data/doc/rdoc/classes/PhusionPassenger/VersionNotFound.html +4 -4
- data/doc/rdoc/classes/PlatformInfo.html +1 -1
- data/doc/rdoc/classes/Signal.html +23 -15
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/DEVELOPERS_TXT.html +1 -1
- data/doc/rdoc/files/README.html +1 -1
- data/doc/rdoc/files/ext/phusion_passenger/native_support_c.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/abstract_installer_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/abstract_request_handler_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/abstract_server_collection_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/abstract_server_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/admin_tools/control_process_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/admin_tools_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/application_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/console_text_template_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/constants_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/dependencies_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/events_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/exceptions_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/html_template_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/message_channel_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/packaging_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/platform_info_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/rack/application_spawner_rb.html +2 -2
- data/doc/rdoc/files/lib/phusion_passenger/rack/request_handler_rb.html +2 -2
- data/doc/rdoc/files/lib/phusion_passenger/railz/application_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/railz/cgi_fixed_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/railz/framework_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/railz/request_handler_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/simple_benchmarking_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/spawn_manager_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/utils_rb.html +9 -9
- data/doc/rdoc/files/lib/phusion_passenger/wsgi/application_spawner_rb.html +1 -1
- data/doc/rdoc/files/misc/rake/extensions_rb.html +1 -1
- data/doc/rdoc/fr_class_index.html +2 -0
- data/doc/rdoc/fr_file_index.html +1 -0
- data/doc/rdoc/fr_method_index.html +79 -72
- data/ext/apache2/Hooks.cpp +4 -2
- data/ext/common/StandardApplicationPool.h +4 -2
- data/ext/common/Version.h +1 -1
- data/ext/nginx/Configuration.c +1 -1
- data/ext/oxt/system_calls.cpp +11 -0
- data/ext/oxt/system_calls.hpp +2 -1
- data/ext/oxt/thread.hpp +97 -1
- data/lib/phusion_passenger/constants.rb +1 -1
- data/lib/phusion_passenger/dependencies.rb +32 -0
- data/lib/phusion_passenger/platform_info.rb +1 -1
- data/lib/phusion_passenger/rack/application_spawner.rb +4 -4
- data/lib/phusion_passenger/rack/request_handler.rb +2 -5
- data/lib/phusion_passenger/railz/application_spawner.rb +13 -2
- data/lib/phusion_passenger/utils.rb +12 -4
- data/{vendor/rack-1.0.0-git/lib/rack → lib/phusion_passenger/utils}/rewindable_input.rb +19 -3
- data/test/ApplicationPoolTest.cpp +1 -1
- metadata +13 -59
- data/vendor/README +0 -13
- data/vendor/README_FOR_PACKAGERS +0 -1
- data/vendor/rack-1.0.0-git/COPYING +0 -18
- data/vendor/rack-1.0.0-git/KNOWN-ISSUES +0 -18
- data/vendor/rack-1.0.0-git/README +0 -353
- data/vendor/rack-1.0.0-git/Rakefile +0 -164
- data/vendor/rack-1.0.0-git/lib/rack.rb +0 -90
- data/vendor/rack-1.0.0-git/lib/rack/adapter/camping.rb +0 -22
- data/vendor/rack-1.0.0-git/lib/rack/auth/abstract/handler.rb +0 -37
- data/vendor/rack-1.0.0-git/lib/rack/auth/abstract/request.rb +0 -37
- data/vendor/rack-1.0.0-git/lib/rack/auth/basic.rb +0 -58
- data/vendor/rack-1.0.0-git/lib/rack/auth/digest/md5.rb +0 -124
- data/vendor/rack-1.0.0-git/lib/rack/auth/digest/nonce.rb +0 -51
- data/vendor/rack-1.0.0-git/lib/rack/auth/digest/params.rb +0 -55
- data/vendor/rack-1.0.0-git/lib/rack/auth/digest/request.rb +0 -40
- data/vendor/rack-1.0.0-git/lib/rack/auth/openid.rb +0 -487
- data/vendor/rack-1.0.0-git/lib/rack/builder.rb +0 -63
- data/vendor/rack-1.0.0-git/lib/rack/cascade.rb +0 -41
- data/vendor/rack-1.0.0-git/lib/rack/chunked.rb +0 -49
- data/vendor/rack-1.0.0-git/lib/rack/commonlogger.rb +0 -52
- data/vendor/rack-1.0.0-git/lib/rack/conditionalget.rb +0 -47
- data/vendor/rack-1.0.0-git/lib/rack/content_length.rb +0 -29
- data/vendor/rack-1.0.0-git/lib/rack/content_type.rb +0 -23
- data/vendor/rack-1.0.0-git/lib/rack/deflater.rb +0 -96
- data/vendor/rack-1.0.0-git/lib/rack/directory.rb +0 -153
- data/vendor/rack-1.0.0-git/lib/rack/file.rb +0 -88
- data/vendor/rack-1.0.0-git/lib/rack/handler.rb +0 -69
- data/vendor/rack-1.0.0-git/lib/rack/handler/cgi.rb +0 -61
- data/vendor/rack-1.0.0-git/lib/rack/handler/evented_mongrel.rb +0 -8
- data/vendor/rack-1.0.0-git/lib/rack/handler/fastcgi.rb +0 -88
- data/vendor/rack-1.0.0-git/lib/rack/handler/lsws.rb +0 -55
- data/vendor/rack-1.0.0-git/lib/rack/handler/mongrel.rb +0 -84
- data/vendor/rack-1.0.0-git/lib/rack/handler/scgi.rb +0 -59
- data/vendor/rack-1.0.0-git/lib/rack/handler/swiftiplied_mongrel.rb +0 -8
- data/vendor/rack-1.0.0-git/lib/rack/handler/thin.rb +0 -18
- data/vendor/rack-1.0.0-git/lib/rack/handler/webrick.rb +0 -67
- data/vendor/rack-1.0.0-git/lib/rack/head.rb +0 -19
- data/vendor/rack-1.0.0-git/lib/rack/lint.rb +0 -537
- data/vendor/rack-1.0.0-git/lib/rack/lobster.rb +0 -65
- data/vendor/rack-1.0.0-git/lib/rack/lock.rb +0 -16
- data/vendor/rack-1.0.0-git/lib/rack/methodoverride.rb +0 -27
- data/vendor/rack-1.0.0-git/lib/rack/mime.rb +0 -204
- data/vendor/rack-1.0.0-git/lib/rack/mock.rb +0 -184
- data/vendor/rack-1.0.0-git/lib/rack/recursive.rb +0 -57
- data/vendor/rack-1.0.0-git/lib/rack/reloader.rb +0 -106
- data/vendor/rack-1.0.0-git/lib/rack/request.rb +0 -248
- data/vendor/rack-1.0.0-git/lib/rack/response.rb +0 -183
- data/vendor/rack-1.0.0-git/lib/rack/session/abstract/id.rb +0 -142
- data/vendor/rack-1.0.0-git/lib/rack/session/cookie.rb +0 -91
- data/vendor/rack-1.0.0-git/lib/rack/session/memcache.rb +0 -109
- data/vendor/rack-1.0.0-git/lib/rack/session/pool.rb +0 -100
- data/vendor/rack-1.0.0-git/lib/rack/showexceptions.rb +0 -349
- data/vendor/rack-1.0.0-git/lib/rack/showstatus.rb +0 -106
- data/vendor/rack-1.0.0-git/lib/rack/static.rb +0 -38
- data/vendor/rack-1.0.0-git/lib/rack/urlmap.rb +0 -55
- data/vendor/rack-1.0.0-git/lib/rack/utils.rb +0 -522
@@ -90,9 +90,9 @@ multiple different Ruby on Rails applications.
|
|
90
90
|
<p>
|
91
91
|
<b>Note</b>: <a href="ApplicationSpawner.html">ApplicationSpawner</a> may
|
92
92
|
only be started asynchronously with <a
|
93
|
-
href="../AbstractServer.html#
|
93
|
+
href="../AbstractServer.html#M000127">AbstractServer#start</a>. Starting it
|
94
94
|
synchronously with <a
|
95
|
-
href="../AbstractServer.html#
|
95
|
+
href="../AbstractServer.html#M000128">AbstractServer#start_synchronously</a>
|
96
96
|
has not been tested.
|
97
97
|
</p>
|
98
98
|
</div>
|
@@ -392,7 +392,7 @@ application raised an exception or called exit() during startup.
|
|
392
392
|
<div class="description">
|
393
393
|
<p>
|
394
394
|
Overrided from <a
|
395
|
-
href="../AbstractServer.html#
|
395
|
+
href="../AbstractServer.html#M000127">AbstractServer#start</a>.
|
396
396
|
</p>
|
397
397
|
<p>
|
398
398
|
May raise these additional exceptions:
|
@@ -95,9 +95,9 @@ href="ApplicationSpawner.html">ApplicationSpawner</a> internally.
|
|
95
95
|
<p>
|
96
96
|
<b>Note</b>: <a href="FrameworkSpawner.html">FrameworkSpawner</a> may only
|
97
97
|
be started asynchronously with <a
|
98
|
-
href="../AbstractServer.html#
|
98
|
+
href="../AbstractServer.html#M000127">AbstractServer#start</a>. Starting it
|
99
99
|
synchronously with <a
|
100
|
-
href="../AbstractServer.html#
|
100
|
+
href="../AbstractServer.html#M000128">AbstractServer#start_synchronously</a>
|
101
101
|
has not been tested.
|
102
102
|
</p>
|
103
103
|
</div>
|
@@ -165,8 +165,8 @@ Note that the specified Rails framework will be loaded during the entire
|
|
165
165
|
life time of the <a href="FrameworkSpawner.html">FrameworkSpawner</a>
|
166
166
|
server. If you wish to <a href="FrameworkSpawner.html#M000063">reload</a>
|
167
167
|
the Rails framework‘s code, then restart the server by calling <a
|
168
|
-
href="../AbstractServer.html#
|
169
|
-
href="../AbstractServer.html#
|
168
|
+
href="../AbstractServer.html#M000129">AbstractServer#stop</a> and <a
|
169
|
+
href="../AbstractServer.html#M000127">AbstractServer#start</a>.
|
170
170
|
</p>
|
171
171
|
</div>
|
172
172
|
<div class="sourcecode">
|
@@ -279,8 +279,8 @@ you must do one of these things:
|
|
279
279
|
</p>
|
280
280
|
<ul>
|
281
281
|
<li>Restart this <a href="FrameworkSpawner.html">FrameworkSpawner</a> by
|
282
|
-
calling <a href="../AbstractServer.html#
|
283
|
-
then <a href="../AbstractServer.html#
|
282
|
+
calling <a href="../AbstractServer.html#M000129">AbstractServer#stop</a>,
|
283
|
+
then <a href="../AbstractServer.html#M000127">AbstractServer#start</a>.
|
284
284
|
|
285
285
|
</li>
|
286
286
|
<li>Reload the application by calling <a
|
@@ -372,7 +372,7 @@ unexpectedly.
|
|
372
372
|
<div class="description">
|
373
373
|
<p>
|
374
374
|
Overrided from <a
|
375
|
-
href="../AbstractServer.html#
|
375
|
+
href="../AbstractServer.html#M000127">AbstractServer#start</a>.
|
376
376
|
</p>
|
377
377
|
<p>
|
378
378
|
May raise these additional exceptions:
|
@@ -85,9 +85,9 @@ fascade for the rest of the spawn manager system.
|
|
85
85
|
<p>
|
86
86
|
<b>Note</b>: <a href="SpawnManager.html">SpawnManager</a> may only be
|
87
87
|
started synchronously with <a
|
88
|
-
href="AbstractServer.html#
|
88
|
+
href="AbstractServer.html#M000128">AbstractServer#start_synchronously</a>.
|
89
89
|
Starting asynchronously has not been tested. Don‘t forget to call <a
|
90
|
-
href="SpawnManager.html#
|
90
|
+
href="SpawnManager.html#M000160">cleanup</a> after the server‘s main
|
91
91
|
loop has finished.
|
92
92
|
</p>
|
93
93
|
<h2>Ruby on Rails optimizations</h2>
|
@@ -116,10 +116,10 @@ work around an obscure bug in ActiveSupport‘s Dispatcher.
|
|
116
116
|
|
117
117
|
<div class="sectiontitle">Methods</div>
|
118
118
|
<ul>
|
119
|
-
<li><a href="#
|
120
|
-
<li><a href="#
|
121
|
-
<li><a href="#
|
122
|
-
<li><a href="#
|
119
|
+
<li><a href="#M000160">cleanup</a></li>
|
120
|
+
<li><a href="#M000157">new</a></li>
|
121
|
+
<li><a href="#M000159">reload</a></li>
|
122
|
+
<li><a href="#M000158">spawn_application</a></li>
|
123
123
|
</ul>
|
124
124
|
|
125
125
|
<div class="sectiontitle">Included Modules</div>
|
@@ -134,11 +134,11 @@ work around an obscure bug in ActiveSupport‘s Dispatcher.
|
|
134
134
|
<div class="sectiontitle">Public Class methods</div>
|
135
135
|
<div class="method">
|
136
136
|
<div class="title">
|
137
|
-
<a name="
|
137
|
+
<a name="M000157"></a><b>new</b>()
|
138
138
|
</div>
|
139
139
|
<div class="sourcecode">
|
140
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
141
|
-
<div id="
|
140
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">show source</a> ]</p>
|
141
|
+
<div id="M000157_source" class="dyn-source">
|
142
142
|
<pre>
|
143
143
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/spawn_manager.rb, line 61</span>
|
144
144
|
61: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
|
@@ -180,7 +180,7 @@ work around an obscure bug in ActiveSupport‘s Dispatcher.
|
|
180
180
|
<div class="sectiontitle">Public Instance methods</div>
|
181
181
|
<div class="method">
|
182
182
|
<div class="title">
|
183
|
-
<a name="
|
183
|
+
<a name="M000160"></a><b>cleanup</b>()
|
184
184
|
</div>
|
185
185
|
<div class="description">
|
186
186
|
<p>
|
@@ -189,8 +189,8 @@ href="SpawnManager.html">SpawnManager</a> is no longer needed.
|
|
189
189
|
</p>
|
190
190
|
</div>
|
191
191
|
<div class="sourcecode">
|
192
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
193
|
-
<div id="
|
192
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000160_source')" id="l_M000160_source">show source</a> ]</p>
|
193
|
+
<div id="M000160_source" class="dyn-source">
|
194
194
|
<pre>
|
195
195
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/spawn_manager.rb, line 215</span>
|
196
196
|
215: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanup</span>
|
@@ -202,7 +202,7 @@ href="SpawnManager.html">SpawnManager</a> is no longer needed.
|
|
202
202
|
</div>
|
203
203
|
<div class="method">
|
204
204
|
<div class="title">
|
205
|
-
<a name="
|
205
|
+
<a name="M000159"></a><b>reload</b>(app_root = nil)
|
206
206
|
</div>
|
207
207
|
<div class="description">
|
208
208
|
<p>
|
@@ -213,8 +213,8 @@ will be removed, no matter the application root.
|
|
213
213
|
<p>
|
214
214
|
<b>Long description:</b> <a href="Application.html">Application</a> code
|
215
215
|
might be cached in memory. But once it a while, it will be necessary to <a
|
216
|
-
href="SpawnManager.html#
|
217
|
-
such as after deploying a <a href="SpawnManager.html#
|
216
|
+
href="SpawnManager.html#M000159">reload</a> the code for an application,
|
217
|
+
such as after deploying a <a href="SpawnManager.html#M000157">new</a>
|
218
218
|
version of the application. This method makes sure that any cached
|
219
219
|
application code is removed, so that the next time an application instance
|
220
220
|
is spawned, the application code will be freshly loaded into memory.
|
@@ -224,8 +224,8 @@ Raises AbstractServer::SpawnError if something went wrong.
|
|
224
224
|
</p>
|
225
225
|
</div>
|
226
226
|
<div class="sourcecode">
|
227
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
228
|
-
<div id="
|
227
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000159_source')" id="l_M000159_source">show source</a> ]</p>
|
228
|
+
<div id="M000159_source" class="dyn-source">
|
229
229
|
<pre>
|
230
230
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/spawn_manager.rb, line 188</span>
|
231
231
|
188: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">reload</span>(<span class="ruby-identifier">app_root</span> = <span class="ruby-keyword kw">nil</span>)
|
@@ -259,7 +259,7 @@ Raises AbstractServer::SpawnError if something went wrong.
|
|
259
259
|
</div>
|
260
260
|
<div class="method">
|
261
261
|
<div class="title">
|
262
|
-
<a name="
|
262
|
+
<a name="M000158"></a><b>spawn_application</b>(options)
|
263
263
|
</div>
|
264
264
|
<div class="description">
|
265
265
|
<p>
|
@@ -288,12 +288,12 @@ must do one of these things:
|
|
288
288
|
|
289
289
|
<ul>
|
290
290
|
<li>Restart this <a href="SpawnManager.html">SpawnManager</a> by calling <a
|
291
|
-
href="AbstractServer.html#
|
292
|
-
href="AbstractServer.html#
|
291
|
+
href="AbstractServer.html#M000129">AbstractServer#stop</a>, then <a
|
292
|
+
href="AbstractServer.html#M000127">AbstractServer#start</a>.
|
293
293
|
|
294
294
|
</li>
|
295
295
|
<li>Reload the application by calling <a
|
296
|
-
href="SpawnManager.html#
|
296
|
+
href="SpawnManager.html#M000159">reload</a> with the correct app_root
|
297
297
|
argument.
|
298
298
|
|
299
299
|
</li>
|
@@ -354,8 +354,8 @@ exception or called exit() during startup.
|
|
354
354
|
</ul>
|
355
355
|
</div>
|
356
356
|
<div class="sourcecode">
|
357
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
358
|
-
<div id="
|
357
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">show source</a> ]</p>
|
358
|
+
<div id="M000158_source" class="dyn-source">
|
359
359
|
<pre>
|
360
360
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/spawn_manager.rb, line 142</span>
|
361
361
|
142: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">spawn_application</span>(<span class="ruby-identifier">options</span>)
|
@@ -80,7 +80,7 @@ StandardError
|
|
80
80
|
|
81
81
|
<div class="sectiontitle">Methods</div>
|
82
82
|
<ul>
|
83
|
-
<li><a href="#
|
83
|
+
<li><a href="#M000162">new</a></li>
|
84
84
|
</ul>
|
85
85
|
|
86
86
|
|
@@ -101,11 +101,11 @@ StandardError
|
|
101
101
|
<div class="sectiontitle">Public Class methods</div>
|
102
102
|
<div class="method">
|
103
103
|
<div class="title">
|
104
|
-
<a name="
|
104
|
+
<a name="M000162"></a><b>new</b>(message, class_name, backtrace)
|
105
105
|
</div>
|
106
106
|
<div class="sourcecode">
|
107
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
108
|
-
<div id="
|
107
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000162_source')" id="l_M000162_source">show source</a> ]</p>
|
108
|
+
<div id="M000162_source" class="dyn-source">
|
109
109
|
<pre>
|
110
110
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/exceptions.rb, line 93</span>
|
111
111
|
93: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">class_name</span>, <span class="ruby-identifier">backtrace</span>)
|
@@ -58,6 +58,7 @@
|
|
58
58
|
<td>In:</td>
|
59
59
|
<td>
|
60
60
|
<a href="../../files/lib/phusion_passenger/utils_rb.html">lib/phusion_passenger/utils.rb</a>
|
61
|
+
<a href="../../files/lib/phusion_passenger/utils/rewindable_input_rb.html">lib/phusion_passenger/utils/rewindable_input.rb</a>
|
61
62
|
</td>
|
62
63
|
</tr>
|
63
64
|
</table>
|
@@ -104,6 +105,7 @@ Utility functions.
|
|
104
105
|
|
105
106
|
<div class="sectiontitle">Classes and Modules</div>
|
106
107
|
Class <a href="Utils/PseudoIO.html" class="link">PhusionPassenger::Utils::PseudoIO</a><br />
|
108
|
+
Class <a href="Utils/RewindableInput.html" class="link">PhusionPassenger::Utils::RewindableInput</a><br />
|
107
109
|
|
108
110
|
|
109
111
|
|
@@ -80,10 +80,10 @@ Object
|
|
80
80
|
|
81
81
|
<div class="sectiontitle">Methods</div>
|
82
82
|
<ul>
|
83
|
-
<li><a href="#
|
84
|
-
<li><a href="#
|
85
|
-
<li><a href="#
|
86
|
-
<li><a href="#
|
83
|
+
<li><a href="#M000103">done!</a></li>
|
84
|
+
<li><a href="#M000104">method_missing</a></li>
|
85
|
+
<li><a href="#M000102">new</a></li>
|
86
|
+
<li><a href="#M000105">respond_to?</a></li>
|
87
87
|
</ul>
|
88
88
|
|
89
89
|
|
@@ -94,11 +94,11 @@ Object
|
|
94
94
|
<div class="sectiontitle">Public Class methods</div>
|
95
95
|
<div class="method">
|
96
96
|
<div class="title">
|
97
|
-
<a name="
|
97
|
+
<a name="M000102"></a><b>new</b>(sink)
|
98
98
|
</div>
|
99
99
|
<div class="sourcecode">
|
100
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
101
|
-
<div id="
|
100
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000102_source')" id="l_M000102_source">show source</a> ]</p>
|
101
|
+
<div id="M000102_source" class="dyn-source">
|
102
102
|
<pre>
|
103
103
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 206</span>
|
104
104
|
206: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">sink</span>)
|
@@ -112,11 +112,11 @@ Object
|
|
112
112
|
<div class="sectiontitle">Public Instance methods</div>
|
113
113
|
<div class="method">
|
114
114
|
<div class="title">
|
115
|
-
<a name="
|
115
|
+
<a name="M000103"></a><b>done!</b>()
|
116
116
|
</div>
|
117
117
|
<div class="sourcecode">
|
118
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
119
|
-
<div id="
|
118
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000103_source')" id="l_M000103_source">show source</a> ]</p>
|
119
|
+
<div id="M000103_source" class="dyn-source">
|
120
120
|
<pre>
|
121
121
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 211</span>
|
122
122
|
211: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">done!</span>
|
@@ -130,11 +130,11 @@ Object
|
|
130
130
|
</div>
|
131
131
|
<div class="method">
|
132
132
|
<div class="title">
|
133
|
-
<a name="
|
133
|
+
<a name="M000104"></a><b>method_missing</b>(*args, &block)
|
134
134
|
</div>
|
135
135
|
<div class="sourcecode">
|
136
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
137
|
-
<div id="
|
136
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000104_source')" id="l_M000104_source">show source</a> ]</p>
|
137
|
+
<div id="M000104_source" class="dyn-source">
|
138
138
|
<pre>
|
139
139
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 217</span>
|
140
140
|
217: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">method_missing</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>, <span class="ruby-operator">&</span><span class="ruby-identifier">block</span>)
|
@@ -147,11 +147,11 @@ Object
|
|
147
147
|
</div>
|
148
148
|
<div class="method">
|
149
149
|
<div class="title">
|
150
|
-
<a name="
|
150
|
+
<a name="M000105"></a><b>respond_to?</b>(symbol, include_private = false)
|
151
151
|
</div>
|
152
152
|
<div class="sourcecode">
|
153
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
154
|
-
<div id="
|
153
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000105_source')" id="l_M000105_source">show source</a> ]</p>
|
154
|
+
<div id="M000105_source" class="dyn-source">
|
155
155
|
<pre>
|
156
156
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 222</span>
|
157
157
|
222: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">respond_to?</span>(<span class="ruby-identifier">symbol</span>, <span class="ruby-identifier">include_private</span> = <span class="ruby-keyword kw">false</span>)
|
@@ -85,7 +85,7 @@ given Ruby on Rails Gem version specification.
|
|
85
85
|
|
86
86
|
<div class="sectiontitle">Methods</div>
|
87
87
|
<ul>
|
88
|
-
<li><a href="#
|
88
|
+
<li><a href="#M000161">new</a></li>
|
89
89
|
</ul>
|
90
90
|
|
91
91
|
|
@@ -106,7 +106,7 @@ given Ruby on Rails Gem version specification.
|
|
106
106
|
<div class="sectiontitle">Public Class methods</div>
|
107
107
|
<div class="method">
|
108
108
|
<div class="title">
|
109
|
-
<a name="
|
109
|
+
<a name="M000161"></a><b>new</b>(message, gem_version_spec)
|
110
110
|
</div>
|
111
111
|
<div class="description">
|
112
112
|
<ul>
|
@@ -120,8 +120,8 @@ caused this error.
|
|
120
120
|
</ul>
|
121
121
|
</div>
|
122
122
|
<div class="sourcecode">
|
123
|
-
<p class="source-link">[ <a href="javascript:toggleSource('
|
124
|
-
<div id="
|
123
|
+
<p class="source-link">[ <a href="javascript:toggleSource('M000161_source')" id="l_M000161_source">show source</a> ]</p>
|
124
|
+
<div id="M000161_source" class="dyn-source">
|
125
125
|
<pre>
|
126
126
|
<span class="ruby-comment cmt"># File lib/phusion_passenger/exceptions.rb, line 33</span>
|
127
127
|
33: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">message</span>, <span class="ruby-identifier">gem_version_spec</span>)
|
@@ -776,7 +776,7 @@ the compiler.
|
|
776
776
|
346: <span class="ruby-identifier">flags</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'-DBOOST_HAS_STDINT_H -D_GLIBCPP__PTHREADS'</span>
|
777
777
|
347: <span class="ruby-keyword kw">elsif</span> <span class="ruby-constant">RUBY_PLATFORM</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/aix/</span>
|
778
778
|
348: <span class="ruby-identifier">flags</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'-DOXT_DISABLE_BACKTRACES'</span>
|
779
|
-
349: <span class="ruby-keyword kw">elsif</span> <span class="ruby-constant">RUBY_PLATFORM</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/(sparc-linux|arm-linux)/</span>
|
779
|
+
349: <span class="ruby-keyword kw">elsif</span> <span class="ruby-constant">RUBY_PLATFORM</span> <span class="ruby-operator">=~</span> <span class="ruby-regexp re">/(sparc-linux|arm-linux|sh4-linux)/</span>
|
780
780
|
350: <span class="ruby-comment cmt"># http://code.google.com/p/phusion-passenger/issues/detail?id=200</span>
|
781
781
|
351: <span class="ruby-comment cmt"># http://groups.google.com/group/phusion-passenger/t/6b904a962ee28e5c</span>
|
782
782
|
352: <span class="ruby-identifier">flags</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">'-DBOOST_SP_USE_PTHREADS'</span>
|
@@ -104,21 +104,29 @@ Like Signal.list, but only returns signals that we can actually trap.
|
|
104
104
|
559: <span class="ruby-identifier">result</span> = <span class="ruby-constant">Signal</span>.<span class="ruby-identifier">list</span>
|
105
105
|
560: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"ALRM"</span>)
|
106
106
|
561: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"VTALRM"</span>)
|
107
|
-
562:
|
108
|
-
563:
|
109
|
-
564: <span class="ruby-identifier">result</span
|
110
|
-
565: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"
|
111
|
-
566: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"
|
112
|
-
567: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"
|
113
|
-
568: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"
|
114
|
-
569: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"
|
115
|
-
570:
|
116
|
-
571: <span class="ruby-identifier">result</span
|
117
|
-
572:
|
118
|
-
573:
|
119
|
-
574:
|
120
|
-
575: <span class="ruby-
|
121
|
-
576:
|
107
|
+
562: <span class="ruby-keyword kw">when</span> <span class="ruby-value str">"jruby"</span>
|
108
|
+
563: <span class="ruby-identifier">result</span> = <span class="ruby-constant">Signal</span>.<span class="ruby-identifier">list</span>
|
109
|
+
564: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"QUIT"</span>)
|
110
|
+
565: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"ILL"</span>)
|
111
|
+
566: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"FPE"</span>)
|
112
|
+
567: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"KILL"</span>)
|
113
|
+
568: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"SEGV"</span>)
|
114
|
+
569: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"USR1"</span>)
|
115
|
+
570: <span class="ruby-keyword kw">else</span>
|
116
|
+
571: <span class="ruby-identifier">result</span> = <span class="ruby-constant">Signal</span>.<span class="ruby-identifier">list</span>
|
117
|
+
572: <span class="ruby-keyword kw">end</span>
|
118
|
+
573:
|
119
|
+
574: <span class="ruby-comment cmt"># Don't touch SIGCHLD no matter what! On OS X waitpid() will</span>
|
120
|
+
575: <span class="ruby-comment cmt"># malfunction if SIGCHLD doesn't have a correct handler.</span>
|
121
|
+
576: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"CLD"</span>)
|
122
|
+
577: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"CHLD"</span>)
|
123
|
+
578:
|
124
|
+
579: <span class="ruby-comment cmt"># Other stuff that we don't want to trap no matter which</span>
|
125
|
+
580: <span class="ruby-comment cmt"># Ruby engine.</span>
|
126
|
+
581: <span class="ruby-identifier">result</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-value str">"STOP"</span>)
|
127
|
+
582:
|
128
|
+
583: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">result</span>
|
129
|
+
584: <span class="ruby-keyword kw">end</span>
|
122
130
|
</pre>
|
123
131
|
</div>
|
124
132
|
</div>
|
data/doc/rdoc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
Tue, 15 Dec 2009 17:41:24 -0800
|
data/doc/rdoc/files/README.html
CHANGED