passenger 1.0.1 → 1.0.2
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/LICENSE +3 -1
- data/Rakefile +17 -12
- data/bin/passenger-config +22 -0
- data/bin/passenger-install-apache2-module +2 -31
- data/bin/passenger-make-enterprisey +66 -0
- data/bin/passenger-memory-stats +192 -0
- data/doc/Users guide.html +150 -66
- data/doc/Users guide.txt +141 -51
- data/doc/cxxapi/ApplicationPoolClientServer_8h-source.html +1 -1
- data/doc/cxxapi/ApplicationPoolServer_8h-source.html +545 -0
- data/doc/cxxapi/ApplicationPool_8h-source.html +1 -1
- data/doc/cxxapi/Application_8h-source.html +1 -1
- data/doc/cxxapi/Configuration_8h-source.html +2 -2
- data/doc/cxxapi/DummySpawnManager_8h-source.html +1 -1
- data/doc/cxxapi/Exceptions_8h-source.html +1 -1
- data/doc/cxxapi/Hooks_8h-source.html +1 -1
- data/doc/cxxapi/Logging_8h-source.html +1 -1
- data/doc/cxxapi/MessageChannel_8h-source.html +210 -205
- data/doc/cxxapi/SpawnManager_8h-source.html +1 -1
- data/doc/cxxapi/StandardApplicationPool_8h-source.html +1 -1
- data/doc/cxxapi/Utils_8h-source.html +1 -1
- data/doc/cxxapi/annotated.html +1 -1
- data/doc/cxxapi/classClient-members.html +30 -0
- data/doc/cxxapi/classClient.html +112 -0
- data/doc/cxxapi/classPassenger_1_1Application-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +28 -0
- data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +41 -0
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1IOException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1IOException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1MessageChannel.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnManager.html +1 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SystemException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SystemException.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/functions_type.html +1 -1
- data/doc/cxxapi/graph_legend.html +1 -1
- data/doc/cxxapi/graph_legend.png +0 -0
- data/doc/cxxapi/group__Configuration.html +3 -3
- data/doc/cxxapi/group__Configuration.png +0 -0
- data/doc/cxxapi/group__Core.html +1 -1
- data/doc/cxxapi/group__Core.png +0 -0
- data/doc/cxxapi/group__Exceptions.html +1 -1
- data/doc/cxxapi/group__Hooks.html +1 -1
- data/doc/cxxapi/group__Hooks.png +0 -0
- data/doc/cxxapi/group__Support.html +1 -1
- data/doc/cxxapi/hierarchy.html +1 -1
- data/doc/cxxapi/inherit__graph__0.png +0 -0
- data/doc/cxxapi/inherit__graph__1.png +0 -0
- data/doc/cxxapi/inherit__graph__10.map +1 -0
- data/doc/cxxapi/inherit__graph__10.md5 +1 -0
- data/doc/cxxapi/inherit__graph__10.png +0 -0
- data/doc/cxxapi/inherit__graph__2.png +0 -0
- data/doc/cxxapi/inherit__graph__3.png +0 -0
- data/doc/cxxapi/inherit__graph__4.png +0 -0
- data/doc/cxxapi/inherit__graph__5.png +0 -0
- data/doc/cxxapi/inherit__graph__6.png +0 -0
- data/doc/cxxapi/inherit__graph__7.png +0 -0
- data/doc/cxxapi/inherit__graph__8.png +0 -0
- data/doc/cxxapi/inherit__graph__9.png +0 -0
- data/doc/cxxapi/inherits.html +1 -1
- data/doc/cxxapi/main.html +1 -1
- data/doc/cxxapi/modules.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +1 -1
- data/doc/rdoc/classes/Passenger/RequestHandler.html +84 -74
- data/doc/rdoc/classes/Passenger/SpawnManager.html +54 -49
- data/doc/rdoc/classes/PlatformInfo.html +25 -12
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/DEVELOPERS_TXT.html +1 -1
- data/doc/rdoc/files/ext/passenger/native_support_c.html +1 -1
- data/doc/rdoc/files/lib/passenger/abstract_server_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/application_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/dependencies_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/framework_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/platform_info_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/request_handler_rb.html +1 -1
- data/doc/rdoc/files/lib/passenger/spawn_manager_rb.html +1 -1
- data/ext/apache2/Configuration.h +1 -1
- data/ext/apache2/Hooks.cpp +68 -16
- data/ext/apache2/Logging.cpp +1 -1
- data/ext/apache2/MessageChannel.h +48 -43
- data/ext/passenger/native_support.c +46 -43
- data/lib/passenger/application_spawner.rb +37 -4
- data/lib/passenger/dependencies.rb +5 -1
- data/lib/passenger/framework_spawner.rb +2 -0
- data/lib/passenger/platform_info.rb +32 -17
- data/lib/passenger/request_handler.rb +10 -1
- data/lib/passenger/spawn_manager.rb +14 -8
- data/lib/passenger/templates/error_layout.html.erb +2 -2
- data/test/CxxTestMain.cpp +1 -0
- data/test/MessageChannelTest.cpp +3 -1
- data/test/application_spawner_spec.rb +2 -0
- data/test/framework_spawner_spec.rb +2 -0
- data/test/integration_tests.rb +1 -0
- data/test/spawn_manager_spec.rb +2 -0
- data/test/spawner_privilege_lowering_spec.rb +1 -0
- data/test/stub/minimal-railsapp/vendor/rails/actionpack/lib/action_controller.rb +4 -0
- data/test/stub/minimal-railsapp/vendor/rails/activerecord/lib/active_record.rb +7 -0
- data/test/stub/rails_apps/foobar/config/environments/test.rb +22 -0
- metadata +28 -22
- data/lib/passenger/templates/osx_broken_apache_warning.txt.erb +0 -23
@@ -28,7 +28,7 @@
|
|
28
28
|
<tr class="memlist"><td><a class="el" href="classPassenger_1_1StandardApplicationPool.html#6955152d237920988d20297d2fff5660">getSpawnServerPid</a>() const </td><td><a class="el" href="classPassenger_1_1StandardApplicationPool.html">Passenger::StandardApplicationPool</a></td><td><code> [inline, virtual]</code></td></tr>
|
29
29
|
<tr class="memlist"><td><a class="el" href="classPassenger_1_1StandardApplicationPool.html#04ef8c92da189520ad2022f4f82e9553">setMax</a>(unsigned int max)</td><td><a class="el" href="classPassenger_1_1StandardApplicationPool.html">Passenger::StandardApplicationPool</a></td><td><code> [inline, virtual]</code></td></tr>
|
30
30
|
<tr class="memlist"><td><a class="el" href="classPassenger_1_1StandardApplicationPool.html#7ed2ba35cbbaeabbe11ce8598ca2f907">StandardApplicationPool</a>(const string &spawnServerCommand, const string &logFile="", const string &environment="production", const string &rubyCommand="ruby", const string &user="")</td><td><a class="el" href="classPassenger_1_1StandardApplicationPool.html">Passenger::StandardApplicationPool</a></td><td><code> [inline]</code></td></tr>
|
31
|
-
</table><hr size="1"><address style="text-align: right;"><small>Generated on
|
31
|
+
</table><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
32
32
|
<a href="http://www.doxygen.org/index.html">
|
33
33
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
34
34
|
</body>
|
@@ -313,7 +313,7 @@ This method exposes an implementation detail. It is used by unit tests to verify
|
|
313
313
|
</div><p>
|
314
314
|
<hr>The documentation for this class was generated from the following file:<ul>
|
315
315
|
<li><a class="el" href="StandardApplicationPool_8h-source.html">StandardApplicationPool.h</a></ul>
|
316
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
316
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
317
317
|
<a href="http://www.doxygen.org/index.html">
|
318
318
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
319
319
|
</body>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<tr class="memlist"><td><a class="el" href="classPassenger_1_1SystemException.html#ee7a6672bf79b72a4c3ee70c57d6a47c">code</a>() const </td><td><a class="el" href="classPassenger_1_1SystemException.html">Passenger::SystemException</a></td><td><code> [inline]</code></td></tr>
|
26
26
|
<tr class="memlist"><td><a class="el" href="classPassenger_1_1SystemException.html#0ef41d755fea2c9b1db2252e7c418dc8">sys</a>() const </td><td><a class="el" href="classPassenger_1_1SystemException.html">Passenger::SystemException</a></td><td><code> [inline]</code></td></tr>
|
27
27
|
<tr class="memlist"><td><a class="el" href="classPassenger_1_1SystemException.html#4ee42f81106408c91726a62287e8471c">SystemException</a>(const string &message, int errorCode)</td><td><a class="el" href="classPassenger_1_1SystemException.html">Passenger::SystemException</a></td><td><code> [inline]</code></td></tr>
|
28
|
-
</table><hr size="1"><address style="text-align: right;"><small>Generated on
|
28
|
+
</table><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
29
29
|
<a href="http://www.doxygen.org/index.html">
|
30
30
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
31
31
|
</body>
|
@@ -137,7 +137,7 @@ This message contains both the content of <code>strerror(errno)</code> and the e
|
|
137
137
|
</div><p>
|
138
138
|
<hr>The documentation for this class was generated from the following file:<ul>
|
139
139
|
<li><a class="el" href="Exceptions_8h-source.html">Exceptions.h</a></ul>
|
140
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
140
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
141
141
|
<a href="http://www.doxygen.org/index.html">
|
142
142
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
143
143
|
</body>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<a name="l00003"></a>00003 <span class="comment">@defgroup Core Core Apache-related classes and functions</span>
|
19
19
|
<a name="l00004"></a>00004 <span class="comment">@defgroup Support Apache-independent support classes and function</span>
|
20
20
|
<a name="l00005"></a>00005 <span class="comment">*/</span>
|
21
|
-
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on
|
21
|
+
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:32 2008 for Passenger by
|
22
22
|
<a href="http://www.doxygen.org/index.html">
|
23
23
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
24
24
|
</body>
|
data/doc/cxxapi/files.html
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
<tr><td class="indexkey"><b>StandardApplicationPool.h</b> <a href="StandardApplicationPool_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
29
29
|
<tr><td class="indexkey"><b>Utils.h</b> <a href="Utils_8h-source.html">[code]</a></td><td class="indexvalue"></td></tr>
|
30
30
|
</table>
|
31
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
31
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
32
32
|
<a href="http://www.doxygen.org/index.html">
|
33
33
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
34
34
|
</body>
|
data/doc/cxxapi/functions.html
CHANGED
@@ -153,7 +153,7 @@ Here is a list of all documented class members with links to the class documenta
|
|
153
153
|
<li>writeScalar()
|
154
154
|
: <a class="el" href="classPassenger_1_1MessageChannel.html#44e01a783c48abadeea0d915b9893bfb">Passenger::MessageChannel</a>
|
155
155
|
</ul>
|
156
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
156
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
157
157
|
<a href="http://www.doxygen.org/index.html">
|
158
158
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
159
159
|
</body>
|
@@ -151,7 +151,7 @@
|
|
151
151
|
<li>writeScalar()
|
152
152
|
: <a class="el" href="classPassenger_1_1MessageChannel.html#44e01a783c48abadeea0d915b9893bfb">Passenger::MessageChannel</a>
|
153
153
|
</ul>
|
154
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
154
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
155
155
|
<a href="http://www.doxygen.org/index.html">
|
156
156
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
157
157
|
</body>
|
@@ -33,7 +33,7 @@
|
|
33
33
|
<li>SessionPtr
|
34
34
|
: <a class="el" href="classPassenger_1_1Application.html#d14f673494991460b16246a527ad8ad9">Passenger::Application</a>
|
35
35
|
</ul>
|
36
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
36
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
37
37
|
<a href="http://www.doxygen.org/index.html">
|
38
38
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
39
39
|
</body>
|
@@ -75,7 +75,7 @@ A purple dashed arrow is used if a class is contained or used by another class.
|
|
75
75
|
<li>
|
76
76
|
A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance. </li>
|
77
77
|
</ul>
|
78
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
78
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
79
79
|
<a href="http://www.doxygen.org/index.html">
|
80
80
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
81
81
|
</body>
|
data/doc/cxxapi/graph_legend.png
CHANGED
Binary file
|
@@ -30,7 +30,7 @@ Collaboration diagram for Apache module configuration:</div>
|
|
30
30
|
<table border="0" cellpadding="0" cellspacing="0">
|
31
31
|
<tr><td></td></tr>
|
32
32
|
<tr><td colspan="2"><br><h2>Defines</h2></td></tr>
|
33
|
-
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Configuration.html#ga19398896775408d6ab7fd8ce2acd992">PASSENGER_VERSION</a> "1.0.
|
33
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Configuration.html#ga19398896775408d6ab7fd8ce2acd992">PASSENGER_VERSION</a> "1.0.2"</td></tr>
|
34
34
|
|
35
35
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Module version number. <a href="#ga19398896775408d6ab7fd8ce2acd992"></a><br></td></tr>
|
36
36
|
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
|
@@ -57,7 +57,7 @@ Collaboration diagram for Apache module configuration:</div>
|
|
57
57
|
<div class="memproto">
|
58
58
|
<table class="memname">
|
59
59
|
<tr>
|
60
|
-
<td class="memname">#define PASSENGER_VERSION "1.0.
|
60
|
+
<td class="memname">#define PASSENGER_VERSION "1.0.2" </td>
|
61
61
|
</tr>
|
62
62
|
</table>
|
63
63
|
</div>
|
@@ -224,7 +224,7 @@ Apache module commands array.
|
|
224
224
|
|
225
225
|
</div>
|
226
226
|
</div><p>
|
227
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
227
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
228
228
|
<a href="http://www.doxygen.org/index.html">
|
229
229
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
230
230
|
</body>
|
Binary file
|
data/doc/cxxapi/group__Core.html
CHANGED
@@ -32,7 +32,7 @@ Collaboration diagram for Core Apache-related classes and functions:</div>
|
|
32
32
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__Hooks.html">Apache hooks</a></td></tr>
|
33
33
|
|
34
34
|
</table>
|
35
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
35
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:32 2008 for Passenger by
|
36
36
|
<a href="http://www.doxygen.org/index.html">
|
37
37
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
38
38
|
</body>
|
data/doc/cxxapi/group__Core.png
CHANGED
Binary file
|
@@ -25,7 +25,7 @@
|
|
25
25
|
|
26
26
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Represents an error that occured during an I/O operation. <a href="classPassenger_1_1IOException.html#_details">More...</a><br></td></tr>
|
27
27
|
</table>
|
28
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
28
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
29
29
|
<a href="http://www.doxygen.org/index.html">
|
30
30
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
31
31
|
</body>
|
@@ -34,7 +34,7 @@ void </td><td class="memItemRight" valign="bottom"><a class="el" href="grou
|
|
34
34
|
|
35
35
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Apache hook registration function. <br></td></tr>
|
36
36
|
</table>
|
37
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
37
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
38
38
|
<a href="http://www.doxygen.org/index.html">
|
39
39
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
40
40
|
</body>
|
data/doc/cxxapi/group__Hooks.png
CHANGED
Binary file
|
@@ -251,7 +251,7 @@ Convert anything to a string.
|
|
251
251
|
|
252
252
|
</div>
|
253
253
|
</div><p>
|
254
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
254
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:32 2008 for Passenger by
|
255
255
|
<a href="http://www.doxygen.org/index.html">
|
256
256
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
257
257
|
</body>
|
data/doc/cxxapi/hierarchy.html
CHANGED
@@ -44,7 +44,7 @@ This inheritance list is sorted roughly, but not completely, alphabetically:<ul>
|
|
44
44
|
<li><a class="el" href="classPassenger_1_1MessageChannel.html">Passenger::MessageChannel</a>
|
45
45
|
<li><a class="el" href="classPassenger_1_1SpawnManager.html">Passenger::SpawnManager</a>
|
46
46
|
</ul>
|
47
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
47
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
48
48
|
<a href="http://www.doxygen.org/index.html">
|
49
49
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
50
50
|
</body>
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<area shape="rect" href="$classPassenger_1_1SpawnManager.html" title="Passenger::SpawnManager" alt="" coords="7,5,204,32">
|
@@ -0,0 +1 @@
|
|
1
|
+
a9e59f63b51a8684cdf3ae5e851c0363
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/doc/cxxapi/inherits.html
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
<map name="Passenger_1_1SpawnManager_map">
|
55
55
|
<area shape="rect" href="classPassenger_1_1SpawnManager.html" title="Passenger::SpawnManager" alt="" coords="7,5,204,32"></map></td></tr>
|
56
56
|
</table>
|
57
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
57
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
58
58
|
<a href="http://www.doxygen.org/index.html">
|
59
59
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
60
60
|
</body>
|
data/doc/cxxapi/main.html
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
</div>
|
16
16
|
<h1>Passenger Documentation</h1>
|
17
17
|
<p>
|
18
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
18
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:32 2008 for Passenger by
|
19
19
|
<a href="http://www.doxygen.org/index.html">
|
20
20
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
21
21
|
</body>
|
data/doc/cxxapi/modules.html
CHANGED
@@ -22,7 +22,7 @@
|
|
22
22
|
<li><a class="el" href="group__Support.html">Apache-independent support classes and function</a>
|
23
23
|
<li><a class="el" href="group__Exceptions.html">Exceptions</a>
|
24
24
|
</ul>
|
25
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
25
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
26
26
|
<a href="http://www.doxygen.org/index.html">
|
27
27
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
28
28
|
</body>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</ul>
|
22
22
|
</div>
|
23
23
|
<h1>Passenger::AnythingToString< T > Member List</h1>This is the complete list of members for <a class="el" href="structPassenger_1_1AnythingToString.html">Passenger::AnythingToString< T ></a>, including all inherited members.<p><table>
|
24
|
-
</table><hr size="1"><address style="text-align: right;"><small>Generated on
|
24
|
+
</table><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
25
25
|
<a href="http://www.doxygen.org/index.html">
|
26
26
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
27
27
|
</body>
|
@@ -37,7 +37,7 @@ Do not use directly. <table border="0" cellpadding="0" cellspacing="0">
|
|
37
37
|
</table>
|
38
38
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
39
39
|
<li><a class="el" href="Utils_8h-source.html">Utils.h</a></ul>
|
40
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
40
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
41
41
|
<a href="http://www.doxygen.org/index.html">
|
42
42
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
43
43
|
</body>
|
data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
</ul>
|
22
22
|
</div>
|
23
23
|
<h1>Passenger::AnythingToString< vector< string > > Member List</h1>This is the complete list of members for <a class="el" href="structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html">Passenger::AnythingToString< vector< string > ></a>, including all inherited members.<p><table>
|
24
|
-
</table><hr size="1"><address style="text-align: right;"><small>Generated on
|
24
|
+
</table><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
25
25
|
<a href="http://www.doxygen.org/index.html">
|
26
26
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
27
27
|
</body>
|
@@ -37,7 +37,7 @@ Do not use directly. <table border="0" cellpadding="0" cellspacing="0">
|
|
37
37
|
</table>
|
38
38
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
39
39
|
<li><a class="el" href="Utils_8h-source.html">Utils.h</a></ul>
|
40
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
40
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by
|
41
41
|
<a href="http://www.doxygen.org/index.html">
|
42
42
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
|
43
43
|
</body>
|
@@ -211,6 +211,11 @@ done processing a request.
|
|
211
211
|
<td>=</td>
|
212
212
|
<td class="attr-value">128 * 1024</td>
|
213
213
|
</tr>
|
214
|
+
<tr valign='top'>
|
215
|
+
<td class="attr-name">X_POWERED_BY</td>
|
216
|
+
<td>=</td>
|
217
|
+
<td class="attr-value">'X-Powered-By'</td>
|
218
|
+
</tr>
|
214
219
|
<tr valign='top'>
|
215
220
|
<td class="attr-name">NINJA_PATCHING_LOCK</td>
|
216
221
|
<td>=</td>
|
@@ -221,6 +226,11 @@ done processing a request.
|
|
221
226
|
<td>=</td>
|
222
227
|
<td class="attr-value">$1</td>
|
223
228
|
</tr>
|
229
|
+
<tr valign='top'>
|
230
|
+
<td class="attr-name">PASSENGER_HEADER</td>
|
231
|
+
<td>=</td>
|
232
|
+
<td class="attr-value">"Phusion Passenger (mod_rails) #{PASSENGER_VERSION}"</td>
|
233
|
+
</tr>
|
224
234
|
</table>
|
225
235
|
|
226
236
|
<div class="sectiontitle">Attributes</div>
|
@@ -264,34 +274,34 @@ href="../IO.html">IO</a> object.
|
|
264
274
|
<p class="source-link">[ <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show source</a> ]</p>
|
265
275
|
<div id="M000053_source" class="dyn-source">
|
266
276
|
<pre>
|
267
|
-
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
277
|
+
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line 124</span>
|
278
|
+
124: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">owner_pipe</span>)
|
279
|
+
125: <span class="ruby-keyword kw">if</span> <span class="ruby-constant">ENV</span>[<span class="ruby-value str">'PASSENGER_NO_ABSTRACT_NAMESPACE_SOCKETS'</span>].<span class="ruby-identifier">blank?</span>
|
280
|
+
126: <span class="ruby-ivar">@using_abstract_namespace</span> = <span class="ruby-identifier">create_unix_socket_on_abstract_namespace</span>
|
281
|
+
127: <span class="ruby-keyword kw">else</span>
|
282
|
+
128: <span class="ruby-ivar">@using_abstract_namespace</span> = <span class="ruby-keyword kw">false</span>
|
283
|
+
129: <span class="ruby-keyword kw">end</span>
|
284
|
+
130: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@using_abstract_namespace</span>
|
285
|
+
131: <span class="ruby-identifier">create_unix_socket_on_filesystem</span>
|
286
|
+
132: <span class="ruby-keyword kw">end</span>
|
287
|
+
133: <span class="ruby-ivar">@owner_pipe</span> = <span class="ruby-identifier">owner_pipe</span>
|
288
|
+
134: <span class="ruby-ivar">@previous_signal_handlers</span> = {}
|
289
|
+
135:
|
290
|
+
136: <span class="ruby-constant">NINJA_PATCHING_LOCK</span>.<span class="ruby-identifier">synchronize</span> <span class="ruby-keyword kw">do</span>
|
291
|
+
137: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@@ninja_patched_action_controller</span> <span class="ruby-operator">&&</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-operator">::</span><span class="ruby-constant">ActionController</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>) \
|
292
|
+
138: <span class="ruby-operator">&&</span> <span class="ruby-operator">::</span><span class="ruby-constant">ActionController</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>.<span class="ruby-identifier">private_method_defined?</span>(<span class="ruby-identifier">:perform_action</span>)
|
293
|
+
139: <span class="ruby-ivar">@@ninja_patched_action_controller</span> = <span class="ruby-keyword kw">true</span>
|
294
|
+
140: <span class="ruby-operator">::</span><span class="ruby-constant">ActionController</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>.<span class="ruby-identifier">class_eval</span> <span class="ruby-keyword kw">do</span>
|
295
|
+
141: <span class="ruby-keyword kw">alias</span> <span class="ruby-identifier">passenger_orig_perform_action</span> <span class="ruby-identifier">perform_action</span>
|
296
|
+
142:
|
297
|
+
143: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">perform_action</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">whatever</span>)
|
298
|
+
144: <span class="ruby-identifier">headers</span>[<span class="ruby-constant">X_POWERED_BY</span>] = <span class="ruby-constant">PASSENGER_HEADER</span>
|
299
|
+
145: <span class="ruby-identifier">passenger_orig_perform_action</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">whatever</span>)
|
300
|
+
146: <span class="ruby-keyword kw">end</span>
|
301
|
+
147: <span class="ruby-keyword kw">end</span>
|
302
|
+
148: <span class="ruby-keyword kw">end</span>
|
303
|
+
149: <span class="ruby-keyword kw">end</span>
|
304
|
+
150: <span class="ruby-keyword kw">end</span>
|
295
305
|
</pre>
|
296
306
|
</div>
|
297
307
|
</div>
|
@@ -311,14 +321,14 @@ be called after the main loop has exited.
|
|
311
321
|
<p class="source-link">[ <a href="javascript:toggleSource('M000055_source')" id="l_M000055_source">show source</a> ]</p>
|
312
322
|
<div id="M000055_source" class="dyn-source">
|
313
323
|
<pre>
|
314
|
-
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
324
|
+
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line 154</span>
|
325
|
+
154: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanup</span>
|
326
|
+
155: <span class="ruby-ivar">@socket</span>.<span class="ruby-identifier">close</span> <span class="ruby-keyword kw">rescue</span> <span class="ruby-keyword kw">nil</span>
|
327
|
+
156: <span class="ruby-ivar">@owner_pipe</span>.<span class="ruby-identifier">close</span> <span class="ruby-keyword kw">rescue</span> <span class="ruby-keyword kw">nil</span>
|
328
|
+
157: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">using_abstract_namespace?</span>
|
329
|
+
158: <span class="ruby-constant">File</span>.<span class="ruby-identifier">unlink</span>(<span class="ruby-ivar">@socket_name</span>) <span class="ruby-keyword kw">rescue</span> <span class="ruby-keyword kw">nil</span>
|
330
|
+
159: <span class="ruby-keyword kw">end</span>
|
331
|
+
160: <span class="ruby-keyword kw">end</span>
|
322
332
|
</pre>
|
323
333
|
</div>
|
324
334
|
</div>
|
@@ -336,35 +346,35 @@ Enter the request handler‘s main loop.
|
|
336
346
|
<p class="source-link">[ <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show source</a> ]</p>
|
337
347
|
<div id="M000057_source" class="dyn-source">
|
338
348
|
<pre>
|
339
|
-
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
349
|
+
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line 168</span>
|
350
|
+
168: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">main_loop</span>
|
351
|
+
169: <span class="ruby-identifier">reset_signal_handlers</span>
|
352
|
+
170: <span class="ruby-keyword kw">begin</span>
|
353
|
+
171: <span class="ruby-identifier">done</span> = <span class="ruby-keyword kw">false</span>
|
354
|
+
172: <span class="ruby-keyword kw">while</span> <span class="ruby-operator">!</span><span class="ruby-identifier">done</span>
|
355
|
+
173: <span class="ruby-identifier">client</span> = <span class="ruby-identifier">accept_connection</span>
|
356
|
+
174: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">client</span>.<span class="ruby-identifier">nil?</span>
|
357
|
+
175: <span class="ruby-keyword kw">break</span>
|
358
|
+
176: <span class="ruby-keyword kw">end</span>
|
359
|
+
177: <span class="ruby-identifier">trap</span> <span class="ruby-constant">SOFT_TERMINATION_SIGNAL</span> <span class="ruby-keyword kw">do</span>
|
360
|
+
178: <span class="ruby-identifier">done</span> = <span class="ruby-keyword kw">true</span>
|
361
|
+
179: <span class="ruby-keyword kw">end</span>
|
362
|
+
180: <span class="ruby-identifier">process_request</span>(<span class="ruby-identifier">client</span>)
|
363
|
+
181: <span class="ruby-identifier">trap</span> <span class="ruby-constant">SOFT_TERMINATION_SIGNAL</span>, <span class="ruby-constant">DEFAULT</span>
|
364
|
+
182: <span class="ruby-keyword kw">end</span>
|
365
|
+
183: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">EOFError</span>
|
366
|
+
184: <span class="ruby-comment cmt"># Exit main loop.</span>
|
367
|
+
185: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Interrupt</span>
|
368
|
+
186: <span class="ruby-comment cmt"># Exit main loop.</span>
|
369
|
+
187: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SignalException</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">signal</span>
|
370
|
+
188: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">signal</span>.<span class="ruby-identifier">message</span> <span class="ruby-operator">!=</span> <span class="ruby-constant">HARD_TERMINATION_SIGNAL</span> <span class="ruby-operator">&&</span>
|
371
|
+
189: <span class="ruby-identifier">signal</span>.<span class="ruby-identifier">message</span> <span class="ruby-operator">!=</span> <span class="ruby-constant">SOFT_TERMINATION_SIGNAL</span>
|
372
|
+
190: <span class="ruby-identifier">raise</span>
|
373
|
+
191: <span class="ruby-keyword kw">end</span>
|
374
|
+
192: <span class="ruby-keyword kw">ensure</span>
|
375
|
+
193: <span class="ruby-identifier">revert_signal_handlers</span>
|
376
|
+
194: <span class="ruby-keyword kw">end</span>
|
377
|
+
195: <span class="ruby-keyword kw">end</span>
|
368
378
|
</pre>
|
369
379
|
</div>
|
370
380
|
</div>
|
@@ -377,11 +387,11 @@ Enter the request handler‘s main loop.
|
|
377
387
|
<p class="source-link">[ <a href="javascript:toggleSource('M000054_source')" id="l_M000054_source">show source</a> ]</p>
|
378
388
|
<div id="M000054_source" class="dyn-source">
|
379
389
|
<pre>
|
380
|
-
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
390
|
+
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line 143</span>
|
391
|
+
143: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">perform_action</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">whatever</span>)
|
392
|
+
144: <span class="ruby-identifier">headers</span>[<span class="ruby-constant">X_POWERED_BY</span>] = <span class="ruby-constant">PASSENGER_HEADER</span>
|
393
|
+
145: <span class="ruby-identifier">passenger_orig_perform_action</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">whatever</span>)
|
394
|
+
146: <span class="ruby-keyword kw">end</span>
|
385
395
|
</pre>
|
386
396
|
</div>
|
387
397
|
</div>
|
@@ -399,10 +409,10 @@ Returns whether socket_name refers to an abstract namespace Unix socket.
|
|
399
409
|
<p class="source-link">[ <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show source</a> ]</p>
|
400
410
|
<div id="M000056_source" class="dyn-source">
|
401
411
|
<pre>
|
402
|
-
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line
|
403
|
-
|
404
|
-
|
405
|
-
|
412
|
+
<span class="ruby-comment cmt"># File lib/passenger/request_handler.rb, line 163</span>
|
413
|
+
163: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">using_abstract_namespace?</span>
|
414
|
+
164: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@using_abstract_namespace</span>
|
415
|
+
165: <span class="ruby-keyword kw">end</span>
|
406
416
|
</pre>
|
407
417
|
</div>
|
408
418
|
</div>
|