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.

Files changed (123) hide show
  1. data/LICENSE +3 -1
  2. data/Rakefile +17 -12
  3. data/bin/passenger-config +22 -0
  4. data/bin/passenger-install-apache2-module +2 -31
  5. data/bin/passenger-make-enterprisey +66 -0
  6. data/bin/passenger-memory-stats +192 -0
  7. data/doc/Users guide.html +150 -66
  8. data/doc/Users guide.txt +141 -51
  9. data/doc/cxxapi/ApplicationPoolClientServer_8h-source.html +1 -1
  10. data/doc/cxxapi/ApplicationPoolServer_8h-source.html +545 -0
  11. data/doc/cxxapi/ApplicationPool_8h-source.html +1 -1
  12. data/doc/cxxapi/Application_8h-source.html +1 -1
  13. data/doc/cxxapi/Configuration_8h-source.html +2 -2
  14. data/doc/cxxapi/DummySpawnManager_8h-source.html +1 -1
  15. data/doc/cxxapi/Exceptions_8h-source.html +1 -1
  16. data/doc/cxxapi/Hooks_8h-source.html +1 -1
  17. data/doc/cxxapi/Logging_8h-source.html +1 -1
  18. data/doc/cxxapi/MessageChannel_8h-source.html +210 -205
  19. data/doc/cxxapi/SpawnManager_8h-source.html +1 -1
  20. data/doc/cxxapi/StandardApplicationPool_8h-source.html +1 -1
  21. data/doc/cxxapi/Utils_8h-source.html +1 -1
  22. data/doc/cxxapi/annotated.html +1 -1
  23. data/doc/cxxapi/classClient-members.html +30 -0
  24. data/doc/cxxapi/classClient.html +112 -0
  25. data/doc/cxxapi/classPassenger_1_1Application-members.html +1 -1
  26. data/doc/cxxapi/classPassenger_1_1Application.html +1 -1
  27. data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +1 -1
  28. data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +1 -1
  29. data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +1 -1
  30. data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +1 -1
  31. data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +1 -1
  32. data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +1 -1
  33. data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +28 -0
  34. data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +41 -0
  35. data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +1 -1
  36. data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +1 -1
  37. data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +1 -1
  38. data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +1 -1
  39. data/doc/cxxapi/classPassenger_1_1IOException-members.html +1 -1
  40. data/doc/cxxapi/classPassenger_1_1IOException.html +1 -1
  41. data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +1 -1
  42. data/doc/cxxapi/classPassenger_1_1MessageChannel.html +1 -1
  43. data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +1 -1
  44. data/doc/cxxapi/classPassenger_1_1SpawnException.html +1 -1
  45. data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +1 -1
  46. data/doc/cxxapi/classPassenger_1_1SpawnManager.html +1 -1
  47. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +1 -1
  48. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +1 -1
  49. data/doc/cxxapi/classPassenger_1_1SystemException-members.html +1 -1
  50. data/doc/cxxapi/classPassenger_1_1SystemException.html +1 -1
  51. data/doc/cxxapi/definitions_8h-source.html +1 -1
  52. data/doc/cxxapi/files.html +1 -1
  53. data/doc/cxxapi/functions.html +1 -1
  54. data/doc/cxxapi/functions_func.html +1 -1
  55. data/doc/cxxapi/functions_type.html +1 -1
  56. data/doc/cxxapi/graph_legend.html +1 -1
  57. data/doc/cxxapi/graph_legend.png +0 -0
  58. data/doc/cxxapi/group__Configuration.html +3 -3
  59. data/doc/cxxapi/group__Configuration.png +0 -0
  60. data/doc/cxxapi/group__Core.html +1 -1
  61. data/doc/cxxapi/group__Core.png +0 -0
  62. data/doc/cxxapi/group__Exceptions.html +1 -1
  63. data/doc/cxxapi/group__Hooks.html +1 -1
  64. data/doc/cxxapi/group__Hooks.png +0 -0
  65. data/doc/cxxapi/group__Support.html +1 -1
  66. data/doc/cxxapi/hierarchy.html +1 -1
  67. data/doc/cxxapi/inherit__graph__0.png +0 -0
  68. data/doc/cxxapi/inherit__graph__1.png +0 -0
  69. data/doc/cxxapi/inherit__graph__10.map +1 -0
  70. data/doc/cxxapi/inherit__graph__10.md5 +1 -0
  71. data/doc/cxxapi/inherit__graph__10.png +0 -0
  72. data/doc/cxxapi/inherit__graph__2.png +0 -0
  73. data/doc/cxxapi/inherit__graph__3.png +0 -0
  74. data/doc/cxxapi/inherit__graph__4.png +0 -0
  75. data/doc/cxxapi/inherit__graph__5.png +0 -0
  76. data/doc/cxxapi/inherit__graph__6.png +0 -0
  77. data/doc/cxxapi/inherit__graph__7.png +0 -0
  78. data/doc/cxxapi/inherit__graph__8.png +0 -0
  79. data/doc/cxxapi/inherit__graph__9.png +0 -0
  80. data/doc/cxxapi/inherits.html +1 -1
  81. data/doc/cxxapi/main.html +1 -1
  82. data/doc/cxxapi/modules.html +1 -1
  83. data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +1 -1
  84. data/doc/cxxapi/structPassenger_1_1AnythingToString.html +1 -1
  85. data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +1 -1
  86. data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +1 -1
  87. data/doc/rdoc/classes/Passenger/RequestHandler.html +84 -74
  88. data/doc/rdoc/classes/Passenger/SpawnManager.html +54 -49
  89. data/doc/rdoc/classes/PlatformInfo.html +25 -12
  90. data/doc/rdoc/created.rid +1 -1
  91. data/doc/rdoc/files/DEVELOPERS_TXT.html +1 -1
  92. data/doc/rdoc/files/ext/passenger/native_support_c.html +1 -1
  93. data/doc/rdoc/files/lib/passenger/abstract_server_rb.html +1 -1
  94. data/doc/rdoc/files/lib/passenger/application_spawner_rb.html +1 -1
  95. data/doc/rdoc/files/lib/passenger/dependencies_rb.html +1 -1
  96. data/doc/rdoc/files/lib/passenger/framework_spawner_rb.html +1 -1
  97. data/doc/rdoc/files/lib/passenger/platform_info_rb.html +1 -1
  98. data/doc/rdoc/files/lib/passenger/request_handler_rb.html +1 -1
  99. data/doc/rdoc/files/lib/passenger/spawn_manager_rb.html +1 -1
  100. data/ext/apache2/Configuration.h +1 -1
  101. data/ext/apache2/Hooks.cpp +68 -16
  102. data/ext/apache2/Logging.cpp +1 -1
  103. data/ext/apache2/MessageChannel.h +48 -43
  104. data/ext/passenger/native_support.c +46 -43
  105. data/lib/passenger/application_spawner.rb +37 -4
  106. data/lib/passenger/dependencies.rb +5 -1
  107. data/lib/passenger/framework_spawner.rb +2 -0
  108. data/lib/passenger/platform_info.rb +32 -17
  109. data/lib/passenger/request_handler.rb +10 -1
  110. data/lib/passenger/spawn_manager.rb +14 -8
  111. data/lib/passenger/templates/error_layout.html.erb +2 -2
  112. data/test/CxxTestMain.cpp +1 -0
  113. data/test/MessageChannelTest.cpp +3 -1
  114. data/test/application_spawner_spec.rb +2 -0
  115. data/test/framework_spawner_spec.rb +2 -0
  116. data/test/integration_tests.rb +1 -0
  117. data/test/spawn_manager_spec.rb +2 -0
  118. data/test/spawner_privilege_lowering_spec.rb +1 -0
  119. data/test/stub/minimal-railsapp/vendor/rails/actionpack/lib/action_controller.rb +4 -0
  120. data/test/stub/minimal-railsapp/vendor/rails/activerecord/lib/active_record.rb +7 -0
  121. data/test/stub/rails_apps/foobar/config/environments/test.rb +22 -0
  122. metadata +28 -22
  123. 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 &amp;spawnServerCommand, const string &amp;logFile=&quot;&quot;, const string &amp;environment=&quot;production&quot;, const string &amp;rubyCommand=&quot;ruby&quot;, const string &amp;user=&quot;&quot;)</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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
31
+ </table><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
316
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 &amp;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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
28
+ </table><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
140
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 Fri Apr 11 18:16:04 2008 for Passenger by&nbsp;
21
+ </pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:32 2008 for Passenger by&nbsp;
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>
@@ -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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
31
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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>
@@ -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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
156
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
154
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
36
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
78
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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>
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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Configuration.html#ga19398896775408d6ab7fd8ce2acd992">PASSENGER_VERSION</a>&nbsp;&nbsp;&nbsp;&quot;1.0.1&quot;</td></tr>
33
+ <tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Configuration.html#ga19398896775408d6ab7fd8ce2acd992">PASSENGER_VERSION</a>&nbsp;&nbsp;&nbsp;&quot;1.0.2&quot;</td></tr>
34
34
 
35
35
  <tr><td class="mdescLeft">&nbsp;</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&nbsp;&nbsp;&nbsp;&quot;1.0.1&quot; </td>
60
+ <td class="memname">#define PASSENGER_VERSION&nbsp;&nbsp;&nbsp;&quot;1.0.2&quot; </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 Fri Apr 11 18:16:04 2008 for Passenger by&nbsp;
227
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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>
@@ -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">&nbsp;</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 Fri Apr 11 18:16:04 2008 for Passenger by&nbsp;
35
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:32 2008 for Passenger by&nbsp;
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>
Binary file
@@ -25,7 +25,7 @@
25
25
 
26
26
  <tr><td class="mdescLeft">&nbsp;</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 Fri Apr 11 18:16:04 2008 for Passenger by&nbsp;
28
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="grou
34
34
 
35
35
  <tr><td class="mdescLeft">&nbsp;</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 Fri Apr 11 18:16:04 2008 for Passenger by&nbsp;
37
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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>
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 Fri Apr 11 18:16:04 2008 for Passenger by&nbsp;
254
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:32 2008 for Passenger by&nbsp;
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>
@@ -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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
47
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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>
@@ -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
@@ -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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
57
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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>
@@ -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 Fri Apr 11 18:16:04 2008 for Passenger by&nbsp;
18
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:32 2008 for Passenger by&nbsp;
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>
@@ -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 Fri Apr 11 18:16:04 2008 for Passenger by&nbsp;
25
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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&lt; T &gt; Member List</h1>This is the complete list of members for <a class="el" href="structPassenger_1_1AnythingToString.html">Passenger::AnythingToString&lt; T &gt;</a>, including all inherited members.<p><table>
24
- </table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
24
+ </table><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
40
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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>
@@ -21,7 +21,7 @@
21
21
  </ul>
22
22
  </div>
23
23
  <h1>Passenger::AnythingToString&lt; vector&lt; string &gt; &gt; 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&lt; vector&lt; string &gt; &gt;</a>, including all inherited members.<p><table>
24
- </table><hr size="1"><address style="text-align: right;"><small>Generated on Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
24
+ </table><hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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 Fri Apr 11 18:16:05 2008 for Passenger by&nbsp;
40
+ <hr size="1"><address style="text-align: right;"><small>Generated on Tue Apr 29 15:25:33 2008 for Passenger by&nbsp;
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">&quot;Phusion Passenger (mod_rails) #{PASSENGER_VERSION}&quot;</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 119</span>
268
- 119: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">owner_pipe</span>)
269
- 120: <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>
270
- 121: <span class="ruby-ivar">@using_abstract_namespace</span> = <span class="ruby-identifier">create_unix_socket_on_abstract_namespace</span>
271
- 122: <span class="ruby-keyword kw">else</span>
272
- 123: <span class="ruby-ivar">@using_abstract_namespace</span> = <span class="ruby-keyword kw">false</span>
273
- 124: <span class="ruby-keyword kw">end</span>
274
- 125: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-ivar">@using_abstract_namespace</span>
275
- 126: <span class="ruby-identifier">create_unix_socket_on_filesystem</span>
276
- 127: <span class="ruby-keyword kw">end</span>
277
- 128: <span class="ruby-ivar">@owner_pipe</span> = <span class="ruby-identifier">owner_pipe</span>
278
- 129: <span class="ruby-ivar">@previous_signal_handlers</span> = {}
279
- 130:
280
- 131: <span class="ruby-constant">NINJA_PATCHING_LOCK</span>.<span class="ruby-identifier">synchronize</span> <span class="ruby-keyword kw">do</span>
281
- 132: <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">&amp;&amp;</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>) \
282
- 133: <span class="ruby-operator">&amp;&amp;</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>)
283
- 134: <span class="ruby-ivar">@@ninja_patched_action_controller</span> = <span class="ruby-keyword kw">true</span>
284
- 135: <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>
285
- 136: <span class="ruby-keyword kw">alias</span> <span class="ruby-identifier">passenger_orig_perform_action</span> <span class="ruby-identifier">perform_action</span>
286
- 137:
287
- 138: <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>)
288
- 139: <span class="ruby-identifier">headers</span>[<span class="ruby-value str">&quot;X-Powered-By&quot;</span>] = <span class="ruby-node">&quot;Phusion Passenger (mod_rails) #{PASSENGER_VERSION}&quot;</span>
289
- 140: <span class="ruby-identifier">passenger_orig_perform_action</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">whatever</span>)
290
- 141: <span class="ruby-keyword kw">end</span>
291
- 142: <span class="ruby-keyword kw">end</span>
292
- 143: <span class="ruby-keyword kw">end</span>
293
- 144: <span class="ruby-keyword kw">end</span>
294
- 145: <span class="ruby-keyword kw">end</span>
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">&amp;&amp;</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">&amp;&amp;</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 149</span>
315
- 149: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanup</span>
316
- 150: <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>
317
- 151: <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>
318
- 152: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">using_abstract_namespace?</span>
319
- 153: <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>
320
- 154: <span class="ruby-keyword kw">end</span>
321
- 155: <span class="ruby-keyword kw">end</span>
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&#8216;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 163</span>
340
- 163: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">main_loop</span>
341
- 164: <span class="ruby-identifier">reset_signal_handlers</span>
342
- 165: <span class="ruby-keyword kw">begin</span>
343
- 166: <span class="ruby-identifier">done</span> = <span class="ruby-keyword kw">false</span>
344
- 167: <span class="ruby-keyword kw">while</span> <span class="ruby-operator">!</span><span class="ruby-identifier">done</span>
345
- 168: <span class="ruby-identifier">client</span> = <span class="ruby-identifier">accept_connection</span>
346
- 169: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">client</span>.<span class="ruby-identifier">nil?</span>
347
- 170: <span class="ruby-keyword kw">break</span>
348
- 171: <span class="ruby-keyword kw">end</span>
349
- 172: <span class="ruby-identifier">trap</span> <span class="ruby-constant">SOFT_TERMINATION_SIGNAL</span> <span class="ruby-keyword kw">do</span>
350
- 173: <span class="ruby-identifier">done</span> = <span class="ruby-keyword kw">true</span>
351
- 174: <span class="ruby-keyword kw">end</span>
352
- 175: <span class="ruby-identifier">process_request</span>(<span class="ruby-identifier">client</span>)
353
- 176: <span class="ruby-identifier">trap</span> <span class="ruby-constant">SOFT_TERMINATION_SIGNAL</span>, <span class="ruby-constant">DEFAULT</span>
354
- 177: <span class="ruby-keyword kw">end</span>
355
- 178: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">EOFError</span>
356
- 179: <span class="ruby-comment cmt"># Exit main loop.</span>
357
- 180: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Interrupt</span>
358
- 181: <span class="ruby-comment cmt"># Exit main loop.</span>
359
- 182: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">SignalException</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">signal</span>
360
- 183: <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">&amp;&amp;</span>
361
- 184: <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>
362
- 185: <span class="ruby-identifier">raise</span>
363
- 186: <span class="ruby-keyword kw">end</span>
364
- 187: <span class="ruby-keyword kw">ensure</span>
365
- 188: <span class="ruby-identifier">revert_signal_handlers</span>
366
- 189: <span class="ruby-keyword kw">end</span>
367
- 190: <span class="ruby-keyword kw">end</span>
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">&gt;</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">&amp;&amp;</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&#8216;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 138</span>
381
- 138: <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>)
382
- 139: <span class="ruby-identifier">headers</span>[<span class="ruby-value str">&quot;X-Powered-By&quot;</span>] = <span class="ruby-node">&quot;Phusion Passenger (mod_rails) #{PASSENGER_VERSION}&quot;</span>
383
- 140: <span class="ruby-identifier">passenger_orig_perform_action</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">whatever</span>)
384
- 141: <span class="ruby-keyword kw">end</span>
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 158</span>
403
- 158: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">using_abstract_namespace?</span>
404
- 159: <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@using_abstract_namespace</span>
405
- 160: <span class="ruby-keyword kw">end</span>
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>