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