passenger 3.0.7 → 3.0.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- data/NEWS +27 -0
- data/README +1 -1
- data/bin/passenger-install-nginx-module +3 -1
- data/build/config.rb +2 -1
- data/build/cxx_tests.rb +7 -3
- data/build/documentation.rb +5 -40
- data/build/nginx.rb +0 -1
- data/build/packaging.rb +0 -6
- data/build/rake_extensions.rb +5 -0
- data/doc/Architectural overview.html +344 -77
- data/doc/Security of user switching support.html +338 -71
- data/doc/Users guide Apache with comments.html +4830 -0
- data/doc/Users guide Apache.html +695 -428
- data/doc/Users guide Apache.idmap.txt +80 -0
- data/doc/Users guide Apache.txt +5 -5
- data/doc/Users guide Nginx.html +591 -313
- data/doc/Users guide Nginx.txt +9 -3
- data/doc/Users guide Standalone.html +344 -77
- data/ext/boost/src/pthread/thread.cpp +1 -1
- data/ext/common/AccountsDatabase.h +1 -1
- data/ext/common/Constants.h +2 -2
- data/ext/common/Logging.h +2 -1
- data/ext/common/LoggingAgent/FilterSupport.h +107 -3
- data/ext/common/Session.h +1 -1
- data/ext/common/Utils.cpp +2 -0
- data/ext/common/Utils/Dechunker.h +232 -0
- data/ext/common/Utils/HttpHeaderBufferer.h +165 -0
- data/ext/common/Utils/StrIntUtils.cpp +51 -15
- data/ext/common/Utils/StrIntUtils.h +3 -0
- data/ext/common/Utils/StreamBoyerMooreHorspool.h +506 -0
- data/ext/nginx/Configuration.c +36 -282
- data/ext/nginx/ContentHandler.c +17 -0
- data/ext/nginx/HelperAgent.cpp +397 -39
- data/ext/oxt/tracable_exception.cpp +3 -1
- data/ext/ruby/extconf.rb +1 -0
- data/ext/ruby/passenger_native_support.c +3 -0
- data/helper-scripts/prespawn +113 -31
- data/lib/phusion_passenger.rb +2 -2
- data/lib/phusion_passenger/standalone/runtime_installer.rb +3 -2
- data/lib/phusion_passenger/standalone/start_command.rb +12 -12
- data/test/cxx/DechunkerTest.cpp +216 -0
- data/test/cxx/FilterSupportTest.cpp +31 -4
- data/test/cxx/HttpHeaderBuffererTest.cpp +203 -0
- data/test/cxx/UtilsTest.cpp +46 -3
- data/test/integration_tests/hello_world_rack_spec.rb +7 -0
- data/test/stub/rack/config.ru +6 -1
- data/test/stub/rails_apps/1.2/empty/public/dispatch.cgi +1 -1
- data/test/stub/rails_apps/1.2/empty/public/dispatch.fcgi +1 -1
- data/test/stub/rails_apps/1.2/empty/public/dispatch.rb +1 -1
- data/test/stub/rails_apps/2.0/empty/public/dispatch.cgi +1 -1
- data/test/stub/rails_apps/2.0/empty/public/dispatch.fcgi +1 -1
- data/test/stub/rails_apps/2.0/empty/public/dispatch.rb +1 -1
- data/test/stub/rails_apps/2.2/empty/public/dispatch.cgi +1 -1
- data/test/stub/rails_apps/2.2/empty/public/dispatch.fcgi +1 -1
- data/test/stub/rails_apps/2.2/empty/public/dispatch.rb +1 -1
- metadata +20 -403
- data/doc/Doxyfile +0 -241
- data/doc/cxxapi/AbstractSpawnManager_8h_source.html +0 -141
- data/doc/cxxapi/Account_8h_source.html +0 -206
- data/doc/cxxapi/AccountsDatabase_8h_source.html +0 -161
- data/doc/cxxapi/AgentBase_8h_source.html +0 -70
- data/doc/cxxapi/AgentsStarter_8h_source.html +0 -112
- data/doc/cxxapi/BCrypt_8h_source.html +0 -104
- data/doc/cxxapi/Blowfish_8h_source.html +0 -134
- data/doc/cxxapi/Bucket_8h_source.html +0 -118
- data/doc/cxxapi/Constants_8h_source.html +0 -79
- data/doc/cxxapi/ContentHandler_8h_source.html +0 -95
- data/doc/cxxapi/DirectoryMapper_8h_source.html +0 -311
- data/doc/cxxapi/EventedClient_8h_source.html +0 -733
- data/doc/cxxapi/EventedMessageServer_8h_source.html +0 -358
- data/doc/cxxapi/EventedServer_8h_source.html +0 -326
- data/doc/cxxapi/Exceptions_8h_source.html +0 -393
- data/doc/cxxapi/FileDescriptor_8h_source.html +0 -324
- data/doc/cxxapi/Hooks_8h_source.html +0 -76
- data/doc/cxxapi/HttpStatusExtractor_8h_source.html +0 -382
- data/doc/cxxapi/IniFile_8h_source.html +0 -527
- data/doc/cxxapi/Logging_8h_source.html +0 -796
- data/doc/cxxapi/MessageChannel_8h_source.html +0 -776
- data/doc/cxxapi/MessageClient_8h_source.html +0 -328
- data/doc/cxxapi/MessageReadersWriters_8h_source.html +0 -539
- data/doc/cxxapi/MessageServer_8h_source.html +0 -612
- data/doc/cxxapi/PoolOptions_8h_source.html +0 -549
- data/doc/cxxapi/Process_8h_source.html +0 -286
- data/doc/cxxapi/RandomGenerator_8h_source.html +0 -191
- data/doc/cxxapi/ResourceLocator_8h_source.html +0 -166
- data/doc/cxxapi/SafeLibev_8h_source.html +0 -180
- data/doc/cxxapi/ScgiRequestParser_8h_source.html +0 -406
- data/doc/cxxapi/ServerInstanceDir_8h_source.html +0 -378
- data/doc/cxxapi/Session_8h_source.html +0 -501
- data/doc/cxxapi/SpawnManager_8h_source.html +0 -647
- data/doc/cxxapi/StaticContentHandler_8h_source.html +0 -69
- data/doc/cxxapi/StaticString_8h_source.html +0 -329
- data/doc/cxxapi/StringListCreator_8h_source.html +0 -114
- data/doc/cxxapi/Utils_8h_source.html +0 -469
- data/doc/cxxapi/annotated.html +0 -87
- data/doc/cxxapi/apache2_2Configuration_8h_source.html +0 -82
- data/doc/cxxapi/classAgentWatcher-members.html +0 -54
- data/doc/cxxapi/classAgentWatcher.html +0 -419
- data/doc/cxxapi/classClient-members.html +0 -38
- data/doc/cxxapi/classClient.html +0 -123
- data/doc/cxxapi/classHooks-members.html +0 -40
- data/doc/cxxapi/classHooks.html +0 -153
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager-members.html +0 -40
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager.html +0 -187
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1AbstractSpawnManager__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1ArgumentException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1ArgumentException.html +0 -56
- data/doc/cxxapi/classPassenger_1_1ArrayMessage-members.html +0 -37
- data/doc/cxxapi/classPassenger_1_1ArrayMessage.html +0 -113
- data/doc/cxxapi/classPassenger_1_1BufferedUpload-members.html +0 -38
- data/doc/cxxapi/classPassenger_1_1BufferedUpload.html +0 -112
- data/doc/cxxapi/classPassenger_1_1BusyException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1BusyException.html +0 -54
- data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +0 -51
- data/doc/cxxapi/classPassenger_1_1DirectoryMapper-members.html +0 -41
- data/doc/cxxapi/classPassenger_1_1DirectoryMapper.html +0 -223
- data/doc/cxxapi/classPassenger_1_1EOFException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1EOFException.html +0 -61
- data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1EOFException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1EventFd-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1EventFd.html +0 -52
- data/doc/cxxapi/classPassenger_1_1EventedClient-members.html +0 -59
- data/doc/cxxapi/classPassenger_1_1EventedClient.html +0 -531
- data/doc/cxxapi/classPassenger_1_1EventedMessageServer-members.html +0 -37
- data/doc/cxxapi/classPassenger_1_1EventedMessageServer.html +0 -59
- data/doc/cxxapi/classPassenger_1_1EventedMessageServer__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1EventedMessageServer__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1EventedMessageServer__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1EventedServer-members.html +0 -37
- data/doc/cxxapi/classPassenger_1_1EventedServer.html +0 -93
- data/doc/cxxapi/classPassenger_1_1EventedServer__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1EventedServer__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1EventedServer__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1FileDescriptor-members.html +0 -41
- data/doc/cxxapi/classPassenger_1_1FileDescriptor.html +0 -178
- data/doc/cxxapi/classPassenger_1_1FileDescriptorPair-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1FileDescriptorPair.html +0 -52
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +0 -58
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException-members.html +0 -41
- data/doc/cxxapi/classPassenger_1_1FileSystemException.html +0 -66
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1HttpStatusExtractor-members.html +0 -39
- data/doc/cxxapi/classPassenger_1_1HttpStatusExtractor.html +0 -128
- data/doc/cxxapi/classPassenger_1_1IOException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1IOException.html +0 -61
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.map +0 -4
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +0 -57
- data/doc/cxxapi/classPassenger_1_1MessageChannel.html +0 -839
- data/doc/cxxapi/classPassenger_1_1MessageServer-members.html +0 -49
- data/doc/cxxapi/classPassenger_1_1MessageServer.html +0 -407
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext.html +0 -58
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1ClientContext__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext-members.html +0 -41
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext.html +0 -165
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1CommonClientContext__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler-members.html +0 -39
- data/doc/cxxapi/classPassenger_1_1MessageServer_1_1Handler.html +0 -173
- data/doc/cxxapi/classPassenger_1_1Process-members.html +0 -44
- data/doc/cxxapi/classPassenger_1_1Process.html +0 -290
- data/doc/cxxapi/classPassenger_1_1RandomGenerator-members.html +0 -37
- data/doc/cxxapi/classPassenger_1_1RandomGenerator.html +0 -79
- data/doc/cxxapi/classPassenger_1_1ResourceLocator-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1ResourceLocator.html +0 -51
- data/doc/cxxapi/classPassenger_1_1RuntimeException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1RuntimeException.html +0 -54
- data/doc/cxxapi/classPassenger_1_1SafeLibev-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1SafeLibev.html +0 -51
- data/doc/cxxapi/classPassenger_1_1ScalarMessage-members.html +0 -37
- data/doc/cxxapi/classPassenger_1_1ScalarMessage.html +0 -76
- data/doc/cxxapi/classPassenger_1_1ScgiRequestParser-members.html +0 -50
- data/doc/cxxapi/classPassenger_1_1ScgiRequestParser.html +0 -285
- data/doc/cxxapi/classPassenger_1_1SecurityException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1SecurityException.html +0 -56
- data/doc/cxxapi/classPassenger_1_1Session-members.html +0 -53
- data/doc/cxxapi/classPassenger_1_1Session.html +0 -556
- data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1Session__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +0 -39
- data/doc/cxxapi/classPassenger_1_1SpawnException.html +0 -101
- data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +0 -42
- data/doc/cxxapi/classPassenger_1_1SpawnManager.html +0 -292
- data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1SpawnManager__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1StandardSession-members.html +0 -54
- data/doc/cxxapi/classPassenger_1_1StandardSession.html +0 -394
- data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1StandardSession__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1StaticString-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1StaticString.html +0 -56
- data/doc/cxxapi/classPassenger_1_1SyntaxError-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1SyntaxError.html +0 -54
- data/doc/cxxapi/classPassenger_1_1SystemException-members.html +0 -40
- data/doc/cxxapi/classPassenger_1_1SystemException.html +0 -155
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.map +0 -4
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException-members.html +0 -40
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException.html +0 -61
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.map +0 -3
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.md5 +0 -1
- data/doc/cxxapi/classPassenger_1_1TimeRetrievalException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1TimeoutException-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1TimeoutException.html +0 -54
- data/doc/cxxapi/classPassenger_1_1Uint16Message-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1Uint16Message.html +0 -51
- data/doc/cxxapi/classPassenger_1_1Uint32Message-members.html +0 -36
- data/doc/cxxapi/classPassenger_1_1Uint32Message.html +0 -51
- data/doc/cxxapi/classServer-members.html +0 -36
- data/doc/cxxapi/classServer.html +0 -49
- data/doc/cxxapi/classServerInstanceDirToucher-members.html +0 -36
- data/doc/cxxapi/classServerInstanceDirToucher.html +0 -47
- data/doc/cxxapi/classes.html +0 -52
- data/doc/cxxapi/definitions_8h_source.html +0 -36
- data/doc/cxxapi/doxygen.css +0 -532
- data/doc/cxxapi/doxygen.png +0 -0
- data/doc/cxxapi/files.html +0 -76
- data/doc/cxxapi/ftv2blank.png +0 -0
- data/doc/cxxapi/ftv2doc.png +0 -0
- data/doc/cxxapi/ftv2folderclosed.png +0 -0
- data/doc/cxxapi/ftv2folderopen.png +0 -0
- data/doc/cxxapi/ftv2lastnode.png +0 -0
- data/doc/cxxapi/ftv2link.png +0 -0
- data/doc/cxxapi/ftv2mlastnode.png +0 -0
- data/doc/cxxapi/ftv2mnode.png +0 -0
- data/doc/cxxapi/ftv2node.png +0 -0
- data/doc/cxxapi/ftv2plastnode.png +0 -0
- data/doc/cxxapi/ftv2pnode.png +0 -0
- data/doc/cxxapi/ftv2vertline.png +0 -0
- data/doc/cxxapi/functions.html +0 -103
- data/doc/cxxapi/functions_0x62.html +0 -82
- data/doc/cxxapi/functions_0x63.html +0 -102
- data/doc/cxxapi/functions_0x64.html +0 -102
- data/doc/cxxapi/functions_0x65.html +0 -88
- data/doc/cxxapi/functions_0x66.html +0 -100
- data/doc/cxxapi/functions_0x67.html +0 -167
- data/doc/cxxapi/functions_0x68.html +0 -88
- data/doc/cxxapi/functions_0x69.html +0 -96
- data/doc/cxxapi/functions_0x6b.html +0 -80
- data/doc/cxxapi/functions_0x6c.html +0 -88
- data/doc/cxxapi/functions_0x6d.html +0 -88
- data/doc/cxxapi/functions_0x6e.html +0 -86
- data/doc/cxxapi/functions_0x6f.html +0 -94
- data/doc/cxxapi/functions_0x70.html +0 -94
- data/doc/cxxapi/functions_0x72.html +0 -110
- data/doc/cxxapi/functions_0x73.html +0 -171
- data/doc/cxxapi/functions_0x74.html +0 -85
- data/doc/cxxapi/functions_0x75.html +0 -85
- data/doc/cxxapi/functions_0x77.html +0 -92
- data/doc/cxxapi/functions_0x7e.html +0 -79
- data/doc/cxxapi/functions_enum.html +0 -49
- data/doc/cxxapi/functions_eval.html +0 -67
- data/doc/cxxapi/functions_func.html +0 -531
- data/doc/cxxapi/functions_vars.html +0 -278
- data/doc/cxxapi/graph_legend.dot +0 -22
- data/doc/cxxapi/graph_legend.html +0 -92
- data/doc/cxxapi/graph_legend.png +0 -0
- data/doc/cxxapi/group__Core.html +0 -46
- data/doc/cxxapi/group__Core.map +0 -3
- data/doc/cxxapi/group__Core.png +0 -0
- data/doc/cxxapi/group__Exceptions.html +0 -53
- data/doc/cxxapi/group__Hooks.html +0 -42
- data/doc/cxxapi/group__Hooks.map +0 -3
- data/doc/cxxapi/group__Hooks.png +0 -0
- data/doc/cxxapi/group__Support.html +0 -538
- data/doc/cxxapi/hierarchy.html +0 -101
- data/doc/cxxapi/index.html +0 -16
- data/doc/cxxapi/inherit__graph__0.map +0 -3
- data/doc/cxxapi/inherit__graph__0.md5 +0 -1
- data/doc/cxxapi/inherit__graph__0.png +0 -0
- data/doc/cxxapi/inherit__graph__1.map +0 -3
- data/doc/cxxapi/inherit__graph__1.md5 +0 -1
- data/doc/cxxapi/inherit__graph__1.png +0 -0
- data/doc/cxxapi/inherit__graph__10.map +0 -3
- data/doc/cxxapi/inherit__graph__10.md5 +0 -1
- data/doc/cxxapi/inherit__graph__10.png +0 -0
- data/doc/cxxapi/inherit__graph__11.map +0 -4
- data/doc/cxxapi/inherit__graph__11.md5 +0 -1
- data/doc/cxxapi/inherit__graph__11.png +0 -0
- data/doc/cxxapi/inherit__graph__12.map +0 -3
- data/doc/cxxapi/inherit__graph__12.md5 +0 -1
- data/doc/cxxapi/inherit__graph__12.png +0 -0
- data/doc/cxxapi/inherit__graph__13.map +0 -3
- data/doc/cxxapi/inherit__graph__13.md5 +0 -1
- data/doc/cxxapi/inherit__graph__13.png +0 -0
- data/doc/cxxapi/inherit__graph__14.map +0 -3
- data/doc/cxxapi/inherit__graph__14.md5 +0 -1
- data/doc/cxxapi/inherit__graph__14.png +0 -0
- data/doc/cxxapi/inherit__graph__15.map +0 -3
- data/doc/cxxapi/inherit__graph__15.md5 +0 -1
- data/doc/cxxapi/inherit__graph__15.png +0 -0
- data/doc/cxxapi/inherit__graph__16.map +0 -5
- data/doc/cxxapi/inherit__graph__16.md5 +0 -1
- data/doc/cxxapi/inherit__graph__16.png +0 -0
- data/doc/cxxapi/inherit__graph__17.map +0 -3
- data/doc/cxxapi/inherit__graph__17.md5 +0 -1
- data/doc/cxxapi/inherit__graph__17.png +0 -0
- data/doc/cxxapi/inherit__graph__18.map +0 -3
- data/doc/cxxapi/inherit__graph__18.md5 +0 -1
- data/doc/cxxapi/inherit__graph__18.png +0 -0
- data/doc/cxxapi/inherit__graph__19.map +0 -4
- data/doc/cxxapi/inherit__graph__19.md5 +0 -1
- data/doc/cxxapi/inherit__graph__19.png +0 -0
- data/doc/cxxapi/inherit__graph__2.map +0 -3
- data/doc/cxxapi/inherit__graph__2.md5 +0 -1
- data/doc/cxxapi/inherit__graph__2.png +0 -0
- data/doc/cxxapi/inherit__graph__20.map +0 -3
- data/doc/cxxapi/inherit__graph__20.md5 +0 -1
- data/doc/cxxapi/inherit__graph__20.png +0 -0
- data/doc/cxxapi/inherit__graph__21.map +0 -3
- data/doc/cxxapi/inherit__graph__21.md5 +0 -1
- data/doc/cxxapi/inherit__graph__21.png +0 -0
- data/doc/cxxapi/inherit__graph__22.map +0 -3
- data/doc/cxxapi/inherit__graph__22.md5 +0 -1
- data/doc/cxxapi/inherit__graph__22.png +0 -0
- data/doc/cxxapi/inherit__graph__23.map +0 -3
- data/doc/cxxapi/inherit__graph__23.md5 +0 -1
- data/doc/cxxapi/inherit__graph__23.png +0 -0
- data/doc/cxxapi/inherit__graph__24.map +0 -3
- data/doc/cxxapi/inherit__graph__24.md5 +0 -1
- data/doc/cxxapi/inherit__graph__24.png +0 -0
- data/doc/cxxapi/inherit__graph__25.map +0 -3
- data/doc/cxxapi/inherit__graph__25.md5 +0 -1
- data/doc/cxxapi/inherit__graph__25.png +0 -0
- data/doc/cxxapi/inherit__graph__26.map +0 -3
- data/doc/cxxapi/inherit__graph__26.md5 +0 -1
- data/doc/cxxapi/inherit__graph__26.png +0 -0
- data/doc/cxxapi/inherit__graph__27.map +0 -3
- data/doc/cxxapi/inherit__graph__27.md5 +0 -1
- data/doc/cxxapi/inherit__graph__27.png +0 -0
- data/doc/cxxapi/inherit__graph__28.map +0 -3
- data/doc/cxxapi/inherit__graph__28.md5 +0 -1
- data/doc/cxxapi/inherit__graph__28.png +0 -0
- data/doc/cxxapi/inherit__graph__29.map +0 -3
- data/doc/cxxapi/inherit__graph__29.md5 +0 -1
- data/doc/cxxapi/inherit__graph__29.png +0 -0
- data/doc/cxxapi/inherit__graph__3.map +0 -4
- data/doc/cxxapi/inherit__graph__3.md5 +0 -1
- data/doc/cxxapi/inherit__graph__3.png +0 -0
- data/doc/cxxapi/inherit__graph__30.map +0 -3
- data/doc/cxxapi/inherit__graph__30.md5 +0 -1
- data/doc/cxxapi/inherit__graph__30.png +0 -0
- data/doc/cxxapi/inherit__graph__31.map +0 -4
- data/doc/cxxapi/inherit__graph__31.md5 +0 -1
- data/doc/cxxapi/inherit__graph__31.png +0 -0
- data/doc/cxxapi/inherit__graph__32.map +0 -3
- data/doc/cxxapi/inherit__graph__32.md5 +0 -1
- data/doc/cxxapi/inherit__graph__32.png +0 -0
- data/doc/cxxapi/inherit__graph__33.map +0 -3
- data/doc/cxxapi/inherit__graph__33.md5 +0 -1
- data/doc/cxxapi/inherit__graph__33.png +0 -0
- data/doc/cxxapi/inherit__graph__34.map +0 -3
- data/doc/cxxapi/inherit__graph__34.md5 +0 -1
- data/doc/cxxapi/inherit__graph__34.png +0 -0
- data/doc/cxxapi/inherit__graph__35.map +0 -3
- data/doc/cxxapi/inherit__graph__35.md5 +0 -1
- data/doc/cxxapi/inherit__graph__35.png +0 -0
- data/doc/cxxapi/inherit__graph__36.map +0 -5
- data/doc/cxxapi/inherit__graph__36.md5 +0 -1
- data/doc/cxxapi/inherit__graph__36.png +0 -0
- data/doc/cxxapi/inherit__graph__37.map +0 -3
- data/doc/cxxapi/inherit__graph__37.md5 +0 -1
- data/doc/cxxapi/inherit__graph__37.png +0 -0
- data/doc/cxxapi/inherit__graph__38.map +0 -3
- data/doc/cxxapi/inherit__graph__38.md5 +0 -1
- data/doc/cxxapi/inherit__graph__38.png +0 -0
- data/doc/cxxapi/inherit__graph__39.map +0 -3
- data/doc/cxxapi/inherit__graph__39.md5 +0 -1
- data/doc/cxxapi/inherit__graph__39.png +0 -0
- data/doc/cxxapi/inherit__graph__4.map +0 -3
- data/doc/cxxapi/inherit__graph__4.md5 +0 -1
- data/doc/cxxapi/inherit__graph__4.png +0 -0
- data/doc/cxxapi/inherit__graph__40.map +0 -3
- data/doc/cxxapi/inherit__graph__40.md5 +0 -1
- data/doc/cxxapi/inherit__graph__40.png +0 -0
- data/doc/cxxapi/inherit__graph__41.map +0 -3
- data/doc/cxxapi/inherit__graph__41.md5 +0 -1
- data/doc/cxxapi/inherit__graph__41.png +0 -0
- data/doc/cxxapi/inherit__graph__5.map +0 -3
- data/doc/cxxapi/inherit__graph__5.md5 +0 -1
- data/doc/cxxapi/inherit__graph__5.png +0 -0
- data/doc/cxxapi/inherit__graph__6.map +0 -3
- data/doc/cxxapi/inherit__graph__6.md5 +0 -1
- data/doc/cxxapi/inherit__graph__6.png +0 -0
- data/doc/cxxapi/inherit__graph__7.map +0 -3
- data/doc/cxxapi/inherit__graph__7.md5 +0 -1
- data/doc/cxxapi/inherit__graph__7.png +0 -0
- data/doc/cxxapi/inherit__graph__8.map +0 -3
- data/doc/cxxapi/inherit__graph__8.md5 +0 -1
- data/doc/cxxapi/inherit__graph__8.png +0 -0
- data/doc/cxxapi/inherit__graph__9.map +0 -3
- data/doc/cxxapi/inherit__graph__9.md5 +0 -1
- data/doc/cxxapi/inherit__graph__9.png +0 -0
- data/doc/cxxapi/inherits.html +0 -165
- data/doc/cxxapi/main.html +0 -28
- data/doc/cxxapi/modules.html +0 -36
- data/doc/cxxapi/namespacePassenger.html +0 -585
- data/doc/cxxapi/namespacemembers.html +0 -190
- data/doc/cxxapi/namespacemembers_enum.html +0 -48
- data/doc/cxxapi/namespacemembers_eval.html +0 -57
- data/doc/cxxapi/namespacemembers_func.html +0 -114
- data/doc/cxxapi/namespacemembers_type.html +0 -54
- data/doc/cxxapi/namespaces.html +0 -37
- data/doc/cxxapi/nginx_2Configuration_8h_source.html +0 -126
- data/doc/cxxapi/ngx__http__passenger__module_8h_source.html +0 -95
- data/doc/cxxapi/structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard-members.html +0 -36
- data/doc/cxxapi/structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard.html +0 -51
- data/doc/cxxapi/structPassenger_1_1PoolOptions-members.html +0 -67
- data/doc/cxxapi/structPassenger_1_1PoolOptions.html +0 -647
- data/doc/cxxapi/structPassenger_1_1StaticString_1_1Hash-members.html +0 -36
- data/doc/cxxapi/structPassenger_1_1StaticString_1_1Hash.html +0 -51
- data/doc/cxxapi/tab_b.gif +0 -0
- data/doc/cxxapi/tab_l.gif +0 -0
- data/doc/cxxapi/tab_r.gif +0 -0
- data/doc/cxxapi/tabs.css +0 -105
- data/doc/cxxapi/tree.html +0 -249
- data/doc/template/horo.rb +0 -613
- data/ext/libev/config.h +0 -122
- data/ext/nginx/HttpStatusExtractor.h +0 -351
@@ -1,49 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
5
|
-
<title>Passenger: Member List</title>
|
6
|
-
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
7
|
-
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
<!-- Generated by Doxygen 1.6.2 -->
|
11
|
-
<div class="navigation" id="top">
|
12
|
-
<div class="tabs">
|
13
|
-
<ul>
|
14
|
-
<li><a href="main.html"><span>Main Page</span></a></li>
|
15
|
-
<li><a href="modules.html"><span>Modules</span></a></li>
|
16
|
-
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
17
|
-
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
18
|
-
<li><a href="files.html"><span>Files</span></a></li>
|
19
|
-
</ul>
|
20
|
-
</div>
|
21
|
-
<div class="tabs">
|
22
|
-
<ul>
|
23
|
-
<li><a href="annotated.html"><span>Class List</span></a></li>
|
24
|
-
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
25
|
-
<li><a href="functions.html"><span>Class Members</span></a></li>
|
26
|
-
</ul>
|
27
|
-
</div>
|
28
|
-
</div>
|
29
|
-
<div class="contents">
|
30
|
-
<h1>Passenger::MessageServer Member List</h1>This is the complete list of members for <a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a>, including all inherited members.<table>
|
31
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#a4705130bf6626dd2201e7d73ead57b93">accountsDatabase</a></td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [protected]</code></td></tr>
|
32
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#a8f5df648df67f85ab0b7317be21f643f">addHandler</a>(HandlerPtr handler)</td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [inline]</code></td></tr>
|
33
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#a6687fdc90ef1c361a69c0fdcde38bb42">authenticate</a>(FileDescriptor &client)</td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [inline, protected]</code></td></tr>
|
34
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#ac7d708f90b3a1b1ae5e7b215c688c95e">clientHandlingMainLoop</a>(FileDescriptor &client)</td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [inline, protected]</code></td></tr>
|
35
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#abced7a8e542f6ab4a81ac1b11f8d163a">handlers</a></td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [protected]</code></td></tr>
|
36
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#abf5075add15c5f32a60039bdcbe98926">loginTimeout</a></td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [protected]</code></td></tr>
|
37
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#aaf639d8228da241b957c707ef0f04c91">mainLoop</a>()</td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [inline]</code></td></tr>
|
38
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#a4b6f33e66261116c2ec04b26e651dc18">MessageServer</a>(const string &socketFilename, AccountsDatabasePtr accountsDatabase)</td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [inline]</code></td></tr>
|
39
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#aef3c642484fbbbfc46b7768c53a5c0d4">serverFd</a></td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [protected]</code></td></tr>
|
40
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#a91571b29a8a88f80bab68f8083f59291">setLoginTimeout</a>(unsigned long long timeout)</td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [inline]</code></td></tr>
|
41
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#a18f4966401ab1f1ef245af922b382ce3">socketFilename</a></td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [protected]</code></td></tr>
|
42
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#a86f9ec99fe5dbed5c04d4b9e8f170995">startListening</a>()</td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [inline, protected]</code></td></tr>
|
43
|
-
<tr class="memlist"><td><a class="el" href="classPassenger_1_1MessageServer.html#a48ccf2c09c2c8b5dcfe3a0585dba67cf">threadGroup</a></td><td><a class="el" href="classPassenger_1_1MessageServer.html">Passenger::MessageServer</a></td><td><code> [protected]</code></td></tr>
|
44
|
-
</table></div>
|
45
|
-
<hr size="1"/><address style="text-align: right;"><small>Generated by
|
46
|
-
<a href="http://www.doxygen.org/index.html">
|
47
|
-
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
|
48
|
-
</body>
|
49
|
-
</html>
|
@@ -1,407 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
5
|
-
<title>Passenger: Passenger::MessageServer Class Reference</title>
|
6
|
-
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
7
|
-
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
8
|
-
</head>
|
9
|
-
<body>
|
10
|
-
<!-- Generated by Doxygen 1.6.2 -->
|
11
|
-
<div class="navigation" id="top">
|
12
|
-
<div class="tabs">
|
13
|
-
<ul>
|
14
|
-
<li><a href="main.html"><span>Main Page</span></a></li>
|
15
|
-
<li><a href="modules.html"><span>Modules</span></a></li>
|
16
|
-
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
17
|
-
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
|
18
|
-
<li><a href="files.html"><span>Files</span></a></li>
|
19
|
-
</ul>
|
20
|
-
</div>
|
21
|
-
<div class="tabs">
|
22
|
-
<ul>
|
23
|
-
<li><a href="annotated.html"><span>Class List</span></a></li>
|
24
|
-
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
25
|
-
<li><a href="functions.html"><span>Class Members</span></a></li>
|
26
|
-
</ul>
|
27
|
-
</div>
|
28
|
-
<div class="navpath"><a class="el" href="namespacePassenger.html">Passenger</a>::<a class="el" href="classPassenger_1_1MessageServer.html">MessageServer</a>
|
29
|
-
</div>
|
30
|
-
</div>
|
31
|
-
<div class="contents">
|
32
|
-
<h1>Passenger::MessageServer Class Reference<br/>
|
33
|
-
<small>
|
34
|
-
[<a class="el" href="group__Support.html">Apache-independent support classes and function</a>]</small>
|
35
|
-
</h1><!-- doxytag: class="Passenger::MessageServer" -->
|
36
|
-
<p>Simple pluggable request/response messaging server framework.
|
37
|
-
<a href="#_details">More...</a></p>
|
38
|
-
|
39
|
-
<p><code>#include <<a class="el" href="MessageServer_8h_source.html">MessageServer.h</a>></code></p>
|
40
|
-
|
41
|
-
<p><a href="classPassenger_1_1MessageServer-members.html">List of all members.</a></p>
|
42
|
-
<table border="0" cellpadding="0" cellspacing="0">
|
43
|
-
<tr><td colspan="2"><h2>Classes</h2></td></tr>
|
44
|
-
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer_1_1ClientContext.html">ClientContext</a></td></tr>
|
45
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Interface for client context objects. <a href="classPassenger_1_1MessageServer_1_1ClientContext.html#_details">More...</a><br/></td></tr>
|
46
|
-
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer_1_1CommonClientContext.html">CommonClientContext</a></td></tr>
|
47
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">A common client context, containing client-specific information used by <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> itself. <a href="classPassenger_1_1MessageServer_1_1CommonClientContext.html#_details">More...</a><br/></td></tr>
|
48
|
-
<tr><td class="memItemLeft" align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard.html">DisconnectEventBroadcastGuard</a></td></tr>
|
49
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Calls clientDisconnected() on all handlers when destroyed. <a href="structPassenger_1_1MessageServer_1_1DisconnectEventBroadcastGuard.html#_details">More...</a><br/></td></tr>
|
50
|
-
<tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer_1_1Handler.html">Handler</a></td></tr>
|
51
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">An abstract message handler class. <a href="classPassenger_1_1MessageServer_1_1Handler.html#_details">More...</a><br/></td></tr>
|
52
|
-
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
|
53
|
-
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#a4b6f33e66261116c2ec04b26e651dc18">MessageServer</a> (const string &<a class="el" href="classPassenger_1_1MessageServer.html#a18f4966401ab1f1ef245af922b382ce3">socketFilename</a>, AccountsDatabasePtr <a class="el" href="classPassenger_1_1MessageServer.html#a4705130bf6626dd2201e7d73ead57b93">accountsDatabase</a>)</td></tr>
|
54
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a new <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> object. <a href="#a4b6f33e66261116c2ec04b26e651dc18"></a><br/></td></tr>
|
55
|
-
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#aaf639d8228da241b957c707ef0f04c91">mainLoop</a> ()</td></tr>
|
56
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Starts the server main loop. <a href="#aaf639d8228da241b957c707ef0f04c91"></a><br/></td></tr>
|
57
|
-
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#a8f5df648df67f85ab0b7317be21f643f">addHandler</a> (HandlerPtr handler)</td></tr>
|
58
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Registers a new handler. <a href="#a8f5df648df67f85ab0b7317be21f643f"></a><br/></td></tr>
|
59
|
-
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#a91571b29a8a88f80bab68f8083f59291">setLoginTimeout</a> (unsigned long long timeout)</td></tr>
|
60
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the maximum number of milliseconds that clients may spend on logging in. <a href="#a91571b29a8a88f80bab68f8083f59291"></a><br/></td></tr>
|
61
|
-
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
|
62
|
-
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#a86f9ec99fe5dbed5c04d4b9e8f170995">startListening</a> ()</td></tr>
|
63
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Create a server socket and set it up for listening. <a href="#a86f9ec99fe5dbed5c04d4b9e8f170995"></a><br/></td></tr>
|
64
|
-
<tr><td class="memItemLeft" align="right" valign="top">AccountPtr </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#a6687fdc90ef1c361a69c0fdcde38bb42">authenticate</a> (<a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> &client)</td></tr>
|
65
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">Authenticate the given client and returns its account information. <a href="#a6687fdc90ef1c361a69c0fdcde38bb42"></a><br/></td></tr>
|
66
|
-
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac7d708f90b3a1b1ae5e7b215c688c95e"></a><!-- doxytag: member="Passenger::MessageServer::clientHandlingMainLoop" ref="ac7d708f90b3a1b1ae5e7b215c688c95e" args="(FileDescriptor &client)" -->
|
67
|
-
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#ac7d708f90b3a1b1ae5e7b215c688c95e">clientHandlingMainLoop</a> (<a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> &client)</td></tr>
|
68
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">The main function for a thread which handles a client. <br/></td></tr>
|
69
|
-
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
|
70
|
-
<tr><td class="memItemLeft" align="right" valign="top">string </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#a18f4966401ab1f1ef245af922b382ce3">socketFilename</a></td></tr>
|
71
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">The filename of the server socket on which this <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> is listening. <a href="#a18f4966401ab1f1ef245af922b382ce3"></a><br/></td></tr>
|
72
|
-
<tr><td class="memItemLeft" align="right" valign="top">AccountsDatabasePtr </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#a4705130bf6626dd2201e7d73ead57b93">accountsDatabase</a></td></tr>
|
73
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">An accounts database, used for authenticating clients. <a href="#a4705130bf6626dd2201e7d73ead57b93"></a><br/></td></tr>
|
74
|
-
<tr><td class="memItemLeft" align="right" valign="top">vector< HandlerPtr > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#abced7a8e542f6ab4a81ac1b11f8d163a">handlers</a></td></tr>
|
75
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">The registered message handlers. <a href="#abced7a8e542f6ab4a81ac1b11f8d163a"></a><br/></td></tr>
|
76
|
-
<tr><td class="memItemLeft" align="right" valign="top">unsigned long long </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#abf5075add15c5f32a60039bdcbe98926">loginTimeout</a></td></tr>
|
77
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">The maximum number of milliseconds that client may spend on logging in. <a href="#abf5075add15c5f32a60039bdcbe98926"></a><br/></td></tr>
|
78
|
-
<tr><td class="memItemLeft" align="right" valign="top">dynamic_thread_group </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#a48ccf2c09c2c8b5dcfe3a0585dba67cf">threadGroup</a></td></tr>
|
79
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">The client threads. <a href="#a48ccf2c09c2c8b5dcfe3a0585dba67cf"></a><br/></td></tr>
|
80
|
-
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPassenger_1_1MessageServer.html#aef3c642484fbbbfc46b7768c53a5c0d4">serverFd</a></td></tr>
|
81
|
-
<tr><td class="mdescLeft"> </td><td class="mdescRight">The server socket's file descriptor. <a href="#aef3c642484fbbbfc46b7768c53a5c0d4"></a><br/></td></tr>
|
82
|
-
</table>
|
83
|
-
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
84
|
-
<p>Simple pluggable request/response messaging server framework. </p>
|
85
|
-
<p><a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> implements a server with the following properties:</p>
|
86
|
-
<ul>
|
87
|
-
<li>It listens on a Unix socket. Socket creation and destruction is automatically handled. The socket is world-writable because a username/password authentication scheme is used to enforce security.</li>
|
88
|
-
<li>Multithreaded: 1 thread per client.</li>
|
89
|
-
<li>Designed for simple request/response cycles. That is, a client sends a request, and the server may respond with arbitrary data. The server does not respond sporadically, i.e. it only responds after a request.</li>
|
90
|
-
<li>Requests are discrete <a class="el" href="classPassenger_1_1MessageChannel.html" title="Convenience class for I/O operations on file descriptors.">MessageChannel</a> array messages, not byte streams.</li>
|
91
|
-
<li>Connections are authenticated. Connecting clients must send a username and password, which are then checked against an accounts database. The associated account is known throughout the entire connection life time so that it's possible to implement authorization features.</li>
|
92
|
-
</ul>
|
93
|
-
<p><a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> does not process messages by itself. Instead, one registers handlers which handle message processing. This framework allows one to seperate message handling code by function, while allowing everything to listen on the same socket and to use a common request parsing and dispatching codebase.</p>
|
94
|
-
<p>A username/password authentication scheme was chosen over a file permission scheme because experience has shown that the latter is inadequate. For example, the web server may consist of multiple worker processes, each running as a different user. Although ACLs can solve this problem as well, not every platform supports ACLs by default.</p>
|
95
|
-
<h2>Writing handlers</h2>
|
96
|
-
<p>Handlers must inherit from <a class="el" href="classPassenger_1_1MessageServer_1_1Handler.html" title="An abstract message handler class.">MessageServer::Handler</a>. They may implement newClient() and must implement processMessage().</p>
|
97
|
-
<p>When a new client is accepted, <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> will call newClient() on all handlers. This method accepts one argument: a common client context object. This context object contains client-specific information, such as its file descriptor. It cannot be extended to store more information, but it is passed to every handler anyway, hence the word "common" in its name. newClient() is supposed to return a handler-specific client context object for storing its own information, or a null pointer if it doesn't need to store anything.</p>
|
98
|
-
<p>When a client sends a request, <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> iterates through all handlers and calls processMessage() on each one, passing it the common client context and the handler-specific client context. processMessage() may return either true or false; true indicates that the handler processed the message, false indicates that it did not. Iteration stops at the first handler that returns true. If all handlers return false, i.e. the client sent a message that no handler recognizes, then <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> will close the connection with the client.</p>
|
99
|
-
<p>Handlers do not need to be thread-safe as long as they only operate on data in the context objects. <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> ensures that context objects are not shared with other threads.</p>
|
100
|
-
<h2>Usage example</h2>
|
101
|
-
<p>This implements a simple ping server. Every time a "ping" request is sent, the server responds with "pong" along with the number of times it had already sent pong to the same client in the past.</p>
|
102
|
-
<div class="fragment"><pre class="fragment"> <span class="keyword">class </span>PingHandler: <span class="keyword">public</span> <a class="code" href="classPassenger_1_1MessageServer.html#a4b6f33e66261116c2ec04b26e651dc18" title="Creates a new MessageServer object.">MessageServer</a>::Handler {
|
103
|
-
<span class="keyword">public</span>:
|
104
|
-
<span class="keyword">struct </span>MyContext: <span class="keyword">public</span> <a class="code" href="classPassenger_1_1MessageServer.html#a4b6f33e66261116c2ec04b26e651dc18" title="Creates a new MessageServer object.">MessageServer</a>::ClientContext {
|
105
|
-
<span class="keywordtype">int</span> count;
|
106
|
-
|
107
|
-
MyContext() {
|
108
|
-
count = 0;
|
109
|
-
}
|
110
|
-
};
|
111
|
-
|
112
|
-
MessageServer::ClientContextPtr newClient(MessageServer::CommonClientContext &commonContext) {
|
113
|
-
<span class="keywordflow">return</span> MessageServer::ClientContextPtr(<span class="keyword">new</span> MyContext());
|
114
|
-
}
|
115
|
-
|
116
|
-
<span class="keywordtype">bool</span> processMessage(MessageServer::CommonClientContext &commonContext,
|
117
|
-
MessageServer::ClientContextPtr &specificContext,
|
118
|
-
<span class="keyword">const</span> vector<string> &args)
|
119
|
-
{
|
120
|
-
<span class="keywordflow">if</span> (args[0] == <span class="stringliteral">"ping"</span>) {
|
121
|
-
MyContext *myContext = (MyContext *) specificContext.get();
|
122
|
-
commonContext.channel.write(<span class="stringliteral">"pong"</span>, toString(specificContext->count).c_str(), NULL);
|
123
|
-
specificContext->count++;
|
124
|
-
<span class="keywordflow">return</span> <span class="keyword">true</span>;
|
125
|
-
} <span class="keywordflow">else</span> {
|
126
|
-
<span class="keywordflow">return</span> <span class="keyword">false</span>;
|
127
|
-
}
|
128
|
-
}
|
129
|
-
};
|
130
|
-
|
131
|
-
...
|
132
|
-
|
133
|
-
<a class="code" href="classPassenger_1_1MessageServer.html#a4b6f33e66261116c2ec04b26e651dc18" title="Creates a new MessageServer object.">MessageServer</a> server(<span class="stringliteral">"server.sock"</span>);
|
134
|
-
server.addHandler(MessageServer::HandlerPtr(<span class="keyword">new</span> PingHandler()));
|
135
|
-
server.addHandler(MessageServer::HandlerPtr(<span class="keyword">new</span> PingHandler()));
|
136
|
-
server.mainLoop();
|
137
|
-
</pre></div> <hr/><h2>Constructor & Destructor Documentation</h2>
|
138
|
-
<a class="anchor" id="a4b6f33e66261116c2ec04b26e651dc18"></a><!-- doxytag: member="Passenger::MessageServer::MessageServer" ref="a4b6f33e66261116c2ec04b26e651dc18" args="(const string &socketFilename, AccountsDatabasePtr accountsDatabase)" -->
|
139
|
-
<div class="memitem">
|
140
|
-
<div class="memproto">
|
141
|
-
<table class="memname">
|
142
|
-
<tr>
|
143
|
-
<td class="memname">Passenger::MessageServer::MessageServer </td>
|
144
|
-
<td>(</td>
|
145
|
-
<td class="paramtype">const string & </td>
|
146
|
-
<td class="paramname"> <em>socketFilename</em>, </td>
|
147
|
-
</tr>
|
148
|
-
<tr>
|
149
|
-
<td class="paramkey"></td>
|
150
|
-
<td></td>
|
151
|
-
<td class="paramtype">AccountsDatabasePtr </td>
|
152
|
-
<td class="paramname"> <em>accountsDatabase</em></td><td> </td>
|
153
|
-
</tr>
|
154
|
-
<tr>
|
155
|
-
<td></td>
|
156
|
-
<td>)</td>
|
157
|
-
<td></td><td></td><td><code> [inline]</code></td>
|
158
|
-
</tr>
|
159
|
-
</table>
|
160
|
-
</div>
|
161
|
-
<div class="memdoc">
|
162
|
-
|
163
|
-
<p>Creates a new <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> object. </p>
|
164
|
-
<p>The actual server main loop is not started until you call <a class="el" href="classPassenger_1_1MessageServer.html#aaf639d8228da241b957c707ef0f04c91" title="Starts the server main loop.">mainLoop()</a>.</p>
|
165
|
-
<dl><dt><b>Parameters:</b></dt><dd>
|
166
|
-
<table border="0" cellspacing="2" cellpadding="0">
|
167
|
-
<tr><td valign="top"></td><td valign="top"><em>socketFilename</em> </td><td>The socket filename on which this <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> should be listening. </td></tr>
|
168
|
-
<tr><td valign="top"></td><td valign="top"><em>accountsDatabase</em> </td><td>An accounts database for this server, used for authenticating clients. </td></tr>
|
169
|
-
</table>
|
170
|
-
</dd>
|
171
|
-
</dl>
|
172
|
-
<dl><dt><b>Exceptions:</b></dt><dd>
|
173
|
-
<table border="0" cellspacing="2" cellpadding="0">
|
174
|
-
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1RuntimeException.html" title="A generic runtime exception.">RuntimeException</a></em> </td><td>Something went wrong while setting up the server socket. </td></tr>
|
175
|
-
<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 while setting up the server socket. </td></tr>
|
176
|
-
<tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em> </td><td></td></tr>
|
177
|
-
</table>
|
178
|
-
</dd>
|
179
|
-
</dl>
|
180
|
-
|
181
|
-
</div>
|
182
|
-
</div>
|
183
|
-
<hr/><h2>Member Function Documentation</h2>
|
184
|
-
<a class="anchor" id="a8f5df648df67f85ab0b7317be21f643f"></a><!-- doxytag: member="Passenger::MessageServer::addHandler" ref="a8f5df648df67f85ab0b7317be21f643f" args="(HandlerPtr handler)" -->
|
185
|
-
<div class="memitem">
|
186
|
-
<div class="memproto">
|
187
|
-
<table class="memname">
|
188
|
-
<tr>
|
189
|
-
<td class="memname">void Passenger::MessageServer::addHandler </td>
|
190
|
-
<td>(</td>
|
191
|
-
<td class="paramtype">HandlerPtr </td>
|
192
|
-
<td class="paramname"> <em>handler</em></td>
|
193
|
-
<td> ) </td>
|
194
|
-
<td><code> [inline]</code></td>
|
195
|
-
</tr>
|
196
|
-
</table>
|
197
|
-
</div>
|
198
|
-
<div class="memdoc">
|
199
|
-
|
200
|
-
<p>Registers a new handler. </p>
|
201
|
-
<dl class="pre"><dt><b>Precondition:</b></dt><dd>The main loop isn't running. </dd></dl>
|
202
|
-
|
203
|
-
</div>
|
204
|
-
</div>
|
205
|
-
<a class="anchor" id="a6687fdc90ef1c361a69c0fdcde38bb42"></a><!-- doxytag: member="Passenger::MessageServer::authenticate" ref="a6687fdc90ef1c361a69c0fdcde38bb42" args="(FileDescriptor &client)" -->
|
206
|
-
<div class="memitem">
|
207
|
-
<div class="memproto">
|
208
|
-
<table class="memname">
|
209
|
-
<tr>
|
210
|
-
<td class="memname">AccountPtr Passenger::MessageServer::authenticate </td>
|
211
|
-
<td>(</td>
|
212
|
-
<td class="paramtype"><a class="el" href="classPassenger_1_1FileDescriptor.html">FileDescriptor</a> & </td>
|
213
|
-
<td class="paramname"> <em>client</em></td>
|
214
|
-
<td> ) </td>
|
215
|
-
<td><code> [inline, protected]</code></td>
|
216
|
-
</tr>
|
217
|
-
</table>
|
218
|
-
</div>
|
219
|
-
<div class="memdoc">
|
220
|
-
|
221
|
-
<p>Authenticate the given client and returns its account information. </p>
|
222
|
-
<dl class="return"><dt><b>Returns:</b></dt><dd>A smart pointer to an Account object, or NULL if authentication failed. </dd></dl>
|
223
|
-
|
224
|
-
</div>
|
225
|
-
</div>
|
226
|
-
<a class="anchor" id="aaf639d8228da241b957c707ef0f04c91"></a><!-- doxytag: member="Passenger::MessageServer::mainLoop" ref="aaf639d8228da241b957c707ef0f04c91" args="()" -->
|
227
|
-
<div class="memitem">
|
228
|
-
<div class="memproto">
|
229
|
-
<table class="memname">
|
230
|
-
<tr>
|
231
|
-
<td class="memname">void Passenger::MessageServer::mainLoop </td>
|
232
|
-
<td>(</td>
|
233
|
-
<td class="paramname"></td>
|
234
|
-
<td> ) </td>
|
235
|
-
<td><code> [inline]</code></td>
|
236
|
-
</tr>
|
237
|
-
</table>
|
238
|
-
</div>
|
239
|
-
<div class="memdoc">
|
240
|
-
|
241
|
-
<p>Starts the server main loop. </p>
|
242
|
-
<p>This method will loop forever until some other thread interrupts the calling thread, or until an exception is raised.</p>
|
243
|
-
<dl><dt><b>Exceptions:</b></dt><dd>
|
244
|
-
<table border="0" cellspacing="2" cellpadding="0">
|
245
|
-
<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>Unable to accept a new connection. If this is a non-fatal error then you may call <a class="el" href="classPassenger_1_1MessageServer.html#aaf639d8228da241b957c707ef0f04c91" title="Starts the server main loop.">mainLoop()</a> again to restart the server main loop. </td></tr>
|
246
|
-
<tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em> </td><td>The calling thread has been interrupted. </td></tr>
|
247
|
-
</table>
|
248
|
-
</dd>
|
249
|
-
</dl>
|
250
|
-
|
251
|
-
</div>
|
252
|
-
</div>
|
253
|
-
<a class="anchor" id="a91571b29a8a88f80bab68f8083f59291"></a><!-- doxytag: member="Passenger::MessageServer::setLoginTimeout" ref="a91571b29a8a88f80bab68f8083f59291" args="(unsigned long long timeout)" -->
|
254
|
-
<div class="memitem">
|
255
|
-
<div class="memproto">
|
256
|
-
<table class="memname">
|
257
|
-
<tr>
|
258
|
-
<td class="memname">void Passenger::MessageServer::setLoginTimeout </td>
|
259
|
-
<td>(</td>
|
260
|
-
<td class="paramtype">unsigned long long </td>
|
261
|
-
<td class="paramname"> <em>timeout</em></td>
|
262
|
-
<td> ) </td>
|
263
|
-
<td><code> [inline]</code></td>
|
264
|
-
</tr>
|
265
|
-
</table>
|
266
|
-
</div>
|
267
|
-
<div class="memdoc">
|
268
|
-
|
269
|
-
<p>Sets the maximum number of milliseconds that clients may spend on logging in. </p>
|
270
|
-
<p>Clients that take longer are disconnected.</p>
|
271
|
-
<dl class="pre"><dt><b>Precondition:</b></dt><dd>timeout != 0 </dd>
|
272
|
-
<dd>
|
273
|
-
The main loop isn't running. </dd></dl>
|
274
|
-
|
275
|
-
</div>
|
276
|
-
</div>
|
277
|
-
<a class="anchor" id="a86f9ec99fe5dbed5c04d4b9e8f170995"></a><!-- doxytag: member="Passenger::MessageServer::startListening" ref="a86f9ec99fe5dbed5c04d4b9e8f170995" args="()" -->
|
278
|
-
<div class="memitem">
|
279
|
-
<div class="memproto">
|
280
|
-
<table class="memname">
|
281
|
-
<tr>
|
282
|
-
<td class="memname">void Passenger::MessageServer::startListening </td>
|
283
|
-
<td>(</td>
|
284
|
-
<td class="paramname"></td>
|
285
|
-
<td> ) </td>
|
286
|
-
<td><code> [inline, protected]</code></td>
|
287
|
-
</tr>
|
288
|
-
</table>
|
289
|
-
</div>
|
290
|
-
<div class="memdoc">
|
291
|
-
|
292
|
-
<p>Create a server socket and set it up for listening. </p>
|
293
|
-
<p>This socket will be world-writable.</p>
|
294
|
-
<dl><dt><b>Exceptions:</b></dt><dd>
|
295
|
-
<table border="0" cellspacing="2" cellpadding="0">
|
296
|
-
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="classPassenger_1_1RuntimeException.html" title="A generic runtime exception.">RuntimeException</a></em> </td><td></td></tr>
|
297
|
-
<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></td></tr>
|
298
|
-
<tr><td valign="top"></td><td valign="top"><em>boost::thread_interrupted</em> </td><td></td></tr>
|
299
|
-
</table>
|
300
|
-
</dd>
|
301
|
-
</dl>
|
302
|
-
|
303
|
-
</div>
|
304
|
-
</div>
|
305
|
-
<hr/><h2>Member Data Documentation</h2>
|
306
|
-
<a class="anchor" id="a4705130bf6626dd2201e7d73ead57b93"></a><!-- doxytag: member="Passenger::MessageServer::accountsDatabase" ref="a4705130bf6626dd2201e7d73ead57b93" args="" -->
|
307
|
-
<div class="memitem">
|
308
|
-
<div class="memproto">
|
309
|
-
<table class="memname">
|
310
|
-
<tr>
|
311
|
-
<td class="memname">AccountsDatabasePtr <a class="el" href="classPassenger_1_1MessageServer.html#a4705130bf6626dd2201e7d73ead57b93">Passenger::MessageServer::accountsDatabase</a><code> [protected]</code></td>
|
312
|
-
</tr>
|
313
|
-
</table>
|
314
|
-
</div>
|
315
|
-
<div class="memdoc">
|
316
|
-
|
317
|
-
<p>An accounts database, used for authenticating clients. </p>
|
318
|
-
|
319
|
-
</div>
|
320
|
-
</div>
|
321
|
-
<a class="anchor" id="abced7a8e542f6ab4a81ac1b11f8d163a"></a><!-- doxytag: member="Passenger::MessageServer::handlers" ref="abced7a8e542f6ab4a81ac1b11f8d163a" args="" -->
|
322
|
-
<div class="memitem">
|
323
|
-
<div class="memproto">
|
324
|
-
<table class="memname">
|
325
|
-
<tr>
|
326
|
-
<td class="memname">vector<HandlerPtr> <a class="el" href="classPassenger_1_1MessageServer.html#abced7a8e542f6ab4a81ac1b11f8d163a">Passenger::MessageServer::handlers</a><code> [protected]</code></td>
|
327
|
-
</tr>
|
328
|
-
</table>
|
329
|
-
</div>
|
330
|
-
<div class="memdoc">
|
331
|
-
|
332
|
-
<p>The registered message handlers. </p>
|
333
|
-
|
334
|
-
</div>
|
335
|
-
</div>
|
336
|
-
<a class="anchor" id="abf5075add15c5f32a60039bdcbe98926"></a><!-- doxytag: member="Passenger::MessageServer::loginTimeout" ref="abf5075add15c5f32a60039bdcbe98926" args="" -->
|
337
|
-
<div class="memitem">
|
338
|
-
<div class="memproto">
|
339
|
-
<table class="memname">
|
340
|
-
<tr>
|
341
|
-
<td class="memname">unsigned long long <a class="el" href="classPassenger_1_1MessageServer.html#abf5075add15c5f32a60039bdcbe98926">Passenger::MessageServer::loginTimeout</a><code> [protected]</code></td>
|
342
|
-
</tr>
|
343
|
-
</table>
|
344
|
-
</div>
|
345
|
-
<div class="memdoc">
|
346
|
-
|
347
|
-
<p>The maximum number of milliseconds that client may spend on logging in. </p>
|
348
|
-
<p>Clients that take longer are disconnected.</p>
|
349
|
-
<dl class="invariant"><dt><b>Invariant:</b></dt><dd>loginTimeout != 0 </dd></dl>
|
350
|
-
|
351
|
-
</div>
|
352
|
-
</div>
|
353
|
-
<a class="anchor" id="aef3c642484fbbbfc46b7768c53a5c0d4"></a><!-- doxytag: member="Passenger::MessageServer::serverFd" ref="aef3c642484fbbbfc46b7768c53a5c0d4" args="" -->
|
354
|
-
<div class="memitem">
|
355
|
-
<div class="memproto">
|
356
|
-
<table class="memname">
|
357
|
-
<tr>
|
358
|
-
<td class="memname">int <a class="el" href="classPassenger_1_1MessageServer.html#aef3c642484fbbbfc46b7768c53a5c0d4">Passenger::MessageServer::serverFd</a><code> [protected]</code></td>
|
359
|
-
</tr>
|
360
|
-
</table>
|
361
|
-
</div>
|
362
|
-
<div class="memdoc">
|
363
|
-
|
364
|
-
<p>The server socket's file descriptor. </p>
|
365
|
-
<dl class="invariant"><dt><b>Invariant:</b></dt><dd>serverFd >= 0 </dd></dl>
|
366
|
-
|
367
|
-
</div>
|
368
|
-
</div>
|
369
|
-
<a class="anchor" id="a18f4966401ab1f1ef245af922b382ce3"></a><!-- doxytag: member="Passenger::MessageServer::socketFilename" ref="a18f4966401ab1f1ef245af922b382ce3" args="" -->
|
370
|
-
<div class="memitem">
|
371
|
-
<div class="memproto">
|
372
|
-
<table class="memname">
|
373
|
-
<tr>
|
374
|
-
<td class="memname">string <a class="el" href="classPassenger_1_1MessageServer.html#a18f4966401ab1f1ef245af922b382ce3">Passenger::MessageServer::socketFilename</a><code> [protected]</code></td>
|
375
|
-
</tr>
|
376
|
-
</table>
|
377
|
-
</div>
|
378
|
-
<div class="memdoc">
|
379
|
-
|
380
|
-
<p>The filename of the server socket on which this <a class="el" href="classPassenger_1_1MessageServer.html" title="Simple pluggable request/response messaging server framework.">MessageServer</a> is listening. </p>
|
381
|
-
|
382
|
-
</div>
|
383
|
-
</div>
|
384
|
-
<a class="anchor" id="a48ccf2c09c2c8b5dcfe3a0585dba67cf"></a><!-- doxytag: member="Passenger::MessageServer::threadGroup" ref="a48ccf2c09c2c8b5dcfe3a0585dba67cf" args="" -->
|
385
|
-
<div class="memitem">
|
386
|
-
<div class="memproto">
|
387
|
-
<table class="memname">
|
388
|
-
<tr>
|
389
|
-
<td class="memname">dynamic_thread_group <a class="el" href="classPassenger_1_1MessageServer.html#a48ccf2c09c2c8b5dcfe3a0585dba67cf">Passenger::MessageServer::threadGroup</a><code> [protected]</code></td>
|
390
|
-
</tr>
|
391
|
-
</table>
|
392
|
-
</div>
|
393
|
-
<div class="memdoc">
|
394
|
-
|
395
|
-
<p>The client threads. </p>
|
396
|
-
|
397
|
-
</div>
|
398
|
-
</div>
|
399
|
-
<hr/>The documentation for this class was generated from the following file:<ul>
|
400
|
-
<li><a class="el" href="MessageServer_8h_source.html">MessageServer.h</a></li>
|
401
|
-
</ul>
|
402
|
-
</div>
|
403
|
-
<hr size="1"/><address style="text-align: right;"><small>Generated by
|
404
|
-
<a href="http://www.doxygen.org/index.html">
|
405
|
-
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
|
406
|
-
</body>
|
407
|
-
</html>
|