passenger 2.1.3 → 2.2.0

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 (398) hide show
  1. data/DEVELOPERS.TXT +2 -0
  2. data/INSTALL +3 -1
  3. data/LICENSE +19 -355
  4. data/NEWS +3 -0
  5. data/README +11 -4
  6. data/Rakefile +435 -236
  7. data/bin/passenger-config +20 -14
  8. data/bin/passenger-install-apache2-module +67 -201
  9. data/bin/passenger-install-nginx-module +477 -0
  10. data/bin/passenger-make-enterprisey +17 -12
  11. data/bin/passenger-memory-stats +33 -23
  12. data/bin/passenger-spawn-server +17 -12
  13. data/bin/passenger-status +18 -13
  14. data/bin/passenger-stress-test +17 -12
  15. data/doc/{Users guide.html → Users guide Apache.html } +79 -61
  16. data/doc/{Users guide.txt → Users guide Apache.txt } +43 -939
  17. data/doc/Users guide Nginx.html +2276 -0
  18. data/doc/Users guide Nginx.txt +776 -0
  19. data/doc/cxxapi/ApplicationPoolServer_8h-source.html +9 -4
  20. data/doc/cxxapi/ApplicationPool_8h-source.html +9 -4
  21. data/doc/cxxapi/Application_8h-source.html +26 -21
  22. data/doc/cxxapi/Bucket_8h-source.html +54 -44
  23. data/doc/cxxapi/CachedFileStat_8h-source.html +9 -4
  24. data/doc/cxxapi/Configuration_8h-source.html +357 -339
  25. data/doc/cxxapi/DirectoryMapper_8h-source.html +294 -280
  26. data/doc/cxxapi/DummySpawnManager_8h-source.html +9 -4
  27. data/doc/cxxapi/Exceptions_8h-source.html +9 -4
  28. data/doc/cxxapi/FileChecker_8h-source.html +9 -4
  29. data/doc/cxxapi/Hooks_8h-source.html +50 -40
  30. data/doc/cxxapi/Logging_8h-source.html +9 -4
  31. data/doc/cxxapi/MessageChannel_8h-source.html +20 -15
  32. data/doc/cxxapi/PoolOptions_8h-source.html +10 -5
  33. data/doc/cxxapi/SpawnManager_8h-source.html +9 -4
  34. data/doc/cxxapi/StandardApplicationPool_8h-source.html +10 -5
  35. data/doc/cxxapi/SystemTime_8h-source.html +9 -4
  36. data/doc/cxxapi/Utils_8h-source.html +242 -214
  37. data/doc/cxxapi/annotated.html +4 -28
  38. data/doc/cxxapi/classClient-members.html +4 -4
  39. data/doc/cxxapi/classClient.html +14 -11
  40. data/doc/cxxapi/classHooks-members.html +4 -5
  41. data/doc/cxxapi/classHooks.html +26 -24
  42. data/doc/cxxapi/classPassenger_1_1Application-members.html +4 -4
  43. data/doc/cxxapi/classPassenger_1_1Application.html +40 -37
  44. data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +4 -4
  45. data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +95 -92
  46. data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +4 -4
  47. data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +26 -23
  48. data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.map +1 -1
  49. data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.md5 +1 -1
  50. data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.png +0 -0
  51. data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +17 -17
  52. data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +139 -136
  53. data/doc/cxxapi/classPassenger_1_1BufferedUpload-members.html +4 -4
  54. data/doc/cxxapi/classPassenger_1_1BufferedUpload.html +13 -10
  55. data/doc/cxxapi/classPassenger_1_1BusyException-members.html +4 -4
  56. data/doc/cxxapi/classPassenger_1_1BusyException.html +11 -8
  57. data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +4 -4
  58. data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +11 -8
  59. data/doc/cxxapi/classPassenger_1_1DirectoryMapper-members.html +4 -5
  60. data/doc/cxxapi/classPassenger_1_1DirectoryMapper.html +45 -43
  61. data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +4 -4
  62. data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +13 -10
  63. data/doc/cxxapi/classPassenger_1_1FileChecker-members.html +4 -4
  64. data/doc/cxxapi/classPassenger_1_1FileChecker.html +22 -19
  65. data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +4 -4
  66. data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +12 -9
  67. data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.map +1 -1
  68. data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.md5 +1 -1
  69. data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.png +0 -0
  70. data/doc/cxxapi/classPassenger_1_1FileSystemException-members.html +4 -4
  71. data/doc/cxxapi/classPassenger_1_1FileSystemException.html +14 -11
  72. data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.map +1 -1
  73. data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.md5 +1 -1
  74. data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.png +0 -0
  75. data/doc/cxxapi/classPassenger_1_1IOException-members.html +4 -4
  76. data/doc/cxxapi/classPassenger_1_1IOException.html +12 -9
  77. data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.map +1 -1
  78. data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.md5 +1 -1
  79. data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.png +0 -0
  80. data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +4 -4
  81. data/doc/cxxapi/classPassenger_1_1MessageChannel.html +228 -225
  82. data/doc/cxxapi/classPassenger_1_1RuntimeException-members.html +4 -4
  83. data/doc/cxxapi/classPassenger_1_1RuntimeException.html +11 -8
  84. data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +4 -4
  85. data/doc/cxxapi/classPassenger_1_1SpawnException.html +14 -11
  86. data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +4 -4
  87. data/doc/cxxapi/classPassenger_1_1SpawnManager.html +50 -47
  88. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +4 -4
  89. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +73 -70
  90. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.map +1 -1
  91. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.md5 +1 -1
  92. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.png +0 -0
  93. data/doc/cxxapi/classPassenger_1_1SystemException-members.html +4 -4
  94. data/doc/cxxapi/classPassenger_1_1SystemException.html +17 -14
  95. data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.map +1 -1
  96. data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.md5 +1 -1
  97. data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.png +0 -0
  98. data/doc/cxxapi/classPassenger_1_1SystemTime-members.html +4 -4
  99. data/doc/cxxapi/classPassenger_1_1SystemTime.html +14 -11
  100. data/doc/cxxapi/classes.html +35 -0
  101. data/doc/cxxapi/definitions_8h-source.html +9 -4
  102. data/doc/cxxapi/doxygen.css +311 -303
  103. data/doc/cxxapi/files.html +9 -18
  104. data/doc/cxxapi/functions.html +5 -224
  105. data/doc/cxxapi/functions_func.html +5 -185
  106. data/doc/cxxapi/functions_type.html +4 -4
  107. data/doc/cxxapi/functions_vars.html +4 -4
  108. data/doc/cxxapi/graph_legend.dot +19 -19
  109. data/doc/cxxapi/graph_legend.html +5 -5
  110. data/doc/cxxapi/graph_legend.png +0 -0
  111. data/doc/cxxapi/group__Configuration.html +11 -13
  112. data/doc/cxxapi/group__Configuration.png +0 -0
  113. data/doc/cxxapi/group__Core.html +10 -12
  114. data/doc/cxxapi/group__Core.png +0 -0
  115. data/doc/cxxapi/group__Exceptions.html +5 -7
  116. data/doc/cxxapi/group__Hooks.html +5 -7
  117. data/doc/cxxapi/group__Hooks.png +0 -0
  118. data/doc/cxxapi/group__Support.html +5 -624
  119. data/doc/cxxapi/hierarchy.html +6 -6
  120. data/doc/cxxapi/inherit__graph__0.map +1 -1
  121. data/doc/cxxapi/inherit__graph__0.md5 +1 -1
  122. data/doc/cxxapi/inherit__graph__0.png +0 -0
  123. data/doc/cxxapi/inherit__graph__1.map +1 -1
  124. data/doc/cxxapi/inherit__graph__1.md5 +1 -1
  125. data/doc/cxxapi/inherit__graph__1.png +0 -0
  126. data/doc/cxxapi/inherit__graph__10.map +1 -1
  127. data/doc/cxxapi/inherit__graph__10.md5 +1 -1
  128. data/doc/cxxapi/inherit__graph__10.png +0 -0
  129. data/doc/cxxapi/inherit__graph__11.map +1 -1
  130. data/doc/cxxapi/inherit__graph__11.md5 +1 -1
  131. data/doc/cxxapi/inherit__graph__11.png +0 -0
  132. data/doc/cxxapi/inherit__graph__12.map +1 -1
  133. data/doc/cxxapi/inherit__graph__12.md5 +1 -1
  134. data/doc/cxxapi/inherit__graph__12.png +0 -0
  135. data/doc/cxxapi/inherit__graph__13.map +1 -2
  136. data/doc/cxxapi/inherit__graph__13.md5 +1 -1
  137. data/doc/cxxapi/inherit__graph__13.png +0 -0
  138. data/doc/cxxapi/inherit__graph__14.map +2 -1
  139. data/doc/cxxapi/inherit__graph__14.md5 +1 -1
  140. data/doc/cxxapi/inherit__graph__14.png +0 -0
  141. data/doc/cxxapi/inherit__graph__15.map +1 -1
  142. data/doc/cxxapi/inherit__graph__15.md5 +1 -1
  143. data/doc/cxxapi/inherit__graph__15.png +0 -0
  144. data/doc/cxxapi/inherit__graph__16.map +1 -1
  145. data/doc/cxxapi/inherit__graph__16.md5 +1 -1
  146. data/doc/cxxapi/inherit__graph__16.png +0 -0
  147. data/doc/cxxapi/inherit__graph__17.map +1 -1
  148. data/doc/cxxapi/inherit__graph__17.md5 +1 -1
  149. data/doc/cxxapi/inherit__graph__17.png +0 -0
  150. data/doc/cxxapi/inherit__graph__18.map +1 -1
  151. data/doc/cxxapi/inherit__graph__18.md5 +1 -1
  152. data/doc/cxxapi/inherit__graph__18.png +0 -0
  153. data/doc/cxxapi/inherit__graph__19.map +1 -1
  154. data/doc/cxxapi/inherit__graph__19.md5 +1 -1
  155. data/doc/cxxapi/inherit__graph__19.png +0 -0
  156. data/doc/cxxapi/inherit__graph__2.map +1 -1
  157. data/doc/cxxapi/inherit__graph__2.md5 +1 -1
  158. data/doc/cxxapi/inherit__graph__2.png +0 -0
  159. data/doc/cxxapi/inherit__graph__20.map +2 -2
  160. data/doc/cxxapi/inherit__graph__20.md5 +1 -1
  161. data/doc/cxxapi/inherit__graph__20.png +0 -0
  162. data/doc/cxxapi/inherit__graph__21.map +1 -1
  163. data/doc/cxxapi/inherit__graph__21.md5 +1 -1
  164. data/doc/cxxapi/inherit__graph__21.png +0 -0
  165. data/doc/cxxapi/inherit__graph__3.map +1 -1
  166. data/doc/cxxapi/inherit__graph__3.md5 +1 -1
  167. data/doc/cxxapi/inherit__graph__3.png +0 -0
  168. data/doc/cxxapi/inherit__graph__4.map +1 -1
  169. data/doc/cxxapi/inherit__graph__4.md5 +1 -1
  170. data/doc/cxxapi/inherit__graph__4.png +0 -0
  171. data/doc/cxxapi/inherit__graph__5.map +1 -2
  172. data/doc/cxxapi/inherit__graph__5.md5 +1 -1
  173. data/doc/cxxapi/inherit__graph__5.png +0 -0
  174. data/doc/cxxapi/inherit__graph__6.map +2 -1
  175. data/doc/cxxapi/inherit__graph__6.md5 +1 -1
  176. data/doc/cxxapi/inherit__graph__6.png +0 -0
  177. data/doc/cxxapi/inherit__graph__7.map +1 -1
  178. data/doc/cxxapi/inherit__graph__7.md5 +1 -1
  179. data/doc/cxxapi/inherit__graph__7.png +0 -0
  180. data/doc/cxxapi/inherit__graph__8.map +1 -1
  181. data/doc/cxxapi/inherit__graph__8.md5 +1 -1
  182. data/doc/cxxapi/inherit__graph__8.png +0 -0
  183. data/doc/cxxapi/inherit__graph__9.map +1 -1
  184. data/doc/cxxapi/inherit__graph__9.md5 +1 -1
  185. data/doc/cxxapi/inherit__graph__9.png +0 -0
  186. data/doc/cxxapi/inherits.html +41 -41
  187. data/doc/cxxapi/main.html +4 -4
  188. data/doc/cxxapi/modules.html +4 -5
  189. data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +4 -4
  190. data/doc/cxxapi/structPassenger_1_1AnythingToString.html +13 -10
  191. data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +5 -5
  192. data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +16 -13
  193. data/doc/cxxapi/structPassenger_1_1PoolOptions-members.html +4 -4
  194. data/doc/cxxapi/structPassenger_1_1PoolOptions.html +63 -60
  195. data/doc/cxxapi/tabs.css +5 -2
  196. data/doc/cxxapi/tree.html +7 -81
  197. data/doc/rdoc/classes/ConditionVariable.html +59 -59
  198. data/doc/rdoc/classes/Exception.html +11 -11
  199. data/doc/rdoc/classes/GC.html +4 -4
  200. data/doc/rdoc/classes/IO.html +14 -14
  201. data/doc/rdoc/classes/PhusionPassenger.html +75 -20
  202. data/doc/rdoc/classes/PhusionPassenger/AbstractInstaller.html +153 -0
  203. data/doc/rdoc/classes/PhusionPassenger/AbstractRequestHandler.html +125 -130
  204. data/doc/rdoc/classes/PhusionPassenger/AbstractServer.html +236 -236
  205. data/doc/rdoc/classes/PhusionPassenger/AbstractServerCollection.html +213 -213
  206. data/doc/rdoc/classes/PhusionPassenger/AdminTools.html +28 -28
  207. data/doc/rdoc/classes/PhusionPassenger/AdminTools/ControlProcess.html +91 -75
  208. data/doc/rdoc/classes/PhusionPassenger/AppInitError.html +10 -10
  209. data/doc/rdoc/classes/PhusionPassenger/Application.html +64 -64
  210. data/doc/rdoc/classes/PhusionPassenger/ConsoleTextTemplate.html +34 -34
  211. data/doc/rdoc/classes/PhusionPassenger/FrameworkInitError.html +13 -13
  212. data/doc/rdoc/classes/PhusionPassenger/HTMLTemplate.html +30 -30
  213. data/doc/rdoc/classes/PhusionPassenger/InitializationError.html +10 -10
  214. data/doc/rdoc/classes/PhusionPassenger/MessageChannel.html +136 -136
  215. data/doc/rdoc/classes/PhusionPassenger/NativeSupport.html +24 -24
  216. data/doc/rdoc/classes/PhusionPassenger/Rack/ApplicationSpawner.html +42 -42
  217. data/doc/rdoc/classes/PhusionPassenger/Rack/RequestHandler.html +55 -53
  218. data/doc/rdoc/classes/PhusionPassenger/Railz.html +1 -1
  219. data/doc/rdoc/classes/PhusionPassenger/Railz/ApplicationSpawner.html +25 -30
  220. data/doc/rdoc/classes/PhusionPassenger/Railz/CGIFixed.html +23 -23
  221. data/doc/rdoc/classes/PhusionPassenger/Railz/FrameworkSpawner.html +116 -117
  222. data/doc/rdoc/classes/PhusionPassenger/Railz/RequestHandler.html +22 -22
  223. data/doc/rdoc/classes/PhusionPassenger/SpawnManager.html +118 -124
  224. data/doc/rdoc/classes/PhusionPassenger/UnknownError.html +10 -10
  225. data/doc/rdoc/classes/PhusionPassenger/Utils.html +354 -354
  226. data/doc/rdoc/classes/PhusionPassenger/VersionNotFound.html +9 -9
  227. data/doc/rdoc/classes/PhusionPassenger/WSGI/ApplicationSpawner.html +37 -37
  228. data/doc/rdoc/classes/PlatformInfo.html +282 -261
  229. data/doc/rdoc/classes/RakeExtensions.html +7 -7
  230. data/doc/rdoc/classes/Signal.html +26 -26
  231. data/doc/rdoc/created.rid +1 -1
  232. data/doc/rdoc/files/DEVELOPERS_TXT.html +6 -1
  233. data/doc/rdoc/files/README.html +15 -6
  234. data/doc/rdoc/files/ext/phusion_passenger/native_support_c.html +1 -1
  235. data/doc/rdoc/files/lib/phusion_passenger/abstract_installer_rb.html +129 -0
  236. data/doc/rdoc/files/lib/phusion_passenger/abstract_request_handler_rb.html +20 -13
  237. data/doc/rdoc/files/lib/phusion_passenger/abstract_server_collection_rb.html +19 -13
  238. data/doc/rdoc/files/lib/phusion_passenger/abstract_server_rb.html +19 -13
  239. data/doc/rdoc/files/lib/phusion_passenger/admin_tools/control_process_rb.html +31 -1
  240. data/doc/rdoc/files/lib/phusion_passenger/admin_tools_rb.html +31 -1
  241. data/doc/rdoc/files/lib/phusion_passenger/application_rb.html +19 -13
  242. data/doc/rdoc/files/lib/phusion_passenger/console_text_template_rb.html +19 -13
  243. data/doc/rdoc/files/lib/phusion_passenger/constants_rb.html +21 -12
  244. data/doc/rdoc/files/lib/phusion_passenger/dependencies_rb.html +19 -13
  245. data/doc/rdoc/files/lib/phusion_passenger/events_rb.html +19 -13
  246. data/doc/rdoc/files/lib/phusion_passenger/exceptions_rb.html +19 -13
  247. data/doc/rdoc/files/lib/phusion_passenger/html_template_rb.html +19 -13
  248. data/doc/rdoc/files/lib/phusion_passenger/message_channel_rb.html +19 -13
  249. data/doc/rdoc/files/lib/phusion_passenger/packaging_rb.html +122 -0
  250. data/doc/rdoc/files/lib/phusion_passenger/platform_info_rb.html +19 -13
  251. data/doc/rdoc/files/lib/phusion_passenger/rack/application_spawner_rb.html +22 -12
  252. data/doc/rdoc/files/lib/phusion_passenger/rack/request_handler_rb.html +21 -12
  253. data/doc/rdoc/files/lib/phusion_passenger/railz/application_spawner_rb.html +19 -13
  254. data/doc/rdoc/files/lib/phusion_passenger/railz/cgi_fixed_rb.html +1 -1
  255. data/doc/rdoc/files/lib/phusion_passenger/railz/framework_spawner_rb.html +19 -13
  256. data/doc/rdoc/files/lib/phusion_passenger/railz/request_handler_rb.html +21 -12
  257. data/doc/rdoc/files/lib/phusion_passenger/simple_benchmarking_rb.html +19 -13
  258. data/doc/rdoc/files/lib/phusion_passenger/spawn_manager_rb.html +19 -13
  259. data/doc/rdoc/files/lib/phusion_passenger/utils_rb.html +27 -21
  260. data/doc/rdoc/files/lib/phusion_passenger/wsgi/application_spawner_rb.html +21 -12
  261. data/doc/rdoc/files/misc/rake/extensions_rb.html +21 -12
  262. data/doc/rdoc/fr_class_index.html +1 -0
  263. data/doc/rdoc/fr_file_index.html +2 -0
  264. data/doc/rdoc/fr_method_index.html +116 -112
  265. data/doc/users_guide_snippets/analysis_and_system_maintenance_tools.txt +144 -0
  266. data/doc/users_guide_snippets/appendix_a_about.txt +13 -0
  267. data/doc/users_guide_snippets/appendix_b_terminology.txt +63 -0
  268. data/doc/users_guide_snippets/appendix_c_spawning_methods.txt +304 -0
  269. data/doc/users_guide_snippets/global_queueing_explained.txt +78 -0
  270. data/doc/users_guide_snippets/rackup_specifications.txt +75 -0
  271. data/doc/users_guide_snippets/rails_spawn_method.txt +48 -0
  272. data/doc/users_guide_snippets/tips.txt +173 -0
  273. data/ext/apache2/Bucket.cpp +17 -12
  274. data/ext/apache2/Bucket.h +17 -12
  275. data/ext/apache2/Configuration.cpp +17 -12
  276. data/ext/apache2/Configuration.h +27 -14
  277. data/ext/apache2/DirectoryMapper.h +21 -12
  278. data/ext/apache2/Hooks.cpp +67 -21
  279. data/ext/apache2/Hooks.h +17 -12
  280. data/ext/apache2/mod_passenger.c +17 -12
  281. data/ext/{apache2 → common}/Application.h +19 -14
  282. data/ext/{apache2 → common}/ApplicationPool.h +17 -12
  283. data/ext/{apache2 → common}/ApplicationPoolServer.h +18 -72
  284. data/ext/{apache2 → common}/ApplicationPoolServerExecutable.cpp +45 -104
  285. data/ext/common/ApplicationPoolStatusReporter.h +212 -0
  286. data/ext/{apache2 → common}/CachedFileStat.cpp +17 -12
  287. data/ext/{apache2 → common}/CachedFileStat.h +17 -12
  288. data/ext/{apache2 → common}/DummySpawnManager.h +17 -12
  289. data/ext/{apache2 → common}/Exceptions.h +17 -12
  290. data/ext/{apache2 → common}/FileChecker.h +17 -12
  291. data/ext/common/Logging.cpp +65 -0
  292. data/ext/{apache2 → common}/Logging.h +17 -12
  293. data/ext/{apache2 → common}/MessageChannel.h +17 -12
  294. data/ext/{apache2 → common}/PoolOptions.h +17 -12
  295. data/ext/{apache2 → common}/SpawnManager.h +17 -12
  296. data/ext/{apache2 → common}/StandardApplicationPool.h +17 -12
  297. data/ext/common/StaticString.h +147 -0
  298. data/ext/common/SystemTime.cpp +33 -0
  299. data/ext/{apache2 → common}/SystemTime.h +17 -12
  300. data/ext/{apache2 → common}/Utils.cpp +69 -12
  301. data/ext/{apache2 → common}/Utils.h +41 -12
  302. data/ext/nginx/Configuration.c +1091 -0
  303. data/ext/nginx/Configuration.h +71 -0
  304. data/ext/nginx/ContentHandler.c +1154 -0
  305. data/ext/nginx/ContentHandler.h +64 -0
  306. data/ext/nginx/HelperServer.cpp +857 -0
  307. data/ext/nginx/HttpStatusExtractor.h +161 -0
  308. data/ext/nginx/ScgiRequestParser.h +317 -0
  309. data/ext/nginx/StaticContentHandler.c +222 -0
  310. data/ext/nginx/StaticContentHandler.h +37 -0
  311. data/ext/nginx/config +41 -0
  312. data/ext/nginx/ngx_http_passenger_module.c +572 -0
  313. data/ext/nginx/ngx_http_passenger_module.h +72 -0
  314. data/ext/oxt/backtrace.cpp +8 -1
  315. data/ext/oxt/system_calls.cpp +40 -0
  316. data/ext/oxt/system_calls.hpp +14 -7
  317. data/ext/phusion_passenger/extconf.rb +17 -12
  318. data/ext/phusion_passenger/native_support.c +19 -12
  319. data/lib/phusion_passenger/abstract_installer.rb +196 -0
  320. data/lib/phusion_passenger/abstract_request_handler.rb +19 -24
  321. data/lib/phusion_passenger/abstract_server.rb +17 -12
  322. data/lib/phusion_passenger/abstract_server_collection.rb +17 -12
  323. data/lib/phusion_passenger/admin_tools.rb +23 -0
  324. data/lib/phusion_passenger/admin_tools/control_process.rb +39 -13
  325. data/lib/phusion_passenger/application.rb +17 -12
  326. data/lib/phusion_passenger/console_text_template.rb +17 -12
  327. data/lib/phusion_passenger/constants.rb +22 -11
  328. data/lib/phusion_passenger/dependencies.rb +47 -12
  329. data/lib/phusion_passenger/events.rb +17 -12
  330. data/lib/phusion_passenger/exceptions.rb +17 -12
  331. data/lib/phusion_passenger/html_template.rb +17 -12
  332. data/lib/phusion_passenger/message_channel.rb +17 -12
  333. data/lib/phusion_passenger/packaging.rb +39 -0
  334. data/lib/phusion_passenger/platform_info.rb +48 -22
  335. data/lib/phusion_passenger/rack/application_spawner.rb +22 -11
  336. data/lib/phusion_passenger/rack/request_handler.rb +21 -12
  337. data/lib/phusion_passenger/railz/application_spawner.rb +23 -23
  338. data/lib/phusion_passenger/railz/framework_spawner.rb +18 -14
  339. data/lib/phusion_passenger/railz/request_handler.rb +18 -11
  340. data/lib/phusion_passenger/simple_benchmarking.rb +17 -12
  341. data/lib/phusion_passenger/spawn_manager.rb +17 -20
  342. data/lib/phusion_passenger/templates/{apache_must_be_compiled_with_compatible_mpm.txt.erb → apache2/apache_must_be_compiled_with_compatible_mpm.txt.erb} +0 -0
  343. data/lib/phusion_passenger/templates/{apache2_config_snippets.txt.erb → apache2/config_snippets.txt.erb} +0 -0
  344. data/lib/phusion_passenger/templates/{deployment_example.txt.erb → apache2/deployment_example.txt.erb} +0 -0
  345. data/lib/phusion_passenger/templates/{no_write_permission_to_passenger_root.txt.erb → apache2/no_write_permission_to_passenger_root.txt.erb} +0 -0
  346. data/lib/phusion_passenger/templates/{possible_solutions_for_compilation_and_installation_problems.txt.erb → apache2/possible_solutions_for_compilation_and_installation_problems.txt.erb} +0 -0
  347. data/lib/phusion_passenger/templates/{run_installer_as_root.txt.erb → apache2/run_installer_as_root.txt.erb} +0 -0
  348. data/lib/phusion_passenger/templates/{welcome.txt.erb → apache2/welcome.txt.erb} +0 -0
  349. data/lib/phusion_passenger/templates/nginx/ask_for_extra_configure_flags.txt.erb +8 -0
  350. data/lib/phusion_passenger/templates/nginx/cannot_write_to_dir.txt.erb +11 -0
  351. data/lib/phusion_passenger/templates/nginx/config_snippets.txt.erb +17 -0
  352. data/lib/phusion_passenger/templates/nginx/config_snippets_inserted.txt.erb +20 -0
  353. data/lib/phusion_passenger/templates/nginx/confirm_extra_configure_flags.txt.erb +5 -0
  354. data/lib/phusion_passenger/templates/nginx/deployment_example.txt.erb +22 -0
  355. data/lib/phusion_passenger/templates/nginx/pcre_could_not_be_downloaded.txt.erb +11 -0
  356. data/lib/phusion_passenger/templates/nginx/pcre_could_not_be_extracted.txt.erb +11 -0
  357. data/lib/phusion_passenger/templates/nginx/possible_solutions_for_compilation_and_installation_problems.txt.erb +11 -0
  358. data/lib/phusion_passenger/templates/nginx/possible_solutions_for_download_and_extraction_problems.txt.erb +20 -0
  359. data/lib/phusion_passenger/templates/nginx/query_download_and_install.txt.erb +21 -0
  360. data/lib/phusion_passenger/templates/nginx/run_installer_as_root.txt.erb +8 -0
  361. data/lib/phusion_passenger/templates/nginx/welcome.txt.erb +15 -0
  362. data/lib/phusion_passenger/utils.rb +20 -15
  363. data/lib/phusion_passenger/wsgi/application_spawner.rb +18 -11
  364. data/lib/phusion_passenger/wsgi/request_handler.py +23 -0
  365. data/misc/copy_boost_headers.rb +23 -0
  366. data/misc/find_owner_pipe_leaks.rb +18 -11
  367. data/misc/rake/cplusplus.rb +18 -11
  368. data/misc/rake/extensions.rb +21 -14
  369. data/misc/render_error_pages.rb +18 -11
  370. data/test/ApplicationPoolServerTest.cpp +1 -3
  371. data/test/ApplicationPoolServer_ApplicationPoolTest.cpp +1 -1
  372. data/test/CxxTestMain.cpp +19 -3
  373. data/test/HttpStatusExtractorTest.cpp +181 -0
  374. data/test/ScgiRequestParserTest.cpp +337 -0
  375. data/test/StaticStringTest.cpp +51 -0
  376. data/test/UtilsTest.cpp +32 -0
  377. data/test/config.yml.example +5 -0
  378. data/test/{integration_tests.rb → integration_tests/apache2_tests.rb} +7 -299
  379. data/test/integration_tests/hello_world_rack_spec.rb +36 -0
  380. data/test/integration_tests/hello_world_wsgi_spec.rb +41 -0
  381. data/test/integration_tests/mycook_spec.rb +192 -0
  382. data/test/integration_tests/nginx_tests.rb +98 -0
  383. data/test/ruby/rack/application_spawner_spec.rb +40 -0
  384. data/test/stub/nginx/koi-utf +109 -0
  385. data/test/stub/nginx/koi-win +103 -0
  386. data/test/stub/nginx/mime.types +70 -0
  387. data/test/stub/nginx/nginx.conf.erb +57 -0
  388. data/test/stub/nginx/win-utf +126 -0
  389. data/test/stub/rails_apps/mycook/app/controllers/uploads_controller.rb +4 -0
  390. data/test/stub/rails_apps/mycook/config/routes.rb +1 -1
  391. data/test/stub/wsgi/passenger_wsgi.pyc +0 -0
  392. data/test/support/Support.h +40 -0
  393. data/test/support/nginx_controller.rb +98 -0
  394. data/test/support/test_helper.rb +79 -0
  395. metadata +1091 -1028
  396. data/benchmark/DummyRequestHandler.cpp +0 -101
  397. data/ext/apache2/Logging.cpp +0 -60
  398. data/ext/apache2/SystemTime.cpp +0 -28
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Tue Mar 31 13:58:42 +0200 2009</td>
66
+ <td>Thu Apr 16 19:42:12 +0200 2009</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -77,23 +77,32 @@
77
77
 
78
78
  <div class="description"><p>
79
79
  Phusion Passenger - <a href="http://www.modrails.com">www.modrails.com</a>/
80
- Copyright (C) 2008 Phusion
80
+ Copyright (c) 2008, 2009 Phusion
81
81
  </p>
82
82
  <p>
83
- This program is free software; you can redistribute it and/or modify it
84
- under the terms of the GNU General Public License as published by the Free
85
- Software Foundation; version 2 of the License.
83
+ &quot;Phusion Passenger&quot; is a trademark of Hongli Lai &amp; Ninh Bui.
86
84
  </p>
87
85
  <p>
88
- This program is distributed in the hope that it will be useful, but WITHOUT
89
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
91
- more details.
86
+ Permission is hereby granted, free of charge, to any person obtaining a
87
+ copy of this software and associated documentation files (the
88
+ &quot;Software&quot;), to deal in the Software without restriction,
89
+ including without limitation the rights to use, copy, modify, merge,
90
+ publish, distribute, sublicense, and/or sell copies of the Software, and to
91
+ permit persons to whom the Software is furnished to do so, subject to the
92
+ following conditions:
92
93
  </p>
93
94
  <p>
94
- You should have received a copy of the GNU General Public License along
95
- with this program; if not, write to the Free Software Foundation, Inc., 51
96
- Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
95
+ The above copyright notice and this permission notice shall be included in
96
+ all copies or substantial portions of the Software.
97
+ </p>
98
+ <p>
99
+ THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
100
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
101
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
102
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
103
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
104
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
105
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
97
106
  </p>
98
107
  </div>
99
108
 
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Tue Mar 31 13:58:42 +0200 2009</td>
66
+ <td>Thu Apr 16 19:42:12 +0200 2009</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -77,26 +77,32 @@
77
77
 
78
78
  <div class="description"><p>
79
79
  Phusion Passenger - <a href="http://www.modrails.com">www.modrails.com</a>/
80
- Copyright (C) 2008 Phusion
80
+ Copyright (c) 2008, 2009 Phusion
81
81
  </p>
82
82
  <p>
83
- Phusion Passenger is a trademark of Hongli Lai &amp; Ninh Bui.
83
+ &quot;Phusion Passenger&quot; is a trademark of Hongli Lai &amp; Ninh Bui.
84
84
  </p>
85
85
  <p>
86
- This program is free software; you can redistribute it and/or modify it
87
- under the terms of the GNU General Public License as published by the Free
88
- Software Foundation; version 2 of the License.
86
+ Permission is hereby granted, free of charge, to any person obtaining a
87
+ copy of this software and associated documentation files (the
88
+ &quot;Software&quot;), to deal in the Software without restriction,
89
+ including without limitation the rights to use, copy, modify, merge,
90
+ publish, distribute, sublicense, and/or sell copies of the Software, and to
91
+ permit persons to whom the Software is furnished to do so, subject to the
92
+ following conditions:
89
93
  </p>
90
94
  <p>
91
- This program is distributed in the hope that it will be useful, but WITHOUT
92
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
93
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
94
- more details.
95
+ The above copyright notice and this permission notice shall be included in
96
+ all copies or substantial portions of the Software.
95
97
  </p>
96
98
  <p>
97
- You should have received a copy of the GNU General Public License along
98
- with this program; if not, write to the Free Software Foundation, Inc., 51
99
- Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
99
+ THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
100
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
101
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
102
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
103
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
104
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
105
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
100
106
  </p>
101
107
  </div>
102
108
 
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Tue Mar 31 13:58:42 +0200 2009</td>
66
+ <td>Thu Apr 16 19:42:12 +0200 2009</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -77,26 +77,32 @@
77
77
 
78
78
  <div class="description"><p>
79
79
  Phusion Passenger - <a href="http://www.modrails.com">www.modrails.com</a>/
80
- Copyright (C) 2008 Phusion
80
+ Copyright (c) 2008, 2009 Phusion
81
81
  </p>
82
82
  <p>
83
- Phusion Passenger is a trademark of Hongli Lai &amp; Ninh Bui.
83
+ &quot;Phusion Passenger&quot; is a trademark of Hongli Lai &amp; Ninh Bui.
84
84
  </p>
85
85
  <p>
86
- This program is free software; you can redistribute it and/or modify it
87
- under the terms of the GNU General Public License as published by the Free
88
- Software Foundation; version 2 of the License.
86
+ Permission is hereby granted, free of charge, to any person obtaining a
87
+ copy of this software and associated documentation files (the
88
+ &quot;Software&quot;), to deal in the Software without restriction,
89
+ including without limitation the rights to use, copy, modify, merge,
90
+ publish, distribute, sublicense, and/or sell copies of the Software, and to
91
+ permit persons to whom the Software is furnished to do so, subject to the
92
+ following conditions:
89
93
  </p>
90
94
  <p>
91
- This program is distributed in the hope that it will be useful, but WITHOUT
92
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
93
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
94
- more details.
95
+ The above copyright notice and this permission notice shall be included in
96
+ all copies or substantial portions of the Software.
95
97
  </p>
96
98
  <p>
97
- You should have received a copy of the GNU General Public License along
98
- with this program; if not, write to the Free Software Foundation, Inc., 51
99
- Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
99
+ THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
100
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
101
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
102
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
103
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
104
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
105
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
100
106
  </p>
101
107
  </div>
102
108
 
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Tue Mar 31 13:58:42 +0200 2009</td>
66
+ <td>Thu Apr 16 19:42:12 +0200 2009</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -77,26 +77,32 @@
77
77
 
78
78
  <div class="description"><p>
79
79
  Phusion Passenger - <a href="http://www.modrails.com">www.modrails.com</a>/
80
- Copyright (C) 2008 Phusion
80
+ Copyright (c) 2008, 2009 Phusion
81
81
  </p>
82
82
  <p>
83
- Phusion Passenger is a trademark of Hongli Lai &amp; Ninh Bui.
83
+ &quot;Phusion Passenger&quot; is a trademark of Hongli Lai &amp; Ninh Bui.
84
84
  </p>
85
85
  <p>
86
- This program is free software; you can redistribute it and/or modify it
87
- under the terms of the GNU General Public License as published by the Free
88
- Software Foundation; version 2 of the License.
86
+ Permission is hereby granted, free of charge, to any person obtaining a
87
+ copy of this software and associated documentation files (the
88
+ &quot;Software&quot;), to deal in the Software without restriction,
89
+ including without limitation the rights to use, copy, modify, merge,
90
+ publish, distribute, sublicense, and/or sell copies of the Software, and to
91
+ permit persons to whom the Software is furnished to do so, subject to the
92
+ following conditions:
89
93
  </p>
90
94
  <p>
91
- This program is distributed in the hope that it will be useful, but WITHOUT
92
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
93
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
94
- more details.
95
+ The above copyright notice and this permission notice shall be included in
96
+ all copies or substantial portions of the Software.
95
97
  </p>
96
98
  <p>
97
- You should have received a copy of the GNU General Public License along
98
- with this program; if not, write to the Free Software Foundation, Inc., 51
99
- Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
99
+ THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
100
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
101
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
102
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
103
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
104
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
105
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
100
106
  </p>
101
107
  </div>
102
108
 
@@ -137,10 +143,10 @@ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
137
143
  <p class="source-link">[ <a href="javascript:toggleSource('M000001_source')" id="l_M000001_source">show source</a> ]</p>
138
144
  <div id="M000001_source" class="dyn-source">
139
145
  <pre>
140
- <span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 499</span>
141
- 499: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recv_io</span>
142
- 500: <span class="ruby-keyword kw">super</span>
143
- 501: <span class="ruby-keyword kw">end</span>
146
+ <span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 504</span>
147
+ 504: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">recv_io</span>
148
+ 505: <span class="ruby-keyword kw">super</span>
149
+ 506: <span class="ruby-keyword kw">end</span>
144
150
  </pre>
145
151
  </div>
146
152
  </div>
@@ -153,10 +159,10 @@ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
153
159
  <p class="source-link">[ <a href="javascript:toggleSource('M000002_source')" id="l_M000002_source">show source</a> ]</p>
154
160
  <div id="M000002_source" class="dyn-source">
155
161
  <pre>
156
- <span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 503</span>
157
- 503: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_io</span>(<span class="ruby-identifier">io</span>)
158
- 504: <span class="ruby-keyword kw">super</span>
159
- 505: <span class="ruby-keyword kw">end</span>
162
+ <span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 508</span>
163
+ 508: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">send_io</span>(<span class="ruby-identifier">io</span>)
164
+ 509: <span class="ruby-keyword kw">super</span>
165
+ 510: <span class="ruby-keyword kw">end</span>
160
166
  </pre>
161
167
  </div>
162
168
  </div>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Tue Mar 31 13:58:42 +0200 2009</td>
66
+ <td>Thu Apr 16 19:42:12 +0200 2009</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -77,23 +77,32 @@
77
77
 
78
78
  <div class="description"><p>
79
79
  Phusion Passenger - <a href="http://www.modrails.com">www.modrails.com</a>/
80
- Copyright (C) 2008 Phusion
80
+ Copyright (c) 2008, 2009 Phusion
81
81
  </p>
82
82
  <p>
83
- This program is free software; you can redistribute it and/or modify it
84
- under the terms of the GNU General Public License as published by the Free
85
- Software Foundation; version 2 of the License.
83
+ &quot;Phusion Passenger&quot; is a trademark of Hongli Lai &amp; Ninh Bui.
86
84
  </p>
87
85
  <p>
88
- This program is distributed in the hope that it will be useful, but WITHOUT
89
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
91
- more details.
86
+ Permission is hereby granted, free of charge, to any person obtaining a
87
+ copy of this software and associated documentation files (the
88
+ &quot;Software&quot;), to deal in the Software without restriction,
89
+ including without limitation the rights to use, copy, modify, merge,
90
+ publish, distribute, sublicense, and/or sell copies of the Software, and to
91
+ permit persons to whom the Software is furnished to do so, subject to the
92
+ following conditions:
92
93
  </p>
93
94
  <p>
94
- You should have received a copy of the GNU General Public License along
95
- with this program; if not, write to the Free Software Foundation, Inc., 51
96
- Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
95
+ The above copyright notice and this permission notice shall be included in
96
+ all copies or substantial portions of the Software.
97
+ </p>
98
+ <p>
99
+ THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
100
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
101
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
102
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
103
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
104
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
105
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
97
106
  </p>
98
107
  </div>
99
108
 
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Tue Mar 31 13:58:42 +0200 2009</td>
66
+ <td>Thu Apr 16 19:42:12 +0200 2009</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -77,23 +77,32 @@
77
77
 
78
78
  <div class="description"><p>
79
79
  Phusion Passenger - <a href="http://www.modrails.com">www.modrails.com</a>/
80
- Copyright (C) 2008 Phusion
80
+ Copyright (c) 2008, 2009 Phusion
81
81
  </p>
82
82
  <p>
83
- This program is free software; you can redistribute it and/or modify it
84
- under the terms of the GNU General Public License as published by the Free
85
- Software Foundation; version 2 of the License.
83
+ &quot;Phusion Passenger&quot; is a trademark of Hongli Lai &amp; Ninh Bui.
86
84
  </p>
87
85
  <p>
88
- This program is distributed in the hope that it will be useful, but WITHOUT
89
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
91
- more details.
86
+ Permission is hereby granted, free of charge, to any person obtaining a
87
+ copy of this software and associated documentation files (the
88
+ &quot;Software&quot;), to deal in the Software without restriction,
89
+ including without limitation the rights to use, copy, modify, merge,
90
+ publish, distribute, sublicense, and/or sell copies of the Software, and to
91
+ permit persons to whom the Software is furnished to do so, subject to the
92
+ following conditions:
92
93
  </p>
93
94
  <p>
94
- You should have received a copy of the GNU General Public License along
95
- with this program; if not, write to the Free Software Foundation, Inc., 51
96
- Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
95
+ The above copyright notice and this permission notice shall be included in
96
+ all copies or substantial portions of the Software.
97
+ </p>
98
+ <p>
99
+ THE SOFTWARE IS PROVIDED &quot;AS IS&quot;, WITHOUT WARRANTY OF ANY KIND,
100
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
101
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
102
+ NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
103
+ DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
104
+ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
105
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
97
106
  </p>
98
107
  </div>
99
108
 
@@ -47,6 +47,7 @@
47
47
  <a href="classes/GC.html">GC</a><br />
48
48
  <a href="classes/IO.html">IO</a><br />
49
49
  <a href="classes/PhusionPassenger.html">PhusionPassenger</a><br />
50
+ <a href="classes/PhusionPassenger/AbstractInstaller.html">PhusionPassenger::AbstractInstaller</a><br />
50
51
  <a href="classes/PhusionPassenger/AbstractRequestHandler.html">PhusionPassenger::AbstractRequestHandler</a><br />
51
52
  <a href="classes/PhusionPassenger/AbstractServer.html">PhusionPassenger::AbstractServer</a><br />
52
53
  <a href="classes/PhusionPassenger/AbstractServer/ServerAlreadyStarted.html">PhusionPassenger::AbstractServer::ServerAlreadyStarted</a><br />
@@ -45,6 +45,7 @@
45
45
  <a href="files/DEVELOPERS_TXT.html">DEVELOPERS.TXT</a><br />
46
46
  <a href="files/README.html">README</a><br />
47
47
  <a href="files/ext/phusion_passenger/native_support_c.html">ext/phusion_passenger/native_support.c</a><br />
48
+ <a href="files/lib/phusion_passenger/abstract_installer_rb.html">lib/phusion_passenger/abstract_installer.rb</a><br />
48
49
  <a href="files/lib/phusion_passenger/abstract_request_handler_rb.html">lib/phusion_passenger/abstract_request_handler.rb</a><br />
49
50
  <a href="files/lib/phusion_passenger/abstract_server_rb.html">lib/phusion_passenger/abstract_server.rb</a><br />
50
51
  <a href="files/lib/phusion_passenger/abstract_server_collection_rb.html">lib/phusion_passenger/abstract_server_collection.rb</a><br />
@@ -58,6 +59,7 @@
58
59
  <a href="files/lib/phusion_passenger/exceptions_rb.html">lib/phusion_passenger/exceptions.rb</a><br />
59
60
  <a href="files/lib/phusion_passenger/html_template_rb.html">lib/phusion_passenger/html_template.rb</a><br />
60
61
  <a href="files/lib/phusion_passenger/message_channel_rb.html">lib/phusion_passenger/message_channel.rb</a><br />
62
+ <a href="files/lib/phusion_passenger/packaging_rb.html">lib/phusion_passenger/packaging.rb</a><br />
61
63
  <a href="files/lib/phusion_passenger/platform_info_rb.html">lib/phusion_passenger/platform_info.rb</a><br />
62
64
  <a href="files/lib/phusion_passenger/rack/application_spawner_rb.html">lib/phusion_passenger/rack/application_spawner.rb</a><br />
63
65
  <a href="files/lib/phusion_passenger/rack/request_handler_rb.html">lib/phusion_passenger/rack/request_handler.rb</a><br />
@@ -42,9 +42,9 @@
42
42
  <body>
43
43
  <div class="banner">Methods</div>
44
44
  <div class="entries">
45
- <a href="classes/PhusionPassenger/HTMLTemplate.html#M000105">[]= (PhusionPassenger::HTMLTemplate)</a><br />
46
- <a href="classes/PhusionPassenger/ConsoleTextTemplate.html#M000120">[]= (PhusionPassenger::ConsoleTextTemplate)</a><br />
47
- <a href="classes/PhusionPassenger/NativeSupport.html#M000060">accept (PhusionPassenger::NativeSupport)</a><br />
45
+ <a href="classes/PhusionPassenger/HTMLTemplate.html#M000107">[]= (PhusionPassenger::HTMLTemplate)</a><br />
46
+ <a href="classes/PhusionPassenger/ConsoleTextTemplate.html#M000123">[]= (PhusionPassenger::ConsoleTextTemplate)</a><br />
47
+ <a href="classes/PhusionPassenger/NativeSupport.html#M000061">accept (PhusionPassenger::NativeSupport)</a><br />
48
48
  <a href="classes/PlatformInfo.html#M000019">apache2_bindir (PlatformInfo)</a><br />
49
49
  <a href="classes/PlatformInfo.html#M000024">apache2_module_cflags (PlatformInfo)</a><br />
50
50
  <a href="classes/PlatformInfo.html#M000025">apache2_module_ldflags (PlatformInfo)</a><br />
@@ -58,134 +58,138 @@
58
58
  <a href="classes/PlatformInfo.html#M000028">apu_flags (PlatformInfo)</a><br />
59
59
  <a href="classes/PlatformInfo.html#M000029">apu_libs (PlatformInfo)</a><br />
60
60
  <a href="classes/PlatformInfo.html#M000014">apxs2 (PlatformInfo)</a><br />
61
- <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000041">args (PhusionPassenger::Railz::CGIFixed)</a><br />
62
- <a href="classes/PhusionPassenger/Utils.html#M000072">assert_valid_app_root (PhusionPassenger::Utils)</a><br />
63
- <a href="classes/PhusionPassenger/Utils.html#M000073">assert_valid_directory (PhusionPassenger::Utils)</a><br />
64
- <a href="classes/PhusionPassenger/Utils.html#M000074">assert_valid_file (PhusionPassenger::Utils)</a><br />
65
- <a href="classes/PhusionPassenger/Utils.html#M000076">assert_valid_groupname (PhusionPassenger::Utils)</a><br />
66
- <a href="classes/PhusionPassenger/Utils.html#M000075">assert_valid_username (PhusionPassenger::Utils)</a><br />
61
+ <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000044">args (PhusionPassenger::Railz::CGIFixed)</a><br />
62
+ <a href="classes/PhusionPassenger/Utils.html#M000074">assert_valid_app_root (PhusionPassenger::Utils)</a><br />
63
+ <a href="classes/PhusionPassenger/Utils.html#M000075">assert_valid_directory (PhusionPassenger::Utils)</a><br />
64
+ <a href="classes/PhusionPassenger/Utils.html#M000076">assert_valid_file (PhusionPassenger::Utils)</a><br />
65
+ <a href="classes/PhusionPassenger/Utils.html#M000078">assert_valid_groupname (PhusionPassenger::Utils)</a><br />
66
+ <a href="classes/PhusionPassenger/Utils.html#M000077">assert_valid_username (PhusionPassenger::Utils)</a><br />
67
67
  <a href="classes/Exception.html#M000008">backtrace_string (Exception)</a><br />
68
- <a href="classes/PhusionPassenger/AbstractServer.html#M000129">before_fork (PhusionPassenger::AbstractServer)</a><br />
68
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000131">before_fork (PhusionPassenger::AbstractServer)</a><br />
69
69
  <a href="classes/PhusionPassenger.html#M000035">call_event (PhusionPassenger)</a><br />
70
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000098">check_idle_servers! (PhusionPassenger::AbstractServerCollection)</a><br />
71
- <a href="classes/PhusionPassenger/SpawnManager.html#M000118">cleanup (PhusionPassenger::SpawnManager)</a><br />
72
- <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000111">cleanup (PhusionPassenger::AbstractRequestHandler)</a><br />
73
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000102">cleanup (PhusionPassenger::AbstractServerCollection)</a><br />
74
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000101">clear (PhusionPassenger::AbstractServerCollection)</a><br />
75
- <a href="classes/PhusionPassenger/AbstractServer.html#M000135">client (PhusionPassenger::AbstractServer)</a><br />
76
- <a href="classes/PhusionPassenger/MessageChannel.html#M000145">close (PhusionPassenger::MessageChannel)</a><br />
77
- <a href="classes/PhusionPassenger/Application.html#M000109">close (PhusionPassenger::Application)</a><br />
78
- <a href="classes/PhusionPassenger/NativeSupport.html#M000061">close_all_file_descriptors (PhusionPassenger::NativeSupport)</a><br />
79
- <a href="classes/PhusionPassenger/Utils.html#M000077">close_all_io_objects_for_fds (PhusionPassenger::Utils)</a><br />
70
+ <a href="classes/PhusionPassenger/Utils.html#M000073">canonicalize_path (PhusionPassenger::Utils)</a><br />
71
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000100">check_idle_servers! (PhusionPassenger::AbstractServerCollection)</a><br />
72
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000104">cleanup (PhusionPassenger::AbstractServerCollection)</a><br />
73
+ <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000117">cleanup (PhusionPassenger::AbstractRequestHandler)</a><br />
74
+ <a href="classes/PhusionPassenger/SpawnManager.html#M000115">cleanup (PhusionPassenger::SpawnManager)</a><br />
75
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000103">clear (PhusionPassenger::AbstractServerCollection)</a><br />
76
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000137">client (PhusionPassenger::AbstractServer)</a><br />
77
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000147">close (PhusionPassenger::MessageChannel)</a><br />
78
+ <a href="classes/PhusionPassenger/Application.html#M000111">close (PhusionPassenger::Application)</a><br />
79
+ <a href="classes/PhusionPassenger/NativeSupport.html#M000062">close_all_file_descriptors (PhusionPassenger::NativeSupport)</a><br />
80
+ <a href="classes/PhusionPassenger/Utils.html#M000079">close_all_io_objects_for_fds (PhusionPassenger::Utils)</a><br />
80
81
  <a href="classes/IO.html#M000007">close_on_exec! (IO)</a><br />
81
82
  <a href="classes/GC.html#M000033">copy_on_write_friendly? (GC)</a><br />
82
- <a href="classes/PhusionPassenger/NativeSupport.html#M000059">create_unix_socket (PhusionPassenger::NativeSupport)</a><br />
83
+ <a href="classes/PhusionPassenger/NativeSupport.html#M000060">create_unix_socket (PhusionPassenger::NativeSupport)</a><br />
83
84
  <a href="classes/PlatformInfo.html#M000023">debugging_cflags (PlatformInfo)</a><br />
84
- <a href="classes/PhusionPassenger/AbstractServer.html#M000132">define_message_handler (PhusionPassenger::AbstractServer)</a><br />
85
- <a href="classes/PhusionPassenger/AbstractServer.html#M000133">define_signal_handler (PhusionPassenger::AbstractServer)</a><br />
86
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000096">delete (PhusionPassenger::AbstractServerCollection)</a><br />
87
- <a href="classes/PhusionPassenger/Application.html#M000107">detect_framework_version (PhusionPassenger::Application)</a><br />
88
- <a href="classes/PhusionPassenger/NativeSupport.html#M000062">disable_stdio_buffering (PhusionPassenger::NativeSupport)</a><br />
89
- <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000069">domains (PhusionPassenger::AdminTools::ControlProcess)</a><br />
90
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000099">each (PhusionPassenger::AbstractServerCollection)</a><br />
91
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000100">each_pair (PhusionPassenger::AbstractServerCollection)</a><br />
92
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000095">empty? (PhusionPassenger::AbstractServerCollection)</a><br />
93
- <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000042">env_table (PhusionPassenger::Railz::CGIFixed)</a><br />
94
- <a href="classes/PhusionPassenger/MessageChannel.html#M000144">fileno (PhusionPassenger::MessageChannel)</a><br />
95
- <a href="classes/PhusionPassenger/AbstractServer.html#M000131">finalize_server (PhusionPassenger::AbstractServer)</a><br />
85
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000134">define_message_handler (PhusionPassenger::AbstractServer)</a><br />
86
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000135">define_signal_handler (PhusionPassenger::AbstractServer)</a><br />
87
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000098">delete (PhusionPassenger::AbstractServerCollection)</a><br />
88
+ <a href="classes/PhusionPassenger/Application.html#M000109">detect_framework_version (PhusionPassenger::Application)</a><br />
89
+ <a href="classes/PhusionPassenger/NativeSupport.html#M000063">disable_stdio_buffering (PhusionPassenger::NativeSupport)</a><br />
90
+ <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000071">domains (PhusionPassenger::AdminTools::ControlProcess)</a><br />
91
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000101">each (PhusionPassenger::AbstractServerCollection)</a><br />
92
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000102">each_pair (PhusionPassenger::AbstractServerCollection)</a><br />
93
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000097">empty? (PhusionPassenger::AbstractServerCollection)</a><br />
94
+ <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000045">env_table (PhusionPassenger::Railz::CGIFixed)</a><br />
95
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000146">fileno (PhusionPassenger::MessageChannel)</a><br />
96
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000133">finalize_server (PhusionPassenger::AbstractServer)</a><br />
96
97
  <a href="classes/PlatformInfo.html#M000011">find_command (PlatformInfo)</a><br />
97
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000094">has_key? (PhusionPassenger::AbstractServerCollection)</a><br />
98
+ <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000067">for_pid (PhusionPassenger::AdminTools::ControlProcess)</a><br />
99
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000096">has_key? (PhusionPassenger::AbstractServerCollection)</a><br />
98
100
  <a href="classes/PlatformInfo.html#M000016">httpd (PlatformInfo)</a><br />
99
- <a href="classes/PhusionPassenger/AbstractServer.html#M000130">initialize_server (PhusionPassenger::AbstractServer)</a><br />
100
- <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000070">instances (PhusionPassenger::AdminTools::ControlProcess)</a><br />
101
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000132">initialize_server (PhusionPassenger::AbstractServer)</a><br />
102
+ <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000072">instances (PhusionPassenger::AdminTools::ControlProcess)</a><br />
101
103
  <a href="classes/PlatformInfo.html#M000031">library_extension (PlatformInfo)</a><br />
102
104
  <a href="classes/PlatformInfo.html#M000032">linux_distro (PlatformInfo)</a><br />
103
- <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000065">list (PhusionPassenger::AdminTools::ControlProcess)</a><br />
105
+ <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000066">list (PhusionPassenger::AdminTools::ControlProcess)</a><br />
104
106
  <a href="classes/Signal.html#M000010">list_trappable (Signal)</a><br />
105
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000093">lookup_or_add (PhusionPassenger::AbstractServerCollection)</a><br />
106
- <a href="classes/PhusionPassenger/Utils.html#M000084">lower_privilege (PhusionPassenger::Utils)</a><br />
107
- <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000113">main_loop (PhusionPassenger::AbstractRequestHandler)</a><br />
108
- <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000112">main_loop_running? (PhusionPassenger::AbstractRequestHandler)</a><br />
109
- <a href="classes/PhusionPassenger/Utils.html#M000078">marshal_exception (PhusionPassenger::Utils)</a><br />
110
- <a href="classes/PhusionPassenger/InitializationError.html#M000090">new (PhusionPassenger::InitializationError)</a><br />
111
- <a href="classes/PhusionPassenger/FrameworkInitError.html#M000103">new (PhusionPassenger::FrameworkInitError)</a><br />
112
- <a href="classes/PhusionPassenger/HTMLTemplate.html#M000104">new (PhusionPassenger::HTMLTemplate)</a><br />
113
- <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000066">new (PhusionPassenger::AdminTools::ControlProcess)</a><br />
114
- <a href="classes/PhusionPassenger/Application.html#M000108">new (PhusionPassenger::Application)</a><br />
115
- <a href="classes/PhusionPassenger/VersionNotFound.html#M000088">new (PhusionPassenger::VersionNotFound)</a><br />
116
- <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000110">new (PhusionPassenger::AbstractRequestHandler)</a><br />
117
- <a href="classes/PhusionPassenger/Rack/RequestHandler.html#M000053">new (PhusionPassenger::Rack::RequestHandler)</a><br />
118
- <a href="classes/PhusionPassenger/SpawnManager.html#M000115">new (PhusionPassenger::SpawnManager)</a><br />
119
- <a href="classes/PhusionPassenger/ConsoleTextTemplate.html#M000119">new (PhusionPassenger::ConsoleTextTemplate)</a><br />
120
- <a href="classes/PhusionPassenger/Railz/FrameworkSpawner.html#M000036">new (PhusionPassenger::Railz::FrameworkSpawner)</a><br />
121
- <a href="classes/PhusionPassenger/UnknownError.html#M000122">new (PhusionPassenger::UnknownError)</a><br />
122
- <a href="classes/PhusionPassenger/AbstractServer.html#M000123">new (PhusionPassenger::AbstractServer)</a><br />
123
- <a href="classes/PhusionPassenger/Railz/ApplicationSpawner.html#M000045">new (PhusionPassenger::Railz::ApplicationSpawner)</a><br />
124
- <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000040">new (PhusionPassenger::Railz::CGIFixed)</a><br />
125
- <a href="classes/PhusionPassenger/MessageChannel.html#M000137">new (PhusionPassenger::MessageChannel)</a><br />
126
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000091">new (PhusionPassenger::AbstractServerCollection)</a><br />
127
- <a href="classes/PhusionPassenger/AppInitError.html#M000089">new (PhusionPassenger::AppInitError)</a><br />
128
- <a href="classes/PhusionPassenger/Railz/RequestHandler.html#M000049">new (PhusionPassenger::Railz::RequestHandler)</a><br />
129
- <a href="classes/PhusionPassenger/Utils.html#M000071">normalize_path (PhusionPassenger::Utils)</a><br />
107
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000095">lookup_or_add (PhusionPassenger::AbstractServerCollection)</a><br />
108
+ <a href="classes/PhusionPassenger/Utils.html#M000086">lower_privilege (PhusionPassenger::Utils)</a><br />
109
+ <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000119">main_loop (PhusionPassenger::AbstractRequestHandler)</a><br />
110
+ <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000118">main_loop_running? (PhusionPassenger::AbstractRequestHandler)</a><br />
111
+ <a href="classes/PhusionPassenger/Utils.html#M000080">marshal_exception (PhusionPassenger::Utils)</a><br />
112
+ <a href="classes/PhusionPassenger.html#M000036">natively_packaged? (PhusionPassenger)</a><br />
113
+ <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000068">new (PhusionPassenger::AdminTools::ControlProcess)</a><br />
114
+ <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000116">new (PhusionPassenger::AbstractRequestHandler)</a><br />
115
+ <a href="classes/PhusionPassenger/Railz/FrameworkSpawner.html#M000039">new (PhusionPassenger::Railz::FrameworkSpawner)</a><br />
116
+ <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000043">new (PhusionPassenger::Railz::CGIFixed)</a><br />
117
+ <a href="classes/PhusionPassenger/Rack/RequestHandler.html#M000056">new (PhusionPassenger::Rack::RequestHandler)</a><br />
118
+ <a href="classes/PhusionPassenger/Railz/ApplicationSpawner.html#M000048">new (PhusionPassenger::Railz::ApplicationSpawner)</a><br />
119
+ <a href="classes/PhusionPassenger/VersionNotFound.html#M000090">new (PhusionPassenger::VersionNotFound)</a><br />
120
+ <a href="classes/PhusionPassenger/AbstractInstaller.html#M000148">new (PhusionPassenger::AbstractInstaller)</a><br />
121
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000093">new (PhusionPassenger::AbstractServerCollection)</a><br />
122
+ <a href="classes/PhusionPassenger/InitializationError.html#M000092">new (PhusionPassenger::InitializationError)</a><br />
123
+ <a href="classes/PhusionPassenger/Railz/RequestHandler.html#M000052">new (PhusionPassenger::Railz::RequestHandler)</a><br />
124
+ <a href="classes/PhusionPassenger/UnknownError.html#M000121">new (PhusionPassenger::UnknownError)</a><br />
125
+ <a href="classes/PhusionPassenger/Application.html#M000110">new (PhusionPassenger::Application)</a><br />
126
+ <a href="classes/PhusionPassenger/AppInitError.html#M000091">new (PhusionPassenger::AppInitError)</a><br />
127
+ <a href="classes/PhusionPassenger/ConsoleTextTemplate.html#M000122">new (PhusionPassenger::ConsoleTextTemplate)</a><br />
128
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000139">new (PhusionPassenger::MessageChannel)</a><br />
129
+ <a href="classes/PhusionPassenger/HTMLTemplate.html#M000106">new (PhusionPassenger::HTMLTemplate)</a><br />
130
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000125">new (PhusionPassenger::AbstractServer)</a><br />
131
+ <a href="classes/PhusionPassenger/FrameworkInitError.html#M000105">new (PhusionPassenger::FrameworkInitError)</a><br />
132
+ <a href="classes/PhusionPassenger/SpawnManager.html#M000112">new (PhusionPassenger::SpawnManager)</a><br />
130
133
  <a href="classes/PhusionPassenger.html#M000034">on_event (PhusionPassenger)</a><br />
131
- <a href="classes/PhusionPassenger/Utils.html#M000087">passenger_tmpdir (PhusionPassenger::Utils)</a><br />
134
+ <a href="classes/PhusionPassenger/Utils.html#M000089">passenger_tmpdir (PhusionPassenger::Utils)</a><br />
132
135
  <a href="classes/PlatformInfo.html#M000021">portability_cflags (PlatformInfo)</a><br />
133
136
  <a href="classes/PlatformInfo.html#M000022">portability_ldflags (PlatformInfo)</a><br />
134
- <a href="classes/PhusionPassenger/Utils.html#M000080">print_exception (PhusionPassenger::Utils)</a><br />
135
- <a href="classes/PhusionPassenger/AdminTools.html#M000064">process_is_alive? (PhusionPassenger::AdminTools)</a><br />
136
- <a href="classes/PhusionPassenger/Railz/RequestHandler.html#M000050">process_request (PhusionPassenger::Railz::RequestHandler)</a><br />
137
- <a href="classes/PhusionPassenger/Rack/RequestHandler.html#M000054">process_request (PhusionPassenger::Rack::RequestHandler)</a><br />
138
- <a href="classes/PhusionPassenger/AbstractServer.html#M000136">quit_main (PhusionPassenger::AbstractServer)</a><br />
137
+ <a href="classes/PhusionPassenger/Utils.html#M000082">print_exception (PhusionPassenger::Utils)</a><br />
138
+ <a href="classes/PhusionPassenger/AdminTools.html#M000065">process_is_alive? (PhusionPassenger::AdminTools)</a><br />
139
+ <a href="classes/PhusionPassenger/Rack/RequestHandler.html#M000057">process_request (PhusionPassenger::Rack::RequestHandler)</a><br />
140
+ <a href="classes/PhusionPassenger/Railz/RequestHandler.html#M000053">process_request (PhusionPassenger::Railz::RequestHandler)</a><br />
141
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000138">quit_main (PhusionPassenger::AbstractServer)</a><br />
139
142
  <a href="classes/PlatformInfo.html#M000012">rake (PlatformInfo)</a><br />
140
- <a href="classes/PhusionPassenger/MessageChannel.html#M000138">read (PhusionPassenger::MessageChannel)</a><br />
141
- <a href="classes/PhusionPassenger/MessageChannel.html#M000139">read_scalar (PhusionPassenger::MessageChannel)</a><br />
142
- <a href="classes/PhusionPassenger/NativeSupport.html#M000058">recv_fd (PhusionPassenger::NativeSupport)</a><br />
143
- <a href="classes/PhusionPassenger/MessageChannel.html#M000142">recv_io (PhusionPassenger::MessageChannel)</a><br />
144
- <a href="classes/IO.html#M000006">recv_io (IO)</a><br />
143
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000140">read (PhusionPassenger::MessageChannel)</a><br />
144
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000141">read_scalar (PhusionPassenger::MessageChannel)</a><br />
145
+ <a href="classes/PhusionPassenger/NativeSupport.html#M000059">recv_fd (PhusionPassenger::NativeSupport)</a><br />
145
146
  <a href="files/lib/phusion_passenger/utils_rb.html#M000001">recv_io (lib/phusion_passenger/utils.rb)</a><br />
146
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000097">register_activity (PhusionPassenger::AbstractServerCollection)</a><br />
147
- <a href="classes/PhusionPassenger/Railz/FrameworkSpawner.html#M000039">reload (PhusionPassenger::Railz::FrameworkSpawner)</a><br />
148
- <a href="classes/PhusionPassenger/SpawnManager.html#M000117">reload (PhusionPassenger::SpawnManager)</a><br />
149
- <a href="classes/PhusionPassenger/Utils.html#M000082">report_app_init_status (PhusionPassenger::Utils)</a><br />
150
- <a href="classes/PhusionPassenger/HTMLTemplate.html#M000106">result (PhusionPassenger::HTMLTemplate)</a><br />
151
- <a href="classes/PhusionPassenger/ConsoleTextTemplate.html#M000121">result (PhusionPassenger::ConsoleTextTemplate)</a><br />
147
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000144">recv_io (PhusionPassenger::MessageChannel)</a><br />
148
+ <a href="classes/IO.html#M000006">recv_io (IO)</a><br />
149
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000099">register_activity (PhusionPassenger::AbstractServerCollection)</a><br />
150
+ <a href="classes/PhusionPassenger/Railz/FrameworkSpawner.html#M000042">reload (PhusionPassenger::Railz::FrameworkSpawner)</a><br />
151
+ <a href="classes/PhusionPassenger/SpawnManager.html#M000114">reload (PhusionPassenger::SpawnManager)</a><br />
152
+ <a href="classes/PhusionPassenger/Utils.html#M000084">report_app_init_status (PhusionPassenger::Utils)</a><br />
153
+ <a href="classes/PhusionPassenger/HTMLTemplate.html#M000108">result (PhusionPassenger::HTMLTemplate)</a><br />
154
+ <a href="classes/PhusionPassenger/ConsoleTextTemplate.html#M000124">result (PhusionPassenger::ConsoleTextTemplate)</a><br />
152
155
  <a href="classes/PlatformInfo.html#M000013">rspec (PlatformInfo)</a><br />
153
- <a href="classes/PhusionPassenger/Utils.html#M000081">safe_fork (PhusionPassenger::Utils)</a><br />
154
- <a href="classes/PhusionPassenger/Utils.html#M000086">sanitize_spawn_options (PhusionPassenger::Utils)</a><br />
155
- <a href="classes/PhusionPassenger/NativeSupport.html#M000057">send_fd (PhusionPassenger::NativeSupport)</a><br />
156
- <a href="classes/PhusionPassenger/MessageChannel.html#M000143">send_io (PhusionPassenger::MessageChannel)</a><br />
157
- <a href="classes/IO.html#M000005">send_io (IO)</a><br />
156
+ <a href="classes/PhusionPassenger/Utils.html#M000083">safe_fork (PhusionPassenger::Utils)</a><br />
157
+ <a href="classes/PhusionPassenger/Utils.html#M000088">sanitize_spawn_options (PhusionPassenger::Utils)</a><br />
158
+ <a href="classes/PhusionPassenger/NativeSupport.html#M000058">send_fd (PhusionPassenger::NativeSupport)</a><br />
159
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000145">send_io (PhusionPassenger::MessageChannel)</a><br />
158
160
  <a href="files/lib/phusion_passenger/utils_rb.html#M000002">send_io (lib/phusion_passenger/utils.rb)</a><br />
159
- <a href="classes/PhusionPassenger/AbstractServer.html#M000134">server (PhusionPassenger::AbstractServer)</a><br />
160
- <a href="classes/PhusionPassenger/AbstractServer.html#M000128">server_pid (PhusionPassenger::AbstractServer)</a><br />
161
- <a href="classes/PhusionPassenger/SpawnManager.html#M000116">spawn_application (PhusionPassenger::SpawnManager)</a><br />
162
- <a href="classes/PhusionPassenger/Rack/ApplicationSpawner.html#M000051">spawn_application (PhusionPassenger::Rack::ApplicationSpawner)</a><br />
163
- <a href="classes/PhusionPassenger/Rack/ApplicationSpawner.html#M000052">spawn_application (PhusionPassenger::Rack::ApplicationSpawner)</a><br />
164
- <a href="classes/PhusionPassenger/Railz/FrameworkSpawner.html#M000038">spawn_application (PhusionPassenger::Railz::FrameworkSpawner)</a><br />
165
- <a href="classes/PhusionPassenger/WSGI/ApplicationSpawner.html#M000055">spawn_application (PhusionPassenger::WSGI::ApplicationSpawner)</a><br />
166
- <a href="classes/PhusionPassenger/WSGI/ApplicationSpawner.html#M000056">spawn_application (PhusionPassenger::WSGI::ApplicationSpawner)</a><br />
167
- <a href="classes/PhusionPassenger/Railz/ApplicationSpawner.html#M000046">spawn_application (PhusionPassenger::Railz::ApplicationSpawner)</a><br />
168
- <a href="classes/PhusionPassenger/Railz/ApplicationSpawner.html#M000047">spawn_application! (PhusionPassenger::Railz::ApplicationSpawner)</a><br />
169
- <a href="classes/PhusionPassenger/Railz/FrameworkSpawner.html#M000037">start (PhusionPassenger::Railz::FrameworkSpawner)</a><br />
170
- <a href="classes/PhusionPassenger/Railz/ApplicationSpawner.html#M000048">start (PhusionPassenger::Railz::ApplicationSpawner)</a><br />
171
- <a href="classes/PhusionPassenger/AbstractServer.html#M000124">start (PhusionPassenger::AbstractServer)</a><br />
172
- <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000114">start_main_loop_thread (PhusionPassenger::AbstractRequestHandler)</a><br />
173
- <a href="classes/PhusionPassenger/AbstractServer.html#M000125">start_synchronously (PhusionPassenger::AbstractServer)</a><br />
174
- <a href="classes/PhusionPassenger/AbstractServer.html#M000127">started? (PhusionPassenger::AbstractServer)</a><br />
175
- <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000067">status (PhusionPassenger::AdminTools::ControlProcess)</a><br />
176
- <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000043">stdinput (PhusionPassenger::Railz::CGIFixed)</a><br />
177
- <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000044">stdoutput (PhusionPassenger::Railz::CGIFixed)</a><br />
178
- <a href="classes/PhusionPassenger/AbstractServer.html#M000126">stop (PhusionPassenger::AbstractServer)</a><br />
161
+ <a href="classes/IO.html#M000005">send_io (IO)</a><br />
162
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000136">server (PhusionPassenger::AbstractServer)</a><br />
163
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000130">server_pid (PhusionPassenger::AbstractServer)</a><br />
164
+ <a href="classes/PhusionPassenger/WSGI/ApplicationSpawner.html#M000037">spawn_application (PhusionPassenger::WSGI::ApplicationSpawner)</a><br />
165
+ <a href="classes/PhusionPassenger/Railz/FrameworkSpawner.html#M000041">spawn_application (PhusionPassenger::Railz::FrameworkSpawner)</a><br />
166
+ <a href="classes/PhusionPassenger/WSGI/ApplicationSpawner.html#M000038">spawn_application (PhusionPassenger::WSGI::ApplicationSpawner)</a><br />
167
+ <a href="classes/PhusionPassenger/Railz/ApplicationSpawner.html#M000049">spawn_application (PhusionPassenger::Railz::ApplicationSpawner)</a><br />
168
+ <a href="classes/PhusionPassenger/Rack/ApplicationSpawner.html#M000054">spawn_application (PhusionPassenger::Rack::ApplicationSpawner)</a><br />
169
+ <a href="classes/PhusionPassenger/SpawnManager.html#M000113">spawn_application (PhusionPassenger::SpawnManager)</a><br />
170
+ <a href="classes/PhusionPassenger/Rack/ApplicationSpawner.html#M000055">spawn_application (PhusionPassenger::Rack::ApplicationSpawner)</a><br />
171
+ <a href="classes/PhusionPassenger/Railz/ApplicationSpawner.html#M000050">spawn_application! (PhusionPassenger::Railz::ApplicationSpawner)</a><br />
172
+ <a href="classes/PhusionPassenger/Railz/ApplicationSpawner.html#M000051">start (PhusionPassenger::Railz::ApplicationSpawner)</a><br />
173
+ <a href="classes/PhusionPassenger/Railz/FrameworkSpawner.html#M000040">start (PhusionPassenger::Railz::FrameworkSpawner)</a><br />
174
+ <a href="classes/PhusionPassenger/AbstractInstaller.html#M000149">start (PhusionPassenger::AbstractInstaller)</a><br />
175
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000126">start (PhusionPassenger::AbstractServer)</a><br />
176
+ <a href="classes/PhusionPassenger/AbstractRequestHandler.html#M000120">start_main_loop_thread (PhusionPassenger::AbstractRequestHandler)</a><br />
177
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000127">start_synchronously (PhusionPassenger::AbstractServer)</a><br />
178
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000129">started? (PhusionPassenger::AbstractServer)</a><br />
179
+ <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000069">status (PhusionPassenger::AdminTools::ControlProcess)</a><br />
180
+ <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000046">stdinput (PhusionPassenger::Railz::CGIFixed)</a><br />
181
+ <a href="classes/PhusionPassenger/Railz/CGIFixed.html#M000047">stdoutput (PhusionPassenger::Railz::CGIFixed)</a><br />
182
+ <a href="classes/PhusionPassenger/AbstractServer.html#M000128">stop (PhusionPassenger::AbstractServer)</a><br />
179
183
  <a href="classes/RakeExtensions.html#M000009">subdir (RakeExtensions)</a><br />
180
- <a href="classes/PhusionPassenger/Utils.html#M000085">switch_to_user (PhusionPassenger::Utils)</a><br />
181
- <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000092">synchronize (PhusionPassenger::AbstractServerCollection)</a><br />
184
+ <a href="classes/PhusionPassenger/Utils.html#M000087">switch_to_user (PhusionPassenger::Utils)</a><br />
185
+ <a href="classes/PhusionPassenger/AbstractServerCollection.html#M000094">synchronize (PhusionPassenger::AbstractServerCollection)</a><br />
182
186
  <a href="classes/ConditionVariable.html#M000003">timed_wait (ConditionVariable)</a><br />
183
187
  <a href="classes/ConditionVariable.html#M000004">timed_wait! (ConditionVariable)</a><br />
184
- <a href="classes/PhusionPassenger/AdminTools.html#M000063">tmpdir (PhusionPassenger::AdminTools)</a><br />
185
- <a href="classes/PhusionPassenger/Utils.html#M000083">unmarshal_and_raise_errors (PhusionPassenger::Utils)</a><br />
186
- <a href="classes/PhusionPassenger/Utils.html#M000079">unmarshal_exception (PhusionPassenger::Utils)</a><br />
187
- <a href="classes/PhusionPassenger/MessageChannel.html#M000140">write (PhusionPassenger::MessageChannel)</a><br />
188
- <a href="classes/PhusionPassenger/MessageChannel.html#M000141">write_scalar (PhusionPassenger::MessageChannel)</a><br />
189
- <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000068">xml (PhusionPassenger::AdminTools::ControlProcess)</a><br />
188
+ <a href="classes/PhusionPassenger/AdminTools.html#M000064">tmpdir (PhusionPassenger::AdminTools)</a><br />
189
+ <a href="classes/PhusionPassenger/Utils.html#M000085">unmarshal_and_raise_errors (PhusionPassenger::Utils)</a><br />
190
+ <a href="classes/PhusionPassenger/Utils.html#M000081">unmarshal_exception (PhusionPassenger::Utils)</a><br />
191
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000142">write (PhusionPassenger::MessageChannel)</a><br />
192
+ <a href="classes/PhusionPassenger/MessageChannel.html#M000143">write_scalar (PhusionPassenger::MessageChannel)</a><br />
193
+ <a href="classes/PhusionPassenger/AdminTools/ControlProcess.html#M000070">xml (PhusionPassenger::AdminTools::ControlProcess)</a><br />
190
194
  </div>
191
195
  </body></html>