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,415 @@
|
|
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: Passenger::StandardSession 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 class="navpath"><a class="el" href="namespacePassenger.html">Passenger</a>::<a class="el" href="classPassenger_1_1StandardSession.html">StandardSession</a>
|
26
|
+
</div>
|
27
|
+
</div>
|
28
|
+
<div class="contents">
|
29
|
+
<h1>Passenger::StandardSession Class Reference</h1><!-- doxytag: class="Passenger::StandardSession" --><!-- doxytag: inherits="Passenger::Session" -->A "standard" implementation of <a class="el" href="classPassenger_1_1Session.html" title="Represents a single request/response pair of an application process.">Session</a>.
|
30
|
+
<a href="#_details">More...</a>
|
31
|
+
<p>
|
32
|
+
<code>#include <<a class="el" href="Session_8h-source.html">Session.h</a>></code>
|
33
|
+
<p>
|
34
|
+
<div class="dynheader">
|
35
|
+
Inheritance diagram for Passenger::StandardSession:</div>
|
36
|
+
<div class="dynsection">
|
37
|
+
<p><center><img src="classPassenger_1_1StandardSession__inherit__graph.png" border="0" usemap="#Passenger_1_1StandardSession__inherit__map" alt="Inheritance graph"></center>
|
38
|
+
<map name="Passenger_1_1StandardSession__inherit__map">
|
39
|
+
<area shape="rect" href="classPassenger_1_1Session.html" title="Represents a single request/response pair of an application process." alt="" coords="33,5,175,32"></map>
|
40
|
+
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
|
41
|
+
|
42
|
+
<p>
|
43
|
+
<a href="classPassenger_1_1StandardSession-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
44
|
+
<tr><td></td></tr>
|
45
|
+
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
46
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#c283db6faf2fcd1827baf3ebac276677">initiate</a> ()</td></tr>
|
47
|
+
|
48
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Initiate the session by connecting to the associated process. <a href="#c283db6faf2fcd1827baf3ebac276677"></a><br></td></tr>
|
49
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="40cdaad38dfbb7995955f11bb27bba61"></a><!-- doxytag: member="Passenger::StandardSession::initiated" ref="40cdaad38dfbb7995955f11bb27bba61" args="() const " -->
|
50
|
+
virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#40cdaad38dfbb7995955f11bb27bba61">initiated</a> () const </td></tr>
|
51
|
+
|
52
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether this session has been initiated (that is, whether <a class="el" href="classPassenger_1_1StandardSession.html#c283db6faf2fcd1827baf3ebac276677" title="Initiate the session by connecting to the associated process.">initiate()</a> had been called in the past). <br></td></tr>
|
53
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#3a59997280d5f7fcaa901716cd8451a2">getSocketType</a> () const </td></tr>
|
54
|
+
|
55
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the type of the socket that this session is served from, e.g. <a href="#3a59997280d5f7fcaa901716cd8451a2"></a><br></td></tr>
|
56
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#720e98b8dd246eeca004c8e625c0d4d3">getSocketName</a> () const </td></tr>
|
57
|
+
|
58
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the address of the socket that this session is served from. <a href="#720e98b8dd246eeca004c8e625c0d4d3"></a><br></td></tr>
|
59
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#a3491d2151ba3b94c1b19a4f18bade6a">getStream</a> () const </td></tr>
|
60
|
+
|
61
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns this session's channel's file descriptor. <a href="#a3491d2151ba3b94c1b19a4f18bade6a"></a><br></td></tr>
|
62
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#960346d8c27ff1ae9017d753e41a159a">setReaderTimeout</a> (unsigned int msec)</td></tr>
|
63
|
+
|
64
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the timeout value for reading data from the I/O channel. <a href="#960346d8c27ff1ae9017d753e41a159a"></a><br></td></tr>
|
65
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#bb51c323ac0e24011191862f6dec7a75">setWriterTimeout</a> (unsigned int msec)</td></tr>
|
66
|
+
|
67
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the timeout value for writing data from the I/O channel. <a href="#bb51c323ac0e24011191862f6dec7a75"></a><br></td></tr>
|
68
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#c92d4d081d6145ba8d441c8cf88fae74">shutdownReader</a> ()</td></tr>
|
69
|
+
|
70
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Indicate that we don't want to read data anymore from the I/O channel. <a href="#c92d4d081d6145ba8d441c8cf88fae74"></a><br></td></tr>
|
71
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#045a8f7f849c34086b0832fdba7a2915">shutdownWriter</a> ()</td></tr>
|
72
|
+
|
73
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Indicate that we don't want to write data anymore to the I/O channel. <a href="#045a8f7f849c34086b0832fdba7a2915"></a><br></td></tr>
|
74
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#f5cdfa78db1fca6303ccd43ac5126b6b">closeStream</a> ()</td></tr>
|
75
|
+
|
76
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Close the I/O stream. <a href="#f5cdfa78db1fca6303ccd43ac5126b6b"></a><br></td></tr>
|
77
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#3666d401df82696fe945fcbb66804785">discardStream</a> ()</td></tr>
|
78
|
+
|
79
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Discard the I/O channel's file descriptor, so that the destructor won't automatically close it. <a href="#3666d401df82696fe945fcbb66804785"></a><br></td></tr>
|
80
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="496bbb49ac5f8d86ac6c37e979e7e3e8"></a><!-- doxytag: member="Passenger::StandardSession::getPid" ref="496bbb49ac5f8d86ac6c37e979e7e3e8" args="() const " -->
|
81
|
+
virtual pid_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#496bbb49ac5f8d86ac6c37e979e7e3e8">getPid</a> () const </td></tr>
|
82
|
+
|
83
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the process ID of the application process that this session belongs to. <br></td></tr>
|
84
|
+
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
|
85
|
+
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1StandardSession.html#51d4e04acc68526a450b1fce2142dea9">fd</a></td></tr>
|
86
|
+
|
87
|
+
<tr><td class="mdescLeft"> </td><td class="mdescRight">The session connection file descriptor. <a href="#51d4e04acc68526a450b1fce2142dea9"></a><br></td></tr>
|
88
|
+
</table>
|
89
|
+
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
90
|
+
A "standard" implementation of <a class="el" href="classPassenger_1_1Session.html" title="Represents a single request/response pair of an application process.">Session</a>. <hr><h2>Member Function Documentation</h2>
|
91
|
+
<a class="anchor" name="f5cdfa78db1fca6303ccd43ac5126b6b"></a><!-- doxytag: member="Passenger::StandardSession::closeStream" ref="f5cdfa78db1fca6303ccd43ac5126b6b" args="()" -->
|
92
|
+
<div class="memitem">
|
93
|
+
<div class="memproto">
|
94
|
+
<table class="memname">
|
95
|
+
<tr>
|
96
|
+
<td class="memname">virtual void Passenger::StandardSession::closeStream </td>
|
97
|
+
<td>(</td>
|
98
|
+
<td class="paramname"> </td>
|
99
|
+
<td> ) </td>
|
100
|
+
<td><code> [inline, virtual]</code></td>
|
101
|
+
</tr>
|
102
|
+
</table>
|
103
|
+
</div>
|
104
|
+
<div class="memdoc">
|
105
|
+
|
106
|
+
<p>
|
107
|
+
Close the I/O stream.
|
108
|
+
<p>
|
109
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
110
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
111
|
+
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1SystemException.html" title="Represents an error returned by a system call or a standard library call.">SystemException</a></em> </td><td>Something went wrong. </td></tr>
|
112
|
+
<tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em> </td><td></td></tr>
|
113
|
+
</table>
|
114
|
+
</dl>
|
115
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd><a class="el" href="classPassenger_1_1StandardSession.html#40cdaad38dfbb7995955f11bb27bba61" title="Returns whether this session has been initiated (that is, whether initiate() had...">initiated()</a> </dd></dl>
|
116
|
+
<dl class="post" compact><dt><b>Postcondition:</b></dt><dd><a class="el" href="classPassenger_1_1StandardSession.html#a3491d2151ba3b94c1b19a4f18bade6a" title="Returns this session's channel's file descriptor.">getStream()</a> == -1 </dd></dl>
|
117
|
+
|
118
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#7ab85388f15388cb8e65873d1ad310a5">Passenger::Session</a>.</p>
|
119
|
+
|
120
|
+
</div>
|
121
|
+
</div><p>
|
122
|
+
<a class="anchor" name="3666d401df82696fe945fcbb66804785"></a><!-- doxytag: member="Passenger::StandardSession::discardStream" ref="3666d401df82696fe945fcbb66804785" args="()" -->
|
123
|
+
<div class="memitem">
|
124
|
+
<div class="memproto">
|
125
|
+
<table class="memname">
|
126
|
+
<tr>
|
127
|
+
<td class="memname">virtual void Passenger::StandardSession::discardStream </td>
|
128
|
+
<td>(</td>
|
129
|
+
<td class="paramname"> </td>
|
130
|
+
<td> ) </td>
|
131
|
+
<td><code> [inline, virtual]</code></td>
|
132
|
+
</tr>
|
133
|
+
</table>
|
134
|
+
</div>
|
135
|
+
<div class="memdoc">
|
136
|
+
|
137
|
+
<p>
|
138
|
+
Discard the I/O channel's file descriptor, so that the destructor won't automatically close it.
|
139
|
+
<p>
|
140
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd><a class="el" href="classPassenger_1_1StandardSession.html#40cdaad38dfbb7995955f11bb27bba61" title="Returns whether this session has been initiated (that is, whether initiate() had...">initiated()</a> </dd></dl>
|
141
|
+
<dl class="post" compact><dt><b>Postcondition:</b></dt><dd><a class="el" href="classPassenger_1_1StandardSession.html#a3491d2151ba3b94c1b19a4f18bade6a" title="Returns this session's channel's file descriptor.">getStream()</a> == -1 </dd></dl>
|
142
|
+
|
143
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#75344fdfb3c693323877e32884efaa31">Passenger::Session</a>.</p>
|
144
|
+
|
145
|
+
</div>
|
146
|
+
</div><p>
|
147
|
+
<a class="anchor" name="720e98b8dd246eeca004c8e625c0d4d3"></a><!-- doxytag: member="Passenger::StandardSession::getSocketName" ref="720e98b8dd246eeca004c8e625c0d4d3" args="() const " -->
|
148
|
+
<div class="memitem">
|
149
|
+
<div class="memproto">
|
150
|
+
<table class="memname">
|
151
|
+
<tr>
|
152
|
+
<td class="memname">virtual string Passenger::StandardSession::getSocketName </td>
|
153
|
+
<td>(</td>
|
154
|
+
<td class="paramname"> </td>
|
155
|
+
<td> ) </td>
|
156
|
+
<td> const<code> [inline, virtual]</code></td>
|
157
|
+
</tr>
|
158
|
+
</table>
|
159
|
+
</div>
|
160
|
+
<div class="memdoc">
|
161
|
+
|
162
|
+
<p>
|
163
|
+
Returns the address of the socket that this session is served from.
|
164
|
+
<p>
|
165
|
+
This can be a Unix socket filename or a TCP host:port string like "127.0.0.1:1234".<p>
|
166
|
+
<dl class="post" compact><dt><b>Postcondition:</b></dt><dd>!result.empty() </dd></dl>
|
167
|
+
|
168
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#7b8a632ebde11544a8ab98fde89954bb">Passenger::Session</a>.</p>
|
169
|
+
|
170
|
+
</div>
|
171
|
+
</div><p>
|
172
|
+
<a class="anchor" name="3a59997280d5f7fcaa901716cd8451a2"></a><!-- doxytag: member="Passenger::StandardSession::getSocketType" ref="3a59997280d5f7fcaa901716cd8451a2" args="() const " -->
|
173
|
+
<div class="memitem">
|
174
|
+
<div class="memproto">
|
175
|
+
<table class="memname">
|
176
|
+
<tr>
|
177
|
+
<td class="memname">virtual string Passenger::StandardSession::getSocketType </td>
|
178
|
+
<td>(</td>
|
179
|
+
<td class="paramname"> </td>
|
180
|
+
<td> ) </td>
|
181
|
+
<td> const<code> [inline, virtual]</code></td>
|
182
|
+
</tr>
|
183
|
+
</table>
|
184
|
+
</div>
|
185
|
+
<div class="memdoc">
|
186
|
+
|
187
|
+
<p>
|
188
|
+
Returns the type of the socket that this session is served from, e.g.
|
189
|
+
<p>
|
190
|
+
"unix" indicating a Unix socket.<p>
|
191
|
+
<dl class="post" compact><dt><b>Postcondition:</b></dt><dd>!result.empty() </dd></dl>
|
192
|
+
|
193
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#b8f084ab143d44f1a9ef8e8ccc841485">Passenger::Session</a>.</p>
|
194
|
+
|
195
|
+
</div>
|
196
|
+
</div><p>
|
197
|
+
<a class="anchor" name="a3491d2151ba3b94c1b19a4f18bade6a"></a><!-- doxytag: member="Passenger::StandardSession::getStream" ref="a3491d2151ba3b94c1b19a4f18bade6a" args="() const " -->
|
198
|
+
<div class="memitem">
|
199
|
+
<div class="memproto">
|
200
|
+
<table class="memname">
|
201
|
+
<tr>
|
202
|
+
<td class="memname">virtual int Passenger::StandardSession::getStream </td>
|
203
|
+
<td>(</td>
|
204
|
+
<td class="paramname"> </td>
|
205
|
+
<td> ) </td>
|
206
|
+
<td> const<code> [inline, virtual]</code></td>
|
207
|
+
</tr>
|
208
|
+
</table>
|
209
|
+
</div>
|
210
|
+
<div class="memdoc">
|
211
|
+
|
212
|
+
<p>
|
213
|
+
Returns this session's channel's file descriptor.
|
214
|
+
<p>
|
215
|
+
This stream is full-duplex, and will be automatically closed upon Session's destruction, unless <a class="el" href="classPassenger_1_1StandardSession.html#3666d401df82696fe945fcbb66804785" title="Discard the I/O channel's file descriptor, so that the destructor won't automatically...">discardStream()</a> is called.<p>
|
216
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd><a class="el" href="classPassenger_1_1StandardSession.html#40cdaad38dfbb7995955f11bb27bba61" title="Returns whether this session has been initiated (that is, whether initiate() had...">initiated()</a> </dd></dl>
|
217
|
+
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The file descriptor, or -1 if the I/O channel has already been closed or discarded. </dd></dl>
|
218
|
+
|
219
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#949c7a46f4bb0c628730ded2041d2489">Passenger::Session</a>.</p>
|
220
|
+
|
221
|
+
</div>
|
222
|
+
</div><p>
|
223
|
+
<a class="anchor" name="c283db6faf2fcd1827baf3ebac276677"></a><!-- doxytag: member="Passenger::StandardSession::initiate" ref="c283db6faf2fcd1827baf3ebac276677" args="()" -->
|
224
|
+
<div class="memitem">
|
225
|
+
<div class="memproto">
|
226
|
+
<table class="memname">
|
227
|
+
<tr>
|
228
|
+
<td class="memname">virtual void Passenger::StandardSession::initiate </td>
|
229
|
+
<td>(</td>
|
230
|
+
<td class="paramname"> </td>
|
231
|
+
<td> ) </td>
|
232
|
+
<td><code> [inline, virtual]</code></td>
|
233
|
+
</tr>
|
234
|
+
</table>
|
235
|
+
</div>
|
236
|
+
<div class="memdoc">
|
237
|
+
|
238
|
+
<p>
|
239
|
+
Initiate the session by connecting to the associated process.
|
240
|
+
<p>
|
241
|
+
A <a class="el" href="classPassenger_1_1Session.html" title="Represents a single request/response pair of an application process.">Session</a> is not usable until it's initiated.<p>
|
242
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
243
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
244
|
+
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1SystemException.html" title="Represents an error returned by a system call or a standard library call.">SystemException</a></em> </td><td>Something went wrong. </td></tr>
|
245
|
+
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1IOException.html" title="Represents an error that occured during an I/O operation.">IOException</a></em> </td><td>Something went wrong. </td></tr>
|
246
|
+
<tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em> </td><td></td></tr>
|
247
|
+
</table>
|
248
|
+
</dl>
|
249
|
+
|
250
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#bbcfa3eb48d38dead20c0d32cab4850b">Passenger::Session</a>.</p>
|
251
|
+
|
252
|
+
</div>
|
253
|
+
</div><p>
|
254
|
+
<a class="anchor" name="960346d8c27ff1ae9017d753e41a159a"></a><!-- doxytag: member="Passenger::StandardSession::setReaderTimeout" ref="960346d8c27ff1ae9017d753e41a159a" args="(unsigned int msec)" -->
|
255
|
+
<div class="memitem">
|
256
|
+
<div class="memproto">
|
257
|
+
<table class="memname">
|
258
|
+
<tr>
|
259
|
+
<td class="memname">virtual void Passenger::StandardSession::setReaderTimeout </td>
|
260
|
+
<td>(</td>
|
261
|
+
<td class="paramtype">unsigned int </td>
|
262
|
+
<td class="paramname"> <em>msec</em> </td>
|
263
|
+
<td> ) </td>
|
264
|
+
<td><code> [inline, virtual]</code></td>
|
265
|
+
</tr>
|
266
|
+
</table>
|
267
|
+
</div>
|
268
|
+
<div class="memdoc">
|
269
|
+
|
270
|
+
<p>
|
271
|
+
Set the timeout value for reading data from the I/O channel.
|
272
|
+
<p>
|
273
|
+
If no data can be read within the timeout period, then the read call will fail with error EAGAIN or EWOULDBLOCK.<p>
|
274
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd>The I/O channel hasn't been closed or discarded. <p>
|
275
|
+
<a class="el" href="classPassenger_1_1StandardSession.html#40cdaad38dfbb7995955f11bb27bba61" title="Returns whether this session has been initiated (that is, whether initiate() had...">initiated()</a> </dd></dl>
|
276
|
+
<dl compact><dt><b>Parameters:</b></dt><dd>
|
277
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
278
|
+
<tr><td valign="top"></td><td valign="top"><em>msec</em> </td><td>The timeout, in milliseconds. If 0 is given, there will be no timeout. </td></tr>
|
279
|
+
</table>
|
280
|
+
</dl>
|
281
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
282
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
283
|
+
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1SystemException.html" title="Represents an error returned by a system call or a standard library call.">SystemException</a></em> </td><td>Cannot set the timeout. </td></tr>
|
284
|
+
</table>
|
285
|
+
</dl>
|
286
|
+
|
287
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#5accbd8f7cce66d0ef6695481fdaa39c">Passenger::Session</a>.</p>
|
288
|
+
|
289
|
+
</div>
|
290
|
+
</div><p>
|
291
|
+
<a class="anchor" name="bb51c323ac0e24011191862f6dec7a75"></a><!-- doxytag: member="Passenger::StandardSession::setWriterTimeout" ref="bb51c323ac0e24011191862f6dec7a75" args="(unsigned int msec)" -->
|
292
|
+
<div class="memitem">
|
293
|
+
<div class="memproto">
|
294
|
+
<table class="memname">
|
295
|
+
<tr>
|
296
|
+
<td class="memname">virtual void Passenger::StandardSession::setWriterTimeout </td>
|
297
|
+
<td>(</td>
|
298
|
+
<td class="paramtype">unsigned int </td>
|
299
|
+
<td class="paramname"> <em>msec</em> </td>
|
300
|
+
<td> ) </td>
|
301
|
+
<td><code> [inline, virtual]</code></td>
|
302
|
+
</tr>
|
303
|
+
</table>
|
304
|
+
</div>
|
305
|
+
<div class="memdoc">
|
306
|
+
|
307
|
+
<p>
|
308
|
+
Set the timeout value for writing data from the I/O channel.
|
309
|
+
<p>
|
310
|
+
If no data can be written within the timeout period, then the write call will fail with error EAGAIN or EWOULDBLOCK.<p>
|
311
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd>The I/O channel hasn't been closed or discarded. <p>
|
312
|
+
<a class="el" href="classPassenger_1_1StandardSession.html#40cdaad38dfbb7995955f11bb27bba61" title="Returns whether this session has been initiated (that is, whether initiate() had...">initiated()</a> </dd></dl>
|
313
|
+
<dl compact><dt><b>Parameters:</b></dt><dd>
|
314
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
315
|
+
<tr><td valign="top"></td><td valign="top"><em>msec</em> </td><td>The timeout, in milliseconds. If 0 is given, there will be no timeout. </td></tr>
|
316
|
+
</table>
|
317
|
+
</dl>
|
318
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
319
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
320
|
+
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1SystemException.html" title="Represents an error returned by a system call or a standard library call.">SystemException</a></em> </td><td>Cannot set the timeout. </td></tr>
|
321
|
+
</table>
|
322
|
+
</dl>
|
323
|
+
|
324
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#21dd749c0c8d22f65c6a914ec2f97c94">Passenger::Session</a>.</p>
|
325
|
+
|
326
|
+
</div>
|
327
|
+
</div><p>
|
328
|
+
<a class="anchor" name="c92d4d081d6145ba8d441c8cf88fae74"></a><!-- doxytag: member="Passenger::StandardSession::shutdownReader" ref="c92d4d081d6145ba8d441c8cf88fae74" args="()" -->
|
329
|
+
<div class="memitem">
|
330
|
+
<div class="memproto">
|
331
|
+
<table class="memname">
|
332
|
+
<tr>
|
333
|
+
<td class="memname">virtual void Passenger::StandardSession::shutdownReader </td>
|
334
|
+
<td>(</td>
|
335
|
+
<td class="paramname"> </td>
|
336
|
+
<td> ) </td>
|
337
|
+
<td><code> [inline, virtual]</code></td>
|
338
|
+
</tr>
|
339
|
+
</table>
|
340
|
+
</div>
|
341
|
+
<div class="memdoc">
|
342
|
+
|
343
|
+
<p>
|
344
|
+
Indicate that we don't want to read data anymore from the I/O channel.
|
345
|
+
<p>
|
346
|
+
Calling this method after <a class="el" href="classPassenger_1_1StandardSession.html#f5cdfa78db1fca6303ccd43ac5126b6b" title="Close the I/O stream.">closeStream()</a>/discardStream() is called will have no effect.<p>
|
347
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd><a class="el" href="classPassenger_1_1StandardSession.html#40cdaad38dfbb7995955f11bb27bba61" title="Returns whether this session has been initiated (that is, whether initiate() had...">initiated()</a> </dd></dl>
|
348
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
349
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
350
|
+
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1SystemException.html" title="Represents an error returned by a system call or a standard library call.">SystemException</a></em> </td><td>Something went wrong. </td></tr>
|
351
|
+
<tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em> </td><td></td></tr>
|
352
|
+
</table>
|
353
|
+
</dl>
|
354
|
+
|
355
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#c579d233ddc82542c336b2af1f40c4dd">Passenger::Session</a>.</p>
|
356
|
+
|
357
|
+
</div>
|
358
|
+
</div><p>
|
359
|
+
<a class="anchor" name="045a8f7f849c34086b0832fdba7a2915"></a><!-- doxytag: member="Passenger::StandardSession::shutdownWriter" ref="045a8f7f849c34086b0832fdba7a2915" args="()" -->
|
360
|
+
<div class="memitem">
|
361
|
+
<div class="memproto">
|
362
|
+
<table class="memname">
|
363
|
+
<tr>
|
364
|
+
<td class="memname">virtual void Passenger::StandardSession::shutdownWriter </td>
|
365
|
+
<td>(</td>
|
366
|
+
<td class="paramname"> </td>
|
367
|
+
<td> ) </td>
|
368
|
+
<td><code> [inline, virtual]</code></td>
|
369
|
+
</tr>
|
370
|
+
</table>
|
371
|
+
</div>
|
372
|
+
<div class="memdoc">
|
373
|
+
|
374
|
+
<p>
|
375
|
+
Indicate that we don't want to write data anymore to the I/O channel.
|
376
|
+
<p>
|
377
|
+
Calling this method after <a class="el" href="classPassenger_1_1StandardSession.html#f5cdfa78db1fca6303ccd43ac5126b6b" title="Close the I/O stream.">closeStream()</a>/discardStream() is called will have no effect.<p>
|
378
|
+
<dl class="pre" compact><dt><b>Precondition:</b></dt><dd><a class="el" href="classPassenger_1_1StandardSession.html#40cdaad38dfbb7995955f11bb27bba61" title="Returns whether this session has been initiated (that is, whether initiate() had...">initiated()</a> </dd></dl>
|
379
|
+
<dl compact><dt><b>Exceptions:</b></dt><dd>
|
380
|
+
<table border="0" cellspacing="2" cellpadding="0">
|
381
|
+
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1SystemException.html" title="Represents an error returned by a system call or a standard library call.">SystemException</a></em> </td><td>Something went wrong. </td></tr>
|
382
|
+
<tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em> </td><td></td></tr>
|
383
|
+
</table>
|
384
|
+
</dl>
|
385
|
+
|
386
|
+
<p>Implements <a class="el" href="classPassenger_1_1Session.html#8263c568a8ac4567b33728d820cbd920">Passenger::Session</a>.</p>
|
387
|
+
|
388
|
+
</div>
|
389
|
+
</div><p>
|
390
|
+
<hr><h2>Member Data Documentation</h2>
|
391
|
+
<a class="anchor" name="51d4e04acc68526a450b1fce2142dea9"></a><!-- doxytag: member="Passenger::StandardSession::fd" ref="51d4e04acc68526a450b1fce2142dea9" args="" -->
|
392
|
+
<div class="memitem">
|
393
|
+
<div class="memproto">
|
394
|
+
<table class="memname">
|
395
|
+
<tr>
|
396
|
+
<td class="memname">int <a class="el" href="classPassenger_1_1StandardSession.html#51d4e04acc68526a450b1fce2142dea9">Passenger::StandardSession::fd</a><code> [protected]</code> </td>
|
397
|
+
</tr>
|
398
|
+
</table>
|
399
|
+
</div>
|
400
|
+
<div class="memdoc">
|
401
|
+
|
402
|
+
<p>
|
403
|
+
The session connection file descriptor.
|
404
|
+
<p>
|
405
|
+
|
406
|
+
</div>
|
407
|
+
</div><p>
|
408
|
+
<hr>The documentation for this class was generated from the following file:<ul>
|
409
|
+
<li><a class="el" href="Session_8h-source.html">Session.h</a></ul>
|
410
|
+
</div>
|
411
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 21 12:22:48 2010 for Passenger by
|
412
|
+
<a href="http://www.doxygen.org/index.html">
|
413
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
414
|
+
</body>
|
415
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
<area shape="rect" href="$classPassenger_1_1Session.html" title="Represents a single request/response pair of an application process." alt="" coords="33,5,175,32">
|
@@ -0,0 +1 @@
|
|
1
|
+
cb1355c7a1f245285b972cb0d1fabb01
|
Binary file
|
@@ -0,0 +1,33 @@
|
|
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>Passenger::StaticString Member List</h1>This is the complete list of members for <a class="el" href="classPassenger_1_1StaticString.html">Passenger::StaticString</a>, including all inherited members.<p><table>
|
28
|
+
</table></div>
|
29
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Feb 21 12:22:48 2010 for Passenger by
|
30
|
+
<a href="http://www.doxygen.org/index.html">
|
31
|
+
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address>
|
32
|
+
</body>
|
33
|
+
</html>
|