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,53 +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: Exceptions</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><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- </div>
22
- <div class="contents">
23
- <h1>Exceptions</h1><table border="0" cellpadding="0" cellspacing="0">
24
- <tr><td colspan="2"><h2>Classes</h2></td></tr>
25
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1SystemException.html">Passenger::SystemException</a></td></tr>
26
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents an error returned by a system call or a standard library call. <a href="classPassenger_1_1SystemException.html#_details">More...</a><br/></td></tr>
27
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1FileSystemException.html">Passenger::FileSystemException</a></td></tr>
28
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A filesystem error, as returned by the operating system. <a href="classPassenger_1_1FileSystemException.html#_details">More...</a><br/></td></tr>
29
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1TimeRetrievalException.html">Passenger::TimeRetrievalException</a></td></tr>
30
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unable to retrieve the system time using <code>time()</code>. <a href="classPassenger_1_1TimeRetrievalException.html#_details">More...</a><br/></td></tr>
31
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1IOException.html">Passenger::IOException</a></td></tr>
32
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents an error that occured during an I/O operation. <a href="classPassenger_1_1IOException.html#_details">More...</a><br/></td></tr>
33
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1EOFException.html">Passenger::EOFException</a></td></tr>
34
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An unexpected end-of-file I/O error. <a href="classPassenger_1_1EOFException.html#_details">More...</a><br/></td></tr>
35
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1ArgumentException.html">Passenger::ArgumentException</a></td></tr>
36
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indicates that a specified argument is incorrect or violates a requirement. <a href="classPassenger_1_1ArgumentException.html#_details">More...</a><br/></td></tr>
37
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1RuntimeException.html">Passenger::RuntimeException</a></td></tr>
38
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A generic runtime exception. <a href="classPassenger_1_1RuntimeException.html#_details">More...</a><br/></td></tr>
39
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1TimeoutException.html">Passenger::TimeoutException</a></td></tr>
40
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An exception indicating that some timeout expired. <a href="classPassenger_1_1TimeoutException.html#_details">More...</a><br/></td></tr>
41
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1SecurityException.html">Passenger::SecurityException</a></td></tr>
42
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents some kind of security error. <a href="classPassenger_1_1SecurityException.html#_details">More...</a><br/></td></tr>
43
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1BusyException.html">Passenger::BusyException</a></td></tr>
44
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The application pool is too busy and cannot fulfill a get() request. <a href="classPassenger_1_1BusyException.html#_details">More...</a><br/></td></tr>
45
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1SyntaxError.html">Passenger::SyntaxError</a></td></tr>
46
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A parser detected a syntax error. <a href="classPassenger_1_1SyntaxError.html#_details">More...</a><br/></td></tr>
47
- </table>
48
- </div>
49
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
50
- <a href="http://www.doxygen.org/index.html">
51
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
52
- </body>
53
- </html>
@@ -1,42 +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: Apache hooks</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><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- </div>
22
- <div class="contents">
23
- <h1>Apache hooks<br/>
24
- <small>
25
- [<a class="el" href="group__Core.html">Core Apache-related classes and functions</a>]</small>
26
- </h1>
27
- <p><div class="dynheader">
28
- Collaboration diagram for Apache hooks:</div>
29
- <div class="dynsection">
30
- <center><table><tr><td><img src="group__Hooks.png" border="0" alt="" usemap="#group____Hooks_map"/>
31
- <map name="group____Hooks_map" id="group____Hooks">
32
- <area shape="rect" id="node1" href="group__Core.html" title="Core Apache&#45;related classes and functions" alt="" coords="5,5,253,33"/></map></td></tr></table></center>
33
- </div>
34
- </p>
35
- <table border="0" cellpadding="0" cellspacing="0">
36
- </table>
37
- </div>
38
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
39
- <a href="http://www.doxygen.org/index.html">
40
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
41
- </body>
42
- </html>
@@ -1,3 +0,0 @@
1
- <map id="structs" name="structs">
2
- <area shape="rect" id="node1" href="$group__Core.html" title="Core Apache&#45;related classes and functions" alt="" coords="5,5,253,33"/>
3
- </map>
Binary file
@@ -1,538 +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: Apache-independent support classes and function</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><a href="files.html"><span>Files</span></a></li>
19
- </ul>
20
- </div>
21
- </div>
22
- <div class="contents">
23
- <h1>Apache-independent support classes and function</h1><table border="0" cellpadding="0" cellspacing="0">
24
- <tr><td colspan="2"><h2>Classes</h2></td></tr>
25
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1AbstractSpawnManager.html">Passenger::AbstractSpawnManager</a></td></tr>
26
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Spawning of application processes. <a href="classPassenger_1_1AbstractSpawnManager.html#_details">More...</a><br/></td></tr>
27
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageChannel.html">Passenger::MessageChannel</a></td></tr>
28
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convenience class for I/O operations on file descriptors. <a href="classPassenger_1_1MessageChannel.html#_details">More...</a><br/></td></tr>
29
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td></tr>
30
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Simple pluggable request/response messaging server framework. <a href="classPassenger_1_1MessageServer.html#_details">More...</a><br/></td></tr>
31
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1Process.html">Passenger::Process</a></td></tr>
32
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents a single application process, as spawned by <a class="el" href="classPassenger_1_1SpawnManager.html" title="An AbstractSpawnManager implementation.">SpawnManager</a> or by ApplicationPool::Interface::get(). <a href="classPassenger_1_1Process.html#_details">More...</a><br/></td></tr>
33
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1SpawnManager.html">Passenger::SpawnManager</a></td></tr>
34
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">An <a class="el" href="classPassenger_1_1AbstractSpawnManager.html" title="Spawning of application processes.">AbstractSpawnManager</a> implementation. <a href="classPassenger_1_1SpawnManager.html#_details">More...</a><br/></td></tr>
35
- <tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1BufferedUpload.html">Passenger::BufferedUpload</a></td></tr>
36
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Represents a buffered upload file. <a href="classPassenger_1_1BufferedUpload.html#_details">More...</a><br/></td></tr>
37
- <tr><td colspan="2"><h2>Functions</h2></td></tr>
38
- <tr><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
39
- <tr><td class="memTemplItemLeft" align="right" valign="top">shared_ptr&lt; T &gt;&nbsp;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="group__Support.html#ga41b6c4a82fed72531a147de0505a8396">Passenger::ptr</a> (T *pointer)</td></tr>
40
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convenience shortcut for creating a <code>shared_ptr</code>. <a href="#ga41b6c4a82fed72531a147de0505a8396"></a><br/></td></tr>
41
- <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#ga2a62e38a72c6c65992e3361f6d80c7ef">Passenger::fileExists</a> (const StaticString &amp;filename, CachedFileStat *cstat=0, unsigned int throttleRate=0)</td></tr>
42
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check whether the specified file exists. <a href="#ga2a62e38a72c6c65992e3361f6d80c7ef"></a><br/></td></tr>
43
- <tr><td class="memItemLeft" align="right" valign="top">FileType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#ga15298b031377d3ecb80295bd5b1a8180">Passenger::getFileType</a> (const StaticString &amp;filename, CachedFileStat *cstat=0, unsigned int throttleRate=0)</td></tr>
44
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check whether 'filename' exists and what kind of file it is. <a href="#ga15298b031377d3ecb80295bd5b1a8180"></a><br/></td></tr>
45
- <tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#ga6f414070373465da2e12947463f69953">Passenger::createFile</a> (const string &amp;filename, const StaticString &amp;contents, mode_t permissions=S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, uid_t owner=USER_NOT_GIVEN, gid_t group=GROUP_NOT_GIVEN, bool overwrite=true)</td></tr>
46
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create the given file with the given contents, permissions and ownership. <a href="#ga6f414070373465da2e12947463f69953"></a><br/></td></tr>
47
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#gaf3b0a483f0a252ae08d9de9f8b267d36">Passenger::canonicalizePath</a> (const string &amp;path)</td></tr>
48
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a canonical version of the specified path. <a href="#gaf3b0a483f0a252ae08d9de9f8b267d36"></a><br/></td></tr>
49
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#gac3d2b3d608188527d888e63d22c5163c">Passenger::resolveSymlink</a> (const string &amp;path)</td></tr>
50
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">If <em>path</em> refers to a symlink, then this function resolves the symlink for 1 level. <a href="#gac3d2b3d608188527d888e63d22c5163c"></a><br/></td></tr>
51
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gae651ece5281f22dc5fc974079f7c9187"></a><!-- doxytag: member="Support::extractDirName" ref="gae651ece5281f22dc5fc974079f7c9187" args="(const StaticString &amp;path)" -->
52
- string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#gae651ece5281f22dc5fc974079f7c9187">Passenger::extractDirName</a> (const StaticString &amp;path)</td></tr>
53
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Given a path, extracts its directory name. <br/></td></tr>
54
- <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="gaeb750234207485fa57609174ca8d4359"></a><!-- doxytag: member="Support::extractBaseName" ref="gaeb750234207485fa57609174ca8d4359" args="(const StaticString &amp;path)" -->
55
- string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#gaeb750234207485fa57609174ca8d4359">Passenger::extractBaseName</a> (const StaticString &amp;path)</td></tr>
56
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Given a path, extracts its base name. <br/></td></tr>
57
- <tr><td class="memItemLeft" align="right" valign="top">string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#gae74addedf73782a1eb1f6dd48d6fce06">Passenger::escapeForXml</a> (const string &amp;input)</td></tr>
58
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Escape the given raw string into an XML value. <a href="#gae74addedf73782a1eb1f6dd48d6fce06"></a><br/></td></tr>
59
- <tr><td class="memItemLeft" align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#ga68f4105c5a8e510520b5ea3eecb66213">Passenger::getSystemTempDir</a> ()</td></tr>
60
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the path name for the directory in which the system stores general temporary files. <a href="#ga68f4105c5a8e510520b5ea3eecb66213"></a><br/></td></tr>
61
- <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#ga5e6bc7ff22b7c61238d7913521936f71">Passenger::verifyRailsDir</a> (const string &amp;dir, CachedFileStat *cstat=0, unsigned int throttleRate=0)</td></tr>
62
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check whether the specified directory is a valid Ruby on Rails application root directory. <a href="#ga5e6bc7ff22b7c61238d7913521936f71"></a><br/></td></tr>
63
- <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#ga53969f8e3ee68d1d99ffe75af8db9be8">Passenger::verifyRackDir</a> (const string &amp;dir, CachedFileStat *cstat=0, unsigned int throttleRate=0)</td></tr>
64
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check whether the specified directory is a valid Rack application root directory. <a href="#ga53969f8e3ee68d1d99ffe75af8db9be8"></a><br/></td></tr>
65
- <tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__Support.html#gaaec51d2912999d611994c49341f36247">Passenger::verifyWSGIDir</a> (const string &amp;dir, CachedFileStat *cstat=0, unsigned int throttleRate=0)</td></tr>
66
- <tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Check whether the specified directory is a valid WSGI application root directory. <a href="#gaaec51d2912999d611994c49341f36247"></a><br/></td></tr>
67
- </table>
68
- <hr/><h2>Function Documentation</h2>
69
- <a class="anchor" id="gaf3b0a483f0a252ae08d9de9f8b267d36"></a><!-- doxytag: member="Passenger::canonicalizePath" ref="gaf3b0a483f0a252ae08d9de9f8b267d36" args="(const string &amp;path)" -->
70
- <div class="memitem">
71
- <div class="memproto">
72
- <table class="memname">
73
- <tr>
74
- <td class="memname">string Passenger::canonicalizePath </td>
75
- <td>(</td>
76
- <td class="paramtype">const string &amp;&nbsp;</td>
77
- <td class="paramname"> <em>path</em></td>
78
- <td>&nbsp;)&nbsp;</td>
79
- <td></td>
80
- </tr>
81
- </table>
82
- </div>
83
- <div class="memdoc">
84
-
85
- <p>Returns a canonical version of the specified path. </p>
86
- <p>All symbolic links and relative path elements are resolved.</p>
87
- <dl><dt><b>Exceptions:</b></dt><dd>
88
- <table border="0" cellspacing="2" cellpadding="0">
89
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system.">FileSystemException</a></em>&nbsp;</td><td>Something went wrong. </td></tr>
90
- </table>
91
- </dd>
92
- </dl>
93
-
94
- </div>
95
- </div>
96
- <a class="anchor" id="ga6f414070373465da2e12947463f69953"></a><!-- doxytag: member="Passenger::createFile" ref="ga6f414070373465da2e12947463f69953" args="(const string &amp;filename, const StaticString &amp;contents, mode_t permissions=S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH, uid_t owner=USER_NOT_GIVEN, gid_t group=GROUP_NOT_GIVEN, bool overwrite=true)" -->
97
- <div class="memitem">
98
- <div class="memproto">
99
- <table class="memname">
100
- <tr>
101
- <td class="memname">void Passenger::createFile </td>
102
- <td>(</td>
103
- <td class="paramtype">const string &amp;&nbsp;</td>
104
- <td class="paramname"> <em>filename</em>, </td>
105
- </tr>
106
- <tr>
107
- <td class="paramkey"></td>
108
- <td></td>
109
- <td class="paramtype">const StaticString &amp;&nbsp;</td>
110
- <td class="paramname"> <em>contents</em>, </td>
111
- </tr>
112
- <tr>
113
- <td class="paramkey"></td>
114
- <td></td>
115
- <td class="paramtype">mode_t&nbsp;</td>
116
- <td class="paramname"> <em>permissions</em> = <code>S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH</code>, </td>
117
- </tr>
118
- <tr>
119
- <td class="paramkey"></td>
120
- <td></td>
121
- <td class="paramtype">uid_t&nbsp;</td>
122
- <td class="paramname"> <em>owner</em> = <code>USER_NOT_GIVEN</code>, </td>
123
- </tr>
124
- <tr>
125
- <td class="paramkey"></td>
126
- <td></td>
127
- <td class="paramtype">gid_t&nbsp;</td>
128
- <td class="paramname"> <em>group</em> = <code>GROUP_NOT_GIVEN</code>, </td>
129
- </tr>
130
- <tr>
131
- <td class="paramkey"></td>
132
- <td></td>
133
- <td class="paramtype">bool&nbsp;</td>
134
- <td class="paramname"> <em>overwrite</em> = <code>true</code></td><td>&nbsp;</td>
135
- </tr>
136
- <tr>
137
- <td></td>
138
- <td>)</td>
139
- <td></td><td></td><td></td>
140
- </tr>
141
- </table>
142
- </div>
143
- <div class="memdoc">
144
-
145
- <p>Create the given file with the given contents, permissions and ownership. </p>
146
- <p>This function does not leave behind junk files: if the ownership cannot be set or if not all data can be written then then the file will be deleted.</p>
147
- <dl><dt><b>Parameters:</b></dt><dd>
148
- <table border="0" cellspacing="2" cellpadding="0">
149
- <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>The file to create. </td></tr>
150
- <tr><td valign="top"></td><td valign="top"><em>contents</em>&nbsp;</td><td>The contents to write to the file. </td></tr>
151
- <tr><td valign="top"></td><td valign="top"><em>permissions</em>&nbsp;</td><td>The desired file permissions. </td></tr>
152
- <tr><td valign="top"></td><td valign="top"><em>owner</em>&nbsp;</td><td>The desired file owner. Specify USER_NOT_GIVEN if you want to use the current process's owner as the file owner. </td></tr>
153
- <tr><td valign="top"></td><td valign="top"><em>group</em>&nbsp;</td><td>The desired file group. Specify GROUP_NOT_GIVEN if you want to use the current process's group as the file group. </td></tr>
154
- <tr><td valign="top"></td><td valign="top"><em>overwrite</em>&nbsp;</td><td>Whether to overwrite the file if it exists. If set to false and the file exists then nothing will happen. </td></tr>
155
- </table>
156
- </dd>
157
- </dl>
158
- <dl><dt><b>Exceptions:</b></dt><dd>
159
- <table border="0" cellspacing="2" cellpadding="0">
160
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system.">FileSystemException</a></em>&nbsp;</td><td>Something went wrong. </td></tr>
161
- </table>
162
- </dd>
163
- </dl>
164
-
165
- </div>
166
- </div>
167
- <a class="anchor" id="gae74addedf73782a1eb1f6dd48d6fce06"></a><!-- doxytag: member="Passenger::escapeForXml" ref="gae74addedf73782a1eb1f6dd48d6fce06" args="(const string &amp;input)" -->
168
- <div class="memitem">
169
- <div class="memproto">
170
- <table class="memname">
171
- <tr>
172
- <td class="memname">string Passenger::escapeForXml </td>
173
- <td>(</td>
174
- <td class="paramtype">const string &amp;&nbsp;</td>
175
- <td class="paramname"> <em>input</em></td>
176
- <td>&nbsp;)&nbsp;</td>
177
- <td></td>
178
- </tr>
179
- </table>
180
- </div>
181
- <div class="memdoc">
182
-
183
- <p>Escape the given raw string into an XML value. </p>
184
- <dl><dt><b>Exceptions:</b></dt><dd>
185
- <table border="0" cellspacing="2" cellpadding="0">
186
- <tr><td valign="top"></td><td valign="top"><em>std::bad_alloc</em>&nbsp;</td><td>Something went wrong. </td></tr>
187
- </table>
188
- </dd>
189
- </dl>
190
-
191
- </div>
192
- </div>
193
- <a class="anchor" id="ga2a62e38a72c6c65992e3361f6d80c7ef"></a><!-- doxytag: member="Passenger::fileExists" ref="ga2a62e38a72c6c65992e3361f6d80c7ef" args="(const StaticString &amp;filename, CachedFileStat *cstat=0, unsigned int throttleRate=0)" -->
194
- <div class="memitem">
195
- <div class="memproto">
196
- <table class="memname">
197
- <tr>
198
- <td class="memname">bool Passenger::fileExists </td>
199
- <td>(</td>
200
- <td class="paramtype">const StaticString &amp;&nbsp;</td>
201
- <td class="paramname"> <em>filename</em>, </td>
202
- </tr>
203
- <tr>
204
- <td class="paramkey"></td>
205
- <td></td>
206
- <td class="paramtype">CachedFileStat *&nbsp;</td>
207
- <td class="paramname"> <em>cstat</em> = <code>0</code>, </td>
208
- </tr>
209
- <tr>
210
- <td class="paramkey"></td>
211
- <td></td>
212
- <td class="paramtype">unsigned int&nbsp;</td>
213
- <td class="paramname"> <em>throttleRate</em> = <code>0</code></td><td>&nbsp;</td>
214
- </tr>
215
- <tr>
216
- <td></td>
217
- <td>)</td>
218
- <td></td><td></td><td></td>
219
- </tr>
220
- </table>
221
- </div>
222
- <div class="memdoc">
223
-
224
- <p>Check whether the specified file exists. </p>
225
- <dl><dt><b>Parameters:</b></dt><dd>
226
- <table border="0" cellspacing="2" cellpadding="0">
227
- <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>The filename to check. </td></tr>
228
- <tr><td valign="top"></td><td valign="top"><em>cstat</em>&nbsp;</td><td>A CachedFileStat object, if you want to use cached statting. </td></tr>
229
- <tr><td valign="top"></td><td valign="top"><em>throttleRate</em>&nbsp;</td><td>A throttle rate for cstat. Only applicable if cstat is not NULL. </td></tr>
230
- </table>
231
- </dd>
232
- </dl>
233
- <dl class="return"><dt><b>Returns:</b></dt><dd>Whether the file exists. </dd></dl>
234
- <dl><dt><b>Exceptions:</b></dt><dd>
235
- <table border="0" cellspacing="2" cellpadding="0">
236
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system.">FileSystemException</a></em>&nbsp;</td><td>Unable to check because of a filesystem error. </td></tr>
237
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1TimeRetrievalException.html" title="Unable to retrieve the system time using time().">TimeRetrievalException</a></em>&nbsp;</td><td></td></tr>
238
- <tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em>&nbsp;</td><td></td></tr>
239
- </table>
240
- </dd>
241
- </dl>
242
-
243
- </div>
244
- </div>
245
- <a class="anchor" id="ga15298b031377d3ecb80295bd5b1a8180"></a><!-- doxytag: member="Passenger::getFileType" ref="ga15298b031377d3ecb80295bd5b1a8180" args="(const StaticString &amp;filename, CachedFileStat *cstat=0, unsigned int throttleRate=0)" -->
246
- <div class="memitem">
247
- <div class="memproto">
248
- <table class="memname">
249
- <tr>
250
- <td class="memname">FileType Passenger::getFileType </td>
251
- <td>(</td>
252
- <td class="paramtype">const StaticString &amp;&nbsp;</td>
253
- <td class="paramname"> <em>filename</em>, </td>
254
- </tr>
255
- <tr>
256
- <td class="paramkey"></td>
257
- <td></td>
258
- <td class="paramtype">CachedFileStat *&nbsp;</td>
259
- <td class="paramname"> <em>cstat</em> = <code>0</code>, </td>
260
- </tr>
261
- <tr>
262
- <td class="paramkey"></td>
263
- <td></td>
264
- <td class="paramtype">unsigned int&nbsp;</td>
265
- <td class="paramname"> <em>throttleRate</em> = <code>0</code></td><td>&nbsp;</td>
266
- </tr>
267
- <tr>
268
- <td></td>
269
- <td>)</td>
270
- <td></td><td></td><td></td>
271
- </tr>
272
- </table>
273
- </div>
274
- <div class="memdoc">
275
-
276
- <p>Check whether 'filename' exists and what kind of file it is. </p>
277
- <dl><dt><b>Parameters:</b></dt><dd>
278
- <table border="0" cellspacing="2" cellpadding="0">
279
- <tr><td valign="top"></td><td valign="top"><em>filename</em>&nbsp;</td><td>The filename to check. </td></tr>
280
- <tr><td valign="top"></td><td valign="top"><em>mstat</em>&nbsp;</td><td>A CachedFileStat object, if you want to use cached statting. </td></tr>
281
- <tr><td valign="top"></td><td valign="top"><em>throttleRate</em>&nbsp;</td><td>A throttle rate for cstat. Only applicable if cstat is not NULL. </td></tr>
282
- </table>
283
- </dd>
284
- </dl>
285
- <dl class="return"><dt><b>Returns:</b></dt><dd>The file type. </dd></dl>
286
- <dl><dt><b>Exceptions:</b></dt><dd>
287
- <table border="0" cellspacing="2" cellpadding="0">
288
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system.">FileSystemException</a></em>&nbsp;</td><td>Unable to check because of a filesystem error. </td></tr>
289
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1TimeRetrievalException.html" title="Unable to retrieve the system time using time().">TimeRetrievalException</a></em>&nbsp;</td><td></td></tr>
290
- <tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em>&nbsp;</td><td></td></tr>
291
- </table>
292
- </dd>
293
- </dl>
294
-
295
- </div>
296
- </div>
297
- <a class="anchor" id="ga68f4105c5a8e510520b5ea3eecb66213"></a><!-- doxytag: member="Passenger::getSystemTempDir" ref="ga68f4105c5a8e510520b5ea3eecb66213" args="()" -->
298
- <div class="memitem">
299
- <div class="memproto">
300
- <table class="memname">
301
- <tr>
302
- <td class="memname">const char * Passenger::getSystemTempDir </td>
303
- <td>(</td>
304
- <td class="paramname"></td>
305
- <td>&nbsp;)&nbsp;</td>
306
- <td></td>
307
- </tr>
308
- </table>
309
- </div>
310
- <div class="memdoc">
311
-
312
- <p>Return the path name for the directory in which the system stores general temporary files. </p>
313
- <p>This is usually "/tmp", but might be something else depending on some environment variables.</p>
314
- <p>result != NULL </p>
315
-
316
- </div>
317
- </div>
318
- <a class="anchor" id="ga41b6c4a82fed72531a147de0505a8396"></a><!-- doxytag: member="Passenger::ptr" ref="ga41b6c4a82fed72531a147de0505a8396" args="(T *pointer)" -->
319
- <div class="memitem">
320
- <div class="memproto">
321
- <div class="memtemplate">
322
- template&lt;typename T &gt; </div>
323
- <table class="memname">
324
- <tr>
325
- <td class="memname">shared_ptr&lt;T&gt; Passenger::ptr </td>
326
- <td>(</td>
327
- <td class="paramtype">T *&nbsp;</td>
328
- <td class="paramname"> <em>pointer</em></td>
329
- <td>&nbsp;)&nbsp;</td>
330
- <td><code> [inline]</code></td>
331
- </tr>
332
- </table>
333
- </div>
334
- <div class="memdoc">
335
-
336
- <p>Convenience shortcut for creating a <code>shared_ptr</code>. </p>
337
- <p>Instead of: </p>
338
- <div class="fragment"><pre class="fragment"> shared_ptr&lt;Foo&gt; foo;
339
- ...
340
- foo = shared_ptr&lt;Foo&gt;(<span class="keyword">new</span> Foo());
341
- </pre></div><p> one can write: </p>
342
- <div class="fragment"><pre class="fragment"> shared_ptr&lt;Foo&gt; foo;
343
- ...
344
- foo = <a class="code" href="group__Support.html#ga41b6c4a82fed72531a147de0505a8396" title="Convenience shortcut for creating a shared_ptr.">ptr</a>(<span class="keyword">new</span> Foo());
345
- </pre></div><dl><dt><b>Parameters:</b></dt><dd>
346
- <table border="0" cellspacing="2" cellpadding="0">
347
- <tr><td valign="top"></td><td valign="top"><em>pointer</em>&nbsp;</td><td>The item to put in the shared_ptr object. </td></tr>
348
- </table>
349
- </dd>
350
- </dl>
351
-
352
- </div>
353
- </div>
354
- <a class="anchor" id="gac3d2b3d608188527d888e63d22c5163c"></a><!-- doxytag: member="Passenger::resolveSymlink" ref="gac3d2b3d608188527d888e63d22c5163c" args="(const string &amp;path)" -->
355
- <div class="memitem">
356
- <div class="memproto">
357
- <table class="memname">
358
- <tr>
359
- <td class="memname">string Passenger::resolveSymlink </td>
360
- <td>(</td>
361
- <td class="paramtype">const string &amp;&nbsp;</td>
362
- <td class="paramname"> <em>path</em></td>
363
- <td>&nbsp;)&nbsp;</td>
364
- <td></td>
365
- </tr>
366
- </table>
367
- </div>
368
- <div class="memdoc">
369
-
370
- <p>If <em>path</em> refers to a symlink, then this function resolves the symlink for 1 level. </p>
371
- <p>That is, if the symlink points to another symlink, then the other symlink will not be resolved. The resolved path is returned.</p>
372
- <p>If the symlink doesn't point to an absolute path, then this function will prepend <em>path</em>'s directory to the result.</p>
373
- <p>If <em>path</em> doesn't refer to a symlink then this method will return <em>path</em>.</p>
374
- <dl><dt><b>Exceptions:</b></dt><dd>
375
- <table border="0" cellspacing="2" cellpadding="0">
376
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system.">FileSystemException</a></em>&nbsp;</td><td>Something went wrong. </td></tr>
377
- </table>
378
- </dd>
379
- </dl>
380
-
381
- </div>
382
- </div>
383
- <a class="anchor" id="ga53969f8e3ee68d1d99ffe75af8db9be8"></a><!-- doxytag: member="Passenger::verifyRackDir" ref="ga53969f8e3ee68d1d99ffe75af8db9be8" args="(const string &amp;dir, CachedFileStat *cstat=0, unsigned int throttleRate=0)" -->
384
- <div class="memitem">
385
- <div class="memproto">
386
- <table class="memname">
387
- <tr>
388
- <td class="memname">bool Passenger::verifyRackDir </td>
389
- <td>(</td>
390
- <td class="paramtype">const string &amp;&nbsp;</td>
391
- <td class="paramname"> <em>dir</em>, </td>
392
- </tr>
393
- <tr>
394
- <td class="paramkey"></td>
395
- <td></td>
396
- <td class="paramtype">CachedFileStat *&nbsp;</td>
397
- <td class="paramname"> <em>cstat</em> = <code>0</code>, </td>
398
- </tr>
399
- <tr>
400
- <td class="paramkey"></td>
401
- <td></td>
402
- <td class="paramtype">unsigned int&nbsp;</td>
403
- <td class="paramname"> <em>throttleRate</em> = <code>0</code></td><td>&nbsp;</td>
404
- </tr>
405
- <tr>
406
- <td></td>
407
- <td>)</td>
408
- <td></td><td></td><td></td>
409
- </tr>
410
- </table>
411
- </div>
412
- <div class="memdoc">
413
-
414
- <p>Check whether the specified directory is a valid Rack application root directory. </p>
415
- <dl><dt><b>Parameters:</b></dt><dd>
416
- <table border="0" cellspacing="2" cellpadding="0">
417
- <tr><td valign="top"></td><td valign="top"><em>cstat</em>&nbsp;</td><td>A CachedFileStat object, if you want to use cached statting. </td></tr>
418
- <tr><td valign="top"></td><td valign="top"><em>throttleRate</em>&nbsp;</td><td>A throttle rate for cstat. Only applicable if cstat is not NULL. </td></tr>
419
- </table>
420
- </dd>
421
- </dl>
422
- <dl><dt><b>Exceptions:</b></dt><dd>
423
- <table border="0" cellspacing="2" cellpadding="0">
424
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system.">FileSystemException</a></em>&nbsp;</td><td>Unable to check because of a filesystem error. </td></tr>
425
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1TimeRetrievalException.html" title="Unable to retrieve the system time using time().">TimeRetrievalException</a></em>&nbsp;</td><td></td></tr>
426
- <tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em>&nbsp;</td><td></td></tr>
427
- </table>
428
- </dd>
429
- </dl>
430
-
431
- </div>
432
- </div>
433
- <a class="anchor" id="ga5e6bc7ff22b7c61238d7913521936f71"></a><!-- doxytag: member="Passenger::verifyRailsDir" ref="ga5e6bc7ff22b7c61238d7913521936f71" args="(const string &amp;dir, CachedFileStat *cstat=0, unsigned int throttleRate=0)" -->
434
- <div class="memitem">
435
- <div class="memproto">
436
- <table class="memname">
437
- <tr>
438
- <td class="memname">bool Passenger::verifyRailsDir </td>
439
- <td>(</td>
440
- <td class="paramtype">const string &amp;&nbsp;</td>
441
- <td class="paramname"> <em>dir</em>, </td>
442
- </tr>
443
- <tr>
444
- <td class="paramkey"></td>
445
- <td></td>
446
- <td class="paramtype">CachedFileStat *&nbsp;</td>
447
- <td class="paramname"> <em>cstat</em> = <code>0</code>, </td>
448
- </tr>
449
- <tr>
450
- <td class="paramkey"></td>
451
- <td></td>
452
- <td class="paramtype">unsigned int&nbsp;</td>
453
- <td class="paramname"> <em>throttleRate</em> = <code>0</code></td><td>&nbsp;</td>
454
- </tr>
455
- <tr>
456
- <td></td>
457
- <td>)</td>
458
- <td></td><td></td><td></td>
459
- </tr>
460
- </table>
461
- </div>
462
- <div class="memdoc">
463
-
464
- <p>Check whether the specified directory is a valid Ruby on Rails application root directory. </p>
465
- <dl><dt><b>Parameters:</b></dt><dd>
466
- <table border="0" cellspacing="2" cellpadding="0">
467
- <tr><td valign="top"></td><td valign="top"><em>cstat</em>&nbsp;</td><td>A CachedFileStat object, if you want to use cached statting. </td></tr>
468
- <tr><td valign="top"></td><td valign="top"><em>throttleRate</em>&nbsp;</td><td>A throttle rate for cstat. Only applicable if cstat is not NULL. </td></tr>
469
- </table>
470
- </dd>
471
- </dl>
472
- <dl><dt><b>Exceptions:</b></dt><dd>
473
- <table border="0" cellspacing="2" cellpadding="0">
474
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system.">FileSystemException</a></em>&nbsp;</td><td>Unable to check because of a system error. </td></tr>
475
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1TimeRetrievalException.html" title="Unable to retrieve the system time using time().">TimeRetrievalException</a></em>&nbsp;</td><td></td></tr>
476
- <tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em>&nbsp;</td><td></td></tr>
477
- </table>
478
- </dd>
479
- </dl>
480
-
481
- </div>
482
- </div>
483
- <a class="anchor" id="gaaec51d2912999d611994c49341f36247"></a><!-- doxytag: member="Passenger::verifyWSGIDir" ref="gaaec51d2912999d611994c49341f36247" args="(const string &amp;dir, CachedFileStat *cstat=0, unsigned int throttleRate=0)" -->
484
- <div class="memitem">
485
- <div class="memproto">
486
- <table class="memname">
487
- <tr>
488
- <td class="memname">bool Passenger::verifyWSGIDir </td>
489
- <td>(</td>
490
- <td class="paramtype">const string &amp;&nbsp;</td>
491
- <td class="paramname"> <em>dir</em>, </td>
492
- </tr>
493
- <tr>
494
- <td class="paramkey"></td>
495
- <td></td>
496
- <td class="paramtype">CachedFileStat *&nbsp;</td>
497
- <td class="paramname"> <em>cstat</em> = <code>0</code>, </td>
498
- </tr>
499
- <tr>
500
- <td class="paramkey"></td>
501
- <td></td>
502
- <td class="paramtype">unsigned int&nbsp;</td>
503
- <td class="paramname"> <em>throttleRate</em> = <code>0</code></td><td>&nbsp;</td>
504
- </tr>
505
- <tr>
506
- <td></td>
507
- <td>)</td>
508
- <td></td><td></td><td></td>
509
- </tr>
510
- </table>
511
- </div>
512
- <div class="memdoc">
513
-
514
- <p>Check whether the specified directory is a valid WSGI application root directory. </p>
515
- <dl><dt><b>Parameters:</b></dt><dd>
516
- <table border="0" cellspacing="2" cellpadding="0">
517
- <tr><td valign="top"></td><td valign="top"><em>cstat</em>&nbsp;</td><td>A CachedFileStat object, if you want to use cached statting. </td></tr>
518
- <tr><td valign="top"></td><td valign="top"><em>throttleRate</em>&nbsp;</td><td>A throttle rate for cstat. Only applicable if cstat is not NULL. </td></tr>
519
- </table>
520
- </dd>
521
- </dl>
522
- <dl><dt><b>Exceptions:</b></dt><dd>
523
- <table border="0" cellspacing="2" cellpadding="0">
524
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system.">FileSystemException</a></em>&nbsp;</td><td>Unable to check because of a filesystem error. </td></tr>
525
- <tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1TimeRetrievalException.html" title="Unable to retrieve the system time using time().">TimeRetrievalException</a></em>&nbsp;</td><td></td></tr>
526
- <tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em>&nbsp;</td><td></td></tr>
527
- </table>
528
- </dd>
529
- </dl>
530
-
531
- </div>
532
- </div>
533
- </div>
534
- <hr size="1"/><address style="text-align: right;"><small>Generated by&nbsp;
535
- <a href="http://www.doxygen.org/index.html">
536
- <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
537
- </body>
538
- </html>