passenger 2.2.9 → 2.2.10
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.
- data/NEWS +10 -0
- data/doc/Architectural overview.html +202 -65
- data/doc/Security of user switching support.html +200 -63
- data/doc/Users guide Apache.html +266 -129
- data/doc/Users guide Nginx.html +234 -97
- data/doc/cxxapi/AbstractSpawnManager_8h-source.html +138 -0
- data/doc/cxxapi/Account_8h-source.html +202 -0
- data/doc/cxxapi/AccountsDatabase_8h-source.html +158 -0
- data/doc/cxxapi/AgentsStarter_8h-source.html +79 -0
- data/doc/cxxapi/BCrypt_8h-source.html +101 -0
- data/doc/cxxapi/BacktracesServer_8h-source.html +87 -0
- data/doc/cxxapi/Base64_8h-source.html +85 -0
- data/doc/cxxapi/Blowfish_8h-source.html +131 -0
- data/doc/cxxapi/Bucket_8h-source.html +1 -1
- data/doc/cxxapi/CachedFileStat_8h-source.html +49 -157
- data/doc/cxxapi/Configuration_8h-source.html +1 -1
- data/doc/cxxapi/Constants_8h-source.html +71 -0
- data/doc/cxxapi/ContentHandler_8h-source.html +92 -0
- data/doc/cxxapi/DirectoryMapper_8h-source.html +1 -1
- data/doc/cxxapi/Exceptions_8h-source.html +332 -236
- data/doc/cxxapi/FileChangeChecker_8h-source.html +237 -0
- data/doc/cxxapi/FileDescriptor_8h-source.html +206 -0
- data/doc/cxxapi/Hooks_8h-source.html +1 -1
- data/doc/cxxapi/HttpStatusExtractor_8h-source.html +378 -0
- data/doc/cxxapi/LoggingServer_8h-source.html +165 -0
- data/doc/cxxapi/Logging_8h-source.html +580 -112
- data/doc/cxxapi/MessageChannel_8h-source.html +789 -599
- data/doc/cxxapi/MessageClient_8h-source.html +297 -0
- data/doc/cxxapi/MessageServer_8h-source.html +607 -0
- data/doc/cxxapi/PoolOptions_8h-source.html +471 -278
- data/doc/cxxapi/Process_8h-source.html +272 -0
- data/doc/cxxapi/RandomGenerator_8h-source.html +156 -0
- data/doc/cxxapi/ResourceLocator_8h-source.html +104 -0
- data/doc/cxxapi/ScgiRequestParser_8h-source.html +399 -0
- data/doc/cxxapi/ServerInstanceDir_8h-source.html +356 -0
- data/doc/cxxapi/Session_8h-source.html +483 -0
- data/doc/cxxapi/SpawnManager_8h-source.html +590 -546
- data/doc/cxxapi/StaticContentHandler_8h-source.html +65 -0
- data/doc/cxxapi/StaticString_8h-source.html +214 -0
- data/doc/cxxapi/StringListCreator_8h-source.html +111 -0
- data/doc/cxxapi/SystemTime_8h-source.html +191 -78
- data/doc/cxxapi/Timer_8h-source.html +157 -0
- data/doc/cxxapi/Utils_8h-source.html +621 -434
- data/doc/cxxapi/Version_8h-source.html +59 -0
- data/doc/cxxapi/annotated.html +1 -1
- data/doc/cxxapi/apache2_2Configuration_8h-source.html +79 -0
- data/doc/cxxapi/classAgentWatcher-members.html +50 -0
- data/doc/cxxapi/classAgentWatcher.html +445 -0
- data/doc/cxxapi/classClient-members.html +4 -3
- data/doc/cxxapi/classClient.html +50 -46
- data/doc/cxxapi/classHooks-members.html +1 -1
- data/doc/cxxapi/classHooks.html +1 -1
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager-members.html +37 -0
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager.html +191 -0
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.png +0 -0
- data/doc/cxxapi/{classPassenger_1_1DummySpawnManager-members.html → classPassenger_1_1ArgumentException-members.html} +3 -2
- data/doc/cxxapi/classPassenger_1_1ArgumentException.html +52 -0
- data/doc/cxxapi/classPassenger_1_1BacktracesServer-members.html +36 -0
- data/doc/cxxapi/classPassenger_1_1BacktracesServer.html +107 -0
- data/doc/cxxapi/classPassenger_1_1BacktracesServer__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1BacktracesServer__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1BacktracesServer__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1BufferedUpload-members.html +3 -3
- data/doc/cxxapi/classPassenger_1_1BufferedUpload.html +18 -34
- data/doc/cxxapi/classPassenger_1_1BusyException-members.html +2 -1
- data/doc/cxxapi/classPassenger_1_1BusyException.html +3 -2
- data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +2 -1
- data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +3 -2
- data/doc/cxxapi/classPassenger_1_1DirectoryMapper-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DirectoryMapper.html +1 -1
- data/doc/cxxapi/{classPassenger_1_1FileChecker-members.html → classPassenger_1_1EOFException-members.html} +3 -4
- data/doc/cxxapi/classPassenger_1_1EOFException.html +57 -0
- data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1EventFd-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1EventFd.html +49 -0
- data/doc/cxxapi/classPassenger_1_1FileChangeChecker-members.html +37 -0
- data/doc/cxxapi/classPassenger_1_1FileChangeChecker.html +166 -0
- data/doc/cxxapi/classPassenger_1_1FileDescriptor-members.html +37 -0
- data/doc/cxxapi/classPassenger_1_1FileDescriptor.html +159 -0
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +2 -1
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +3 -2
- data/doc/cxxapi/classPassenger_1_1FileSystemException-members.html +2 -1
- data/doc/cxxapi/classPassenger_1_1FileSystemException.html +3 -2
- data/doc/cxxapi/{classPassenger_1_1ApplicationPoolServer-members.html → classPassenger_1_1HttpStatusExtractor-members.html} +6 -5
- data/doc/cxxapi/classPassenger_1_1HttpStatusExtractor.html +128 -0
- data/doc/cxxapi/classPassenger_1_1IOException-members.html +2 -1
- data/doc/cxxapi/classPassenger_1_1IOException.html +4 -3
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.map +2 -1
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.md5 +1 -1
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MemZeroGuard-members.html +36 -0
- data/doc/cxxapi/classPassenger_1_1MemZeroGuard.html +147 -0
- data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +12 -5
- data/doc/cxxapi/classPassenger_1_1MessageChannel.html +267 -34
- data/doc/cxxapi/classPassenger_1_1MessageServer-members.html +46 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer.html +438 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext.html +56 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext-members.html +38 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext.html +175 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler-members.html +36 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler.html +176 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1Process-members.html +40 -0
- data/doc/cxxapi/classPassenger_1_1Process.html +266 -0
- data/doc/cxxapi/classPassenger_1_1RandomGenerator-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1RandomGenerator.html +51 -0
- data/doc/cxxapi/classPassenger_1_1RuntimeException-members.html +2 -1
- data/doc/cxxapi/classPassenger_1_1RuntimeException.html +3 -2
- data/doc/cxxapi/classPassenger_1_1ScgiRequestParser-members.html +47 -0
- data/doc/cxxapi/classPassenger_1_1ScgiRequestParser.html +302 -0
- data/doc/cxxapi/classPassenger_1_1SecurityException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1SecurityException.html +52 -0
- data/doc/cxxapi/classPassenger_1_1Session-members.html +50 -0
- data/doc/cxxapi/classPassenger_1_1Session.html +577 -0
- data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +2 -1
- data/doc/cxxapi/classPassenger_1_1SpawnException.html +5 -4
- data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +8 -5
- data/doc/cxxapi/classPassenger_1_1SpawnManager.html +127 -45
- data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1StandardSession-members.html +51 -0
- data/doc/cxxapi/classPassenger_1_1StandardSession.html +415 -0
- data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1StaticString-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1StaticString.html +54 -0
- data/doc/cxxapi/classPassenger_1_1SystemException-members.html +2 -1
- data/doc/cxxapi/classPassenger_1_1SystemException.html +4 -3
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.md5 +1 -1
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1SystemTime-members.html +9 -1
- data/doc/cxxapi/classPassenger_1_1SystemTime.html +92 -8
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException-members.html +37 -0
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException.html +57 -0
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.map +1 -0
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.md5 +1 -0
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1TimeoutException-members.html +33 -0
- data/doc/cxxapi/classPassenger_1_1TimeoutException.html +50 -0
- data/doc/cxxapi/{classPassenger_1_1Application-members.html → classPassenger_1_1Timer-members.html} +8 -7
- data/doc/cxxapi/classPassenger_1_1Timer.html +163 -0
- data/doc/cxxapi/classServer-members.html +33 -0
- data/doc/cxxapi/classServer.html +46 -0
- data/doc/cxxapi/classServerInstanceDirToucher-members.html +33 -0
- data/doc/cxxapi/classServerInstanceDirToucher.html +43 -0
- data/doc/cxxapi/classes.html +1 -1
- data/doc/cxxapi/definitions_8h-source.html +1 -1
- data/doc/cxxapi/files.html +1 -1
- data/doc/cxxapi/functions.html +1 -1
- data/doc/cxxapi/{functions_type.html → functions_enum.html} +7 -5
- data/doc/cxxapi/functions_eval.html +55 -0
- data/doc/cxxapi/functions_func.html +1 -1
- data/doc/cxxapi/functions_vars.html +106 -9
- data/doc/cxxapi/graph_legend.html +1 -1
- data/doc/cxxapi/group__Configuration.html +1 -1
- data/doc/cxxapi/group__Core.html +1 -1
- data/doc/cxxapi/group__Exceptions.html +17 -1
- data/doc/cxxapi/group__Hooks.html +1 -1
- data/doc/cxxapi/group__Support.html +1 -1
- data/doc/cxxapi/hierarchy.html +34 -12
- data/doc/cxxapi/inherit__graph__0.map +1 -1
- data/doc/cxxapi/inherit__graph__0.md5 +1 -1
- data/doc/cxxapi/inherit__graph__0.png +0 -0
- data/doc/cxxapi/inherit__graph__1.map +1 -1
- data/doc/cxxapi/inherit__graph__1.md5 +1 -1
- data/doc/cxxapi/inherit__graph__1.png +0 -0
- data/doc/cxxapi/inherit__graph__10.map +1 -1
- data/doc/cxxapi/inherit__graph__10.md5 +1 -1
- data/doc/cxxapi/inherit__graph__10.png +0 -0
- data/doc/cxxapi/inherit__graph__11.map +1 -1
- data/doc/cxxapi/inherit__graph__11.md5 +1 -1
- data/doc/cxxapi/inherit__graph__11.png +0 -0
- data/doc/cxxapi/inherit__graph__12.map +1 -1
- data/doc/cxxapi/inherit__graph__12.md5 +1 -1
- data/doc/cxxapi/inherit__graph__12.png +0 -0
- data/doc/cxxapi/inherit__graph__13.map +1 -1
- data/doc/cxxapi/inherit__graph__13.md5 +1 -1
- data/doc/cxxapi/inherit__graph__13.png +0 -0
- data/doc/cxxapi/inherit__graph__14.map +3 -2
- data/doc/cxxapi/inherit__graph__14.md5 +1 -1
- data/doc/cxxapi/inherit__graph__14.png +0 -0
- data/doc/cxxapi/inherit__graph__15.map +1 -1
- data/doc/cxxapi/inherit__graph__15.md5 +1 -1
- data/doc/cxxapi/inherit__graph__15.png +0 -0
- data/doc/cxxapi/inherit__graph__16.map +1 -1
- data/doc/cxxapi/inherit__graph__16.md5 +1 -1
- data/doc/cxxapi/inherit__graph__16.png +0 -0
- data/doc/cxxapi/inherit__graph__17.map +1 -1
- data/doc/cxxapi/inherit__graph__17.md5 +1 -1
- data/doc/cxxapi/inherit__graph__17.png +0 -0
- data/doc/cxxapi/inherit__graph__18.map +2 -1
- data/doc/cxxapi/inherit__graph__18.md5 +1 -1
- data/doc/cxxapi/inherit__graph__18.png +0 -0
- data/doc/cxxapi/inherit__graph__19.map +1 -1
- data/doc/cxxapi/inherit__graph__19.md5 +1 -1
- data/doc/cxxapi/inherit__graph__19.png +0 -0
- data/doc/cxxapi/inherit__graph__2.map +1 -1
- data/doc/cxxapi/inherit__graph__2.md5 +1 -1
- data/doc/cxxapi/inherit__graph__2.png +0 -0
- data/doc/cxxapi/inherit__graph__20.map +1 -2
- data/doc/cxxapi/inherit__graph__20.md5 +1 -1
- data/doc/cxxapi/inherit__graph__20.png +0 -0
- data/doc/cxxapi/inherit__graph__21.map +1 -1
- data/doc/cxxapi/inherit__graph__21.md5 +1 -1
- data/doc/cxxapi/inherit__graph__21.png +0 -0
- data/doc/cxxapi/inherit__graph__22.map +1 -0
- data/doc/cxxapi/inherit__graph__22.md5 +1 -0
- data/doc/cxxapi/inherit__graph__22.png +0 -0
- data/doc/cxxapi/inherit__graph__23.map +1 -0
- data/doc/cxxapi/inherit__graph__23.md5 +1 -0
- data/doc/cxxapi/inherit__graph__23.png +0 -0
- data/doc/cxxapi/inherit__graph__24.map +1 -0
- data/doc/cxxapi/inherit__graph__24.md5 +1 -0
- data/doc/cxxapi/inherit__graph__24.png +0 -0
- data/doc/cxxapi/inherit__graph__25.map +1 -0
- data/doc/cxxapi/inherit__graph__25.md5 +1 -0
- data/doc/cxxapi/inherit__graph__25.png +0 -0
- data/doc/cxxapi/inherit__graph__26.map +1 -0
- data/doc/cxxapi/inherit__graph__26.md5 +1 -0
- data/doc/cxxapi/inherit__graph__26.png +0 -0
- data/doc/cxxapi/inherit__graph__27.map +2 -0
- data/doc/cxxapi/inherit__graph__27.md5 +1 -0
- data/doc/cxxapi/inherit__graph__27.png +0 -0
- data/doc/cxxapi/inherit__graph__28.map +1 -0
- data/doc/cxxapi/inherit__graph__28.md5 +1 -0
- data/doc/cxxapi/inherit__graph__28.png +0 -0
- data/doc/cxxapi/inherit__graph__29.map +1 -0
- data/doc/cxxapi/inherit__graph__29.md5 +1 -0
- data/doc/cxxapi/inherit__graph__29.png +0 -0
- data/doc/cxxapi/inherit__graph__3.map +2 -1
- data/doc/cxxapi/inherit__graph__3.md5 +1 -1
- data/doc/cxxapi/inherit__graph__3.png +0 -0
- data/doc/cxxapi/inherit__graph__30.map +1 -0
- data/doc/cxxapi/inherit__graph__30.md5 +1 -0
- data/doc/cxxapi/inherit__graph__30.png +0 -0
- data/doc/cxxapi/inherit__graph__31.map +3 -0
- data/doc/cxxapi/inherit__graph__31.md5 +1 -0
- data/doc/cxxapi/inherit__graph__31.png +0 -0
- data/doc/cxxapi/inherit__graph__32.map +1 -0
- data/doc/cxxapi/inherit__graph__32.md5 +1 -0
- data/doc/cxxapi/inherit__graph__32.png +0 -0
- data/doc/cxxapi/inherit__graph__33.map +1 -0
- data/doc/cxxapi/inherit__graph__33.md5 +1 -0
- data/doc/cxxapi/inherit__graph__33.png +0 -0
- data/doc/cxxapi/inherit__graph__34.map +1 -0
- data/doc/cxxapi/inherit__graph__34.md5 +1 -0
- data/doc/cxxapi/inherit__graph__34.png +0 -0
- data/doc/cxxapi/inherit__graph__35.map +1 -0
- data/doc/cxxapi/inherit__graph__35.md5 +1 -0
- data/doc/cxxapi/inherit__graph__35.png +0 -0
- data/doc/cxxapi/inherit__graph__36.map +1 -0
- data/doc/cxxapi/inherit__graph__36.md5 +1 -0
- data/doc/cxxapi/inherit__graph__36.png +0 -0
- data/doc/cxxapi/inherit__graph__4.map +1 -1
- data/doc/cxxapi/inherit__graph__4.md5 +1 -1
- data/doc/cxxapi/inherit__graph__4.png +0 -0
- data/doc/cxxapi/inherit__graph__5.map +1 -1
- data/doc/cxxapi/inherit__graph__5.md5 +1 -1
- data/doc/cxxapi/inherit__graph__5.png +0 -0
- data/doc/cxxapi/inherit__graph__6.map +1 -2
- data/doc/cxxapi/inherit__graph__6.md5 +1 -1
- data/doc/cxxapi/inherit__graph__6.png +0 -0
- data/doc/cxxapi/inherit__graph__7.map +1 -1
- data/doc/cxxapi/inherit__graph__7.md5 +1 -1
- data/doc/cxxapi/inherit__graph__7.png +0 -0
- data/doc/cxxapi/inherit__graph__8.map +1 -1
- data/doc/cxxapi/inherit__graph__8.md5 +1 -1
- data/doc/cxxapi/inherit__graph__8.png +0 -0
- data/doc/cxxapi/inherit__graph__9.map +1 -1
- data/doc/cxxapi/inherit__graph__9.md5 +1 -1
- data/doc/cxxapi/inherit__graph__9.png +0 -0
- data/doc/cxxapi/inherits.html +81 -41
- data/doc/cxxapi/main.html +1 -1
- data/doc/cxxapi/md5_8h-source.html +121 -0
- data/doc/cxxapi/modules.html +1 -1
- data/doc/cxxapi/namespacePassenger.html +651 -0
- data/doc/cxxapi/namespacemembers.html +155 -0
- data/doc/cxxapi/namespacemembers_enum.html +46 -0
- data/doc/cxxapi/namespacemembers_eval.html +52 -0
- data/doc/cxxapi/namespacemembers_func.html +139 -0
- data/doc/cxxapi/namespacemembers_type.html +50 -0
- data/doc/cxxapi/namespaces.html +34 -0
- data/doc/cxxapi/nginx_2Configuration_8h-source.html +114 -0
- data/doc/cxxapi/ngx__http__passenger__module_8h-source.html +91 -0
- data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +2 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString.html +3 -2
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +2 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +3 -2
- data/doc/cxxapi/structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard-members.html +33 -0
- data/doc/cxxapi/structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard.html +49 -0
- data/doc/cxxapi/structPassenger_1_1PoolOptions-members.html +19 -7
- data/doc/cxxapi/structPassenger_1_1PoolOptions.html +323 -53
- data/doc/cxxapi/structPassenger_1_1StaticString_1_1Hash-members.html +33 -0
- data/doc/cxxapi/structPassenger_1_1StaticString_1_1Hash.html +49 -0
- data/ext/common/MessageChannel.h +48 -4
- data/ext/common/Version.h +1 -1
- data/ext/nginx/HttpStatusExtractor.h +1 -0
- data/ext/nginx/ScgiRequestParser.h +1 -0
- data/ext/phusion_passenger/native_support.c +5 -1
- data/lib/phusion_passenger/constants.rb +1 -1
- data/lib/phusion_passenger/message_channel.rb +45 -3
- data/lib/phusion_passenger/rack/application_spawner.rb +4 -0
- data/lib/phusion_passenger/railz/application_spawner.rb +19 -1
- data/lib/phusion_passenger/utils.rb +3 -3
- data/lib/phusion_passenger/utils/rewindable_input.rb +5 -0
- data/test/MessageChannelTest.cpp +9 -1
- data/test/stub/message_channel.rb +1 -1
- data/test/stub/message_channel_2.rb +1 -1
- data/test/stub/message_channel_3.rb +2 -2
- metadata +173 -113
- data/doc/cxxapi/ApplicationPoolServer_8h-source.html +0 -833
- data/doc/cxxapi/ApplicationPool_8h-source.html +0 -226
- data/doc/cxxapi/Application_8h-source.html +0 -553
- data/doc/cxxapi/DummySpawnManager_8h-source.html +0 -130
- data/doc/cxxapi/FileChecker_8h-source.html +0 -134
- data/doc/cxxapi/StandardApplicationPool_8h-source.html +0 -842
- data/doc/cxxapi/classPassenger_1_1Application.html +0 -231
- data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +0 -41
- data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +0 -323
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +0 -227
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.map +0 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +0 -44
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +0 -403
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +0 -53
- data/doc/cxxapi/classPassenger_1_1FileChecker.html +0 -124
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +0 -44
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +0 -342
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.map +0 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.png +0 -0
- data/doc/rdoc/classes/ConditionVariable.html +0 -194
- data/doc/rdoc/classes/Exception.html +0 -120
- data/doc/rdoc/classes/GC.html +0 -113
- data/doc/rdoc/classes/IO.html +0 -169
- data/doc/rdoc/classes/PhusionPassenger.html +0 -239
- data/doc/rdoc/classes/PhusionPassenger/AbstractInstaller.html +0 -153
- data/doc/rdoc/classes/PhusionPassenger/AbstractRequestHandler.html +0 -517
- data/doc/rdoc/classes/PhusionPassenger/AbstractServer.html +0 -719
- data/doc/rdoc/classes/PhusionPassenger/AbstractServer/ServerAlreadyStarted.html +0 -97
- data/doc/rdoc/classes/PhusionPassenger/AbstractServer/ServerError.html +0 -96
- data/doc/rdoc/classes/PhusionPassenger/AbstractServer/ServerNotStarted.html +0 -97
- data/doc/rdoc/classes/PhusionPassenger/AbstractServer/UnknownMessage.html +0 -96
- data/doc/rdoc/classes/PhusionPassenger/AbstractServerCollection.html +0 -598
- data/doc/rdoc/classes/PhusionPassenger/AdminTools.html +0 -140
- data/doc/rdoc/classes/PhusionPassenger/AdminTools/ControlProcess.html +0 -317
- data/doc/rdoc/classes/PhusionPassenger/AdminTools/ControlProcess/Instance.html +0 -138
- data/doc/rdoc/classes/PhusionPassenger/AppInitError.html +0 -154
- data/doc/rdoc/classes/PhusionPassenger/Application.html +0 -283
- data/doc/rdoc/classes/PhusionPassenger/ConsoleTextTemplate.html +0 -172
- data/doc/rdoc/classes/PhusionPassenger/FrameworkInitError.html +0 -145
- data/doc/rdoc/classes/PhusionPassenger/HTMLTemplate.html +0 -175
- data/doc/rdoc/classes/PhusionPassenger/InitializationError.html +0 -141
- data/doc/rdoc/classes/PhusionPassenger/InvalidPath.html +0 -92
- data/doc/rdoc/classes/PhusionPassenger/MessageChannel.html +0 -489
- data/doc/rdoc/classes/PhusionPassenger/NativeSupport.html +0 -350
- data/doc/rdoc/classes/PhusionPassenger/Rack.html +0 -91
- data/doc/rdoc/classes/PhusionPassenger/Rack/ApplicationSpawner.html +0 -188
- data/doc/rdoc/classes/PhusionPassenger/Rack/RequestHandler.html +0 -199
- data/doc/rdoc/classes/PhusionPassenger/Railz.html +0 -95
- data/doc/rdoc/classes/PhusionPassenger/Railz/ApplicationSpawner.html +0 -438
- data/doc/rdoc/classes/PhusionPassenger/Railz/ApplicationSpawner/Error.html +0 -98
- data/doc/rdoc/classes/PhusionPassenger/Railz/CGIFixed.html +0 -200
- data/doc/rdoc/classes/PhusionPassenger/Railz/FrameworkSpawner.html +0 -436
- data/doc/rdoc/classes/PhusionPassenger/Railz/FrameworkSpawner/Error.html +0 -98
- data/doc/rdoc/classes/PhusionPassenger/Railz/RequestHandler.html +0 -155
- data/doc/rdoc/classes/PhusionPassenger/SpawnManager.html +0 -402
- data/doc/rdoc/classes/PhusionPassenger/UnknownError.html +0 -125
- data/doc/rdoc/classes/PhusionPassenger/Utils.html +0 -805
- data/doc/rdoc/classes/PhusionPassenger/Utils/PseudoIO.html +0 -169
- data/doc/rdoc/classes/PhusionPassenger/Utils/RewindableInput.html +0 -247
- data/doc/rdoc/classes/PhusionPassenger/Utils/RewindableInput/Tempfile.html +0 -120
- data/doc/rdoc/classes/PhusionPassenger/VersionNotFound.html +0 -140
- data/doc/rdoc/classes/PhusionPassenger/WSGI.html +0 -89
- data/doc/rdoc/classes/PhusionPassenger/WSGI/ApplicationSpawner.html +0 -188
- data/doc/rdoc/classes/PlatformInfo.html +0 -866
- data/doc/rdoc/classes/RakeExtensions.html +0 -197
- data/doc/rdoc/classes/Signal.html +0 -139
- data/doc/rdoc/created.rid +0 -1
- data/doc/rdoc/files/DEVELOPERS_TXT.html +0 -255
- data/doc/rdoc/files/README.html +0 -157
- data/doc/rdoc/files/ext/phusion_passenger/native_support_c.html +0 -92
- data/doc/rdoc/files/lib/phusion_passenger/abstract_installer_rb.html +0 -129
- data/doc/rdoc/files/lib/phusion_passenger/abstract_request_handler_rb.html +0 -129
- data/doc/rdoc/files/lib/phusion_passenger/abstract_server_collection_rb.html +0 -126
- data/doc/rdoc/files/lib/phusion_passenger/abstract_server_rb.html +0 -128
- data/doc/rdoc/files/lib/phusion_passenger/admin_tools/control_process_rb.html +0 -130
- data/doc/rdoc/files/lib/phusion_passenger/admin_tools_rb.html +0 -122
- data/doc/rdoc/files/lib/phusion_passenger/application_rb.html +0 -127
- data/doc/rdoc/files/lib/phusion_passenger/console_text_template_rb.html +0 -126
- data/doc/rdoc/files/lib/phusion_passenger/constants_rb.html +0 -122
- data/doc/rdoc/files/lib/phusion_passenger/dependencies_rb.html +0 -134
- data/doc/rdoc/files/lib/phusion_passenger/events_rb.html +0 -122
- data/doc/rdoc/files/lib/phusion_passenger/exceptions_rb.html +0 -122
- data/doc/rdoc/files/lib/phusion_passenger/html_template_rb.html +0 -126
- data/doc/rdoc/files/lib/phusion_passenger/message_channel_rb.html +0 -120
- data/doc/rdoc/files/lib/phusion_passenger/packaging_rb.html +0 -122
- data/doc/rdoc/files/lib/phusion_passenger/platform_info_rb.html +0 -127
- data/doc/rdoc/files/lib/phusion_passenger/rack/application_spawner_rb.html +0 -133
- data/doc/rdoc/files/lib/phusion_passenger/rack/request_handler_rb.html +0 -125
- data/doc/rdoc/files/lib/phusion_passenger/railz/application_spawner_rb.html +0 -140
- data/doc/rdoc/files/lib/phusion_passenger/railz/cgi_fixed_rb.html +0 -126
- data/doc/rdoc/files/lib/phusion_passenger/railz/framework_spawner_rb.html +0 -145
- data/doc/rdoc/files/lib/phusion_passenger/railz/request_handler_rb.html +0 -125
- data/doc/rdoc/files/lib/phusion_passenger/simple_benchmarking_rb.html +0 -122
- data/doc/rdoc/files/lib/phusion_passenger/spawn_manager_rb.html +0 -159
- data/doc/rdoc/files/lib/phusion_passenger/utils/rewindable_input_rb.html +0 -100
- data/doc/rdoc/files/lib/phusion_passenger/utils_rb.html +0 -174
- data/doc/rdoc/files/lib/phusion_passenger/wsgi/application_spawner_rb.html +0 -129
- data/doc/rdoc/files/misc/rake/extensions_rb.html +0 -130
- data/doc/rdoc/fr_class_index.html +0 -93
- data/doc/rdoc/fr_file_index.html +0 -77
- data/doc/rdoc/fr_method_index.html +0 -212
- data/doc/rdoc/index.html +0 -26
- data/doc/rdoc/rdoc-style.css +0 -187
@@ -0,0 +1,59 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: Version.h Source File</title>
|
4
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.8 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li><a href="files.html"><span>File List</span></a></li>
|
21
|
+
</ul>
|
22
|
+
</div>
|
23
|
+
<h1>Version.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
24
|
+
<a name="l00002"></a>00002 <span class="comment"> * Phusion Passenger - http://www.modrails.com/</span>
|
25
|
+
<a name="l00003"></a>00003 <span class="comment"> * Copyright (c) 2010 Phusion</span>
|
26
|
+
<a name="l00004"></a>00004 <span class="comment"> *</span>
|
27
|
+
<a name="l00005"></a>00005 <span class="comment"> * "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.</span>
|
28
|
+
<a name="l00006"></a>00006 <span class="comment"> *</span>
|
29
|
+
<a name="l00007"></a>00007 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span>
|
30
|
+
<a name="l00008"></a>00008 <span class="comment"> * of this software and associated documentation files (the "Software"), to deal</span>
|
31
|
+
<a name="l00009"></a>00009 <span class="comment"> * in the Software without restriction, including without limitation the rights</span>
|
32
|
+
<a name="l00010"></a>00010 <span class="comment"> * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell</span>
|
33
|
+
<a name="l00011"></a>00011 <span class="comment"> * copies of the Software, and to permit persons to whom the Software is</span>
|
34
|
+
<a name="l00012"></a>00012 <span class="comment"> * furnished to do so, subject to the following conditions:</span>
|
35
|
+
<a name="l00013"></a>00013 <span class="comment"> *</span>
|
36
|
+
<a name="l00014"></a>00014 <span class="comment"> * The above copyright notice and this permission notice shall be included in</span>
|
37
|
+
<a name="l00015"></a>00015 <span class="comment"> * all copies or substantial portions of the Software.</span>
|
38
|
+
<a name="l00016"></a>00016 <span class="comment"> *</span>
|
39
|
+
<a name="l00017"></a>00017 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span>
|
40
|
+
<a name="l00018"></a>00018 <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
|
41
|
+
<a name="l00019"></a>00019 <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span>
|
42
|
+
<a name="l00020"></a>00020 <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
|
43
|
+
<a name="l00021"></a>00021 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span>
|
44
|
+
<a name="l00022"></a>00022 <span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN</span>
|
45
|
+
<a name="l00023"></a>00023 <span class="comment"> * THE SOFTWARE.</span>
|
46
|
+
<a name="l00024"></a>00024 <span class="comment"> */</span>
|
47
|
+
<a name="l00025"></a>00025 <span class="preprocessor">#ifndef _PASSENGER_VERSION_H_</span>
|
48
|
+
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define _PASSENGER_VERSION_H_</span>
|
49
|
+
<a name="l00027"></a>00027 <span class="preprocessor"></span>
|
50
|
+
<a name="l00028"></a>00028 <span class="comment">/* Don't forget to update lib/phusion_passenger.rb too. */</span>
|
51
|
+
<a name="l00029"></a>00029 <span class="preprocessor">#define PASSENGER_VERSION "2.9.1"</span>
|
52
|
+
<a name="l00030"></a>00030 <span class="preprocessor"></span>
|
53
|
+
<a name="l00031"></a>00031 <span class="preprocessor">#endif </span><span class="comment">/* _PASSENGER_VERSION_H */</span>
|
54
|
+
</pre></div></div>
|
55
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jan 20 14:56:19 2010 for Passenger by
|
56
|
+
<a href="http://www.doxygen.org/index.html">
|
57
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
58
|
+
</body>
|
59
|
+
</html>
|
data/doc/cxxapi/annotated.html
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
<tr><td class="indexkey"><a class="el" href="classHooks.html">Hooks</a></td><td class="indexvalue">Apache hook functions, wrapped in a class </td></tr>
|
28
28
|
</table>
|
29
29
|
</div>
|
30
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
30
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Feb 22 13:50:37 2010 for Passenger by
|
31
31
|
<a href="http://www.doxygen.org/index.html">
|
32
32
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
33
33
|
</body>
|
@@ -0,0 +1,79 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: Configuration.h Source File</title>
|
4
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.8 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li><a href="files.html"><span>File List</span></a></li>
|
21
|
+
</ul>
|
22
|
+
</div>
|
23
|
+
<h1>Configuration.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
|
24
|
+
<a name="l00002"></a>00002 <span class="comment"> * Phusion Passenger - http://www.modrails.com/</span>
|
25
|
+
<a name="l00003"></a>00003 <span class="comment"> * Copyright (c) 2010 Phusion</span>
|
26
|
+
<a name="l00004"></a>00004 <span class="comment"> *</span>
|
27
|
+
<a name="l00005"></a>00005 <span class="comment"> * "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.</span>
|
28
|
+
<a name="l00006"></a>00006 <span class="comment"> *</span>
|
29
|
+
<a name="l00007"></a>00007 <span class="comment"> * Permission is hereby granted, free of charge, to any person obtaining a copy</span>
|
30
|
+
<a name="l00008"></a>00008 <span class="comment"> * of this software and associated documentation files (the "Software"), to deal</span>
|
31
|
+
<a name="l00009"></a>00009 <span class="comment"> * in the Software without restriction, including without limitation the rights</span>
|
32
|
+
<a name="l00010"></a>00010 <span class="comment"> * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell</span>
|
33
|
+
<a name="l00011"></a>00011 <span class="comment"> * copies of the Software, and to permit persons to whom the Software is</span>
|
34
|
+
<a name="l00012"></a>00012 <span class="comment"> * furnished to do so, subject to the following conditions:</span>
|
35
|
+
<a name="l00013"></a>00013 <span class="comment"> *</span>
|
36
|
+
<a name="l00014"></a>00014 <span class="comment"> * The above copyright notice and this permission notice shall be included in</span>
|
37
|
+
<a name="l00015"></a>00015 <span class="comment"> * all copies or substantial portions of the Software.</span>
|
38
|
+
<a name="l00016"></a>00016 <span class="comment"> *</span>
|
39
|
+
<a name="l00017"></a>00017 <span class="comment"> * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR</span>
|
40
|
+
<a name="l00018"></a>00018 <span class="comment"> * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,</span>
|
41
|
+
<a name="l00019"></a>00019 <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE</span>
|
42
|
+
<a name="l00020"></a>00020 <span class="comment"> * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER</span>
|
43
|
+
<a name="l00021"></a>00021 <span class="comment"> * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,</span>
|
44
|
+
<a name="l00022"></a>00022 <span class="comment"> * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN</span>
|
45
|
+
<a name="l00023"></a>00023 <span class="comment"> * THE SOFTWARE.</span>
|
46
|
+
<a name="l00024"></a>00024 <span class="comment"> */</span>
|
47
|
+
<a name="l00025"></a>00025 <span class="preprocessor">#ifndef _PASSENGER_CONFIGURATION_H_</span>
|
48
|
+
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define _PASSENGER_CONFIGURATION_H_</span>
|
49
|
+
<a name="l00027"></a>00027 <span class="preprocessor"></span>
|
50
|
+
<a name="l00028"></a>00028 <span class="preprocessor">#include <apr_pools.h></span>
|
51
|
+
<a name="l00029"></a>00029 <span class="preprocessor">#include <httpd.h></span>
|
52
|
+
<a name="l00030"></a>00030 <span class="preprocessor">#include <http_config.h></span>
|
53
|
+
<a name="l00031"></a>00031
|
54
|
+
<a name="l00032"></a>00032 <span class="preprocessor">#ifdef __cplusplus</span>
|
55
|
+
<a name="l00033"></a>00033 <span class="preprocessor"></span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
|
56
|
+
<a name="l00034"></a>00034 <span class="preprocessor">#endif</span>
|
57
|
+
<a name="l00035"></a>00035 <span class="preprocessor"></span>
|
58
|
+
<a name="l00036"></a>00036 <span class="comment"></span>
|
59
|
+
<a name="l00037"></a>00037 <span class="comment">/** Configuration hook for per-directory configuration structure creation. */</span>
|
60
|
+
<a name="l00038"></a>00038 <span class="keywordtype">void</span> *passenger_config_create_dir(apr_pool_t *p, <span class="keywordtype">char</span> *dirspec);
|
61
|
+
<a name="l00039"></a>00039 <span class="comment"></span>
|
62
|
+
<a name="l00040"></a>00040 <span class="comment">/** Configuration hook for per-directory configuration structure merging. */</span>
|
63
|
+
<a name="l00041"></a>00041 <span class="keywordtype">void</span> *passenger_config_merge_dir(apr_pool_t *p, <span class="keywordtype">void</span> *basev, <span class="keywordtype">void</span> *addv);
|
64
|
+
<a name="l00042"></a>00042 <span class="comment"></span>
|
65
|
+
<a name="l00043"></a>00043 <span class="comment">/** Apache module commands array. */</span>
|
66
|
+
<a name="l00044"></a>00044 <span class="keyword">extern</span> <span class="keyword">const</span> command_rec passenger_commands[];
|
67
|
+
<a name="l00045"></a>00045
|
68
|
+
<a name="l00046"></a>00046
|
69
|
+
<a name="l00047"></a>00047 <span class="preprocessor">#ifdef __cplusplus</span>
|
70
|
+
<a name="l00048"></a>00048 <span class="preprocessor"></span> }
|
71
|
+
<a name="l00049"></a>00049 <span class="preprocessor">#endif</span>
|
72
|
+
<a name="l00050"></a>00050 <span class="preprocessor"></span>
|
73
|
+
<a name="l00051"></a>00051 <span class="preprocessor">#endif </span><span class="comment">/* _PASSENGER_CONFIGURATION_H_ */</span>
|
74
|
+
</pre></div></div>
|
75
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 21 12:22:45 2010 for Passenger by
|
76
|
+
<a href="http://www.doxygen.org/index.html">
|
77
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
78
|
+
</body>
|
79
|
+
</html>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: Member List</title>
|
4
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.8 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
21
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
22
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="contents">
|
27
|
+
<h1>AgentWatcher Member List</h1>This is the complete list of members for <a class="el" href="classAgentWatcher.html">AgentWatcher</a>, including all inherited members.<p><table>
|
28
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#c6325cb940f9c25ef2f44aca00c30755">execProgram</a>() const </td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [inline, protected, virtual]</code></td></tr>
|
29
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#a3eba8fe19117a84764f5f653a03612d">feedbackFd</a></td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [protected]</code></td></tr>
|
30
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#e65876d2cc680b739dfee02378233340">forceShutdown</a>()</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [inline, virtual]</code></td></tr>
|
31
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#80ef9eaf1a84d994e7ba5f1507616fde">getErrorBacktrace</a>() const </td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [inline]</code></td></tr>
|
32
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#b99d4346d7b69d86db1b14206e7caadb">getErrorMessage</a>() const </td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [inline]</code></td></tr>
|
33
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#77279925d786a774bdf097468c36af96">getExeFilename</a>() const =0</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [protected, pure virtual]</code></td></tr>
|
34
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#c0749ab103ed5d1adc81b53a7ddc93d8">getFeedbackFd</a>() const </td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [inline]</code></td></tr>
|
35
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#a358a05d41db4ddab9696727849e0d4c">killAndWait</a>(pid_t pid)</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [inline, protected]</code></td></tr>
|
36
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#22ad2ee317c4e254833ab07f377ed7fd">lock</a></td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [mutable, protected]</code></td></tr>
|
37
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#982a388ed5c485ab9615c5bc0abbc71e">name</a>() const =0</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [pure virtual]</code></td></tr>
|
38
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#76de201bbc7111c01c31668211494fa8">pid</a></td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [protected]</code></td></tr>
|
39
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#4c1c454374c8916788fee166beacfb05">processStartupInfo</a>(pid_t pid, FileDescriptor &fd, const vector< string > &args)=0</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [protected, pure virtual]</code></td></tr>
|
40
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#45bc0e41253a0c287e14f708f7dba1e6">sendStartupArguments</a>(pid_t pid, FileDescriptor &fd)=0</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [protected, pure virtual]</code></td></tr>
|
41
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#a9f83ed13b06ef80d0417f9c313cf61e">sendStartupInfo</a>(MessageChannel &channel)=0</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [pure virtual]</code></td></tr>
|
42
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#daf1c0a7104aea662d90f639066b8247">start</a>()</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [inline, virtual]</code></td></tr>
|
43
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#3da11d23ed3b1210a24844856b7f3159">startWatching</a>()</td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [inline, virtual]</code></td></tr>
|
44
|
+
<tr class="memlist"><td><a class="el" href="classAgentWatcher.html#c4fa4122858073a1e3e1d96ce2ade6f2">threadExceptionMessage</a></td><td><a class="el" href="classAgentWatcher.html">AgentWatcher</a></td><td><code> [protected]</code></td></tr>
|
45
|
+
</table></div>
|
46
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 21 12:22:46 2010 for Passenger by
|
47
|
+
<a href="http://www.doxygen.org/index.html">
|
48
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
49
|
+
</body>
|
50
|
+
</html>
|
@@ -0,0 +1,445 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
2
|
+
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
3
|
+
<title>Passenger: AgentWatcher Class Reference</title>
|
4
|
+
<link href="tabs.css" rel="stylesheet" type="text/css">
|
5
|
+
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
6
|
+
</head><body>
|
7
|
+
<!-- Generated by Doxygen 1.5.8 -->
|
8
|
+
<div class="navigation" id="top">
|
9
|
+
<div class="tabs">
|
10
|
+
<ul>
|
11
|
+
<li><a href="main.html"><span>Main Page</span></a></li>
|
12
|
+
<li><a href="modules.html"><span>Modules</span></a></li>
|
13
|
+
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
14
|
+
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
15
|
+
<li><a href="files.html"><span>Files</span></a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
<div class="tabs">
|
19
|
+
<ul>
|
20
|
+
<li><a href="annotated.html"><span>Class List</span></a></li>
|
21
|
+
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
22
|
+
<li><a href="functions.html"><span>Class Members</span></a></li>
|
23
|
+
</ul>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
<div class="contents">
|
27
|
+
<h1>AgentWatcher Class Reference</h1><!-- doxytag: class="AgentWatcher" -->Abstract base class for watching agent processes.
|
28
|
+
<a href="#_details">More...</a>
|
29
|
+
<p>
|
30
|
+
Inherited by HelperAgentWatcher, and LoggingAgentWatcher.
|
31
|
+
<p>
|
32
|
+
|
33
|
+
<p>
|
34
|
+
<a href="classAgentWatcher-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
35
|
+
<tr><td></td></tr>
|
36
|
+
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
37
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#a9f83ed13b06ef80d0417f9c313cf61e">sendStartupInfo</a> (<a class="el" href="classPassenger_1_1MessageChannel.html">MessageChannel</a> &channel)=0</td></tr>
|
38
|
+
|
39
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Send the started agent process's startup information over the given channel, to the starter process. <a href="#a9f83ed13b06ef80d0417f9c313cf61e"></a><br></td></tr>
|
40
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#982a388ed5c485ab9615c5bc0abbc71e">name</a> () const =0</td></tr>
|
41
|
+
|
42
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the name of the agent that this class is watching. <a href="#982a388ed5c485ab9615c5bc0abbc71e"></a><br></td></tr>
|
43
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual pid_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#daf1c0a7104aea662d90f639066b8247">start</a> ()</td></tr>
|
44
|
+
|
45
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Starts the agent process. <a href="#daf1c0a7104aea662d90f639066b8247"></a><br></td></tr>
|
46
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#3da11d23ed3b1210a24844856b7f3159">startWatching</a> ()</td></tr>
|
47
|
+
|
48
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Start watching the agent process. <a href="#3da11d23ed3b1210a24844856b7f3159"></a><br></td></tr>
|
49
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#e65876d2cc680b739dfee02378233340">forceShutdown</a> ()</td></tr>
|
50
|
+
|
51
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Force the agent process to shut down. <a href="#e65876d2cc680b739dfee02378233340"></a><br></td></tr>
|
52
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#b99d4346d7b69d86db1b14206e7caadb">getErrorMessage</a> () const </td></tr>
|
53
|
+
|
54
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">If the watcher thread has encountered an error, then the error message will be stored here. <a href="#b99d4346d7b69d86db1b14206e7caadb"></a><br></td></tr>
|
55
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="80ef9eaf1a84d994e7ba5f1507616fde"></a><!-- doxytag: member="AgentWatcher::getErrorBacktrace" ref="80ef9eaf1a84d994e7ba5f1507616fde" args="() const " -->
|
56
|
+
string </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#80ef9eaf1a84d994e7ba5f1507616fde">getErrorBacktrace</a> () const </td></tr>
|
57
|
+
|
58
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">The error backtrace, if applicable. <br></td></tr>
|
59
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#c0749ab103ed5d1adc81b53a7ddc93d8">getFeedbackFd</a> () const </td></tr>
|
60
|
+
|
61
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the agent process feedback fd, or NULL if the agent process hasn't been started yet. <a href="#c0749ab103ed5d1adc81b53a7ddc93d8"></a><br></td></tr>
|
62
|
+
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
|
63
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#77279925d786a774bdf097468c36af96">getExeFilename</a> () const =0</td></tr>
|
64
|
+
|
65
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the filename of the agent process's executable. <a href="#77279925d786a774bdf097468c36af96"></a><br></td></tr>
|
66
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#c6325cb940f9c25ef2f44aca00c30755">execProgram</a> () const </td></tr>
|
67
|
+
|
68
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method is to exec() the agent with the right arguments. <a href="#c6325cb940f9c25ef2f44aca00c30755"></a><br></td></tr>
|
69
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#45bc0e41253a0c287e14f708f7dba1e6">sendStartupArguments</a> (pid_t <a class="el" href="classAgentWatcher.html#76de201bbc7111c01c31668211494fa8">pid</a>, <a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> &fd)=0</td></tr>
|
70
|
+
|
71
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method is to send startup arguments to the agent process through the given file descriptor, which is the agent process's feedback fd. <a href="#45bc0e41253a0c287e14f708f7dba1e6"></a><br></td></tr>
|
72
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#4c1c454374c8916788fee166beacfb05">processStartupInfo</a> (pid_t <a class="el" href="classAgentWatcher.html#76de201bbc7111c01c31668211494fa8">pid</a>, <a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> &fd, const vector< string > &args)=0</td></tr>
|
73
|
+
|
74
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">This method is to process the startup info that the agent process has sent back. <a href="#4c1c454374c8916788fee166beacfb05"></a><br></td></tr>
|
75
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#a358a05d41db4ddab9696727849e0d4c">killAndWait</a> (pid_t <a class="el" href="classAgentWatcher.html#76de201bbc7111c01c31668211494fa8">pid</a>)</td></tr>
|
76
|
+
|
77
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Kill a process with SIGKILL, and attempt to kill its children too. <a href="#a358a05d41db4ddab9696727849e0d4c"></a><br></td></tr>
|
78
|
+
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
|
79
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">pid_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#76de201bbc7111c01c31668211494fa8">pid</a></td></tr>
|
80
|
+
|
81
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">PID of the process we're watching. <a href="#76de201bbc7111c01c31668211494fa8"></a><br></td></tr>
|
82
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#c4fa4122858073a1e3e1d96ce2ade6f2">threadExceptionMessage</a></td></tr>
|
83
|
+
|
84
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">If the watcher thread threw an uncaught exception then its information will be stored here so that the main thread can check whether a watcher encountered an error. <a href="#c4fa4122858073a1e3e1d96ce2ade6f2"></a><br></td></tr>
|
85
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#a3eba8fe19117a84764f5f653a03612d">feedbackFd</a></td></tr>
|
86
|
+
|
87
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">The agent process's feedback fd. <a href="#a3eba8fe19117a84764f5f653a03612d"></a><br></td></tr>
|
88
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="22ad2ee317c4e254833ab07f377ed7fd"></a><!-- doxytag: member="AgentWatcher::lock" ref="22ad2ee317c4e254833ab07f377ed7fd" args="" -->
|
89
|
+
boost::mutex </td><td class="memItemRight" valign="bottom"><a class="el" href="classAgentWatcher.html#22ad2ee317c4e254833ab07f377ed7fd">lock</a></td></tr>
|
90
|
+
|
91
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Lock for protecting the exchange of data between the main thread and the watcher thread. <br></td></tr>
|
92
|
+
</table>
|
93
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
94
|
+
Abstract base class for watching agent processes. <hr><h2>Member Function Documentation</h2>
|
95
|
+
<a class="anchor" name="c6325cb940f9c25ef2f44aca00c30755"></a><!-- doxytag: member="AgentWatcher::execProgram" ref="c6325cb940f9c25ef2f44aca00c30755" args="() const " -->
|
96
|
+
<div class="memitem">
|
97
|
+
<div class="memproto">
|
98
|
+
<table class="memname">
|
99
|
+
<tr>
|
100
|
+
<td class="memname">virtual void AgentWatcher::execProgram </td>
|
101
|
+
<td>(</td>
|
102
|
+
<td class="paramname"> </td>
|
103
|
+
<td> ) </td>
|
104
|
+
<td> const<code> [inline, protected, virtual]</code></td>
|
105
|
+
</tr>
|
106
|
+
</table>
|
107
|
+
</div>
|
108
|
+
<div class="memdoc">
|
109
|
+
|
110
|
+
<p>
|
111
|
+
This method is to exec() the agent with the right arguments.
|
112
|
+
<p>
|
113
|
+
It is called from within a forked child process, so don't do any dynamic memory allocations in here. It must also not throw any exceptions. It must also preserve the value of errno after exec() is called.
|
114
|
+
</div>
|
115
|
+
</div><p>
|
116
|
+
<a class="anchor" name="e65876d2cc680b739dfee02378233340"></a><!-- doxytag: member="AgentWatcher::forceShutdown" ref="e65876d2cc680b739dfee02378233340" args="()" -->
|
117
|
+
<div class="memitem">
|
118
|
+
<div class="memproto">
|
119
|
+
<table class="memname">
|
120
|
+
<tr>
|
121
|
+
<td class="memname">virtual bool AgentWatcher::forceShutdown </td>
|
122
|
+
<td>(</td>
|
123
|
+
<td class="paramname"> </td>
|
124
|
+
<td> ) </td>
|
125
|
+
<td><code> [inline, virtual]</code></td>
|
126
|
+
</tr>
|
127
|
+
</table>
|
128
|
+
</div>
|
129
|
+
<div class="memdoc">
|
130
|
+
|
131
|
+
<p>
|
132
|
+
Force the agent process to shut down.
|
133
|
+
<p>
|
134
|
+
Returns true if it was shut down, or false if it wasn't started.
|
135
|
+
</div>
|
136
|
+
</div><p>
|
137
|
+
<a class="anchor" name="b99d4346d7b69d86db1b14206e7caadb"></a><!-- doxytag: member="AgentWatcher::getErrorMessage" ref="b99d4346d7b69d86db1b14206e7caadb" args="() const " -->
|
138
|
+
<div class="memitem">
|
139
|
+
<div class="memproto">
|
140
|
+
<table class="memname">
|
141
|
+
<tr>
|
142
|
+
<td class="memname">string AgentWatcher::getErrorMessage </td>
|
143
|
+
<td>(</td>
|
144
|
+
<td class="paramname"> </td>
|
145
|
+
<td> ) </td>
|
146
|
+
<td> const<code> [inline]</code></td>
|
147
|
+
</tr>
|
148
|
+
</table>
|
149
|
+
</div>
|
150
|
+
<div class="memdoc">
|
151
|
+
|
152
|
+
<p>
|
153
|
+
If the watcher thread has encountered an error, then the error message will be stored here.
|
154
|
+
<p>
|
155
|
+
If the error message is empty then it means everything is still OK.
|
156
|
+
</div>
|
157
|
+
</div><p>
|
158
|
+
<a class="anchor" name="77279925d786a774bdf097468c36af96"></a><!-- doxytag: member="AgentWatcher::getExeFilename" ref="77279925d786a774bdf097468c36af96" args="() const =0" -->
|
159
|
+
<div class="memitem">
|
160
|
+
<div class="memproto">
|
161
|
+
<table class="memname">
|
162
|
+
<tr>
|
163
|
+
<td class="memname">virtual string AgentWatcher::getExeFilename </td>
|
164
|
+
<td>(</td>
|
165
|
+
<td class="paramname"> </td>
|
166
|
+
<td> ) </td>
|
167
|
+
<td> const<code> [protected, pure virtual]</code></td>
|
168
|
+
</tr>
|
169
|
+
</table>
|
170
|
+
</div>
|
171
|
+
<div class="memdoc">
|
172
|
+
|
173
|
+
<p>
|
174
|
+
Returns the filename of the agent process's executable.
|
175
|
+
<p>
|
176
|
+
This method may be called in a forked child process and may therefore not allocate memory.
|
177
|
+
</div>
|
178
|
+
</div><p>
|
179
|
+
<a class="anchor" name="c0749ab103ed5d1adc81b53a7ddc93d8"></a><!-- doxytag: member="AgentWatcher::getFeedbackFd" ref="c0749ab103ed5d1adc81b53a7ddc93d8" args="() const " -->
|
180
|
+
<div class="memitem">
|
181
|
+
<div class="memproto">
|
182
|
+
<table class="memname">
|
183
|
+
<tr>
|
184
|
+
<td class="memname">const <a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> AgentWatcher::getFeedbackFd </td>
|
185
|
+
<td>(</td>
|
186
|
+
<td class="paramname"> </td>
|
187
|
+
<td> ) </td>
|
188
|
+
<td> const<code> [inline]</code></td>
|
189
|
+
</tr>
|
190
|
+
</table>
|
191
|
+
</div>
|
192
|
+
<div class="memdoc">
|
193
|
+
|
194
|
+
<p>
|
195
|
+
Returns the agent process feedback fd, or NULL if the agent process hasn't been started yet.
|
196
|
+
<p>
|
197
|
+
Can be used to check whether this agent process has exited without using waitpid().
|
198
|
+
</div>
|
199
|
+
</div><p>
|
200
|
+
<a class="anchor" name="a358a05d41db4ddab9696727849e0d4c"></a><!-- doxytag: member="AgentWatcher::killAndWait" ref="a358a05d41db4ddab9696727849e0d4c" args="(pid_t pid)" -->
|
201
|
+
<div class="memitem">
|
202
|
+
<div class="memproto">
|
203
|
+
<table class="memname">
|
204
|
+
<tr>
|
205
|
+
<td class="memname">void AgentWatcher::killAndWait </td>
|
206
|
+
<td>(</td>
|
207
|
+
<td class="paramtype">pid_t </td>
|
208
|
+
<td class="paramname"> <em>pid</em> </td>
|
209
|
+
<td> ) </td>
|
210
|
+
<td><code> [inline, protected]</code></td>
|
211
|
+
</tr>
|
212
|
+
</table>
|
213
|
+
</div>
|
214
|
+
<div class="memdoc">
|
215
|
+
|
216
|
+
<p>
|
217
|
+
Kill a process with SIGKILL, and attempt to kill its children too.
|
218
|
+
<p>
|
219
|
+
Then wait until it has quit.
|
220
|
+
</div>
|
221
|
+
</div><p>
|
222
|
+
<a class="anchor" name="982a388ed5c485ab9615c5bc0abbc71e"></a><!-- doxytag: member="AgentWatcher::name" ref="982a388ed5c485ab9615c5bc0abbc71e" args="() const =0" -->
|
223
|
+
<div class="memitem">
|
224
|
+
<div class="memproto">
|
225
|
+
<table class="memname">
|
226
|
+
<tr>
|
227
|
+
<td class="memname">virtual const char* AgentWatcher::name </td>
|
228
|
+
<td>(</td>
|
229
|
+
<td class="paramname"> </td>
|
230
|
+
<td> ) </td>
|
231
|
+
<td> const<code> [pure virtual]</code></td>
|
232
|
+
</tr>
|
233
|
+
</table>
|
234
|
+
</div>
|
235
|
+
<div class="memdoc">
|
236
|
+
|
237
|
+
<p>
|
238
|
+
Returns the name of the agent that this class is watching.
|
239
|
+
<p>
|
240
|
+
|
241
|
+
</div>
|
242
|
+
</div><p>
|
243
|
+
<a class="anchor" name="4c1c454374c8916788fee166beacfb05"></a><!-- doxytag: member="AgentWatcher::processStartupInfo" ref="4c1c454374c8916788fee166beacfb05" args="(pid_t pid, FileDescriptor &fd, const vector< string > &args)=0" -->
|
244
|
+
<div class="memitem">
|
245
|
+
<div class="memproto">
|
246
|
+
<table class="memname">
|
247
|
+
<tr>
|
248
|
+
<td class="memname">virtual bool AgentWatcher::processStartupInfo </td>
|
249
|
+
<td>(</td>
|
250
|
+
<td class="paramtype">pid_t </td>
|
251
|
+
<td class="paramname"> <em>pid</em>, </td>
|
252
|
+
</tr>
|
253
|
+
<tr>
|
254
|
+
<td class="paramkey"></td>
|
255
|
+
<td></td>
|
256
|
+
<td class="paramtype"><a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> & </td>
|
257
|
+
<td class="paramname"> <em>fd</em>, </td>
|
258
|
+
</tr>
|
259
|
+
<tr>
|
260
|
+
<td class="paramkey"></td>
|
261
|
+
<td></td>
|
262
|
+
<td class="paramtype">const vector< string > & </td>
|
263
|
+
<td class="paramname"> <em>args</em></td><td> </td>
|
264
|
+
</tr>
|
265
|
+
<tr>
|
266
|
+
<td></td>
|
267
|
+
<td>)</td>
|
268
|
+
<td></td><td></td><td><code> [protected, pure virtual]</code></td>
|
269
|
+
</tr>
|
270
|
+
</table>
|
271
|
+
</div>
|
272
|
+
<div class="memdoc">
|
273
|
+
|
274
|
+
<p>
|
275
|
+
This method is to process the startup info that the agent process has sent back.
|
276
|
+
<p>
|
277
|
+
May throw arbitrary exceptions.
|
278
|
+
</div>
|
279
|
+
</div><p>
|
280
|
+
<a class="anchor" name="45bc0e41253a0c287e14f708f7dba1e6"></a><!-- doxytag: member="AgentWatcher::sendStartupArguments" ref="45bc0e41253a0c287e14f708f7dba1e6" args="(pid_t pid, FileDescriptor &fd)=0" -->
|
281
|
+
<div class="memitem">
|
282
|
+
<div class="memproto">
|
283
|
+
<table class="memname">
|
284
|
+
<tr>
|
285
|
+
<td class="memname">virtual void AgentWatcher::sendStartupArguments </td>
|
286
|
+
<td>(</td>
|
287
|
+
<td class="paramtype">pid_t </td>
|
288
|
+
<td class="paramname"> <em>pid</em>, </td>
|
289
|
+
</tr>
|
290
|
+
<tr>
|
291
|
+
<td class="paramkey"></td>
|
292
|
+
<td></td>
|
293
|
+
<td class="paramtype"><a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> & </td>
|
294
|
+
<td class="paramname"> <em>fd</em></td><td> </td>
|
295
|
+
</tr>
|
296
|
+
<tr>
|
297
|
+
<td></td>
|
298
|
+
<td>)</td>
|
299
|
+
<td></td><td></td><td><code> [protected, pure virtual]</code></td>
|
300
|
+
</tr>
|
301
|
+
</table>
|
302
|
+
</div>
|
303
|
+
<div class="memdoc">
|
304
|
+
|
305
|
+
<p>
|
306
|
+
This method is to send startup arguments to the agent process through the given file descriptor, which is the agent process's feedback fd.
|
307
|
+
<p>
|
308
|
+
May throw arbitrary exceptions.
|
309
|
+
</div>
|
310
|
+
</div><p>
|
311
|
+
<a class="anchor" name="a9f83ed13b06ef80d0417f9c313cf61e"></a><!-- doxytag: member="AgentWatcher::sendStartupInfo" ref="a9f83ed13b06ef80d0417f9c313cf61e" args="(MessageChannel &channel)=0" -->
|
312
|
+
<div class="memitem">
|
313
|
+
<div class="memproto">
|
314
|
+
<table class="memname">
|
315
|
+
<tr>
|
316
|
+
<td class="memname">virtual void AgentWatcher::sendStartupInfo </td>
|
317
|
+
<td>(</td>
|
318
|
+
<td class="paramtype"><a class="el" href="classPassenger_1_1MessageChannel.html">MessageChannel</a> & </td>
|
319
|
+
<td class="paramname"> <em>channel</em> </td>
|
320
|
+
<td> ) </td>
|
321
|
+
<td><code> [pure virtual]</code></td>
|
322
|
+
</tr>
|
323
|
+
</table>
|
324
|
+
</div>
|
325
|
+
<div class="memdoc">
|
326
|
+
|
327
|
+
<p>
|
328
|
+
Send the started agent process's startup information over the given channel, to the starter process.
|
329
|
+
<p>
|
330
|
+
May throw arbitrary exceptions.<p>
|
331
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd><a class="el" href="classAgentWatcher.html#daf1c0a7104aea662d90f639066b8247" title="Starts the agent process.">start()</a> has been called and succeeded. </dd></dl>
|
332
|
+
|
333
|
+
</div>
|
334
|
+
</div><p>
|
335
|
+
<a class="anchor" name="daf1c0a7104aea662d90f639066b8247"></a><!-- doxytag: member="AgentWatcher::start" ref="daf1c0a7104aea662d90f639066b8247" args="()" -->
|
336
|
+
<div class="memitem">
|
337
|
+
<div class="memproto">
|
338
|
+
<table class="memname">
|
339
|
+
<tr>
|
340
|
+
<td class="memname">virtual pid_t AgentWatcher::start </td>
|
341
|
+
<td>(</td>
|
342
|
+
<td class="paramname"> </td>
|
343
|
+
<td> ) </td>
|
344
|
+
<td><code> [inline, virtual]</code></td>
|
345
|
+
</tr>
|
346
|
+
</table>
|
347
|
+
</div>
|
348
|
+
<div class="memdoc">
|
349
|
+
|
350
|
+
<p>
|
351
|
+
Starts the agent process.
|
352
|
+
<p>
|
353
|
+
May throw arbitrary exceptions.
|
354
|
+
</div>
|
355
|
+
</div><p>
|
356
|
+
<a class="anchor" name="3da11d23ed3b1210a24844856b7f3159"></a><!-- doxytag: member="AgentWatcher::startWatching" ref="3da11d23ed3b1210a24844856b7f3159" args="()" -->
|
357
|
+
<div class="memitem">
|
358
|
+
<div class="memproto">
|
359
|
+
<table class="memname">
|
360
|
+
<tr>
|
361
|
+
<td class="memname">virtual void AgentWatcher::startWatching </td>
|
362
|
+
<td>(</td>
|
363
|
+
<td class="paramname"> </td>
|
364
|
+
<td> ) </td>
|
365
|
+
<td><code> [inline, virtual]</code></td>
|
366
|
+
</tr>
|
367
|
+
</table>
|
368
|
+
</div>
|
369
|
+
<div class="memdoc">
|
370
|
+
|
371
|
+
<p>
|
372
|
+
Start watching the agent process.
|
373
|
+
<p>
|
374
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd><a class="el" href="classAgentWatcher.html#daf1c0a7104aea662d90f639066b8247" title="Starts the agent process.">start()</a> has been called and succeeded. <p>
|
375
|
+
This watcher isn't already watching. </dd></dl>
|
376
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
377
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
378
|
+
<tr><td valign="top"></td><td valign="top"><em>RuntimeException</em> </td><td>If a precondition failed. </td></tr>
|
379
|
+
<tr><td valign="top"></td><td valign="top"><em>thread_interrupted</em> </td><td></td></tr>
|
380
|
+
<tr><td valign="top"></td><td valign="top"><em>thread_resource_error</em> </td><td></td></tr>
|
381
|
+
</table>
|
382
|
+
</dl>
|
383
|
+
|
384
|
+
</div>
|
385
|
+
</div><p>
|
386
|
+
<hr><h2>Member Data Documentation</h2>
|
387
|
+
<a class="anchor" name="a3eba8fe19117a84764f5f653a03612d"></a><!-- doxytag: member="AgentWatcher::feedbackFd" ref="a3eba8fe19117a84764f5f653a03612d" args="" -->
|
388
|
+
<div class="memitem">
|
389
|
+
<div class="memproto">
|
390
|
+
<table class="memname">
|
391
|
+
<tr>
|
392
|
+
<td class="memname"><a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> <a class="el" href="classAgentWatcher.html#a3eba8fe19117a84764f5f653a03612d">AgentWatcher::feedbackFd</a><code> [protected]</code> </td>
|
393
|
+
</tr>
|
394
|
+
</table>
|
395
|
+
</div>
|
396
|
+
<div class="memdoc">
|
397
|
+
|
398
|
+
<p>
|
399
|
+
The agent process's feedback fd.
|
400
|
+
<p>
|
401
|
+
|
402
|
+
</div>
|
403
|
+
</div><p>
|
404
|
+
<a class="anchor" name="76de201bbc7111c01c31668211494fa8"></a><!-- doxytag: member="AgentWatcher::pid" ref="76de201bbc7111c01c31668211494fa8" args="" -->
|
405
|
+
<div class="memitem">
|
406
|
+
<div class="memproto">
|
407
|
+
<table class="memname">
|
408
|
+
<tr>
|
409
|
+
<td class="memname">pid_t <a class="el" href="classAgentWatcher.html#76de201bbc7111c01c31668211494fa8">AgentWatcher::pid</a><code> [protected]</code> </td>
|
410
|
+
</tr>
|
411
|
+
</table>
|
412
|
+
</div>
|
413
|
+
<div class="memdoc">
|
414
|
+
|
415
|
+
<p>
|
416
|
+
PID of the process we're watching.
|
417
|
+
<p>
|
418
|
+
0 if no process is started at this time.
|
419
|
+
</div>
|
420
|
+
</div><p>
|
421
|
+
<a class="anchor" name="c4fa4122858073a1e3e1d96ce2ade6f2"></a><!-- doxytag: member="AgentWatcher::threadExceptionMessage" ref="c4fa4122858073a1e3e1d96ce2ade6f2" args="" -->
|
422
|
+
<div class="memitem">
|
423
|
+
<div class="memproto">
|
424
|
+
<table class="memname">
|
425
|
+
<tr>
|
426
|
+
<td class="memname">string <a class="el" href="classAgentWatcher.html#c4fa4122858073a1e3e1d96ce2ade6f2">AgentWatcher::threadExceptionMessage</a><code> [protected]</code> </td>
|
427
|
+
</tr>
|
428
|
+
</table>
|
429
|
+
</div>
|
430
|
+
<div class="memdoc">
|
431
|
+
|
432
|
+
<p>
|
433
|
+
If the watcher thread threw an uncaught exception then its information will be stored here so that the main thread can check whether a watcher encountered an error.
|
434
|
+
<p>
|
435
|
+
These are empty strings if everything is OK.
|
436
|
+
</div>
|
437
|
+
</div><p>
|
438
|
+
<hr>The documentation for this class was generated from the following file:<ul>
|
439
|
+
<li>Watchdog.cpp</ul>
|
440
|
+
</div>
|
441
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 21 12:22:46 2010 for Passenger by
|
442
|
+
<a href="http://www.doxygen.org/index.html">
|
443
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
444
|
+
</body>
|
445
|
+
</html>
|