passenger 2.2.5 → 2.2.6

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 (100) hide show
  1. data/NEWS +31 -1
  2. data/bin/passenger-install-apache2-module +7 -1
  3. data/bin/passenger-install-nginx-module +1 -1
  4. data/bin/passenger-memory-stats +3 -3
  5. data/doc/Users guide Apache.html +112 -13
  6. data/doc/Users guide Apache.txt +70 -9
  7. data/doc/Users guide Nginx.html +1 -1
  8. data/doc/cxxapi/Bucket_8h-source.html +1 -1
  9. data/doc/cxxapi/Configuration_8h-source.html +1 -1
  10. data/doc/cxxapi/DirectoryMapper_8h-source.html +7 -7
  11. data/doc/cxxapi/Hooks_8h-source.html +1 -1
  12. data/doc/cxxapi/annotated.html +1 -1
  13. data/doc/cxxapi/classHooks-members.html +1 -1
  14. data/doc/cxxapi/classHooks.html +1 -1
  15. data/doc/cxxapi/classPassenger_1_1DirectoryMapper-members.html +1 -1
  16. data/doc/cxxapi/classPassenger_1_1DirectoryMapper.html +1 -1
  17. data/doc/cxxapi/classes.html +1 -1
  18. data/doc/cxxapi/definitions_8h-source.html +1 -1
  19. data/doc/cxxapi/files.html +1 -1
  20. data/doc/cxxapi/functions.html +1 -1
  21. data/doc/cxxapi/functions_func.html +1 -1
  22. data/doc/cxxapi/graph_legend.html +1 -1
  23. data/doc/cxxapi/group__Configuration.html +1 -1
  24. data/doc/cxxapi/group__Core.html +1 -1
  25. data/doc/cxxapi/group__Hooks.html +1 -1
  26. data/doc/cxxapi/group__Support.html +1 -1
  27. data/doc/cxxapi/main.html +1 -1
  28. data/doc/cxxapi/modules.html +1 -1
  29. data/doc/rdoc/classes/ConditionVariable.html +59 -59
  30. data/doc/rdoc/classes/Exception.html +11 -11
  31. data/doc/rdoc/classes/GC.html +4 -4
  32. data/doc/rdoc/classes/IO.html +14 -14
  33. data/doc/rdoc/classes/PhusionPassenger.html +13 -13
  34. data/doc/rdoc/classes/PhusionPassenger/AbstractInstaller.html +8 -8
  35. data/doc/rdoc/classes/PhusionPassenger/AbstractRequestHandler.html +26 -26
  36. data/doc/rdoc/classes/PhusionPassenger/AbstractServer.html +98 -98
  37. data/doc/rdoc/classes/PhusionPassenger/AbstractServerCollection.html +61 -61
  38. data/doc/rdoc/classes/PhusionPassenger/AdminTools.html +8 -8
  39. data/doc/rdoc/classes/PhusionPassenger/AdminTools/ControlProcess.html +32 -32
  40. data/doc/rdoc/classes/PhusionPassenger/Application.html +14 -14
  41. data/doc/rdoc/classes/PhusionPassenger/ConsoleTextTemplate.html +12 -12
  42. data/doc/rdoc/classes/PhusionPassenger/FrameworkInitError.html +4 -4
  43. data/doc/rdoc/classes/PhusionPassenger/HTMLTemplate.html +12 -12
  44. data/doc/rdoc/classes/PhusionPassenger/InitializationError.html +5 -5
  45. data/doc/rdoc/classes/PhusionPassenger/MessageChannel.html +42 -42
  46. data/doc/rdoc/classes/PhusionPassenger/NativeSupport.html +24 -24
  47. data/doc/rdoc/classes/PhusionPassenger/Rack/ApplicationSpawner.html +8 -8
  48. data/doc/rdoc/classes/PhusionPassenger/Rack/RequestHandler.html +8 -8
  49. data/doc/rdoc/classes/PhusionPassenger/Railz/ApplicationSpawner.html +62 -66
  50. data/doc/rdoc/classes/PhusionPassenger/Railz/CGIFixed.html +23 -23
  51. data/doc/rdoc/classes/PhusionPassenger/Railz/FrameworkSpawner.html +30 -30
  52. data/doc/rdoc/classes/PhusionPassenger/Railz/RequestHandler.html +8 -8
  53. data/doc/rdoc/classes/PhusionPassenger/SpawnManager.html +23 -23
  54. data/doc/rdoc/classes/PhusionPassenger/UnknownError.html +4 -4
  55. data/doc/rdoc/classes/PhusionPassenger/Utils.html +384 -384
  56. data/doc/rdoc/classes/PhusionPassenger/Utils/PseudoIO.html +36 -36
  57. data/doc/rdoc/classes/PhusionPassenger/VersionNotFound.html +4 -4
  58. data/doc/rdoc/classes/PhusionPassenger/WSGI/ApplicationSpawner.html +7 -7
  59. data/doc/rdoc/classes/PlatformInfo.html +234 -200
  60. data/doc/rdoc/classes/RakeExtensions.html +4 -4
  61. data/doc/rdoc/classes/Signal.html +27 -27
  62. data/doc/rdoc/created.rid +1 -1
  63. data/doc/rdoc/files/DEVELOPERS_TXT.html +1 -1
  64. data/doc/rdoc/files/ext/phusion_passenger/native_support_c.html +1 -1
  65. data/doc/rdoc/files/lib/phusion_passenger/abstract_installer_rb.html +1 -1
  66. data/doc/rdoc/files/lib/phusion_passenger/abstract_request_handler_rb.html +1 -1
  67. data/doc/rdoc/files/lib/phusion_passenger/abstract_server_rb.html +1 -1
  68. data/doc/rdoc/files/lib/phusion_passenger/admin_tools/control_process_rb.html +1 -1
  69. data/doc/rdoc/files/lib/phusion_passenger/application_rb.html +1 -1
  70. data/doc/rdoc/files/lib/phusion_passenger/constants_rb.html +1 -1
  71. data/doc/rdoc/files/lib/phusion_passenger/dependencies_rb.html +1 -1
  72. data/doc/rdoc/files/lib/phusion_passenger/message_channel_rb.html +1 -1
  73. data/doc/rdoc/files/lib/phusion_passenger/platform_info_rb.html +1 -1
  74. data/doc/rdoc/files/lib/phusion_passenger/rack/application_spawner_rb.html +1 -1
  75. data/doc/rdoc/files/lib/phusion_passenger/rack/request_handler_rb.html +1 -1
  76. data/doc/rdoc/files/lib/phusion_passenger/railz/application_spawner_rb.html +1 -3
  77. data/doc/rdoc/files/lib/phusion_passenger/railz/framework_spawner_rb.html +1 -1
  78. data/doc/rdoc/files/lib/phusion_passenger/spawn_manager_rb.html +1 -1
  79. data/doc/rdoc/files/lib/phusion_passenger/utils_rb.html +10 -9
  80. data/doc/rdoc/files/lib/phusion_passenger/wsgi/application_spawner_rb.html +1 -1
  81. data/doc/rdoc/fr_method_index.html +148 -147
  82. data/ext/apache2/DirectoryMapper.h +6 -6
  83. data/ext/common/Utils.cpp +31 -5
  84. data/ext/common/Version.h +1 -1
  85. data/ext/nginx/Configuration.c +4 -8
  86. data/ext/nginx/Configuration.h +2 -2
  87. data/ext/nginx/ContentHandler.c +11 -7
  88. data/ext/oxt/thread.hpp +12 -11
  89. data/lib/phusion_passenger/constants.rb +1 -1
  90. data/lib/phusion_passenger/dependencies.rb +40 -25
  91. data/lib/phusion_passenger/platform_info.rb +28 -11
  92. data/lib/phusion_passenger/railz/application_spawner.rb +3 -7
  93. data/lib/phusion_passenger/templates/apache2/deployment_example.txt.erb +7 -4
  94. data/lib/phusion_passenger/utils.rb +1 -0
  95. data/test/integration_tests/apache2_tests.rb +16 -0
  96. data/test/integration_tests/nginx_tests.rb +46 -0
  97. data/test/stub/MessageServer.dSYM/Contents/Info.plist +25 -0
  98. data/test/stub/MessageServer.dSYM/Contents/Resources/DWARF/MessageServer +0 -0
  99. data/test/stub/wsgi/passenger_wsgi.pyc +0 -0
  100. metadata +4 -2
@@ -98,9 +98,9 @@
98
98
 
99
99
  <div class="sectiontitle">Methods</div>
100
100
  <ul>
101
- <li><a href="#M000035">call_event</a></li>
102
- <li><a href="#M000036">natively_packaged?</a></li>
103
- <li><a href="#M000034">on_event</a></li>
101
+ <li><a href="#M000036">call_event</a></li>
102
+ <li><a href="#M000037">natively_packaged?</a></li>
103
+ <li><a href="#M000035">on_event</a></li>
104
104
  </ul>
105
105
 
106
106
 
@@ -134,7 +134,7 @@ Class <a href="PhusionPassenger/VersionNotFound.html" class="link">PhusionPassen
134
134
  <tr valign='top'>
135
135
  <td class="attr-name">VERSION_STRING</td>
136
136
  <td>=</td>
137
- <td class="attr-value">'2.2.5'</td>
137
+ <td class="attr-value">'2.2.6'</td>
138
138
  </tr>
139
139
  <tr valign='top'>
140
140
  <td>&nbsp;</td>
@@ -175,11 +175,11 @@ ext/common/Version.h too.
175
175
  <div class="sectiontitle">Public Class methods</div>
176
176
  <div class="method">
177
177
  <div class="title">
178
- <a name="M000035"></a><b>call_event</b>(name, *args)
178
+ <a name="M000036"></a><b>call_event</b>(name, *args)
179
179
  </div>
180
180
  <div class="sourcecode">
181
- <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p>
182
- <div id="M000035_source" class="dyn-source">
181
+ <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p>
182
+ <div id="M000036_source" class="dyn-source">
183
183
  <pre>
184
184
  <span class="ruby-comment cmt"># File lib/phusion_passenger/events.rb, line 32</span>
185
185
  32: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">call_event</span>(<span class="ruby-identifier">name</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
@@ -193,7 +193,7 @@ ext/common/Version.h too.
193
193
  </div>
194
194
  <div class="method">
195
195
  <div class="title">
196
- <a name="M000036"></a><b>natively_packaged?</b>()
196
+ <a name="M000037"></a><b>natively_packaged?</b>()
197
197
  </div>
198
198
  <div class="description">
199
199
  <p>
@@ -203,8 +203,8 @@ installed from source or with RubyGems.
203
203
  </p>
204
204
  </div>
205
205
  <div class="sourcecode">
206
- <p class="source-link">[ <a href="javascript:toggleSource('M000036_source')" id="l_M000036_source">show source</a> ]</p>
207
- <div id="M000036_source" class="dyn-source">
206
+ <p class="source-link">[ <a href="javascript:toggleSource('M000037_source')" id="l_M000037_source">show source</a> ]</p>
207
+ <div id="M000037_source" class="dyn-source">
208
208
  <pre>
209
209
  <span class="ruby-comment cmt"># File lib/phusion_passenger/packaging.rb, line 30</span>
210
210
  30: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">natively_packaged?</span>
@@ -216,11 +216,11 @@ installed from source or with RubyGems.
216
216
  </div>
217
217
  <div class="method">
218
218
  <div class="title">
219
- <a name="M000034"></a><b>on_event</b>(name, &amp;block)
219
+ <a name="M000035"></a><b>on_event</b>(name, &amp;block)
220
220
  </div>
221
221
  <div class="sourcecode">
222
- <p class="source-link">[ <a href="javascript:toggleSource('M000034_source')" id="l_M000034_source">show source</a> ]</p>
223
- <div id="M000034_source" class="dyn-source">
222
+ <p class="source-link">[ <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show source</a> ]</p>
223
+ <div id="M000035_source" class="dyn-source">
224
224
  <pre>
225
225
  <span class="ruby-comment cmt"># File lib/phusion_passenger/events.rb, line 28</span>
226
226
  28: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">on_event</span>(<span class="ruby-identifier">name</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -85,8 +85,8 @@ passenger-install-apache2-module and passenger-install-nginx-module.
85
85
 
86
86
  <div class="sectiontitle">Methods</div>
87
87
  <ul>
88
- <li><a href="#M000157">new</a></li>
89
- <li><a href="#M000158">start</a></li>
88
+ <li><a href="#M000148">new</a></li>
89
+ <li><a href="#M000149">start</a></li>
90
90
  </ul>
91
91
 
92
92
 
@@ -110,11 +110,11 @@ passenger-install-apache2-module and passenger-install-nginx-module.
110
110
  <div class="sectiontitle">Public Class methods</div>
111
111
  <div class="method">
112
112
  <div class="title">
113
- <a name="M000157"></a><b>new</b>(options = {})
113
+ <a name="M000148"></a><b>new</b>(options = {})
114
114
  </div>
115
115
  <div class="sourcecode">
116
- <p class="source-link">[ <a href="javascript:toggleSource('M000157_source')" id="l_M000157_source">show source</a> ]</p>
117
- <div id="M000157_source" class="dyn-source">
116
+ <p class="source-link">[ <a href="javascript:toggleSource('M000148_source')" id="l_M000148_source">show source</a> ]</p>
117
+ <div id="M000148_source" class="dyn-source">
118
118
  <pre>
119
119
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_installer.rb, line 36</span>
120
120
  36: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">options</span> = {})
@@ -129,11 +129,11 @@ passenger-install-apache2-module and passenger-install-nginx-module.
129
129
  <div class="sectiontitle">Public Instance methods</div>
130
130
  <div class="method">
131
131
  <div class="title">
132
- <a name="M000158"></a><b>start</b>()
132
+ <a name="M000149"></a><b>start</b>()
133
133
  </div>
134
134
  <div class="sourcecode">
135
- <p class="source-link">[ <a href="javascript:toggleSource('M000158_source')" id="l_M000158_source">show source</a> ]</p>
136
- <div id="M000158_source" class="dyn-source">
135
+ <p class="source-link">[ <a href="javascript:toggleSource('M000149_source')" id="l_M000149_source">show source</a> ]</p>
136
+ <div id="M000149_source" class="dyn-source">
137
137
  <pre>
138
138
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_installer.rb, line 42</span>
139
139
  42: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start</span>
@@ -161,11 +161,11 @@ and sends it to the request handler.
161
161
 
162
162
  <div class="sectiontitle">Methods</div>
163
163
  <ul>
164
- <li><a href="#M000125">cleanup</a></li>
165
- <li><a href="#M000127">main_loop</a></li>
166
- <li><a href="#M000126">main_loop_running?</a></li>
167
- <li><a href="#M000124">new</a></li>
168
- <li><a href="#M000128">start_main_loop_thread</a></li>
164
+ <li><a href="#M000135">cleanup</a></li>
165
+ <li><a href="#M000137">main_loop</a></li>
166
+ <li><a href="#M000136">main_loop_running?</a></li>
167
+ <li><a href="#M000134">new</a></li>
168
+ <li><a href="#M000138">start_main_loop_thread</a></li>
169
169
  </ul>
170
170
 
171
171
  <div class="sectiontitle">Included Modules</div>
@@ -268,7 +268,7 @@ exceptions.
268
268
  <td class='attr-name'>socket_name</td>
269
269
  <td class='attr-desc'>
270
270
  The name of the socket on which the request handler accepts <a
271
- href="AbstractRequestHandler.html#M000124">new</a> connections. At this
271
+ href="AbstractRequestHandler.html#M000134">new</a> connections. At this
272
272
  moment, this value is always the filename of a Unix domain socket.
273
273
 
274
274
  <p>
@@ -292,11 +292,11 @@ always &#8216;unix&#8217;, which indicates a Unix domain socket.
292
292
  <div class="sectiontitle">Public Class methods</div>
293
293
  <div class="method">
294
294
  <div class="title">
295
- <a name="M000124"></a><b>new</b>(owner_pipe, options = {})
295
+ <a name="M000134"></a><b>new</b>(owner_pipe, options = {})
296
296
  </div>
297
297
  <div class="description">
298
298
  <p>
299
- Create a <a href="AbstractRequestHandler.html#M000124">new</a>
299
+ Create a <a href="AbstractRequestHandler.html#M000134">new</a>
300
300
  RequestHandler with the given owner pipe. <tt>owner_pipe</tt> must be the
301
301
  readable part of a pipe <a href="../IO.html">IO</a> object.
302
302
  </p>
@@ -310,8 +310,8 @@ Additionally, the following options may be given:
310
310
  </ul>
311
311
  </div>
312
312
  <div class="sourcecode">
313
- <p class="source-link">[ <a href="javascript:toggleSource('M000124_source')" id="l_M000124_source">show source</a> ]</p>
314
- <div id="M000124_source" class="dyn-source">
313
+ <p class="source-link">[ <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">show source</a> ]</p>
314
+ <div id="M000134_source" class="dyn-source">
315
315
  <pre>
316
316
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_request_handler.rb, line 137</span>
317
317
  137: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">owner_pipe</span>, <span class="ruby-identifier">options</span> = {})
@@ -338,7 +338,7 @@ Additionally, the following options may be given:
338
338
  <div class="sectiontitle">Public Instance methods</div>
339
339
  <div class="method">
340
340
  <div class="title">
341
- <a name="M000125"></a><b>cleanup</b>()
341
+ <a name="M000135"></a><b>cleanup</b>()
342
342
  </div>
343
343
  <div class="description">
344
344
  <p>
@@ -346,19 +346,19 @@ Clean up temporary stuff created by the request handler.
346
346
  </p>
347
347
  <p>
348
348
  If the main loop was started by <a
349
- href="AbstractRequestHandler.html#M000127">#main_loop</a>, then this method
349
+ href="AbstractRequestHandler.html#M000137">#main_loop</a>, then this method
350
350
  may only be called after the main loop has exited.
351
351
  </p>
352
352
  <p>
353
353
  If the main loop was started by <a
354
- href="AbstractRequestHandler.html#M000128">#start_main_loop_thread</a>,
354
+ href="AbstractRequestHandler.html#M000138">#start_main_loop_thread</a>,
355
355
  then this method may be called at any time, and it will stop the main loop
356
356
  thread.
357
357
  </p>
358
358
  </div>
359
359
  <div class="sourcecode">
360
- <p class="source-link">[ <a href="javascript:toggleSource('M000125_source')" id="l_M000125_source">show source</a> ]</p>
361
- <div id="M000125_source" class="dyn-source">
360
+ <p class="source-link">[ <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">show source</a> ]</p>
361
+ <div id="M000135_source" class="dyn-source">
362
362
  <pre>
363
363
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_request_handler.rb, line 162</span>
364
364
  162: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">cleanup</span>
@@ -378,7 +378,7 @@ thread.
378
378
  </div>
379
379
  <div class="method">
380
380
  <div class="title">
381
- <a name="M000127"></a><b>main_loop</b>()
381
+ <a name="M000137"></a><b>main_loop</b>()
382
382
  </div>
383
383
  <div class="description">
384
384
  <p>
@@ -386,8 +386,8 @@ Enter the request handler&#8216;s main loop.
386
386
  </p>
387
387
  </div>
388
388
  <div class="sourcecode">
389
- <p class="source-link">[ <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">show source</a> ]</p>
390
- <div id="M000127_source" class="dyn-source">
389
+ <p class="source-link">[ <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show source</a> ]</p>
390
+ <div id="M000137_source" class="dyn-source">
391
391
  <pre>
392
392
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_request_handler.rb, line 180</span>
393
393
  180: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">main_loop</span>
@@ -459,7 +459,7 @@ Enter the request handler&#8216;s main loop.
459
459
  </div>
460
460
  <div class="method">
461
461
  <div class="title">
462
- <a name="M000126"></a><b>main_loop_running?</b>()
462
+ <a name="M000136"></a><b>main_loop_running?</b>()
463
463
  </div>
464
464
  <div class="description">
465
465
  <p>
@@ -467,8 +467,8 @@ Check whether the main loop&#8216;s currently running.
467
467
  </p>
468
468
  </div>
469
469
  <div class="sourcecode">
470
- <p class="source-link">[ <a href="javascript:toggleSource('M000126_source')" id="l_M000126_source">show source</a> ]</p>
471
- <div id="M000126_source" class="dyn-source">
470
+ <p class="source-link">[ <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show source</a> ]</p>
471
+ <div id="M000136_source" class="dyn-source">
472
472
  <pre>
473
473
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_request_handler.rb, line 175</span>
474
474
  175: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">main_loop_running?</span>
@@ -480,18 +480,18 @@ Check whether the main loop&#8216;s currently running.
480
480
  </div>
481
481
  <div class="method">
482
482
  <div class="title">
483
- <a name="M000128"></a><b>start_main_loop_thread</b>()
483
+ <a name="M000138"></a><b>start_main_loop_thread</b>()
484
484
  </div>
485
485
  <div class="description">
486
486
  <p>
487
487
  Start the main loop in a <a
488
- href="AbstractRequestHandler.html#M000124">new</a> thread. This thread will
489
- be stopped by <a href="AbstractRequestHandler.html#M000125">#cleanup</a>.
488
+ href="AbstractRequestHandler.html#M000134">new</a> thread. This thread will
489
+ be stopped by <a href="AbstractRequestHandler.html#M000135">#cleanup</a>.
490
490
  </p>
491
491
  </div>
492
492
  <div class="sourcecode">
493
- <p class="source-link">[ <a href="javascript:toggleSource('M000128_source')" id="l_M000128_source">show source</a> ]</p>
494
- <div id="M000128_source" class="dyn-source">
493
+ <p class="source-link">[ <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show source</a> ]</p>
494
+ <div id="M000138_source" class="dyn-source">
495
495
  <pre>
496
496
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_request_handler.rb, line 245</span>
497
497
  245: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_main_loop_thread</span>
@@ -77,29 +77,29 @@ Object
77
77
 
78
78
  <div class="description"><p>
79
79
  An abstract base class for a <a
80
- href="AbstractServer.html#M000144">server</a>, with the following
80
+ href="AbstractServer.html#M000130">server</a>, with the following
81
81
  properties:
82
82
  </p>
83
83
  <ul>
84
- <li>The <a href="AbstractServer.html#M000144">server</a> has exactly one <a
85
- href="AbstractServer.html#M000145">client</a>, and is connected to that <a
86
- href="AbstractServer.html#M000145">client</a> at all times. The <a
87
- href="AbstractServer.html#M000144">server</a> will quit when the connection
84
+ <li>The <a href="AbstractServer.html#M000130">server</a> has exactly one <a
85
+ href="AbstractServer.html#M000131">client</a>, and is connected to that <a
86
+ href="AbstractServer.html#M000131">client</a> at all times. The <a
87
+ href="AbstractServer.html#M000130">server</a> will quit when the connection
88
88
  closes.
89
89
 
90
90
  </li>
91
- <li>The <a href="AbstractServer.html#M000144">server</a>&#8216;s main loop may
91
+ <li>The <a href="AbstractServer.html#M000130">server</a>&#8216;s main loop may
92
92
  be run in a child process (and so is asynchronous from the main process).
93
93
 
94
94
  </li>
95
95
  <li>One can communicate with the <a
96
- href="AbstractServer.html#M000144">server</a> through discrete messages (as
96
+ href="AbstractServer.html#M000130">server</a> through discrete messages (as
97
97
  opposed to byte streams).
98
98
 
99
99
  </li>
100
- <li>The <a href="AbstractServer.html#M000144">server</a> can pass file
100
+ <li>The <a href="AbstractServer.html#M000130">server</a> can pass file
101
101
  descriptors (<a href="../IO.html">IO</a> objects) back to the <a
102
- href="AbstractServer.html#M000145">client</a>.
102
+ href="AbstractServer.html#M000131">client</a>.
103
103
 
104
104
  </li>
105
105
  </ul>
@@ -108,17 +108,17 @@ A message is just an ordered list of strings. The first element in the
108
108
  message is the _message name_.
109
109
  </p>
110
110
  <p>
111
- The <a href="AbstractServer.html#M000144">server</a> will also reset all
111
+ The <a href="AbstractServer.html#M000130">server</a> will also reset all
112
112
  signal handlers (in the child process). That is, it will respond to all
113
113
  signals in the default manner. The only exception is SIGHUP, which is
114
114
  ignored. One may define additional signal handlers using <a
115
- href="AbstractServer.html#M000143">define_signal_handler</a>().
115
+ href="AbstractServer.html#M000129">define_signal_handler</a>().
116
116
  </p>
117
117
  <p>
118
118
  Before an <a href="AbstractServer.html">AbstractServer</a> can be used, it
119
119
  must first be started by calling <a
120
- href="AbstractServer.html#M000134">start</a>(). When it is no longer
121
- needed, <a href="AbstractServer.html#M000136">stop</a>() should be called.
120
+ href="AbstractServer.html#M000120">start</a>(). When it is no longer
121
+ needed, <a href="AbstractServer.html#M000122">stop</a>() should be called.
122
122
  </p>
123
123
  <p>
124
124
  Here&#8216;s an example on using <a
@@ -155,21 +155,21 @@ href="AbstractServer.html">AbstractServer</a>:
155
155
 
156
156
  <div class="sectiontitle">Methods</div>
157
157
  <ul>
158
- <li><a href="#M000139">before_fork</a></li>
159
- <li><a href="#M000145">client</a></li>
160
- <li><a href="#M000142">define_message_handler</a></li>
161
- <li><a href="#M000143">define_signal_handler</a></li>
162
- <li><a href="#M000147">fileno_of</a></li>
163
- <li><a href="#M000141">finalize_server</a></li>
164
- <li><a href="#M000140">initialize_server</a></li>
165
- <li><a href="#M000133">new</a></li>
166
- <li><a href="#M000146">quit_main</a></li>
167
- <li><a href="#M000144">server</a></li>
168
- <li><a href="#M000138">server_pid</a></li>
169
- <li><a href="#M000134">start</a></li>
170
- <li><a href="#M000135">start_synchronously</a></li>
171
- <li><a href="#M000137">started?</a></li>
172
- <li><a href="#M000136">stop</a></li>
158
+ <li><a href="#M000125">before_fork</a></li>
159
+ <li><a href="#M000131">client</a></li>
160
+ <li><a href="#M000128">define_message_handler</a></li>
161
+ <li><a href="#M000129">define_signal_handler</a></li>
162
+ <li><a href="#M000133">fileno_of</a></li>
163
+ <li><a href="#M000127">finalize_server</a></li>
164
+ <li><a href="#M000126">initialize_server</a></li>
165
+ <li><a href="#M000119">new</a></li>
166
+ <li><a href="#M000132">quit_main</a></li>
167
+ <li><a href="#M000130">server</a></li>
168
+ <li><a href="#M000124">server_pid</a></li>
169
+ <li><a href="#M000120">start</a></li>
170
+ <li><a href="#M000121">start_synchronously</a></li>
171
+ <li><a href="#M000123">started?</a></li>
172
+ <li><a href="#M000122">stop</a></li>
173
173
  </ul>
174
174
 
175
175
  <div class="sectiontitle">Included Modules</div>
@@ -239,11 +239,11 @@ be idle cleaned.
239
239
  <div class="sectiontitle">Public Class methods</div>
240
240
  <div class="method">
241
241
  <div class="title">
242
- <a name="M000133"></a><b>new</b>()
242
+ <a name="M000119"></a><b>new</b>()
243
243
  </div>
244
244
  <div class="sourcecode">
245
- <p class="source-link">[ <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">show source</a> ]</p>
246
- <div id="M000133_source" class="dyn-source">
245
+ <p class="source-link">[ <a href="javascript:toggleSource('M000119_source')" id="l_M000119_source">show source</a> ]</p>
246
+ <div id="M000119_source" class="dyn-source">
247
247
  <pre>
248
248
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 109</span>
249
249
  109: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>
@@ -260,18 +260,18 @@ be idle cleaned.
260
260
  <div class="sectiontitle">Public Instance methods</div>
261
261
  <div class="method">
262
262
  <div class="title">
263
- <a name="M000138"></a><b>server_pid</b>()
263
+ <a name="M000124"></a><b>server_pid</b>()
264
264
  </div>
265
265
  <div class="description">
266
266
  <p>
267
267
  Return the PID of the started <a
268
- href="AbstractServer.html#M000144">server</a>. This is only valid if <a
269
- href="AbstractServer.html#M000134">start</a>() has been called.
268
+ href="AbstractServer.html#M000130">server</a>. This is only valid if <a
269
+ href="AbstractServer.html#M000120">start</a>() has been called.
270
270
  </p>
271
271
  </div>
272
272
  <div class="sourcecode">
273
- <p class="source-link">[ <a href="javascript:toggleSource('M000138_source')" id="l_M000138_source">show source</a> ]</p>
274
- <div id="M000138_source" class="dyn-source">
273
+ <p class="source-link">[ <a href="javascript:toggleSource('M000124_source')" id="l_M000124_source">show source</a> ]</p>
274
+ <div id="M000124_source" class="dyn-source">
275
275
  <pre>
276
276
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 244</span>
277
277
  244: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">server_pid</span>
@@ -283,17 +283,17 @@ href="AbstractServer.html#M000134">start</a>() has been called.
283
283
  </div>
284
284
  <div class="method">
285
285
  <div class="title">
286
- <a name="M000134"></a><b>start</b>()
286
+ <a name="M000120"></a><b>start</b>()
287
287
  </div>
288
288
  <div class="description">
289
289
  <p>
290
- Start the <a href="AbstractServer.html#M000144">server</a>. This method
291
- does not block since the <a href="AbstractServer.html#M000144">server</a>
290
+ Start the <a href="AbstractServer.html#M000130">server</a>. This method
291
+ does not block since the <a href="AbstractServer.html#M000130">server</a>
292
292
  runs asynchronously from the current process.
293
293
  </p>
294
294
  <p>
295
295
  You may only call this method if the <a
296
- href="AbstractServer.html#M000144">server</a> is not already started.
296
+ href="AbstractServer.html#M000130">server</a> is not already started.
297
297
  Otherwise, a <a
298
298
  href="AbstractServer/ServerAlreadyStarted.html">ServerAlreadyStarted</a>
299
299
  will be raised.
@@ -303,8 +303,8 @@ Derived classes may raise additional exceptions.
303
303
  </p>
304
304
  </div>
305
305
  <div class="sourcecode">
306
- <p class="source-link">[ <a href="javascript:toggleSource('M000134_source')" id="l_M000134_source">show source</a> ]</p>
307
- <div id="M000134_source" class="dyn-source">
306
+ <p class="source-link">[ <a href="javascript:toggleSource('M000120_source')" id="l_M000120_source">show source</a> ]</p>
307
+ <div id="M000120_source" class="dyn-source">
308
308
  <pre>
309
309
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 124</span>
310
310
  124: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start</span>
@@ -370,29 +370,29 @@ Derived classes may raise additional exceptions.
370
370
  </div>
371
371
  <div class="method">
372
372
  <div class="title">
373
- <a name="M000135"></a><b>start_synchronously</b>(socket)
373
+ <a name="M000121"></a><b>start_synchronously</b>(socket)
374
374
  </div>
375
375
  <div class="description">
376
376
  <p>
377
- Start the <a href="AbstractServer.html#M000144">server</a>, but in the
377
+ Start the <a href="AbstractServer.html#M000130">server</a>, but in the
378
378
  current process instead of in a child process. This method blocks until the
379
- <a href="AbstractServer.html#M000144">server</a>&#8216;s main loop has
379
+ <a href="AbstractServer.html#M000130">server</a>&#8216;s main loop has
380
380
  ended.
381
381
  </p>
382
382
  <p>
383
383
  <em>socket</em> is the socket that the <a
384
- href="AbstractServer.html#M000144">server</a> should listen on. The <a
385
- href="AbstractServer.html#M000144">server</a> main loop will end if the
384
+ href="AbstractServer.html#M000130">server</a> should listen on. The <a
385
+ href="AbstractServer.html#M000130">server</a> main loop will end if the
386
386
  socket has been closed.
387
387
  </p>
388
388
  <p>
389
389
  All hooks will be called, except <a
390
- href="AbstractServer.html#M000139">before_fork</a>().
390
+ href="AbstractServer.html#M000125">before_fork</a>().
391
391
  </p>
392
392
  </div>
393
393
  <div class="sourcecode">
394
- <p class="source-link">[ <a href="javascript:toggleSource('M000135_source')" id="l_M000135_source">show source</a> ]</p>
395
- <div id="M000135_source" class="dyn-source">
394
+ <p class="source-link">[ <a href="javascript:toggleSource('M000121_source')" id="l_M000121_source">show source</a> ]</p>
395
+ <div id="M000121_source" class="dyn-source">
396
396
  <pre>
397
397
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 189</span>
398
398
  189: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">start_synchronously</span>(<span class="ruby-identifier">socket</span>)
@@ -416,17 +416,17 @@ href="AbstractServer.html#M000139">before_fork</a>().
416
416
  </div>
417
417
  <div class="method">
418
418
  <div class="title">
419
- <a name="M000137"></a><b>started?</b>()
419
+ <a name="M000123"></a><b>started?</b>()
420
420
  </div>
421
421
  <div class="description">
422
422
  <p>
423
- Return whether the <a href="AbstractServer.html#M000144">server</a> has
423
+ Return whether the <a href="AbstractServer.html#M000130">server</a> has
424
424
  been started.
425
425
  </p>
426
426
  </div>
427
427
  <div class="sourcecode">
428
- <p class="source-link">[ <a href="javascript:toggleSource('M000137_source')" id="l_M000137_source">show source</a> ]</p>
429
- <div id="M000137_source" class="dyn-source">
428
+ <p class="source-link">[ <a href="javascript:toggleSource('M000123_source')" id="l_M000123_source">show source</a> ]</p>
429
+ <div id="M000123_source" class="dyn-source">
430
430
  <pre>
431
431
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 239</span>
432
432
  239: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">started?</span>
@@ -438,25 +438,25 @@ been started.
438
438
  </div>
439
439
  <div class="method">
440
440
  <div class="title">
441
- <a name="M000136"></a><b>stop</b>()
441
+ <a name="M000122"></a><b>stop</b>()
442
442
  </div>
443
443
  <div class="description">
444
444
  <p>
445
- Stop the <a href="AbstractServer.html#M000144">server</a>. The <a
446
- href="AbstractServer.html#M000144">server</a> will quit as soon as
445
+ Stop the <a href="AbstractServer.html#M000130">server</a>. The <a
446
+ href="AbstractServer.html#M000130">server</a> will quit as soon as
447
447
  possible. This method waits until the <a
448
- href="AbstractServer.html#M000144">server</a> has been stopped.
448
+ href="AbstractServer.html#M000130">server</a> has been stopped.
449
449
  </p>
450
450
  <p>
451
451
  When calling this method, the <a
452
- href="AbstractServer.html#M000144">server</a> must already be started. If
452
+ href="AbstractServer.html#M000130">server</a> must already be started. If
453
453
  not, a <a href="AbstractServer/ServerNotStarted.html">ServerNotStarted</a>
454
454
  will be raised.
455
455
  </p>
456
456
  </div>
457
457
  <div class="sourcecode">
458
- <p class="source-link">[ <a href="javascript:toggleSource('M000136_source')" id="l_M000136_source">show source</a> ]</p>
459
- <div id="M000136_source" class="dyn-source">
458
+ <p class="source-link">[ <a href="javascript:toggleSource('M000122_source')" id="l_M000122_source">show source</a> ]</p>
459
+ <div id="M000122_source" class="dyn-source">
460
460
  <pre>
461
461
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 210</span>
462
462
  210: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stop</span>
@@ -493,20 +493,20 @@ will be raised.
493
493
  <div class="sectiontitle">Protected Instance methods</div>
494
494
  <div class="method">
495
495
  <div class="title">
496
- <a name="M000139"></a><b>before_fork</b>()
496
+ <a name="M000125"></a><b>before_fork</b>()
497
497
  </div>
498
498
  <div class="description">
499
499
  <p>
500
500
  A hook which is called when the <a
501
- href="AbstractServer.html#M000144">server</a> is being started, just before
502
- forking a <a href="AbstractServer.html#M000133">new</a> process. The
501
+ href="AbstractServer.html#M000130">server</a> is being started, just before
502
+ forking a <a href="AbstractServer.html#M000119">new</a> process. The
503
503
  default implementation does nothing, this method is supposed to be
504
504
  overrided by child classes.
505
505
  </p>
506
506
  </div>
507
507
  <div class="sourcecode">
508
- <p class="source-link">[ <a href="javascript:toggleSource('M000139_source')" id="l_M000139_source">show source</a> ]</p>
509
- <div id="M000139_source" class="dyn-source">
508
+ <p class="source-link">[ <a href="javascript:toggleSource('M000125_source')" id="l_M000125_source">show source</a> ]</p>
509
+ <div id="M000125_source" class="dyn-source">
510
510
  <pre>
511
511
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 251</span>
512
512
  251: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">before_fork</span>
@@ -517,19 +517,19 @@ overrided by child classes.
517
517
  </div>
518
518
  <div class="method">
519
519
  <div class="title">
520
- <a name="M000145"></a><b>client</b>()
520
+ <a name="M000131"></a><b>client</b>()
521
521
  </div>
522
522
  <div class="description">
523
523
  <p>
524
524
  Return the communication channel with the <a
525
- href="AbstractServer.html#M000145">client</a> (i.e. the parent process that
526
- started the <a href="AbstractServer.html#M000144">server</a>). This is a <a
525
+ href="AbstractServer.html#M000131">client</a> (i.e. the parent process that
526
+ started the <a href="AbstractServer.html#M000130">server</a>). This is a <a
527
527
  href="MessageChannel.html">MessageChannel</a> object.
528
528
  </p>
529
529
  </div>
530
530
  <div class="sourcecode">
531
- <p class="source-link">[ <a href="javascript:toggleSource('M000145_source')" id="l_M000145_source">show source</a> ]</p>
532
- <div id="M000145_source" class="dyn-source">
531
+ <p class="source-link">[ <a href="javascript:toggleSource('M000131_source')" id="l_M000131_source">show source</a> ]</p>
532
+ <div id="M000131_source" class="dyn-source">
533
533
  <pre>
534
534
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 296</span>
535
535
  296: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client</span>
@@ -541,7 +541,7 @@ href="MessageChannel.html">MessageChannel</a> object.
541
541
  </div>
542
542
  <div class="method">
543
543
  <div class="title">
544
- <a name="M000142"></a><b>define_message_handler</b>(message_name, handler)
544
+ <a name="M000128"></a><b>define_message_handler</b>(message_name, handler)
545
545
  </div>
546
546
  <div class="description">
547
547
  <p>
@@ -556,8 +556,8 @@ the example in the class description.
556
556
  </p>
557
557
  </div>
558
558
  <div class="sourcecode">
559
- <p class="source-link">[ <a href="javascript:toggleSource('M000142_source')" id="l_M000142_source">show source</a> ]</p>
560
- <div id="M000142_source" class="dyn-source">
559
+ <p class="source-link">[ <a href="javascript:toggleSource('M000128_source')" id="l_M000128_source">show source</a> ]</p>
560
+ <div id="M000128_source" class="dyn-source">
561
561
  <pre>
562
562
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 271</span>
563
563
  271: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">define_message_handler</span>(<span class="ruby-identifier">message_name</span>, <span class="ruby-identifier">handler</span>)
@@ -569,7 +569,7 @@ the example in the class description.
569
569
  </div>
570
570
  <div class="method">
571
571
  <div class="title">
572
- <a name="M000143"></a><b>define_signal_handler</b>(signal, handler)
572
+ <a name="M000129"></a><b>define_signal_handler</b>(signal, handler)
573
573
  </div>
574
574
  <div class="description">
575
575
  <p>
@@ -577,8 +577,8 @@ Define a handler for a signal.
577
577
  </p>
578
578
  </div>
579
579
  <div class="sourcecode">
580
- <p class="source-link">[ <a href="javascript:toggleSource('M000143_source')" id="l_M000143_source">show source</a> ]</p>
581
- <div id="M000143_source" class="dyn-source">
580
+ <p class="source-link">[ <a href="javascript:toggleSource('M000129_source')" id="l_M000129_source">show source</a> ]</p>
581
+ <div id="M000129_source" class="dyn-source">
582
582
  <pre>
583
583
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 276</span>
584
584
  276: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">define_signal_handler</span>(<span class="ruby-identifier">signal</span>, <span class="ruby-identifier">handler</span>)
@@ -590,11 +590,11 @@ Define a handler for a signal.
590
590
  </div>
591
591
  <div class="method">
592
592
  <div class="title">
593
- <a name="M000147"></a><b>fileno_of</b>(io)
593
+ <a name="M000133"></a><b>fileno_of</b>(io)
594
594
  </div>
595
595
  <div class="sourcecode">
596
- <p class="source-link">[ <a href="javascript:toggleSource('M000147_source')" id="l_M000147_source">show source</a> ]</p>
597
- <div id="M000147_source" class="dyn-source">
596
+ <p class="source-link">[ <a href="javascript:toggleSource('M000133_source')" id="l_M000133_source">show source</a> ]</p>
597
+ <div id="M000133_source" class="dyn-source">
598
598
  <pre>
599
599
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 305</span>
600
600
  305: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">fileno_of</span>(<span class="ruby-identifier">io</span>)
@@ -608,20 +608,20 @@ Define a handler for a signal.
608
608
  </div>
609
609
  <div class="method">
610
610
  <div class="title">
611
- <a name="M000141"></a><b>finalize_server</b>()
611
+ <a name="M000127"></a><b>finalize_server</b>()
612
612
  </div>
613
613
  <div class="description">
614
614
  <p>
615
615
  A hook which is called when the <a
616
- href="AbstractServer.html#M000144">server</a> is being stopped. This is
616
+ href="AbstractServer.html#M000130">server</a> is being stopped. This is
617
617
  called in the child process, after the main loop has been left. The default
618
618
  implementation does nothing, this method is supposed to be overrided by
619
619
  child classes.
620
620
  </p>
621
621
  </div>
622
622
  <div class="sourcecode">
623
- <p class="source-link">[ <a href="javascript:toggleSource('M000141_source')" id="l_M000141_source">show source</a> ]</p>
624
- <div id="M000141_source" class="dyn-source">
623
+ <p class="source-link">[ <a href="javascript:toggleSource('M000127_source')" id="l_M000127_source">show source</a> ]</p>
624
+ <div id="M000127_source" class="dyn-source">
625
625
  <pre>
626
626
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 263</span>
627
627
  263: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">finalize_server</span>
@@ -632,20 +632,20 @@ child classes.
632
632
  </div>
633
633
  <div class="method">
634
634
  <div class="title">
635
- <a name="M000140"></a><b>initialize_server</b>()
635
+ <a name="M000126"></a><b>initialize_server</b>()
636
636
  </div>
637
637
  <div class="description">
638
638
  <p>
639
639
  A hook which is called when the <a
640
- href="AbstractServer.html#M000144">server</a> is being started. This is
640
+ href="AbstractServer.html#M000130">server</a> is being started. This is
641
641
  called in the child process, before the main loop is entered. The default
642
642
  implementation does nothing, this method is supposed to be overrided by
643
643
  child classes.
644
644
  </p>
645
645
  </div>
646
646
  <div class="sourcecode">
647
- <p class="source-link">[ <a href="javascript:toggleSource('M000140_source')" id="l_M000140_source">show source</a> ]</p>
648
- <div id="M000140_source" class="dyn-source">
647
+ <p class="source-link">[ <a href="javascript:toggleSource('M000126_source')" id="l_M000126_source">show source</a> ]</p>
648
+ <div id="M000126_source" class="dyn-source">
649
649
  <pre>
650
650
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 257</span>
651
651
  257: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize_server</span>
@@ -656,17 +656,17 @@ child classes.
656
656
  </div>
657
657
  <div class="method">
658
658
  <div class="title">
659
- <a name="M000146"></a><b>quit_main</b>()
659
+ <a name="M000132"></a><b>quit_main</b>()
660
660
  </div>
661
661
  <div class="description">
662
662
  <p>
663
- Tell the main loop to <a href="AbstractServer.html#M000136">stop</a> as
663
+ Tell the main loop to <a href="AbstractServer.html#M000122">stop</a> as
664
664
  soon as possible.
665
665
  </p>
666
666
  </div>
667
667
  <div class="sourcecode">
668
- <p class="source-link">[ <a href="javascript:toggleSource('M000146_source')" id="l_M000146_source">show source</a> ]</p>
669
- <div id="M000146_source" class="dyn-source">
668
+ <p class="source-link">[ <a href="javascript:toggleSource('M000132_source')" id="l_M000132_source">show source</a> ]</p>
669
+ <div id="M000132_source" class="dyn-source">
670
670
  <pre>
671
671
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 301</span>
672
672
  301: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">quit_main</span>
@@ -678,27 +678,27 @@ soon as possible.
678
678
  </div>
679
679
  <div class="method">
680
680
  <div class="title">
681
- <a name="M000144"></a><b>server</b>()
681
+ <a name="M000130"></a><b>server</b>()
682
682
  </div>
683
683
  <div class="description">
684
684
  <p>
685
685
  Return the communication channel with the <a
686
- href="AbstractServer.html#M000144">server</a>. This is a <a
686
+ href="AbstractServer.html#M000130">server</a>. This is a <a
687
687
  href="MessageChannel.html">MessageChannel</a> object.
688
688
  </p>
689
689
  <p>
690
690
  Raises <a href="AbstractServer/ServerNotStarted.html">ServerNotStarted</a>
691
- if the <a href="AbstractServer.html#M000144">server</a> hasn&#8216;t been
691
+ if the <a href="AbstractServer.html#M000130">server</a> hasn&#8216;t been
692
692
  started yet.
693
693
  </p>
694
694
  <p>
695
695
  This method may only be called in the parent process, and not in the
696
- started <a href="AbstractServer.html#M000144">server</a> process.
696
+ started <a href="AbstractServer.html#M000130">server</a> process.
697
697
  </p>
698
698
  </div>
699
699
  <div class="sourcecode">
700
- <p class="source-link">[ <a href="javascript:toggleSource('M000144_source')" id="l_M000144_source">show source</a> ]</p>
701
- <div id="M000144_source" class="dyn-source">
700
+ <p class="source-link">[ <a href="javascript:toggleSource('M000130_source')" id="l_M000130_source">show source</a> ]</p>
701
+ <div id="M000130_source" class="dyn-source">
702
702
  <pre>
703
703
  <span class="ruby-comment cmt"># File lib/phusion_passenger/abstract_server.rb, line 287</span>
704
704
  287: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">server</span>