passenger 3.0.7 → 3.0.8

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of passenger might be problematic. Click here for more details.

Files changed (439) hide show
  1. data/NEWS +27 -0
  2. data/README +1 -1
  3. data/bin/passenger-install-nginx-module +3 -1
  4. data/build/config.rb +2 -1
  5. data/build/cxx_tests.rb +7 -3
  6. data/build/documentation.rb +5 -40
  7. data/build/nginx.rb +0 -1
  8. data/build/packaging.rb +0 -6
  9. data/build/rake_extensions.rb +5 -0
  10. data/doc/Architectural overview.html +344 -77
  11. data/doc/Security of user switching support.html +338 -71
  12. data/doc/Users guide Apache with comments.html +4830 -0
  13. data/doc/Users guide Apache.html +695 -428
  14. data/doc/Users guide Apache.idmap.txt +80 -0
  15. data/doc/Users guide Apache.txt +5 -5
  16. data/doc/Users guide Nginx.html +591 -313
  17. data/doc/Users guide Nginx.txt +9 -3
  18. data/doc/Users guide Standalone.html +344 -77
  19. data/ext/boost/src/pthread/thread.cpp +1 -1
  20. data/ext/common/AccountsDatabase.h +1 -1
  21. data/ext/common/Constants.h +2 -2
  22. data/ext/common/Logging.h +2 -1
  23. data/ext/common/LoggingAgent/FilterSupport.h +107 -3
  24. data/ext/common/Session.h +1 -1
  25. data/ext/common/Utils.cpp +2 -0
  26. data/ext/common/Utils/Dechunker.h +232 -0
  27. data/ext/common/Utils/HttpHeaderBufferer.h +165 -0
  28. data/ext/common/Utils/StrIntUtils.cpp +51 -15
  29. data/ext/common/Utils/StrIntUtils.h +3 -0
  30. data/ext/common/Utils/StreamBoyerMooreHorspool.h +506 -0
  31. data/ext/nginx/Configuration.c +36 -282
  32. data/ext/nginx/ContentHandler.c +17 -0
  33. data/ext/nginx/HelperAgent.cpp +397 -39
  34. data/ext/oxt/tracable_exception.cpp +3 -1
  35. data/ext/ruby/extconf.rb +1 -0
  36. data/ext/ruby/passenger_native_support.c +3 -0
  37. data/helper-scripts/prespawn +113 -31
  38. data/lib/phusion_passenger.rb +2 -2
  39. data/lib/phusion_passenger/standalone/runtime_installer.rb +3 -2
  40. data/lib/phusion_passenger/standalone/start_command.rb +12 -12
  41. data/test/cxx/DechunkerTest.cpp +216 -0
  42. data/test/cxx/FilterSupportTest.cpp +31 -4
  43. data/test/cxx/HttpHeaderBuffererTest.cpp +203 -0
  44. data/test/cxx/UtilsTest.cpp +46 -3
  45. data/test/integration_tests/hello_world_rack_spec.rb +7 -0
  46. data/test/stub/rack/config.ru +6 -1
  47. data/test/stub/rails_apps/1.2/empty/public/dispatch.cgi +1 -1
  48. data/test/stub/rails_apps/1.2/empty/public/dispatch.fcgi +1 -1
  49. data/test/stub/rails_apps/1.2/empty/public/dispatch.rb +1 -1
  50. data/test/stub/rails_apps/2.0/empty/public/dispatch.cgi +1 -1
  51. data/test/stub/rails_apps/2.0/empty/public/dispatch.fcgi +1 -1
  52. data/test/stub/rails_apps/2.0/empty/public/dispatch.rb +1 -1
  53. data/test/stub/rails_apps/2.2/empty/public/dispatch.cgi +1 -1
  54. data/test/stub/rails_apps/2.2/empty/public/dispatch.fcgi +1 -1
  55. data/test/stub/rails_apps/2.2/empty/public/dispatch.rb +1 -1
  56. metadata +20 -403
  57. data/doc/Doxyfile +0 -241
  58. data/doc/cxxapi/AbstractSpawnManager_8h_source.html +0 -141
  59. data/doc/cxxapi/Account_8h_source.html +0 -206
  60. data/doc/cxxapi/AccountsDatabase_8h_source.html +0 -161
  61. data/doc/cxxapi/AgentBase_8h_source.html +0 -70
  62. data/doc/cxxapi/AgentsStarter_8h_source.html +0 -112
  63. data/doc/cxxapi/BCrypt_8h_source.html +0 -104
  64. data/doc/cxxapi/Blowfish_8h_source.html +0 -134
  65. data/doc/cxxapi/Bucket_8h_source.html +0 -118
  66. data/doc/cxxapi/Constants_8h_source.html +0 -79
  67. data/doc/cxxapi/ContentHandler_8h_source.html +0 -95
  68. data/doc/cxxapi/DirectoryMapper_8h_source.html +0 -311
  69. data/doc/cxxapi/EventedClient_8h_source.html +0 -733
  70. data/doc/cxxapi/EventedMessageServer_8h_source.html +0 -358
  71. data/doc/cxxapi/EventedServer_8h_source.html +0 -326
  72. data/doc/cxxapi/Exceptions_8h_source.html +0 -393
  73. data/doc/cxxapi/FileDescriptor_8h_source.html +0 -324
  74. data/doc/cxxapi/Hooks_8h_source.html +0 -76
  75. data/doc/cxxapi/HttpStatusExtractor_8h_source.html +0 -382
  76. data/doc/cxxapi/IniFile_8h_source.html +0 -527
  77. data/doc/cxxapi/Logging_8h_source.html +0 -796
  78. data/doc/cxxapi/MessageChannel_8h_source.html +0 -776
  79. data/doc/cxxapi/MessageClient_8h_source.html +0 -328
  80. data/doc/cxxapi/MessageReadersWriters_8h_source.html +0 -539
  81. data/doc/cxxapi/MessageServer_8h_source.html +0 -612
  82. data/doc/cxxapi/PoolOptions_8h_source.html +0 -549
  83. data/doc/cxxapi/Process_8h_source.html +0 -286
  84. data/doc/cxxapi/RandomGenerator_8h_source.html +0 -191
  85. data/doc/cxxapi/ResourceLocator_8h_source.html +0 -166
  86. data/doc/cxxapi/SafeLibev_8h_source.html +0 -180
  87. data/doc/cxxapi/ScgiRequestParser_8h_source.html +0 -406
  88. data/doc/cxxapi/ServerInstanceDir_8h_source.html +0 -378
  89. data/doc/cxxapi/Session_8h_source.html +0 -501
  90. data/doc/cxxapi/SpawnManager_8h_source.html +0 -647
  91. data/doc/cxxapi/StaticContentHandler_8h_source.html +0 -69
  92. data/doc/cxxapi/StaticString_8h_source.html +0 -329
  93. data/doc/cxxapi/StringListCreator_8h_source.html +0 -114
  94. data/doc/cxxapi/Utils_8h_source.html +0 -469
  95. data/doc/cxxapi/annotated.html +0 -87
  96. data/doc/cxxapi/apache2_2Configuration_8h_source.html +0 -82
  97. data/doc/cxxapi/classAgentWatcher-members.html +0 -54
  98. data/doc/cxxapi/classAgentWatcher.html +0 -419
  99. data/doc/cxxapi/classClient-members.html +0 -38
  100. data/doc/cxxapi/classClient.html +0 -123
  101. data/doc/cxxapi/classHooks-members.html +0 -40
  102. data/doc/cxxapi/classHooks.html +0 -153
  103. data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager-members.html +0 -40
  104. data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager.html +0 -187
  105. data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.map +0 -3
  106. data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.md5 +0 -1
  107. data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.png +0 -0
  108. data/doc/cxxapi/classPassenger_1_1ArgumentException-members.html +0 -36
  109. data/doc/cxxapi/classPassenger_1_1ArgumentException.html +0 -56
  110. data/doc/cxxapi/classPassenger_1_1ArrayMessage-members.html +0 -37
  111. data/doc/cxxapi/classPassenger_1_1ArrayMessage.html +0 -113
  112. data/doc/cxxapi/classPassenger_1_1BufferedUpload-members.html +0 -38
  113. data/doc/cxxapi/classPassenger_1_1BufferedUpload.html +0 -112
  114. data/doc/cxxapi/classPassenger_1_1BusyException-members.html +0 -36
  115. data/doc/cxxapi/classPassenger_1_1BusyException.html +0 -54
  116. data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +0 -36
  117. data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +0 -51
  118. data/doc/cxxapi/classPassenger_1_1DirectoryMapper-members.html +0 -41
  119. data/doc/cxxapi/classPassenger_1_1DirectoryMapper.html +0 -223
  120. data/doc/cxxapi/classPassenger_1_1EOFException-members.html +0 -36
  121. data/doc/cxxapi/classPassenger_1_1EOFException.html +0 -61
  122. data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.map +0 -3
  123. data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.md5 +0 -1
  124. data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.png +0 -0
  125. data/doc/cxxapi/classPassenger_1_1EventFd-members.html +0 -36
  126. data/doc/cxxapi/classPassenger_1_1EventFd.html +0 -52
  127. data/doc/cxxapi/classPassenger_1_1EventedClient-members.html +0 -59
  128. data/doc/cxxapi/classPassenger_1_1EventedClient.html +0 -531
  129. data/doc/cxxapi/classPassenger_1_1EventedMessageServer-members.html +0 -37
  130. data/doc/cxxapi/classPassenger_1_1EventedMessageServer.html +0 -59
  131. data/doc/cxxapi/classPassenger_1_1EventedMessageServer__inherit__graph.map +0 -3
  132. data/doc/cxxapi/classPassenger_1_1EventedMessageServer__inherit__graph.md5 +0 -1
  133. data/doc/cxxapi/classPassenger_1_1EventedMessageServer__inherit__graph.png +0 -0
  134. data/doc/cxxapi/classPassenger_1_1EventedServer-members.html +0 -37
  135. data/doc/cxxapi/classPassenger_1_1EventedServer.html +0 -93
  136. data/doc/cxxapi/classPassenger_1_1EventedServer__inherit__graph.map +0 -3
  137. data/doc/cxxapi/classPassenger_1_1EventedServer__inherit__graph.md5 +0 -1
  138. data/doc/cxxapi/classPassenger_1_1EventedServer__inherit__graph.png +0 -0
  139. data/doc/cxxapi/classPassenger_1_1FileDescriptor-members.html +0 -41
  140. data/doc/cxxapi/classPassenger_1_1FileDescriptor.html +0 -178
  141. data/doc/cxxapi/classPassenger_1_1FileDescriptorPair-members.html +0 -36
  142. data/doc/cxxapi/classPassenger_1_1FileDescriptorPair.html +0 -52
  143. data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +0 -36
  144. data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +0 -58
  145. data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.map +0 -3
  146. data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.md5 +0 -1
  147. data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.png +0 -0
  148. data/doc/cxxapi/classPassenger_1_1FileSystemException-members.html +0 -41
  149. data/doc/cxxapi/classPassenger_1_1FileSystemException.html +0 -66
  150. data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.map +0 -3
  151. data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.md5 +0 -1
  152. data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.png +0 -0
  153. data/doc/cxxapi/classPassenger_1_1HttpStatusExtractor-members.html +0 -39
  154. data/doc/cxxapi/classPassenger_1_1HttpStatusExtractor.html +0 -128
  155. data/doc/cxxapi/classPassenger_1_1IOException-members.html +0 -36
  156. data/doc/cxxapi/classPassenger_1_1IOException.html +0 -61
  157. data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.map +0 -4
  158. data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.md5 +0 -1
  159. data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.png +0 -0
  160. data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +0 -57
  161. data/doc/cxxapi/classPassenger_1_1MessageChannel.html +0 -839
  162. data/doc/cxxapi/classPassenger_1_1MessageServer-members.html +0 -49
  163. data/doc/cxxapi/classPassenger_1_1MessageServer.html +0 -407
  164. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext-members.html +0 -36
  165. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext.html +0 -58
  166. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.map +0 -3
  167. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.md5 +0 -1
  168. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.png +0 -0
  169. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext-members.html +0 -41
  170. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext.html +0 -165
  171. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.map +0 -3
  172. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.md5 +0 -1
  173. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.png +0 -0
  174. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler-members.html +0 -39
  175. data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler.html +0 -173
  176. data/doc/cxxapi/classPassenger_1_1Process-members.html +0 -44
  177. data/doc/cxxapi/classPassenger_1_1Process.html +0 -290
  178. data/doc/cxxapi/classPassenger_1_1RandomGenerator-members.html +0 -37
  179. data/doc/cxxapi/classPassenger_1_1RandomGenerator.html +0 -79
  180. data/doc/cxxapi/classPassenger_1_1ResourceLocator-members.html +0 -36
  181. data/doc/cxxapi/classPassenger_1_1ResourceLocator.html +0 -51
  182. data/doc/cxxapi/classPassenger_1_1RuntimeException-members.html +0 -36
  183. data/doc/cxxapi/classPassenger_1_1RuntimeException.html +0 -54
  184. data/doc/cxxapi/classPassenger_1_1SafeLibev-members.html +0 -36
  185. data/doc/cxxapi/classPassenger_1_1SafeLibev.html +0 -51
  186. data/doc/cxxapi/classPassenger_1_1ScalarMessage-members.html +0 -37
  187. data/doc/cxxapi/classPassenger_1_1ScalarMessage.html +0 -76
  188. data/doc/cxxapi/classPassenger_1_1ScgiRequestParser-members.html +0 -50
  189. data/doc/cxxapi/classPassenger_1_1ScgiRequestParser.html +0 -285
  190. data/doc/cxxapi/classPassenger_1_1SecurityException-members.html +0 -36
  191. data/doc/cxxapi/classPassenger_1_1SecurityException.html +0 -56
  192. data/doc/cxxapi/classPassenger_1_1Session-members.html +0 -53
  193. data/doc/cxxapi/classPassenger_1_1Session.html +0 -556
  194. data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.map +0 -3
  195. data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.md5 +0 -1
  196. data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.png +0 -0
  197. data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +0 -39
  198. data/doc/cxxapi/classPassenger_1_1SpawnException.html +0 -101
  199. data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +0 -42
  200. data/doc/cxxapi/classPassenger_1_1SpawnManager.html +0 -292
  201. data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.map +0 -3
  202. data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.md5 +0 -1
  203. data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.png +0 -0
  204. data/doc/cxxapi/classPassenger_1_1StandardSession-members.html +0 -54
  205. data/doc/cxxapi/classPassenger_1_1StandardSession.html +0 -394
  206. data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.map +0 -3
  207. data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.md5 +0 -1
  208. data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.png +0 -0
  209. data/doc/cxxapi/classPassenger_1_1StaticString-members.html +0 -36
  210. data/doc/cxxapi/classPassenger_1_1StaticString.html +0 -56
  211. data/doc/cxxapi/classPassenger_1_1SyntaxError-members.html +0 -36
  212. data/doc/cxxapi/classPassenger_1_1SyntaxError.html +0 -54
  213. data/doc/cxxapi/classPassenger_1_1SystemException-members.html +0 -40
  214. data/doc/cxxapi/classPassenger_1_1SystemException.html +0 -155
  215. data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.map +0 -4
  216. data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.md5 +0 -1
  217. data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.png +0 -0
  218. data/doc/cxxapi/classPassenger_1_1TimeRetrievalException-members.html +0 -40
  219. data/doc/cxxapi/classPassenger_1_1TimeRetrievalException.html +0 -61
  220. data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.map +0 -3
  221. data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.md5 +0 -1
  222. data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.png +0 -0
  223. data/doc/cxxapi/classPassenger_1_1TimeoutException-members.html +0 -36
  224. data/doc/cxxapi/classPassenger_1_1TimeoutException.html +0 -54
  225. data/doc/cxxapi/classPassenger_1_1Uint16Message-members.html +0 -36
  226. data/doc/cxxapi/classPassenger_1_1Uint16Message.html +0 -51
  227. data/doc/cxxapi/classPassenger_1_1Uint32Message-members.html +0 -36
  228. data/doc/cxxapi/classPassenger_1_1Uint32Message.html +0 -51
  229. data/doc/cxxapi/classServer-members.html +0 -36
  230. data/doc/cxxapi/classServer.html +0 -49
  231. data/doc/cxxapi/classServerInstanceDirToucher-members.html +0 -36
  232. data/doc/cxxapi/classServerInstanceDirToucher.html +0 -47
  233. data/doc/cxxapi/classes.html +0 -52
  234. data/doc/cxxapi/definitions_8h_source.html +0 -36
  235. data/doc/cxxapi/doxygen.css +0 -532
  236. data/doc/cxxapi/doxygen.png +0 -0
  237. data/doc/cxxapi/files.html +0 -76
  238. data/doc/cxxapi/ftv2blank.png +0 -0
  239. data/doc/cxxapi/ftv2doc.png +0 -0
  240. data/doc/cxxapi/ftv2folderclosed.png +0 -0
  241. data/doc/cxxapi/ftv2folderopen.png +0 -0
  242. data/doc/cxxapi/ftv2lastnode.png +0 -0
  243. data/doc/cxxapi/ftv2link.png +0 -0
  244. data/doc/cxxapi/ftv2mlastnode.png +0 -0
  245. data/doc/cxxapi/ftv2mnode.png +0 -0
  246. data/doc/cxxapi/ftv2node.png +0 -0
  247. data/doc/cxxapi/ftv2plastnode.png +0 -0
  248. data/doc/cxxapi/ftv2pnode.png +0 -0
  249. data/doc/cxxapi/ftv2vertline.png +0 -0
  250. data/doc/cxxapi/functions.html +0 -103
  251. data/doc/cxxapi/functions_0x62.html +0 -82
  252. data/doc/cxxapi/functions_0x63.html +0 -102
  253. data/doc/cxxapi/functions_0x64.html +0 -102
  254. data/doc/cxxapi/functions_0x65.html +0 -88
  255. data/doc/cxxapi/functions_0x66.html +0 -100
  256. data/doc/cxxapi/functions_0x67.html +0 -167
  257. data/doc/cxxapi/functions_0x68.html +0 -88
  258. data/doc/cxxapi/functions_0x69.html +0 -96
  259. data/doc/cxxapi/functions_0x6b.html +0 -80
  260. data/doc/cxxapi/functions_0x6c.html +0 -88
  261. data/doc/cxxapi/functions_0x6d.html +0 -88
  262. data/doc/cxxapi/functions_0x6e.html +0 -86
  263. data/doc/cxxapi/functions_0x6f.html +0 -94
  264. data/doc/cxxapi/functions_0x70.html +0 -94
  265. data/doc/cxxapi/functions_0x72.html +0 -110
  266. data/doc/cxxapi/functions_0x73.html +0 -171
  267. data/doc/cxxapi/functions_0x74.html +0 -85
  268. data/doc/cxxapi/functions_0x75.html +0 -85
  269. data/doc/cxxapi/functions_0x77.html +0 -92
  270. data/doc/cxxapi/functions_0x7e.html +0 -79
  271. data/doc/cxxapi/functions_enum.html +0 -49
  272. data/doc/cxxapi/functions_eval.html +0 -67
  273. data/doc/cxxapi/functions_func.html +0 -531
  274. data/doc/cxxapi/functions_vars.html +0 -278
  275. data/doc/cxxapi/graph_legend.dot +0 -22
  276. data/doc/cxxapi/graph_legend.html +0 -92
  277. data/doc/cxxapi/graph_legend.png +0 -0
  278. data/doc/cxxapi/group__Core.html +0 -46
  279. data/doc/cxxapi/group__Core.map +0 -3
  280. data/doc/cxxapi/group__Core.png +0 -0
  281. data/doc/cxxapi/group__Exceptions.html +0 -53
  282. data/doc/cxxapi/group__Hooks.html +0 -42
  283. data/doc/cxxapi/group__Hooks.map +0 -3
  284. data/doc/cxxapi/group__Hooks.png +0 -0
  285. data/doc/cxxapi/group__Support.html +0 -538
  286. data/doc/cxxapi/hierarchy.html +0 -101
  287. data/doc/cxxapi/index.html +0 -16
  288. data/doc/cxxapi/inherit__graph__0.map +0 -3
  289. data/doc/cxxapi/inherit__graph__0.md5 +0 -1
  290. data/doc/cxxapi/inherit__graph__0.png +0 -0
  291. data/doc/cxxapi/inherit__graph__1.map +0 -3
  292. data/doc/cxxapi/inherit__graph__1.md5 +0 -1
  293. data/doc/cxxapi/inherit__graph__1.png +0 -0
  294. data/doc/cxxapi/inherit__graph__10.map +0 -3
  295. data/doc/cxxapi/inherit__graph__10.md5 +0 -1
  296. data/doc/cxxapi/inherit__graph__10.png +0 -0
  297. data/doc/cxxapi/inherit__graph__11.map +0 -4
  298. data/doc/cxxapi/inherit__graph__11.md5 +0 -1
  299. data/doc/cxxapi/inherit__graph__11.png +0 -0
  300. data/doc/cxxapi/inherit__graph__12.map +0 -3
  301. data/doc/cxxapi/inherit__graph__12.md5 +0 -1
  302. data/doc/cxxapi/inherit__graph__12.png +0 -0
  303. data/doc/cxxapi/inherit__graph__13.map +0 -3
  304. data/doc/cxxapi/inherit__graph__13.md5 +0 -1
  305. data/doc/cxxapi/inherit__graph__13.png +0 -0
  306. data/doc/cxxapi/inherit__graph__14.map +0 -3
  307. data/doc/cxxapi/inherit__graph__14.md5 +0 -1
  308. data/doc/cxxapi/inherit__graph__14.png +0 -0
  309. data/doc/cxxapi/inherit__graph__15.map +0 -3
  310. data/doc/cxxapi/inherit__graph__15.md5 +0 -1
  311. data/doc/cxxapi/inherit__graph__15.png +0 -0
  312. data/doc/cxxapi/inherit__graph__16.map +0 -5
  313. data/doc/cxxapi/inherit__graph__16.md5 +0 -1
  314. data/doc/cxxapi/inherit__graph__16.png +0 -0
  315. data/doc/cxxapi/inherit__graph__17.map +0 -3
  316. data/doc/cxxapi/inherit__graph__17.md5 +0 -1
  317. data/doc/cxxapi/inherit__graph__17.png +0 -0
  318. data/doc/cxxapi/inherit__graph__18.map +0 -3
  319. data/doc/cxxapi/inherit__graph__18.md5 +0 -1
  320. data/doc/cxxapi/inherit__graph__18.png +0 -0
  321. data/doc/cxxapi/inherit__graph__19.map +0 -4
  322. data/doc/cxxapi/inherit__graph__19.md5 +0 -1
  323. data/doc/cxxapi/inherit__graph__19.png +0 -0
  324. data/doc/cxxapi/inherit__graph__2.map +0 -3
  325. data/doc/cxxapi/inherit__graph__2.md5 +0 -1
  326. data/doc/cxxapi/inherit__graph__2.png +0 -0
  327. data/doc/cxxapi/inherit__graph__20.map +0 -3
  328. data/doc/cxxapi/inherit__graph__20.md5 +0 -1
  329. data/doc/cxxapi/inherit__graph__20.png +0 -0
  330. data/doc/cxxapi/inherit__graph__21.map +0 -3
  331. data/doc/cxxapi/inherit__graph__21.md5 +0 -1
  332. data/doc/cxxapi/inherit__graph__21.png +0 -0
  333. data/doc/cxxapi/inherit__graph__22.map +0 -3
  334. data/doc/cxxapi/inherit__graph__22.md5 +0 -1
  335. data/doc/cxxapi/inherit__graph__22.png +0 -0
  336. data/doc/cxxapi/inherit__graph__23.map +0 -3
  337. data/doc/cxxapi/inherit__graph__23.md5 +0 -1
  338. data/doc/cxxapi/inherit__graph__23.png +0 -0
  339. data/doc/cxxapi/inherit__graph__24.map +0 -3
  340. data/doc/cxxapi/inherit__graph__24.md5 +0 -1
  341. data/doc/cxxapi/inherit__graph__24.png +0 -0
  342. data/doc/cxxapi/inherit__graph__25.map +0 -3
  343. data/doc/cxxapi/inherit__graph__25.md5 +0 -1
  344. data/doc/cxxapi/inherit__graph__25.png +0 -0
  345. data/doc/cxxapi/inherit__graph__26.map +0 -3
  346. data/doc/cxxapi/inherit__graph__26.md5 +0 -1
  347. data/doc/cxxapi/inherit__graph__26.png +0 -0
  348. data/doc/cxxapi/inherit__graph__27.map +0 -3
  349. data/doc/cxxapi/inherit__graph__27.md5 +0 -1
  350. data/doc/cxxapi/inherit__graph__27.png +0 -0
  351. data/doc/cxxapi/inherit__graph__28.map +0 -3
  352. data/doc/cxxapi/inherit__graph__28.md5 +0 -1
  353. data/doc/cxxapi/inherit__graph__28.png +0 -0
  354. data/doc/cxxapi/inherit__graph__29.map +0 -3
  355. data/doc/cxxapi/inherit__graph__29.md5 +0 -1
  356. data/doc/cxxapi/inherit__graph__29.png +0 -0
  357. data/doc/cxxapi/inherit__graph__3.map +0 -4
  358. data/doc/cxxapi/inherit__graph__3.md5 +0 -1
  359. data/doc/cxxapi/inherit__graph__3.png +0 -0
  360. data/doc/cxxapi/inherit__graph__30.map +0 -3
  361. data/doc/cxxapi/inherit__graph__30.md5 +0 -1
  362. data/doc/cxxapi/inherit__graph__30.png +0 -0
  363. data/doc/cxxapi/inherit__graph__31.map +0 -4
  364. data/doc/cxxapi/inherit__graph__31.md5 +0 -1
  365. data/doc/cxxapi/inherit__graph__31.png +0 -0
  366. data/doc/cxxapi/inherit__graph__32.map +0 -3
  367. data/doc/cxxapi/inherit__graph__32.md5 +0 -1
  368. data/doc/cxxapi/inherit__graph__32.png +0 -0
  369. data/doc/cxxapi/inherit__graph__33.map +0 -3
  370. data/doc/cxxapi/inherit__graph__33.md5 +0 -1
  371. data/doc/cxxapi/inherit__graph__33.png +0 -0
  372. data/doc/cxxapi/inherit__graph__34.map +0 -3
  373. data/doc/cxxapi/inherit__graph__34.md5 +0 -1
  374. data/doc/cxxapi/inherit__graph__34.png +0 -0
  375. data/doc/cxxapi/inherit__graph__35.map +0 -3
  376. data/doc/cxxapi/inherit__graph__35.md5 +0 -1
  377. data/doc/cxxapi/inherit__graph__35.png +0 -0
  378. data/doc/cxxapi/inherit__graph__36.map +0 -5
  379. data/doc/cxxapi/inherit__graph__36.md5 +0 -1
  380. data/doc/cxxapi/inherit__graph__36.png +0 -0
  381. data/doc/cxxapi/inherit__graph__37.map +0 -3
  382. data/doc/cxxapi/inherit__graph__37.md5 +0 -1
  383. data/doc/cxxapi/inherit__graph__37.png +0 -0
  384. data/doc/cxxapi/inherit__graph__38.map +0 -3
  385. data/doc/cxxapi/inherit__graph__38.md5 +0 -1
  386. data/doc/cxxapi/inherit__graph__38.png +0 -0
  387. data/doc/cxxapi/inherit__graph__39.map +0 -3
  388. data/doc/cxxapi/inherit__graph__39.md5 +0 -1
  389. data/doc/cxxapi/inherit__graph__39.png +0 -0
  390. data/doc/cxxapi/inherit__graph__4.map +0 -3
  391. data/doc/cxxapi/inherit__graph__4.md5 +0 -1
  392. data/doc/cxxapi/inherit__graph__4.png +0 -0
  393. data/doc/cxxapi/inherit__graph__40.map +0 -3
  394. data/doc/cxxapi/inherit__graph__40.md5 +0 -1
  395. data/doc/cxxapi/inherit__graph__40.png +0 -0
  396. data/doc/cxxapi/inherit__graph__41.map +0 -3
  397. data/doc/cxxapi/inherit__graph__41.md5 +0 -1
  398. data/doc/cxxapi/inherit__graph__41.png +0 -0
  399. data/doc/cxxapi/inherit__graph__5.map +0 -3
  400. data/doc/cxxapi/inherit__graph__5.md5 +0 -1
  401. data/doc/cxxapi/inherit__graph__5.png +0 -0
  402. data/doc/cxxapi/inherit__graph__6.map +0 -3
  403. data/doc/cxxapi/inherit__graph__6.md5 +0 -1
  404. data/doc/cxxapi/inherit__graph__6.png +0 -0
  405. data/doc/cxxapi/inherit__graph__7.map +0 -3
  406. data/doc/cxxapi/inherit__graph__7.md5 +0 -1
  407. data/doc/cxxapi/inherit__graph__7.png +0 -0
  408. data/doc/cxxapi/inherit__graph__8.map +0 -3
  409. data/doc/cxxapi/inherit__graph__8.md5 +0 -1
  410. data/doc/cxxapi/inherit__graph__8.png +0 -0
  411. data/doc/cxxapi/inherit__graph__9.map +0 -3
  412. data/doc/cxxapi/inherit__graph__9.md5 +0 -1
  413. data/doc/cxxapi/inherit__graph__9.png +0 -0
  414. data/doc/cxxapi/inherits.html +0 -165
  415. data/doc/cxxapi/main.html +0 -28
  416. data/doc/cxxapi/modules.html +0 -36
  417. data/doc/cxxapi/namespacePassenger.html +0 -585
  418. data/doc/cxxapi/namespacemembers.html +0 -190
  419. data/doc/cxxapi/namespacemembers_enum.html +0 -48
  420. data/doc/cxxapi/namespacemembers_eval.html +0 -57
  421. data/doc/cxxapi/namespacemembers_func.html +0 -114
  422. data/doc/cxxapi/namespacemembers_type.html +0 -54
  423. data/doc/cxxapi/namespaces.html +0 -37
  424. data/doc/cxxapi/nginx_2Configuration_8h_source.html +0 -126
  425. data/doc/cxxapi/ngx__http__passenger__module_8h_source.html +0 -95
  426. data/doc/cxxapi/structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard-members.html +0 -36
  427. data/doc/cxxapi/structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard.html +0 -51
  428. data/doc/cxxapi/structPassenger_1_1PoolOptions-members.html +0 -67
  429. data/doc/cxxapi/structPassenger_1_1PoolOptions.html +0 -647
  430. data/doc/cxxapi/structPassenger_1_1StaticString_1_1Hash-members.html +0 -36
  431. data/doc/cxxapi/structPassenger_1_1StaticString_1_1Hash.html +0 -51
  432. data/doc/cxxapi/tab_b.gif +0 -0
  433. data/doc/cxxapi/tab_l.gif +0 -0
  434. data/doc/cxxapi/tab_r.gif +0 -0
  435. data/doc/cxxapi/tabs.css +0 -105
  436. data/doc/cxxapi/tree.html +0 -249
  437. data/doc/template/horo.rb +0 -613
  438. data/ext/libev/config.h +0 -122
  439. data/ext/nginx/HttpStatusExtractor.h +0 -351
@@ -1,37 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
- <title>Passenger: Namespace Index</title>
6
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
7
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
- </head>
9
- <body>
10
- <!-- Generated by Doxygen 1.6.2 -->
11
- <div class="navigation" id="top">
12
- <div class="tabs">
13
- <ul>
14
- <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
15
- <li><a href="modules.html"><span>Modules</span></a></li>
16
- <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
17
- <li><a href="annotated.html"><span>Classes</span></a></li>
18
- <li><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- <div class="tabs">
22
- <ul>
23
- <li class="current"><a href="namespaces.html"><span>Namespace&nbsp;List</span></a></li>
24
- <li><a href="namespacemembers.html"><span>Namespace&nbsp;Members</span></a></li>
25
- </ul>
26
- </div>
27
- </div>
28
- <div class="contents">
29
- <h1>Namespace List</h1>Here is a list of all documented namespaces with brief descriptions:<table>
30
- <tr><td class="indexkey"><a class="el" href="namespacePassenger.html">Passenger</a></td><td class="indexvalue">Common code for all agents </td></tr>
31
- </table>
32
- </div>
33
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
34
- <a href="http://www.doxygen.org/index.html">
35
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
36
- </body>
37
- </html>
@@ -1,126 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
- <title>Passenger: Configuration.h Source File</title>
6
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
7
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
- </head>
9
- <body>
10
- <!-- Generated by Doxygen 1.6.2 -->
11
- <div class="navigation" id="top">
12
- <div class="tabs">
13
- <ul>
14
- <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
15
- <li><a href="modules.html"><span>Modules</span></a></li>
16
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
17
- <li><a href="annotated.html"><span>Classes</span></a></li>
18
- <li class="current"><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- <div class="tabs">
22
- <ul>
23
- <li><a href="files.html"><span>File&nbsp;List</span></a></li>
24
- </ul>
25
- </div>
26
- <h1>Configuration.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
27
- <a name="l00002"></a>00002 <span class="comment"> * Copyright (C) Igor Sysoev</span>
28
- <a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 2007 Manlio Perillo (manlio.perillo@gmail.com)</span>
29
- <a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2010 Phusion</span>
30
- <a name="l00005"></a>00005 <span class="comment"> *</span>
31
- <a name="l00006"></a>00006 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>
32
- <a name="l00007"></a>00007 <span class="comment"> * modification, are permitted provided that the following conditions</span>
33
- <a name="l00008"></a>00008 <span class="comment"> * are met:</span>
34
- <a name="l00009"></a>00009 <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span>
35
- <a name="l00010"></a>00010 <span class="comment"> * notice, this list of conditions and the following disclaimer.</span>
36
- <a name="l00011"></a>00011 <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span>
37
- <a name="l00012"></a>00012 <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span>
38
- <a name="l00013"></a>00013 <span class="comment"> * documentation and/or other materials provided with the distribution.</span>
39
- <a name="l00014"></a>00014 <span class="comment"> *</span>
40
- <a name="l00015"></a>00015 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS&#39;&#39; AND</span>
41
- <a name="l00016"></a>00016 <span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span>
42
- <a name="l00017"></a>00017 <span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span>
43
- <a name="l00018"></a>00018 <span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE</span>
44
- <a name="l00019"></a>00019 <span class="comment"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL</span>
45
- <a name="l00020"></a>00020 <span class="comment"> * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS</span>
46
- <a name="l00021"></a>00021 <span class="comment"> * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)</span>
47
- <a name="l00022"></a>00022 <span class="comment"> * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span>
48
- <a name="l00023"></a>00023 <span class="comment"> * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY</span>
49
- <a name="l00024"></a>00024 <span class="comment"> * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</span>
50
- <a name="l00025"></a>00025 <span class="comment"> * SUCH DAMAGE.</span>
51
- <a name="l00026"></a>00026 <span class="comment"> */</span>
52
- <a name="l00027"></a>00027
53
- <a name="l00028"></a>00028 <span class="preprocessor">#ifndef _PASSENGER_NGINX_CONFIGURATION_H_</span>
54
- <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define _PASSENGER_NGINX_CONFIGURATION_H_</span>
55
- <a name="l00030"></a>00030 <span class="preprocessor"></span>
56
- <a name="l00031"></a>00031 <span class="preprocessor">#include &lt;ngx_config.h&gt;</span>
57
- <a name="l00032"></a>00032 <span class="preprocessor">#include &lt;ngx_http.h&gt;</span>
58
- <a name="l00033"></a>00033
59
- <a name="l00034"></a>00034 <span class="keyword">typedef</span> <span class="keyword">struct </span>{
60
- <a name="l00035"></a>00035 ngx_http_upstream_conf_t upstream_config;
61
- <a name="l00036"></a>00036 ngx_str_t index;
62
- <a name="l00037"></a>00037 ngx_array_t *flushes;
63
- <a name="l00038"></a>00038 ngx_array_t *vars_len;
64
- <a name="l00039"></a>00039 ngx_array_t *vars;
65
- <a name="l00040"></a>00040 ngx_array_t *vars_source;
66
- <a name="l00041"></a>00041
67
- <a name="l00042"></a>00042 ngx_flag_t enabled;
68
- <a name="l00043"></a>00043 ngx_flag_t use_global_queue;
69
- <a name="l00044"></a>00044 ngx_flag_t friendly_error_pages;
70
- <a name="l00045"></a>00045 ngx_flag_t union_station_support;
71
- <a name="l00046"></a>00046 ngx_flag_t debugger;
72
- <a name="l00047"></a>00047 ngx_flag_t show_version_in_header;
73
- <a name="l00048"></a>00048 ngx_str_t environment;
74
- <a name="l00049"></a>00049 ngx_str_t user;
75
- <a name="l00050"></a>00050 ngx_str_t group;
76
- <a name="l00051"></a>00051 ngx_str_t spawn_method;
77
- <a name="l00052"></a>00052 ngx_str_t app_group_name;
78
- <a name="l00053"></a>00053 ngx_str_t app_rights;
79
- <a name="l00054"></a>00054 ngx_int_t min_instances;
80
- <a name="l00055"></a>00055 ngx_int_t framework_spawner_idle_time;
81
- <a name="l00056"></a>00056 ngx_int_t app_spawner_idle_time;
82
- <a name="l00057"></a>00057 ngx_str_t union_station_key;
83
- <a name="l00058"></a>00058 ngx_array_t *base_uris;
84
- <a name="l00059"></a>00059 ngx_array_t *union_station_filters;
85
- <a name="l00060"></a>00060
86
- <a name="l00061"></a>00061 <span class="comment">/************************************/</span>
87
- <a name="l00062"></a>00062 } passenger_loc_conf_t;
88
- <a name="l00063"></a>00063
89
- <a name="l00064"></a>00064 <span class="keyword">typedef</span> <span class="keyword">struct </span>{
90
- <a name="l00065"></a>00065 ngx_str_t root_dir;
91
- <a name="l00066"></a>00066 ngx_str_t ruby;
92
- <a name="l00067"></a>00067 ngx_int_t log_level;
93
- <a name="l00068"></a>00068 ngx_str_t debug_log_file;
94
- <a name="l00069"></a>00069 ngx_flag_t abort_on_startup_error;
95
- <a name="l00070"></a>00070 ngx_uint_t max_pool_size;
96
- <a name="l00071"></a>00071 ngx_uint_t max_instances_per_app;
97
- <a name="l00072"></a>00072 ngx_uint_t pool_idle_time;
98
- <a name="l00073"></a>00073 ngx_flag_t user_switching;
99
- <a name="l00074"></a>00074 ngx_str_t default_user;
100
- <a name="l00075"></a>00075 ngx_str_t default_group;
101
- <a name="l00076"></a>00076 ngx_str_t analytics_log_dir;
102
- <a name="l00077"></a>00077 ngx_str_t analytics_log_user;
103
- <a name="l00078"></a>00078 ngx_str_t analytics_log_group;
104
- <a name="l00079"></a>00079 ngx_str_t analytics_log_permissions;
105
- <a name="l00080"></a>00080 ngx_str_t union_station_gateway_address;
106
- <a name="l00081"></a>00081 ngx_uint_t union_station_gateway_port;
107
- <a name="l00082"></a>00082 ngx_str_t union_station_gateway_cert;
108
- <a name="l00083"></a>00083 ngx_array_t *prestart_uris;
109
- <a name="l00084"></a>00084 } passenger_main_conf_t;
110
- <a name="l00085"></a>00085
111
- <a name="l00086"></a>00086 <span class="keyword">extern</span> <span class="keyword">const</span> ngx_command_t passenger_commands[];
112
- <a name="l00087"></a>00087 <span class="keyword">extern</span> passenger_main_conf_t passenger_main_conf;
113
- <a name="l00088"></a>00088
114
- <a name="l00089"></a>00089 <span class="keywordtype">void</span> *passenger_create_main_conf(ngx_conf_t *cf);
115
- <a name="l00090"></a>00090 <span class="keywordtype">char</span> *passenger_init_main_conf(ngx_conf_t *cf, <span class="keywordtype">void</span> *conf_pointer);
116
- <a name="l00091"></a>00091 <span class="keywordtype">void</span> *passenger_create_loc_conf(ngx_conf_t *cf);
117
- <a name="l00092"></a>00092 <span class="keywordtype">char</span> *passenger_merge_loc_conf(ngx_conf_t *cf, <span class="keywordtype">void</span> *parent, <span class="keywordtype">void</span> *child);
118
- <a name="l00093"></a>00093
119
- <a name="l00094"></a>00094 <span class="preprocessor">#endif </span><span class="comment">/* _PASSENGER_NGINX_CONFIGURATION_H_ */</span>
120
- <a name="l00095"></a>00095
121
- </pre></div></div>
122
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
123
- <a href="http://www.doxygen.org/index.html">
124
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
125
- </body>
126
- </html>
@@ -1,95 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
- <title>Passenger: ngx_http_passenger_module.h Source File</title>
6
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
7
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
- </head>
9
- <body>
10
- <!-- Generated by Doxygen 1.6.2 -->
11
- <div class="navigation" id="top">
12
- <div class="tabs">
13
- <ul>
14
- <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
15
- <li><a href="modules.html"><span>Modules</span></a></li>
16
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
17
- <li><a href="annotated.html"><span>Classes</span></a></li>
18
- <li class="current"><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- <div class="tabs">
22
- <ul>
23
- <li><a href="files.html"><span>File&nbsp;List</span></a></li>
24
- </ul>
25
- </div>
26
- <h1>ngx_http_passenger_module.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
27
- <a name="l00002"></a>00002 <span class="comment"> * Copyright (C) Igor Sysoev</span>
28
- <a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 2007 Manlio Perillo (manlio.perillo@gmail.com)</span>
29
- <a name="l00004"></a>00004 <span class="comment"> * Copyright (C) 2010 Phusion</span>
30
- <a name="l00005"></a>00005 <span class="comment"> *</span>
31
- <a name="l00006"></a>00006 <span class="comment"> * Redistribution and use in source and binary forms, with or without</span>
32
- <a name="l00007"></a>00007 <span class="comment"> * modification, are permitted provided that the following conditions</span>
33
- <a name="l00008"></a>00008 <span class="comment"> * are met:</span>
34
- <a name="l00009"></a>00009 <span class="comment"> * 1. Redistributions of source code must retain the above copyright</span>
35
- <a name="l00010"></a>00010 <span class="comment"> * notice, this list of conditions and the following disclaimer.</span>
36
- <a name="l00011"></a>00011 <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright</span>
37
- <a name="l00012"></a>00012 <span class="comment"> * notice, this list of conditions and the following disclaimer in the</span>
38
- <a name="l00013"></a>00013 <span class="comment"> * documentation and/or other materials provided with the distribution.</span>
39
- <a name="l00014"></a>00014 <span class="comment"> *</span>
40
- <a name="l00015"></a>00015 <span class="comment"> * THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS&#39;&#39; AND</span>
41
- <a name="l00016"></a>00016 <span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span>
42
- <a name="l00017"></a>00017 <span class="comment"> * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span>
43
- <a name="l00018"></a>00018 <span class="comment"> * ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE</span>
44
- <a name="l00019"></a>00019 <span class="comment"> * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL</span>
45
- <a name="l00020"></a>00020 <span class="comment"> * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS</span>
46
- <a name="l00021"></a>00021 <span class="comment"> * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)</span>
47
- <a name="l00022"></a>00022 <span class="comment"> * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT</span>
48
- <a name="l00023"></a>00023 <span class="comment"> * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY</span>
49
- <a name="l00024"></a>00024 <span class="comment"> * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF</span>
50
- <a name="l00025"></a>00025 <span class="comment"> * SUCH DAMAGE.</span>
51
- <a name="l00026"></a>00026 <span class="comment"> */</span>
52
- <a name="l00027"></a>00027
53
- <a name="l00028"></a>00028 <span class="preprocessor">#ifndef _PASSENGER_NGINX_MODULE_H_</span>
54
- <a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor">#define _PASSENGER_NGINX_MODULE_H_</span>
55
- <a name="l00030"></a>00030 <span class="preprocessor"></span>
56
- <a name="l00031"></a>00031 <span class="preprocessor">#include &lt;ngx_config.h&gt;</span>
57
- <a name="l00032"></a>00032 <span class="preprocessor">#include &lt;ngx_core.h&gt;</span>
58
- <a name="l00033"></a>00033 <span class="preprocessor">#include &quot;../common/AgentsStarter.h&quot;</span>
59
- <a name="l00034"></a>00034 <span class="preprocessor">#include &quot;../common/Utils/CachedFileStat.h&quot;</span>
60
- <a name="l00035"></a>00035 <span class="comment"></span>
61
- <a name="l00036"></a>00036 <span class="comment">/**</span>
62
- <a name="l00037"></a>00037 <span class="comment"> * The Nginx version number as an integer.</span>
63
- <a name="l00038"></a>00038 <span class="comment"> * For example, on nginx 1.7.30 this value is 1007030.</span>
64
- <a name="l00039"></a>00039 <span class="comment"> */</span>
65
- <a name="l00040"></a>00040 <span class="preprocessor">#define NGINX_VERSION_NUM \</span>
66
- <a name="l00041"></a>00041 <span class="preprocessor"> (1000000 * PASSENGER_NGINX_MAJOR_VERSION + \</span>
67
- <a name="l00042"></a>00042 <span class="preprocessor"> 1000 * PASSENGER_NGINX_MINOR_VERSION + \</span>
68
- <a name="l00043"></a>00043 <span class="preprocessor"> PASSENGER_NGINX_MICRO_VERSION)</span>
69
- <a name="l00044"></a>00044 <span class="preprocessor"></span>
70
- <a name="l00045"></a>00045 <span class="keyword">extern</span> ngx_module_t ngx_http_passenger_module;
71
- <a name="l00046"></a>00046 <span class="comment"></span>
72
- <a name="l00047"></a>00047 <span class="comment">/**</span>
73
- <a name="l00048"></a>00048 <span class="comment"> * A static schema string to be assigned to Nginx &#39;upstream&#39; strctures.</span>
74
- <a name="l00049"></a>00049 <span class="comment"> */</span>
75
- <a name="l00050"></a>00050 <span class="keyword">extern</span> ngx_str_t passenger_schema_string;
76
- <a name="l00051"></a>00051
77
- <a name="l00052"></a>00052 <span class="keyword">extern</span> ngx_str_t passenger_placeholder_upstream_address;
78
- <a name="l00053"></a>00053 <span class="comment"></span>
79
- <a name="l00054"></a>00054 <span class="comment">/**</span>
80
- <a name="l00055"></a>00055 <span class="comment"> * A CachedFileStat object used for caching stat() calls.</span>
81
- <a name="l00056"></a>00056 <span class="comment"> */</span>
82
- <a name="l00057"></a>00057 <span class="keyword">extern</span> PassengerCachedFileStat *passenger_stat_cache;
83
- <a name="l00058"></a>00058
84
- <a name="l00059"></a>00059 <span class="keyword">extern</span> AgentsStarter *passenger_agents_starter;
85
- <a name="l00060"></a>00060
86
- <a name="l00061"></a>00061 <span class="keyword">extern</span> ngx_cycle_t *passenger_current_cycle;
87
- <a name="l00062"></a>00062
88
- <a name="l00063"></a>00063 <span class="preprocessor">#endif </span><span class="comment">/* _PASSENGER_NGINX_MODULE_H_ */</span>
89
- <a name="l00064"></a>00064
90
- </pre></div></div>
91
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
92
- <a href="http://www.doxygen.org/index.html">
93
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
94
- </body>
95
- </html>
@@ -1,36 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
- <title>Passenger: Member List</title>
6
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
7
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
- </head>
9
- <body>
10
- <!-- Generated by Doxygen 1.6.2 -->
11
- <div class="navigation" id="top">
12
- <div class="tabs">
13
- <ul>
14
- <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
15
- <li><a href="modules.html"><span>Modules</span></a></li>
16
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
17
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
18
- <li><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- <div class="tabs">
22
- <ul>
23
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
24
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
25
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
26
- </ul>
27
- </div>
28
- </div>
29
- <div class="contents">
30
- <h1>Passenger::MessageServer::DisconnectEventBroadcastGuard Member List</h1>This is the complete list of members for <a class="el" href="structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard.html">Passenger::MessageServer::DisconnectEventBroadcastGuard</a>, including all inherited members.<table>
31
- </table></div>
32
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
33
- <a href="http://www.doxygen.org/index.html">
34
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
35
- </body>
36
- </html>
@@ -1,51 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
- <title>Passenger: Passenger::MessageServer::DisconnectEventBroadcastGuard Struct Reference</title>
6
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
7
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
- </head>
9
- <body>
10
- <!-- Generated by Doxygen 1.6.2 -->
11
- <div class="navigation" id="top">
12
- <div class="tabs">
13
- <ul>
14
- <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
15
- <li><a href="modules.html"><span>Modules</span></a></li>
16
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
17
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
18
- <li><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- <div class="tabs">
22
- <ul>
23
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
24
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
25
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
26
- </ul>
27
- </div>
28
- <div class="navpath"><a class="el" href="namespacePassenger.html">Passenger</a>::<a class="el" href="classPassenger_1_1MessageServer.html">MessageServer</a>::<a class="el" href="structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard.html">DisconnectEventBroadcastGuard</a>
29
- </div>
30
- </div>
31
- <div class="contents">
32
- <h1>Passenger::MessageServer::DisconnectEventBroadcastGuard Struct Reference</h1><!-- doxytag: class="Passenger::MessageServer::DisconnectEventBroadcastGuard" -->
33
- <p>Calls clientDisconnected() on all handlers when destroyed.
34
- <a href="#_details">More...</a></p>
35
-
36
- <p><code>#include &lt;<a class="el" href="MessageServer_8h_source.html">MessageServer.h</a>&gt;</code></p>
37
-
38
- <p><a href="structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard-members.html">List of all members.</a></p>
39
- <table border="0" cellpadding="0" cellspacing="0">
40
- </table>
41
- <hr/><a name="_details"></a><h2>Detailed Description</h2>
42
- <p>Calls clientDisconnected() on all handlers when destroyed. </p>
43
- <hr/>The documentation for this struct was generated from the following file:<ul>
44
- <li><a class="el" href="MessageServer_8h_source.html">MessageServer.h</a></li>
45
- </ul>
46
- </div>
47
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
48
- <a href="http://www.doxygen.org/index.html">
49
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
50
- </body>
51
- </html>
@@ -1,67 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
- <title>Passenger: Member List</title>
6
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
7
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
- </head>
9
- <body>
10
- <!-- Generated by Doxygen 1.6.2 -->
11
- <div class="navigation" id="top">
12
- <div class="tabs">
13
- <ul>
14
- <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
15
- <li><a href="modules.html"><span>Modules</span></a></li>
16
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
17
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
18
- <li><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- <div class="tabs">
22
- <ul>
23
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
24
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
25
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
26
- </ul>
27
- </div>
28
- </div>
29
- <div class="contents">
30
- <h1>Passenger::PoolOptions Member List</h1>This is the complete list of members for <a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a>, including all inherited members.<table>
31
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#affc1fe858b06111964f9b091e7354a4c">analytics</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
32
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#adce57f30c4f33d8b55726d0eaa15addf">appGroupName</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
33
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a822039d204b48d9ed49184646734acf3">appRoot</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
34
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a5a2f27a853e33c22da71430216d798cf">appSpawnerTimeout</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
35
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a5e1c129ae0b8be350c7ed238eec8a8c9">appType</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
36
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a85c99df1b3d74b47c73049e20f0a7192">baseURI</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
37
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a7ac23dee2503de627fe4a3ea346c3739">debugger</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
38
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#afdbe6d3418132ff3ca17427778e0948c">defaultGroup</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
39
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#af9e15d356066ebd5f1454dca7937374f">defaultUser</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
40
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a4324bb724859905f9991faa9b90aedbc">environment</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
41
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#aaa4f5d4ae1534ada8613fbe497a38924">environmentVariables</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
42
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#acbbea86958b42ffa7989680ed1587c70">frameworkSpawnerTimeout</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
43
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a43eb2294bff16bbcbafec569babca883">getAppGroupName</a>() const </td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td><code> [inline]</code></td></tr>
44
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a6292899199727c513fd641d313c42372">group</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
45
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a1709d96d9d5d59ce79c90434a45cb076">initiateSession</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
46
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#ace54185a9981f103a036a7ac3e768612">log</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
47
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a70251ed3cb3713cb26a0b166c6b015c0">maxRequests</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
48
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a9d887031bbee2ad75ed88c8533ce41c1">minProcesses</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
49
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#ab2b7c72144c108657e3ad4ac9f6e26f4">PoolOptions</a>()</td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td><code> [inline]</code></td></tr>
50
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a24eb0a0962f9a037d01841cd7dbca985">PoolOptions</a>(const string &amp;appRoot, string appGroupName=&quot;&quot;, const string &amp;appType=&quot;rails&quot;, const string &amp;environment=&quot;production&quot;, const string &amp;spawnMethod=&quot;smart-lv2&quot;, const string &amp;user=&quot;&quot;, const string &amp;group=&quot;&quot;, const string &amp;defaultUser=&quot;&quot;, const string &amp;defaultGroup=&quot;&quot;, long frameworkSpawnerTimeout=-1, long appSpawnerTimeout=-1, const string &amp;baseURI=&quot;/&quot;, unsigned long maxRequests=0, unsigned long minProcesses=0, bool useGlobalQueue=false, bool showVersionInHeader=true, unsigned long statThrottleRate=0, const string &amp;restartDir=&quot;&quot;, Account::Rights rights=DEFAULT_BACKEND_ACCOUNT_RIGHTS, bool debugger=false, bool analytics=false, const AnalyticsLogPtr &amp;log=AnalyticsLogPtr())</td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td><code> [inline]</code></td></tr>
51
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a0caa024c33da2f68b5c79b41122397b3">PoolOptions</a>(const vector&lt; string &gt; &amp;vec, unsigned int startIndex=0, AnalyticsLoggerPtr analyticsLogger=AnalyticsLoggerPtr())</td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td><code> [inline]</code></td></tr>
52
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#ad3d545cee2806198797fc6b4197ff87b">printExceptions</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
53
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#ab0f889f70a3ed22f2423d110ddaf26f5">restartDir</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
54
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a45665fffc8a20ea60a3fcafaff8627ab">rights</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
55
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#acb2df1a0b558e7fa457e46373c17b679">serializeEnvironmentVariables</a>() const </td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td><code> [inline]</code></td></tr>
56
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a6f4ab7d4f2da75f31f49ca761d57734a">showVersionInHeader</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
57
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#afeb629e3ced79f5a2dbccc1beeeeab9e">spawnMethod</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
58
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#aeaf5a998b4a5da2246685c2dfb8a8c6d">statThrottleRate</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
59
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a437e077b0ab037f4e86680e9164a694e">toVector</a>(vector&lt; string &gt; &amp;vec, bool storeEnvVars=true) const </td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td><code> [inline]</code></td></tr>
60
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#ab610e568a7b5d3bb27460d6e35952b7e">useGlobalQueue</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
61
- <tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#a7bb617271b0a61645b17b9815ebf300c">user</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
62
- </table></div>
63
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
64
- <a href="http://www.doxygen.org/index.html">
65
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
66
- </body>
67
- </html>
@@ -1,647 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
- <html xmlns="http://www.w3.org/1999/xhtml">
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
- <title>Passenger: Passenger::PoolOptions Struct Reference</title>
6
- <link href="tabs.css" rel="stylesheet" type="text/css"/>
7
- <link href="doxygen.css" rel="stylesheet" type="text/css"/>
8
- </head>
9
- <body>
10
- <!-- Generated by Doxygen 1.6.2 -->
11
- <div class="navigation" id="top">
12
- <div class="tabs">
13
- <ul>
14
- <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
15
- <li><a href="modules.html"><span>Modules</span></a></li>
16
- <li><a href="namespaces.html"><span>Namespaces</span></a></li>
17
- <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
18
- <li><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- <div class="tabs">
22
- <ul>
23
- <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
24
- <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
25
- <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
26
- </ul>
27
- </div>
28
- <div class="navpath"><a class="el" href="namespacePassenger.html">Passenger</a>::<a class="el" href="structPassenger_1_1PoolOptions.html">PoolOptions</a>
29
- </div>
30
- </div>
31
- <div class="contents">
32
- <h1>Passenger::PoolOptions Struct Reference</h1><!-- doxytag: class="Passenger::PoolOptions" -->
33
- <p>This struct encapsulates information for ApplicationPool::get() and for <a class="el" href="classPassenger_1_1SpawnManager.html#a88a94ba4d41dab492cb1dc8a0f998973" title="Spawn a new application process.">SpawnManager::spawn()</a>, such as which application is to be spawned.
34
- <a href="#_details">More...</a></p>
35
-
36
- <p><code>#include &lt;<a class="el" href="PoolOptions_8h_source.html">PoolOptions.h</a>&gt;</code></p>
37
-
38
- <p><a href="structPassenger_1_1PoolOptions-members.html">List of all members.</a></p>
39
- <table border="0" cellpadding="0" cellspacing="0">
40
- <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
41
- <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#ab2b7c72144c108657e3ad4ac9f6e26f4">PoolOptions</a> ()</td></tr>
42
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <a class="el" href="structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()...">PoolOptions</a> object with the default values filled in. <a href="#ab2b7c72144c108657e3ad4ac9f6e26f4"></a><br/></td></tr>
43
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a24eb0a0962f9a037d01841cd7dbca985"></a><!-- doxytag: member="Passenger::PoolOptions::PoolOptions" ref="a24eb0a0962f9a037d01841cd7dbca985" args="(const string &amp;appRoot, string appGroupName=&quot;&quot;, const string &amp;appType=&quot;rails&quot;, const string &amp;environment=&quot;production&quot;, const string &amp;spawnMethod=&quot;smart&#45;lv2&quot;, const string &amp;user=&quot;&quot;, const string &amp;group=&quot;&quot;, const string &amp;defaultUser=&quot;&quot;, const string &amp;defaultGroup=&quot;&quot;, long frameworkSpawnerTimeout=&#45;1, long appSpawnerTimeout=&#45;1, const string &amp;baseURI=&quot;/&quot;, unsigned long maxRequests=0, unsigned long minProcesses=0, bool useGlobalQueue=false, bool showVersionInHeader=true, unsigned long statThrottleRate=0, const string &amp;restartDir=&quot;&quot;, Account::Rights rights=DEFAULT_BACKEND_ACCOUNT_RIGHTS, bool debugger=false, bool analytics=false, const AnalyticsLogPtr &amp;log=AnalyticsLogPtr())" -->
44
- &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a24eb0a0962f9a037d01841cd7dbca985">PoolOptions</a> (const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#a822039d204b48d9ed49184646734acf3">appRoot</a>, string <a class="el" href="structPassenger_1_1PoolOptions.html#adce57f30c4f33d8b55726d0eaa15addf">appGroupName</a>=&quot;&quot;, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#a5e1c129ae0b8be350c7ed238eec8a8c9">appType</a>=&quot;rails&quot;, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#a4324bb724859905f9991faa9b90aedbc">environment</a>=&quot;production&quot;, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#afeb629e3ced79f5a2dbccc1beeeeab9e">spawnMethod</a>=&quot;smart-lv2&quot;, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#a7bb617271b0a61645b17b9815ebf300c">user</a>=&quot;&quot;, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#a6292899199727c513fd641d313c42372">group</a>=&quot;&quot;, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#af9e15d356066ebd5f1454dca7937374f">defaultUser</a>=&quot;&quot;, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#afdbe6d3418132ff3ca17427778e0948c">defaultGroup</a>=&quot;&quot;, long <a class="el" href="structPassenger_1_1PoolOptions.html#acbbea86958b42ffa7989680ed1587c70">frameworkSpawnerTimeout</a>=-1, long <a class="el" href="structPassenger_1_1PoolOptions.html#a5a2f27a853e33c22da71430216d798cf">appSpawnerTimeout</a>=-1, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#a85c99df1b3d74b47c73049e20f0a7192">baseURI</a>=&quot;/&quot;, unsigned long <a class="el" href="structPassenger_1_1PoolOptions.html#a70251ed3cb3713cb26a0b166c6b015c0">maxRequests</a>=0, unsigned long <a class="el" href="structPassenger_1_1PoolOptions.html#a9d887031bbee2ad75ed88c8533ce41c1">minProcesses</a>=0, bool <a class="el" href="structPassenger_1_1PoolOptions.html#ab610e568a7b5d3bb27460d6e35952b7e">useGlobalQueue</a>=false, bool <a class="el" href="structPassenger_1_1PoolOptions.html#a6f4ab7d4f2da75f31f49ca761d57734a">showVersionInHeader</a>=true, unsigned long <a class="el" href="structPassenger_1_1PoolOptions.html#aeaf5a998b4a5da2246685c2dfb8a8c6d">statThrottleRate</a>=0, const string &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#ab0f889f70a3ed22f2423d110ddaf26f5">restartDir</a>=&quot;&quot;, Account::Rights <a class="el" href="structPassenger_1_1PoolOptions.html#a45665fffc8a20ea60a3fcafaff8627ab">rights</a>=DEFAULT_BACKEND_ACCOUNT_RIGHTS, bool <a class="el" href="structPassenger_1_1PoolOptions.html#a7ac23dee2503de627fe4a3ea346c3739">debugger</a>=false, bool <a class="el" href="structPassenger_1_1PoolOptions.html#affc1fe858b06111964f9b091e7354a4c">analytics</a>=false, const AnalyticsLogPtr &amp;<a class="el" href="structPassenger_1_1PoolOptions.html#ace54185a9981f103a036a7ac3e768612">log</a>=AnalyticsLogPtr())</td></tr>
45
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <a class="el" href="structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()...">PoolOptions</a> object with the given values. <br/></td></tr>
46
- <tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a0caa024c33da2f68b5c79b41122397b3">PoolOptions</a> (const vector&lt; string &gt; &amp;vec, unsigned int startIndex=0, AnalyticsLoggerPtr analyticsLogger=AnalyticsLoggerPtr())</td></tr>
47
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a new <a class="el" href="structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()...">PoolOptions</a> object from the given string vector. <a href="#a0caa024c33da2f68b5c79b41122397b3"></a><br/></td></tr>
48
- <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a437e077b0ab037f4e86680e9164a694e">toVector</a> (vector&lt; string &gt; &amp;vec, bool storeEnvVars=true) const </td></tr>
49
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Append the information in this <a class="el" href="structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()...">PoolOptions</a> object to the given string vector. <a href="#a437e077b0ab037f4e86680e9164a694e"></a><br/></td></tr>
50
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a43eb2294bff16bbcbafec569babca883">getAppGroupName</a> () const </td></tr>
51
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the app group name. <a href="#a43eb2294bff16bbcbafec569babca883"></a><br/></td></tr>
52
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#acb2df1a0b558e7fa457e46373c17b679">serializeEnvironmentVariables</a> () const </td></tr>
53
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Serializes the items in environmentVariables into a string, which can be used to create a SimpleStringListCreator object. <a href="#acb2df1a0b558e7fa457e46373c17b679"></a><br/></td></tr>
54
- <tr><td colspan="2"><h2>Public Attributes</h2></td></tr>
55
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a822039d204b48d9ed49184646734acf3">appRoot</a></td></tr>
56
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The root directory of the application to spawn. <a href="#a822039d204b48d9ed49184646734acf3"></a><br/></td></tr>
57
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#adce57f30c4f33d8b55726d0eaa15addf">appGroupName</a></td></tr>
58
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A name used by ApplicationPool to uniquely identify an application. <a href="#adce57f30c4f33d8b55726d0eaa15addf"></a><br/></td></tr>
59
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a5e1c129ae0b8be350c7ed238eec8a8c9">appType</a></td></tr>
60
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The application type. <a href="#a5e1c129ae0b8be350c7ed238eec8a8c9"></a><br/></td></tr>
61
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a4324bb724859905f9991faa9b90aedbc">environment</a></td></tr>
62
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The RAILS_ENV/RACK_ENV environment that should be used. <a href="#a4324bb724859905f9991faa9b90aedbc"></a><br/></td></tr>
63
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#afeb629e3ced79f5a2dbccc1beeeeab9e">spawnMethod</a></td></tr>
64
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Method with which application processes should be spawned. <a href="#afeb629e3ced79f5a2dbccc1beeeeab9e"></a><br/></td></tr>
65
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a7bb617271b0a61645b17b9815ebf300c">user</a></td></tr>
66
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See overview. <a href="#a7bb617271b0a61645b17b9815ebf300c"></a><br/></td></tr>
67
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a6292899199727c513fd641d313c42372">group</a></td></tr>
68
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See class overview. <a href="#a6292899199727c513fd641d313c42372"></a><br/></td></tr>
69
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#af9e15d356066ebd5f1454dca7937374f">defaultUser</a></td></tr>
70
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See class overview. <a href="#af9e15d356066ebd5f1454dca7937374f"></a><br/></td></tr>
71
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#afdbe6d3418132ff3ca17427778e0948c">defaultGroup</a></td></tr>
72
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">See class overview. <a href="#afdbe6d3418132ff3ca17427778e0948c"></a><br/></td></tr>
73
- <tr><td class="memItemLeft" align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#acbbea86958b42ffa7989680ed1587c70">frameworkSpawnerTimeout</a></td></tr>
74
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The idle timeout, in seconds, of framework spawners. <a href="#acbbea86958b42ffa7989680ed1587c70"></a><br/></td></tr>
75
- <tr><td class="memItemLeft" align="right" valign="top">long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a5a2f27a853e33c22da71430216d798cf">appSpawnerTimeout</a></td></tr>
76
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The idle timeout, in seconds, of application spawners. <a href="#a5a2f27a853e33c22da71430216d798cf"></a><br/></td></tr>
77
- <tr><td class="memItemLeft" align="right" valign="top">StringListCreatorPtr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#aaa4f5d4ae1534ada8613fbe497a38924">environmentVariables</a></td></tr>
78
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Environment variables which should be passed to the spawned application process. <a href="#aaa4f5d4ae1534ada8613fbe497a38924"></a><br/></td></tr>
79
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a85c99df1b3d74b47c73049e20f0a7192">baseURI</a></td></tr>
80
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The base URI on which the application runs. <a href="#a85c99df1b3d74b47c73049e20f0a7192"></a><br/></td></tr>
81
- <tr><td class="memItemLeft" align="right" valign="top">unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a70251ed3cb3713cb26a0b166c6b015c0">maxRequests</a></td></tr>
82
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The maximum number of requests that the spawned application may process before exiting. <a href="#a70251ed3cb3713cb26a0b166c6b015c0"></a><br/></td></tr>
83
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d887031bbee2ad75ed88c8533ce41c1"></a><!-- doxytag: member="Passenger::PoolOptions::minProcesses" ref="a9d887031bbee2ad75ed88c8533ce41c1" args="" -->
84
- unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a9d887031bbee2ad75ed88c8533ce41c1">minProcesses</a></td></tr>
85
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The minimum number of processes for the current group that the application pool's cleaner thread should keep around. <br/></td></tr>
86
- <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#ab610e568a7b5d3bb27460d6e35952b7e">useGlobalQueue</a></td></tr>
87
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Whether to use a global queue instead of a per-backend process queue. <a href="#ab610e568a7b5d3bb27460d6e35952b7e"></a><br/></td></tr>
88
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6f4ab7d4f2da75f31f49ca761d57734a"></a><!-- doxytag: member="Passenger::PoolOptions::showVersionInHeader" ref="a6f4ab7d4f2da75f31f49ca761d57734a" args="" -->
89
- bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a6f4ab7d4f2da75f31f49ca761d57734a">showVersionInHeader</a></td></tr>
90
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Whether to show the Phusion <a class="el" href="namespacePassenger.html" title="Common code for all agents.">Passenger</a> version number in the X-Powered-By header. <br/></td></tr>
91
- <tr><td class="memItemLeft" align="right" valign="top">unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#aeaf5a998b4a5da2246685c2dfb8a8c6d">statThrottleRate</a></td></tr>
92
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A throttling rate for file stats. <a href="#aeaf5a998b4a5da2246685c2dfb8a8c6d"></a><br/></td></tr>
93
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#ab0f889f70a3ed22f2423d110ddaf26f5">restartDir</a></td></tr>
94
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The directory which contains restart.txt and always_restart.txt. <a href="#ab0f889f70a3ed22f2423d110ddaf26f5"></a><br/></td></tr>
95
- <tr><td class="memItemLeft" align="right" valign="top">Account::Rights&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a45665fffc8a20ea60a3fcafaff8627ab">rights</a></td></tr>
96
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Any rights that the spawned application process may have. <a href="#a45665fffc8a20ea60a3fcafaff8627ab"></a><br/></td></tr>
97
- <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a7ac23dee2503de627fe4a3ea346c3739">debugger</a></td></tr>
98
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Whether debugger support should be enabled. <a href="#a7ac23dee2503de627fe4a3ea346c3739"></a><br/></td></tr>
99
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affc1fe858b06111964f9b091e7354a4c"></a><!-- doxytag: member="Passenger::PoolOptions::analytics" ref="affc1fe858b06111964f9b091e7354a4c" args="" -->
100
- bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#affc1fe858b06111964f9b091e7354a4c">analytics</a></td></tr>
101
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">In case an app process needs to be spawned, whether analytics logging should be enabled. <br/></td></tr>
102
- <tr><td class="memItemLeft" align="right" valign="top">AnalyticsLogPtr&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#ace54185a9981f103a036a7ac3e768612">log</a></td></tr>
103
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An analytics log object to log things to. <a href="#ace54185a9981f103a036a7ac3e768612"></a><br/></td></tr>
104
- <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#a1709d96d9d5d59ce79c90434a45cb076">initiateSession</a></td></tr>
105
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Whether the session returned by ApplicationPool::Interface::get() should be automatically initiated. <a href="#a1709d96d9d5d59ce79c90434a45cb076"></a><br/></td></tr>
106
- <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1PoolOptions.html#ad3d545cee2806198797fc6b4197ff87b">printExceptions</a></td></tr>
107
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Whether application processes should print exceptions that occurred during application initialization. <a href="#ad3d545cee2806198797fc6b4197ff87b"></a><br/></td></tr>
108
- </table>
109
- <hr/><a name="_details"></a><h2>Detailed Description</h2>
110
- <p>This struct encapsulates information for ApplicationPool::get() and for <a class="el" href="classPassenger_1_1SpawnManager.html#a88a94ba4d41dab492cb1dc8a0f998973" title="Spawn a new application process.">SpawnManager::spawn()</a>, such as which application is to be spawned. </p>
111
- <h2>Privilege lowering support</h2>
112
- <p>If <em>user</em> is given and isn't the empty string, then the application process will run as the given username. Otherwise, the owner of the application's startup file (e.g. config/environment.rb or config.ru) will be used.</p>
113
- <p>If <em>group</em> is given and isn't the empty string, then the application process will run as the given group name. If it's set to the special value "!STARTUP_FILE!", then the startup file's group will be used. Otherwise, the primary group of the user that the application process will run as, will be used as group.</p>
114
- <p>If the user or group that the application process attempts to switch to doesn't exist, then <em>default_user</em> and <em>default_group</em>, respectively, will be used.</p>
115
- <p>Phusion <a class="el" href="namespacePassenger.html" title="Common code for all agents.">Passenger</a> will attempt to avoid running the application process as root: if <em>user</em> or <em>group</em> is set to the root user or the root group, or if the startup file is owned by root, then <em>default_user</em> and <em>default_group</em> will be used instead.</p>
116
- <p>All this only happen if Phusion <a class="el" href="namespacePassenger.html" title="Common code for all agents.">Passenger</a> has root privileges. If not, then these options have no effect. </p>
117
- <hr/><h2>Constructor &amp; Destructor Documentation</h2>
118
- <a class="anchor" id="ab2b7c72144c108657e3ad4ac9f6e26f4"></a><!-- doxytag: member="Passenger::PoolOptions::PoolOptions" ref="ab2b7c72144c108657e3ad4ac9f6e26f4" args="()" -->
119
- <div class="memitem">
120
- <div class="memproto">
121
- <table class="memname">
122
- <tr>
123
- <td class="memname">Passenger::PoolOptions::PoolOptions </td>
124
- <td>(</td>
125
- <td class="paramname"></td>
126
- <td>&nbsp;)&nbsp;</td>
127
- <td><code> [inline]</code></td>
128
- </tr>
129
- </table>
130
- </div>
131
- <div class="memdoc">
132
-
133
- <p>Creates a new <a class="el" href="structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()...">PoolOptions</a> object with the default values filled in. </p>
134
- <p>One must still set appRoot manually, after having used this constructor. </p>
135
-
136
- </div>
137
- </div>
138
- <a class="anchor" id="a0caa024c33da2f68b5c79b41122397b3"></a><!-- doxytag: member="Passenger::PoolOptions::PoolOptions" ref="a0caa024c33da2f68b5c79b41122397b3" args="(const vector&lt; string &gt; &amp;vec, unsigned int startIndex=0, AnalyticsLoggerPtr analyticsLogger=AnalyticsLoggerPtr())" -->
139
- <div class="memitem">
140
- <div class="memproto">
141
- <table class="memname">
142
- <tr>
143
- <td class="memname">Passenger::PoolOptions::PoolOptions </td>
144
- <td>(</td>
145
- <td class="paramtype">const vector&lt; string &gt; &amp;&nbsp;</td>
146
- <td class="paramname"> <em>vec</em>, </td>
147
- </tr>
148
- <tr>
149
- <td class="paramkey"></td>
150
- <td></td>
151
- <td class="paramtype">unsigned int&nbsp;</td>
152
- <td class="paramname"> <em>startIndex</em> = <code>0</code>, </td>
153
- </tr>
154
- <tr>
155
- <td class="paramkey"></td>
156
- <td></td>
157
- <td class="paramtype">AnalyticsLoggerPtr&nbsp;</td>
158
- <td class="paramname"> <em>analyticsLogger</em> = <code>AnalyticsLoggerPtr()</code></td><td>&nbsp;</td>
159
- </tr>
160
- <tr>
161
- <td></td>
162
- <td>)</td>
163
- <td></td><td></td><td><code> [inline]</code></td>
164
- </tr>
165
- </table>
166
- </div>
167
- <div class="memdoc">
168
-
169
- <p>Creates a new <a class="el" href="structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()...">PoolOptions</a> object from the given string vector. </p>
170
- <p>This vector contains information that's written to by <a class="el" href="structPassenger_1_1PoolOptions.html#a437e077b0ab037f4e86680e9164a694e" title="Append the information in this PoolOptions object to the given string vector.">toVector()</a>.</p>
171
- <p>For example: </p>
172
- <div class="fragment"><pre class="fragment"> <a class="code" href="structPassenger_1_1PoolOptions.html#ab2b7c72144c108657e3ad4ac9f6e26f4" title="Creates a new PoolOptions object with the default values filled in.">PoolOptions</a> options(...);
173
- vector&lt;string&gt; vec;
174
-
175
- vec.push_back(<span class="stringliteral">&quot;my&quot;</span>);
176
- vec.push_back(<span class="stringliteral">&quot;data&quot;</span>);
177
- options.toVector(vec); <span class="comment">// PoolOptions information will start at index 2.</span>
178
-
179
- <a class="code" href="structPassenger_1_1PoolOptions.html#ab2b7c72144c108657e3ad4ac9f6e26f4" title="Creates a new PoolOptions object with the default values filled in.">PoolOptions</a> copy(vec, 2);
180
- </pre></div><dl><dt><b>Parameters:</b></dt><dd>
181
- <table border="0" cellspacing="2" cellpadding="0">
182
- <tr><td valign="top"></td><td valign="top"><em>vec</em>&nbsp;</td><td>The vector containing spawn options information. </td></tr>
183
- <tr><td valign="top"></td><td valign="top"><em>startIndex</em>&nbsp;</td><td>The index in vec at which the information starts. </td></tr>
184
- <tr><td valign="top"></td><td valign="top"><em>analyticsLogger</em>&nbsp;</td><td>If given, and the vector contains logging information, then the 'log' member will be constructed using this logger. </td></tr>
185
- </table>
186
- </dd>
187
- </dl>
188
-
189
- </div>
190
- </div>
191
- <hr/><h2>Member Function Documentation</h2>
192
- <a class="anchor" id="a43eb2294bff16bbcbafec569babca883"></a><!-- doxytag: member="Passenger::PoolOptions::getAppGroupName" ref="a43eb2294bff16bbcbafec569babca883" args="() const " -->
193
- <div class="memitem">
194
- <div class="memproto">
195
- <table class="memname">
196
- <tr>
197
- <td class="memname">string Passenger::PoolOptions::getAppGroupName </td>
198
- <td>(</td>
199
- <td class="paramname"></td>
200
- <td>&nbsp;)&nbsp;</td>
201
- <td> const<code> [inline]</code></td>
202
- </tr>
203
- </table>
204
- </div>
205
- <div class="memdoc">
206
-
207
- <p>Returns the app group name. </p>
208
- <p>If there is no explicitly set app group name then the app root is considered to be the app group name. </p>
209
-
210
- </div>
211
- </div>
212
- <a class="anchor" id="acb2df1a0b558e7fa457e46373c17b679"></a><!-- doxytag: member="Passenger::PoolOptions::serializeEnvironmentVariables" ref="acb2df1a0b558e7fa457e46373c17b679" args="() const " -->
213
- <div class="memitem">
214
- <div class="memproto">
215
- <table class="memname">
216
- <tr>
217
- <td class="memname">string Passenger::PoolOptions::serializeEnvironmentVariables </td>
218
- <td>(</td>
219
- <td class="paramname"></td>
220
- <td>&nbsp;)&nbsp;</td>
221
- <td> const<code> [inline]</code></td>
222
- </tr>
223
- </table>
224
- </div>
225
- <div class="memdoc">
226
-
227
- <p>Serializes the items in environmentVariables into a string, which can be used to create a SimpleStringListCreator object. </p>
228
- <dl><dt><b>Exceptions:</b></dt><dd>
229
- <table border="0" cellspacing="2" cellpadding="0">
230
- <tr><td valign="top"></td><td valign="top"><em>Anything</em>&nbsp;</td><td>thrown by environmentVariables-&gt;getItems(). </td></tr>
231
- </table>
232
- </dd>
233
- </dl>
234
-
235
- </div>
236
- </div>
237
- <a class="anchor" id="a437e077b0ab037f4e86680e9164a694e"></a><!-- doxytag: member="Passenger::PoolOptions::toVector" ref="a437e077b0ab037f4e86680e9164a694e" args="(vector&lt; string &gt; &amp;vec, bool storeEnvVars=true) const " -->
238
- <div class="memitem">
239
- <div class="memproto">
240
- <table class="memname">
241
- <tr>
242
- <td class="memname">void Passenger::PoolOptions::toVector </td>
243
- <td>(</td>
244
- <td class="paramtype">vector&lt; string &gt; &amp;&nbsp;</td>
245
- <td class="paramname"> <em>vec</em>, </td>
246
- </tr>
247
- <tr>
248
- <td class="paramkey"></td>
249
- <td></td>
250
- <td class="paramtype">bool&nbsp;</td>
251
- <td class="paramname"> <em>storeEnvVars</em> = <code>true</code></td><td>&nbsp;</td>
252
- </tr>
253
- <tr>
254
- <td></td>
255
- <td>)</td>
256
- <td></td><td></td><td> const<code> [inline]</code></td>
257
- </tr>
258
- </table>
259
- </div>
260
- <div class="memdoc">
261
-
262
- <p>Append the information in this <a class="el" href="structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()...">PoolOptions</a> object to the given string vector. </p>
263
- <p>The resulting array could, for example, be used as a message to be sent to the spawn server.</p>
264
- <dl><dt><b>Parameters:</b></dt><dd>
265
- <table border="0" cellspacing="2" cellpadding="0">
266
- <tr><td valign="top"></td><td valign="top"><em>vec</em>&nbsp;</td><td>The vector to store the information in. </td></tr>
267
- <tr><td valign="top"></td><td valign="top"><em>storeEnvVars</em>&nbsp;</td><td>Whether to store environment variable information into vec as well. </td></tr>
268
- </table>
269
- </dd>
270
- </dl>
271
- <dl><dt><b>Exceptions:</b></dt><dd>
272
- <table border="0" cellspacing="2" cellpadding="0">
273
- <tr><td valign="top"></td><td valign="top"><em>Anything</em>&nbsp;</td><td>thrown by environmentVariables-&gt;getItems(). </td></tr>
274
- </table>
275
- </dd>
276
- </dl>
277
-
278
- </div>
279
- </div>
280
- <hr/><h2>Member Data Documentation</h2>
281
- <a class="anchor" id="adce57f30c4f33d8b55726d0eaa15addf"></a><!-- doxytag: member="Passenger::PoolOptions::appGroupName" ref="adce57f30c4f33d8b55726d0eaa15addf" args="" -->
282
- <div class="memitem">
283
- <div class="memproto">
284
- <table class="memname">
285
- <tr>
286
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#adce57f30c4f33d8b55726d0eaa15addf">Passenger::PoolOptions::appGroupName</a></td>
287
- </tr>
288
- </table>
289
- </div>
290
- <div class="memdoc">
291
-
292
- <p>A name used by ApplicationPool to uniquely identify an application. </p>
293
- <p>If one tries to get() from the application pool with name "A", then get() again with name "B", then the latter will spawn a new application process, even if both get() requests have the same app root.</p>
294
- <p>If left empty (the default), then the app root is used as the app group name. </p>
295
-
296
- </div>
297
- </div>
298
- <a class="anchor" id="a822039d204b48d9ed49184646734acf3"></a><!-- doxytag: member="Passenger::PoolOptions::appRoot" ref="a822039d204b48d9ed49184646734acf3" args="" -->
299
- <div class="memitem">
300
- <div class="memproto">
301
- <table class="memname">
302
- <tr>
303
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#a822039d204b48d9ed49184646734acf3">Passenger::PoolOptions::appRoot</a></td>
304
- </tr>
305
- </table>
306
- </div>
307
- <div class="memdoc">
308
-
309
- <p>The root directory of the application to spawn. </p>
310
- <p>In case of a Ruby on Rails application, this is the folder that contains 'app/', 'public/', 'config/', etc. This must be a valid directory, but the path does not have to be absolute. </p>
311
-
312
- </div>
313
- </div>
314
- <a class="anchor" id="a5a2f27a853e33c22da71430216d798cf"></a><!-- doxytag: member="Passenger::PoolOptions::appSpawnerTimeout" ref="a5a2f27a853e33c22da71430216d798cf" args="" -->
315
- <div class="memitem">
316
- <div class="memproto">
317
- <table class="memname">
318
- <tr>
319
- <td class="memname">long <a class="el" href="structPassenger_1_1PoolOptions.html#a5a2f27a853e33c22da71430216d798cf">Passenger::PoolOptions::appSpawnerTimeout</a></td>
320
- </tr>
321
- </table>
322
- </div>
323
- <div class="memdoc">
324
-
325
- <p>The idle timeout, in seconds, of application spawners. </p>
326
- <p>See the "Spawning methods
327
- explained" section of the users guide for information about application spawners.</p>
328
- <p>A timeout of 0 means that the application spawner should never idle timeout. A timeout of -1 means that the default timeout value should be used. </p>
329
-
330
- </div>
331
- </div>
332
- <a class="anchor" id="a5e1c129ae0b8be350c7ed238eec8a8c9"></a><!-- doxytag: member="Passenger::PoolOptions::appType" ref="a5e1c129ae0b8be350c7ed238eec8a8c9" args="" -->
333
- <div class="memitem">
334
- <div class="memproto">
335
- <table class="memname">
336
- <tr>
337
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#a5e1c129ae0b8be350c7ed238eec8a8c9">Passenger::PoolOptions::appType</a></td>
338
- </tr>
339
- </table>
340
- </div>
341
- <div class="memdoc">
342
-
343
- <p>The application type. </p>
344
- <p>Either "rails" (default), "rack" or "wsgi". </p>
345
-
346
- </div>
347
- </div>
348
- <a class="anchor" id="a85c99df1b3d74b47c73049e20f0a7192"></a><!-- doxytag: member="Passenger::PoolOptions::baseURI" ref="a85c99df1b3d74b47c73049e20f0a7192" args="" -->
349
- <div class="memitem">
350
- <div class="memproto">
351
- <table class="memname">
352
- <tr>
353
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#a85c99df1b3d74b47c73049e20f0a7192">Passenger::PoolOptions::baseURI</a></td>
354
- </tr>
355
- </table>
356
- </div>
357
- <div class="memdoc">
358
-
359
- <p>The base URI on which the application runs. </p>
360
- <p>If the application is running on the root URI, then this value must be "/".</p>
361
- <dl class="invariant"><dt><b>Invariant:</b></dt><dd>baseURI != "" </dd></dl>
362
-
363
- </div>
364
- </div>
365
- <a class="anchor" id="a7ac23dee2503de627fe4a3ea346c3739"></a><!-- doxytag: member="Passenger::PoolOptions::debugger" ref="a7ac23dee2503de627fe4a3ea346c3739" args="" -->
366
- <div class="memitem">
367
- <div class="memproto">
368
- <table class="memname">
369
- <tr>
370
- <td class="memname">bool <a class="el" href="structPassenger_1_1PoolOptions.html#a7ac23dee2503de627fe4a3ea346c3739">Passenger::PoolOptions::debugger</a></td>
371
- </tr>
372
- </table>
373
- </div>
374
- <div class="memdoc">
375
-
376
- <p>Whether debugger support should be enabled. </p>
377
-
378
- </div>
379
- </div>
380
- <a class="anchor" id="afdbe6d3418132ff3ca17427778e0948c"></a><!-- doxytag: member="Passenger::PoolOptions::defaultGroup" ref="afdbe6d3418132ff3ca17427778e0948c" args="" -->
381
- <div class="memitem">
382
- <div class="memproto">
383
- <table class="memname">
384
- <tr>
385
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#afdbe6d3418132ff3ca17427778e0948c">Passenger::PoolOptions::defaultGroup</a></td>
386
- </tr>
387
- </table>
388
- </div>
389
- <div class="memdoc">
390
-
391
- <p>See class overview. </p>
392
- <p>Defaults to the defaultUser's primary group. </p>
393
-
394
- </div>
395
- </div>
396
- <a class="anchor" id="af9e15d356066ebd5f1454dca7937374f"></a><!-- doxytag: member="Passenger::PoolOptions::defaultUser" ref="af9e15d356066ebd5f1454dca7937374f" args="" -->
397
- <div class="memitem">
398
- <div class="memproto">
399
- <table class="memname">
400
- <tr>
401
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#af9e15d356066ebd5f1454dca7937374f">Passenger::PoolOptions::defaultUser</a></td>
402
- </tr>
403
- </table>
404
- </div>
405
- <div class="memdoc">
406
-
407
- <p>See class overview. </p>
408
- <p>Defaults to "nobody". </p>
409
-
410
- </div>
411
- </div>
412
- <a class="anchor" id="a4324bb724859905f9991faa9b90aedbc"></a><!-- doxytag: member="Passenger::PoolOptions::environment" ref="a4324bb724859905f9991faa9b90aedbc" args="" -->
413
- <div class="memitem">
414
- <div class="memproto">
415
- <table class="memname">
416
- <tr>
417
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#a4324bb724859905f9991faa9b90aedbc">Passenger::PoolOptions::environment</a></td>
418
- </tr>
419
- </table>
420
- </div>
421
- <div class="memdoc">
422
-
423
- <p>The RAILS_ENV/RACK_ENV environment that should be used. </p>
424
- <p>May not be an empty string. The default is "production". </p>
425
-
426
- </div>
427
- </div>
428
- <a class="anchor" id="aaa4f5d4ae1534ada8613fbe497a38924"></a><!-- doxytag: member="Passenger::PoolOptions::environmentVariables" ref="aaa4f5d4ae1534ada8613fbe497a38924" args="" -->
429
- <div class="memitem">
430
- <div class="memproto">
431
- <table class="memname">
432
- <tr>
433
- <td class="memname">StringListCreatorPtr <a class="el" href="structPassenger_1_1PoolOptions.html#aaa4f5d4ae1534ada8613fbe497a38924">Passenger::PoolOptions::environmentVariables</a></td>
434
- </tr>
435
- </table>
436
- </div>
437
- <div class="memdoc">
438
-
439
- <p>Environment variables which should be passed to the spawned application process. </p>
440
- <p>If a new application process is started, then the getItems() method on this object will be called, which is to return environment variables that should be passed to the newly spawned backend process. Odd indices in the resulting array contain keys, even indices contain the value for the key in the previous index.</p>
441
- <p>May be set to NULL.</p>
442
- <dl class="invariant"><dt><b>Invariant:</b></dt><dd>environmentVariables.size() is an even number. </dd></dl>
443
-
444
- </div>
445
- </div>
446
- <a class="anchor" id="acbbea86958b42ffa7989680ed1587c70"></a><!-- doxytag: member="Passenger::PoolOptions::frameworkSpawnerTimeout" ref="acbbea86958b42ffa7989680ed1587c70" args="" -->
447
- <div class="memitem">
448
- <div class="memproto">
449
- <table class="memname">
450
- <tr>
451
- <td class="memname">long <a class="el" href="structPassenger_1_1PoolOptions.html#acbbea86958b42ffa7989680ed1587c70">Passenger::PoolOptions::frameworkSpawnerTimeout</a></td>
452
- </tr>
453
- </table>
454
- </div>
455
- <div class="memdoc">
456
-
457
- <p>The idle timeout, in seconds, of framework spawners. </p>
458
- <p>See the "Spawning methods
459
- explained" section of the users guide for information about framework spawners.</p>
460
- <p>A timeout of 0 means that the framework spawner should never idle timeout. A timeout of -1 means that the default timeout value should be used. </p>
461
-
462
- </div>
463
- </div>
464
- <a class="anchor" id="a6292899199727c513fd641d313c42372"></a><!-- doxytag: member="Passenger::PoolOptions::group" ref="a6292899199727c513fd641d313c42372" args="" -->
465
- <div class="memitem">
466
- <div class="memproto">
467
- <table class="memname">
468
- <tr>
469
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#a6292899199727c513fd641d313c42372">Passenger::PoolOptions::group</a></td>
470
- </tr>
471
- </table>
472
- </div>
473
- <div class="memdoc">
474
-
475
- <p>See class overview. </p>
476
-
477
- </div>
478
- </div>
479
- <a class="anchor" id="a1709d96d9d5d59ce79c90434a45cb076"></a><!-- doxytag: member="Passenger::PoolOptions::initiateSession" ref="a1709d96d9d5d59ce79c90434a45cb076" args="" -->
480
- <div class="memitem">
481
- <div class="memproto">
482
- <table class="memname">
483
- <tr>
484
- <td class="memname">bool <a class="el" href="structPassenger_1_1PoolOptions.html#a1709d96d9d5d59ce79c90434a45cb076">Passenger::PoolOptions::initiateSession</a></td>
485
- </tr>
486
- </table>
487
- </div>
488
- <div class="memdoc">
489
-
490
- <p>Whether the session returned by ApplicationPool::Interface::get() should be automatically initiated. </p>
491
- <p>Defaults to true. </p>
492
-
493
- </div>
494
- </div>
495
- <a class="anchor" id="ace54185a9981f103a036a7ac3e768612"></a><!-- doxytag: member="Passenger::PoolOptions::log" ref="ace54185a9981f103a036a7ac3e768612" args="" -->
496
- <div class="memitem">
497
- <div class="memproto">
498
- <table class="memname">
499
- <tr>
500
- <td class="memname">AnalyticsLogPtr <a class="el" href="structPassenger_1_1PoolOptions.html#ace54185a9981f103a036a7ac3e768612">Passenger::PoolOptions::log</a></td>
501
- </tr>
502
- </table>
503
- </div>
504
- <div class="memdoc">
505
-
506
- <p>An analytics log object to log things to. </p>
507
- <p>May be the null pointer, in which case analytics logging is disabled for this request. </p>
508
-
509
- </div>
510
- </div>
511
- <a class="anchor" id="a70251ed3cb3713cb26a0b166c6b015c0"></a><!-- doxytag: member="Passenger::PoolOptions::maxRequests" ref="a70251ed3cb3713cb26a0b166c6b015c0" args="" -->
512
- <div class="memitem">
513
- <div class="memproto">
514
- <table class="memname">
515
- <tr>
516
- <td class="memname">unsigned long <a class="el" href="structPassenger_1_1PoolOptions.html#a70251ed3cb3713cb26a0b166c6b015c0">Passenger::PoolOptions::maxRequests</a></td>
517
- </tr>
518
- </table>
519
- </div>
520
- <div class="memdoc">
521
-
522
- <p>The maximum number of requests that the spawned application may process before exiting. </p>
523
- <p>A value of 0 means unlimited. </p>
524
-
525
- </div>
526
- </div>
527
- <a class="anchor" id="ad3d545cee2806198797fc6b4197ff87b"></a><!-- doxytag: member="Passenger::PoolOptions::printExceptions" ref="ad3d545cee2806198797fc6b4197ff87b" args="" -->
528
- <div class="memitem">
529
- <div class="memproto">
530
- <table class="memname">
531
- <tr>
532
- <td class="memname">bool <a class="el" href="structPassenger_1_1PoolOptions.html#ad3d545cee2806198797fc6b4197ff87b">Passenger::PoolOptions::printExceptions</a></td>
533
- </tr>
534
- </table>
535
- </div>
536
- <div class="memdoc">
537
-
538
- <p>Whether application processes should print exceptions that occurred during application initialization. </p>
539
- <p>Defaults to true. </p>
540
-
541
- </div>
542
- </div>
543
- <a class="anchor" id="ab0f889f70a3ed22f2423d110ddaf26f5"></a><!-- doxytag: member="Passenger::PoolOptions::restartDir" ref="ab0f889f70a3ed22f2423d110ddaf26f5" args="" -->
544
- <div class="memitem">
545
- <div class="memproto">
546
- <table class="memname">
547
- <tr>
548
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#ab0f889f70a3ed22f2423d110ddaf26f5">Passenger::PoolOptions::restartDir</a></td>
549
- </tr>
550
- </table>
551
- </div>
552
- <div class="memdoc">
553
-
554
- <p>The directory which contains restart.txt and always_restart.txt. </p>
555
- <p>An empty string means that the default directory should be used. </p>
556
-
557
- </div>
558
- </div>
559
- <a class="anchor" id="a45665fffc8a20ea60a3fcafaff8627ab"></a><!-- doxytag: member="Passenger::PoolOptions::rights" ref="a45665fffc8a20ea60a3fcafaff8627ab" args="" -->
560
- <div class="memitem">
561
- <div class="memproto">
562
- <table class="memname">
563
- <tr>
564
- <td class="memname">Account::Rights <a class="el" href="structPassenger_1_1PoolOptions.html#a45665fffc8a20ea60a3fcafaff8627ab">Passenger::PoolOptions::rights</a></td>
565
- </tr>
566
- </table>
567
- </div>
568
- <div class="memdoc">
569
-
570
- <p>Any rights that the spawned application process may have. </p>
571
- <p>The <a class="el" href="classPassenger_1_1SpawnManager.html" title="An AbstractSpawnManager implementation.">SpawnManager</a> will create a new account for each spawned app, and that account will be assigned these rights. </p>
572
-
573
- </div>
574
- </div>
575
- <a class="anchor" id="afeb629e3ced79f5a2dbccc1beeeeab9e"></a><!-- doxytag: member="Passenger::PoolOptions::spawnMethod" ref="afeb629e3ced79f5a2dbccc1beeeeab9e" args="" -->
576
- <div class="memitem">
577
- <div class="memproto">
578
- <table class="memname">
579
- <tr>
580
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#afeb629e3ced79f5a2dbccc1beeeeab9e">Passenger::PoolOptions::spawnMethod</a></td>
581
- </tr>
582
- </table>
583
- </div>
584
- <div class="memdoc">
585
-
586
- <p>Method with which application processes should be spawned. </p>
587
- <p>Different methods have different performance and compatibility properties. Available methods are "smart-lv2" (default), "smart" and "conservative". The different spawning methods are explained in the "Spawning methods explained" section of the users guide. </p>
588
-
589
- </div>
590
- </div>
591
- <a class="anchor" id="aeaf5a998b4a5da2246685c2dfb8a8c6d"></a><!-- doxytag: member="Passenger::PoolOptions::statThrottleRate" ref="aeaf5a998b4a5da2246685c2dfb8a8c6d" args="" -->
592
- <div class="memitem">
593
- <div class="memproto">
594
- <table class="memname">
595
- <tr>
596
- <td class="memname">unsigned long <a class="el" href="structPassenger_1_1PoolOptions.html#aeaf5a998b4a5da2246685c2dfb8a8c6d">Passenger::PoolOptions::statThrottleRate</a></td>
597
- </tr>
598
- </table>
599
- </div>
600
- <div class="memdoc">
601
-
602
- <p>A throttling rate for file stats. </p>
603
- <p>When set to a non-zero value N, restart.txt and other files which are usually stat()ted on every ApplicationPool::get() call will be stat()ed at most every N seconds. </p>
604
-
605
- </div>
606
- </div>
607
- <a class="anchor" id="ab610e568a7b5d3bb27460d6e35952b7e"></a><!-- doxytag: member="Passenger::PoolOptions::useGlobalQueue" ref="ab610e568a7b5d3bb27460d6e35952b7e" args="" -->
608
- <div class="memitem">
609
- <div class="memproto">
610
- <table class="memname">
611
- <tr>
612
- <td class="memname">bool <a class="el" href="structPassenger_1_1PoolOptions.html#ab610e568a7b5d3bb27460d6e35952b7e">Passenger::PoolOptions::useGlobalQueue</a></td>
613
- </tr>
614
- </table>
615
- </div>
616
- <div class="memdoc">
617
-
618
- <p>Whether to use a global queue instead of a per-backend process queue. </p>
619
- <p>This option is only used by ApplicationPool::get().</p>
620
- <p>If enabled, when all backend processes are active, get() will wait until there's at least one backend process that's idle, instead of queuing the request into a random process's private queue. This is especially useful if a website has one or more long-running requests. </p>
621
-
622
- </div>
623
- </div>
624
- <a class="anchor" id="a7bb617271b0a61645b17b9815ebf300c"></a><!-- doxytag: member="Passenger::PoolOptions::user" ref="a7bb617271b0a61645b17b9815ebf300c" args="" -->
625
- <div class="memitem">
626
- <div class="memproto">
627
- <table class="memname">
628
- <tr>
629
- <td class="memname">string <a class="el" href="structPassenger_1_1PoolOptions.html#a7bb617271b0a61645b17b9815ebf300c">Passenger::PoolOptions::user</a></td>
630
- </tr>
631
- </table>
632
- </div>
633
- <div class="memdoc">
634
-
635
- <p>See overview. </p>
636
-
637
- </div>
638
- </div>
639
- <hr/>The documentation for this struct was generated from the following file:<ul>
640
- <li><a class="el" href="PoolOptions_8h_source.html">PoolOptions.h</a></li>
641
- </ul>
642
- </div>
643
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
644
- <a href="http://www.doxygen.org/index.html">
645
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
646
- </body>
647
- </html>