passenger 2.1.2 → 2.1.3
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/Rakefile +7 -5
- data/doc/Architectural overview.html +729 -1
- data/doc/Architectural overview.txt +0 -5
- data/doc/Security of user switching support.html +605 -1
- data/doc/Users guide.html +110 -106
- data/doc/Users guide.txt +49 -0
- data/doc/cxxapi/ApplicationPoolServer_8h-source.html +400 -372
- data/doc/cxxapi/ApplicationPool_8h-source.html +1 -1
- data/doc/cxxapi/Application_8h-source.html +1 -1
- data/doc/cxxapi/Bucket_8h-source.html +1 -1
- data/doc/cxxapi/CachedFileStat_8h-source.html +56 -65
- data/doc/cxxapi/Configuration_8h-source.html +40 -32
- data/doc/cxxapi/DirectoryMapper_8h-source.html +1 -1
- data/doc/cxxapi/DummySpawnManager_8h-source.html +1 -1
- data/doc/cxxapi/Exceptions_8h-source.html +1 -1
- data/doc/cxxapi/FileChecker_8h-source.html +29 -30
- data/doc/cxxapi/Hooks_8h-source.html +1 -1
- data/doc/cxxapi/Logging_8h-source.html +1 -1
- data/doc/cxxapi/MessageChannel_8h-source.html +1 -1
- data/doc/cxxapi/PoolOptions_8h-source.html +1 -1
- data/doc/cxxapi/SpawnManager_8h-source.html +225 -219
- data/doc/cxxapi/StandardApplicationPool_8h-source.html +451 -445
- data/doc/cxxapi/SystemTime_8h-source.html +1 -1
- data/doc/cxxapi/Utils_8h-source.html +201 -140
- data/doc/cxxapi/annotated.html +2 -2
- data/doc/cxxapi/classClient-members.html +1 -1
- data/doc/cxxapi/classClient.html +1 -1
- data/doc/cxxapi/classHooks-members.html +1 -1
- data/doc/cxxapi/classHooks.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ApplicationPool__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +1 -1
- data/doc/cxxapi/{classPassenger_1_1TempFile-members.html → classPassenger_1_1BufferedUpload-members.html} +5 -5
- data/doc/cxxapi/{classPassenger_1_1TempFile.html → classPassenger_1_1BufferedUpload.html} +33 -43
- data/doc/cxxapi/classPassenger_1_1BusyException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1BusyException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DirectoryMapper-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DirectoryMapper.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileChecker-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileChecker.html +2 -2
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileNotFoundException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1FileSystemException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileSystemException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1FileSystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1IOException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1IOException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1IOException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1MessageChannel.html +1 -1
- data/doc/cxxapi/classPassenger_1_1RuntimeException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1RuntimeException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SpawnManager.html +1 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +1 -1
- data/doc/cxxapi/classPassenger_1_1StandardApplicationPool__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1SystemException-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SystemException.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SystemException__inherit__graph.png +0 -0
- data/doc/cxxapi/classPassenger_1_1SystemTime-members.html +1 -1
- data/doc/cxxapi/classPassenger_1_1SystemTime.html +1 -1
- data/doc/cxxapi/definitions_8h-source.html +1 -1
- data/doc/cxxapi/files.html +1 -1
- data/doc/cxxapi/functions.html +12 -11
- data/doc/cxxapi/functions_func.html +9 -7
- data/doc/cxxapi/functions_type.html +1 -1
- data/doc/cxxapi/functions_vars.html +2 -4
- data/doc/cxxapi/graph_legend.html +1 -1
- data/doc/cxxapi/graph_legend.png +0 -0
- data/doc/cxxapi/group__Configuration.html +3 -3
- data/doc/cxxapi/group__Configuration.png +0 -0
- data/doc/cxxapi/group__Core.html +1 -1
- data/doc/cxxapi/group__Core.png +0 -0
- data/doc/cxxapi/group__Exceptions.html +1 -1
- data/doc/cxxapi/group__Hooks.html +1 -1
- data/doc/cxxapi/group__Hooks.png +0 -0
- data/doc/cxxapi/group__Support.html +33 -16
- data/doc/cxxapi/hierarchy.html +2 -2
- data/doc/cxxapi/inherit__graph__0.png +0 -0
- data/doc/cxxapi/inherit__graph__1.png +0 -0
- data/doc/cxxapi/inherit__graph__10.map +1 -1
- data/doc/cxxapi/inherit__graph__10.md5 +1 -1
- data/doc/cxxapi/inherit__graph__10.png +0 -0
- data/doc/cxxapi/inherit__graph__11.map +1 -1
- data/doc/cxxapi/inherit__graph__11.md5 +1 -1
- data/doc/cxxapi/inherit__graph__11.png +0 -0
- data/doc/cxxapi/inherit__graph__12.map +1 -2
- data/doc/cxxapi/inherit__graph__12.md5 +1 -1
- data/doc/cxxapi/inherit__graph__12.png +0 -0
- data/doc/cxxapi/inherit__graph__13.map +2 -1
- data/doc/cxxapi/inherit__graph__13.md5 +1 -1
- data/doc/cxxapi/inherit__graph__13.png +0 -0
- data/doc/cxxapi/inherit__graph__14.map +1 -1
- data/doc/cxxapi/inherit__graph__14.md5 +1 -1
- data/doc/cxxapi/inherit__graph__14.png +0 -0
- data/doc/cxxapi/inherit__graph__15.map +1 -1
- data/doc/cxxapi/inherit__graph__15.md5 +1 -1
- data/doc/cxxapi/inherit__graph__15.png +0 -0
- data/doc/cxxapi/inherit__graph__16.map +1 -1
- data/doc/cxxapi/inherit__graph__16.md5 +1 -1
- data/doc/cxxapi/inherit__graph__16.png +0 -0
- data/doc/cxxapi/inherit__graph__17.map +1 -1
- data/doc/cxxapi/inherit__graph__17.md5 +1 -1
- data/doc/cxxapi/inherit__graph__17.png +0 -0
- data/doc/cxxapi/inherit__graph__18.map +1 -1
- data/doc/cxxapi/inherit__graph__18.md5 +1 -1
- data/doc/cxxapi/inherit__graph__18.png +0 -0
- data/doc/cxxapi/inherit__graph__19.map +1 -2
- data/doc/cxxapi/inherit__graph__19.md5 +1 -1
- data/doc/cxxapi/inherit__graph__19.png +0 -0
- data/doc/cxxapi/inherit__graph__2.png +0 -0
- data/doc/cxxapi/inherit__graph__20.map +2 -1
- data/doc/cxxapi/inherit__graph__20.md5 +1 -1
- data/doc/cxxapi/inherit__graph__20.png +0 -0
- data/doc/cxxapi/inherit__graph__21.map +1 -1
- data/doc/cxxapi/inherit__graph__21.md5 +1 -1
- data/doc/cxxapi/inherit__graph__21.png +0 -0
- data/doc/cxxapi/inherit__graph__3.png +0 -0
- data/doc/cxxapi/inherit__graph__4.png +0 -0
- data/doc/cxxapi/inherit__graph__5.png +0 -0
- data/doc/cxxapi/inherit__graph__6.png +0 -0
- data/doc/cxxapi/inherit__graph__7.map +1 -1
- data/doc/cxxapi/inherit__graph__7.md5 +1 -1
- data/doc/cxxapi/inherit__graph__7.png +0 -0
- data/doc/cxxapi/inherit__graph__8.map +1 -1
- data/doc/cxxapi/inherit__graph__8.md5 +1 -1
- data/doc/cxxapi/inherit__graph__8.png +0 -0
- data/doc/cxxapi/inherit__graph__9.map +1 -1
- data/doc/cxxapi/inherit__graph__9.md5 +1 -1
- data/doc/cxxapi/inherit__graph__9.png +0 -0
- data/doc/cxxapi/inherits.html +18 -18
- data/doc/cxxapi/main.html +1 -1
- data/doc/cxxapi/modules.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +1 -1
- data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +1 -1
- data/doc/cxxapi/structPassenger_1_1PoolOptions-members.html +1 -1
- data/doc/cxxapi/structPassenger_1_1PoolOptions.html +1 -1
- data/doc/cxxapi/tree.html +4 -4
- data/doc/rdoc/classes/ConditionVariable.html +58 -58
- data/doc/rdoc/classes/Exception.html +11 -11
- data/doc/rdoc/classes/GC.html +4 -4
- data/doc/rdoc/classes/IO.html +14 -14
- data/doc/rdoc/classes/PhusionPassenger.html +11 -11
- data/doc/rdoc/classes/PhusionPassenger/AdminTools.html +1 -1
- data/doc/rdoc/classes/PhusionPassenger/AdminTools/ControlProcess.html +40 -39
- data/doc/rdoc/classes/PhusionPassenger/Application.html +14 -14
- data/doc/rdoc/classes/PhusionPassenger/HTMLTemplate.html +12 -12
- data/doc/rdoc/classes/PhusionPassenger/Railz.html +1 -1
- data/doc/rdoc/classes/PhusionPassenger/Utils.html +15 -8
- data/doc/rdoc/classes/PlatformInfo.html +257 -253
- data/doc/rdoc/classes/RakeExtensions.html +2 -2
- data/doc/rdoc/classes/Signal.html +26 -26
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/DEVELOPERS_TXT.html +1 -1
- data/doc/rdoc/files/README.html +1 -1
- data/doc/rdoc/files/ext/phusion_passenger/native_support_c.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/abstract_request_handler_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/abstract_server_collection_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/abstract_server_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/admin_tools/control_process_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/admin_tools_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/application_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/console_text_template_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/constants_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/dependencies_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/events_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/exceptions_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/html_template_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/message_channel_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/platform_info_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/rack/application_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/rack/request_handler_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/railz/application_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/railz/cgi_fixed_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/railz/framework_spawner_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/railz/request_handler_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/simple_benchmarking_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/spawn_manager_rb.html +1 -1
- data/doc/rdoc/files/lib/phusion_passenger/utils_rb.html +9 -9
- data/doc/rdoc/files/lib/phusion_passenger/wsgi/application_spawner_rb.html +1 -1
- data/doc/rdoc/files/{lib → misc}/rake/extensions_rb.html +2 -2
- data/doc/rdoc/fr_file_index.html +1 -1
- data/doc/rdoc/fr_method_index.html +22 -22
- data/ext/apache2/ApplicationPoolServer.h +43 -15
- data/ext/apache2/ApplicationPoolServerExecutable.cpp +27 -52
- data/ext/apache2/CachedFileStat.h +7 -16
- data/ext/apache2/Configuration.h +9 -1
- data/ext/apache2/FileChecker.h +4 -5
- data/ext/apache2/Hooks.cpp +20 -22
- data/ext/apache2/SpawnManager.h +6 -0
- data/ext/apache2/StandardApplicationPool.h +6 -0
- data/ext/apache2/Utils.cpp +174 -16
- data/ext/apache2/Utils.h +99 -38
- data/ext/boost/cstdint.hpp +2 -1
- data/ext/oxt/system_calls.cpp +20 -2
- data/ext/oxt/system_calls.hpp +2 -0
- data/lib/phusion_passenger/abstract_request_handler.rb +5 -1
- data/lib/phusion_passenger/admin_tools.rb +1 -1
- data/lib/phusion_passenger/admin_tools/control_process.rb +2 -1
- data/lib/phusion_passenger/dependencies.rb +7 -4
- data/lib/phusion_passenger/platform_info.rb +8 -2
- data/lib/phusion_passenger/rack/application_spawner.rb +1 -1
- data/lib/phusion_passenger/templates/version_not_found.html.erb +9 -0
- data/lib/phusion_passenger/utils.rb +13 -6
- data/lib/phusion_passenger/wsgi/application_spawner.rb +1 -1
- data/{lib → misc}/rake/cplusplus.rb +0 -0
- data/{lib → misc}/rake/extensions.rb +0 -0
- data/{lib → misc}/rake/gempackagetask.rb +0 -0
- data/{lib → misc}/rake/packagetask.rb +0 -0
- data/{lib → misc}/rake/rdoctask.rb +0 -0
- data/misc/render_error_pages.rb +6 -5
- data/test/CxxTestMain.cpp +109 -7
- data/test/UtilsTest.cpp +61 -51
- data/test/config.yml.example +6 -2
- data/test/integration_tests.rb +4 -0
- data/test/ruby/abstract_request_handler_spec.rb +9 -3
- data/test/ruby/rack/application_spawner_spec.rb +3 -2
- data/test/ruby/rails/application_spawner_spec.rb +15 -4
- data/test/ruby/rails/framework_spawner_spec.rb +4 -2
- data/test/ruby/rails/spawner_error_handling_spec.rb +4 -4
- data/test/ruby/spawn_manager_spec.rb +22 -9
- data/test/ruby/utils_spec.rb +18 -12
- data/test/ruby/wsgi/application_spawner_spec.rb +16 -7
- data/test/stub/apache2/httpd.conf.erb +1 -0
- data/test/stub/wsgi/passenger_wsgi.pyc +0 -0
- metadata +1064 -1090
- data/doc/Users guide Apache.html +0 -3127
- data/doc/Users guide Nginx.html +0 -1458
Binary file
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1DirectoryMapper.html" title="Utility class for determining URI-to-application directory mappings." alt="" coords="5,6,192,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
9c1f2100c5d86535a45f2a458b9798ed
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1DummySpawnManager.html" title="A dummy SpawnManager replacement for testing/debugging purposes." alt="" coords="7,6,231,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
f356f0bb6f26ed07ffec781d5a190b63
|
Binary file
|
@@ -1,2 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
2
|
-
<area shape="rect" href="$classPassenger_1_1FileNotFoundException.html" title="Thrown when a certain file cannot be found." alt="" coords="219,6,445,30">
|
1
|
+
<area shape="rect" href="$classPassenger_1_1FileChecker.html" title="Utility class for checking for file changes." alt="" coords="5,6,165,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
30fef253085872871dc3bc7e1530268b
|
Binary file
|
@@ -1 +1,2 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1IOException.html" title="Represents an error that occured during an I/O operation." alt="" coords="7,6,169,30">
|
2
|
+
<area shape="rect" href="$classPassenger_1_1FileNotFoundException.html" title="Thrown when a certain file cannot be found." alt="" coords="219,6,445,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e7cf3c6849f5bfbfab3a4ed565e08d03
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1MessageChannel.html" title="Convenience class for I/O operations on file descriptors." alt="" coords="5,6,197,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e75e1aa00af9479f775585e7eedb1d4e
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html" title="Used internally by toString()." alt="" coords="5,6,381,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
64cf9a01e14b4a04a283a7da5c91927d
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()..." alt="" coords="5,6,168,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
dd8970c8e7706b607787e8275ad36479
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1RuntimeException.html" title="A generic runtime exception." alt="" coords="5,6,203,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
c267e553282a412a654380e4c9712dc4
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1SpawnException.html" title="Thrown when SpawnManager or ApplicationPool fails to spawn an application instance..." alt="" coords="7,6,193,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
220a159782f836e4736443a2a7b457f7
|
Binary file
|
@@ -1,2 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
2
|
-
<area shape="rect" href="$classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system." alt="" coords="248,6,464,30">
|
1
|
+
<area shape="rect" href="$classPassenger_1_1SpawnManager.html" title="Spawning of Ruby on Rails/Rack application instances." alt="" coords="7,6,185,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
a3fce25184a1bc0c0038656699433d6f
|
Binary file
|
Binary file
|
@@ -1 +1,2 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1SystemException.html" title="Represents an error returned by a system call or a standard library call." alt="" coords="5,6,200,30">
|
2
|
+
<area shape="rect" href="$classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system." alt="" coords="248,6,464,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
943e83b257dd000411020d892f03c199
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1SystemTime.html" title="This class allows one to obtain the system time, similar to time()." alt="" coords="5,6,171,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
cfda7fae8b14f01599c0e4b1e4bf34e6
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1BufferedUpload.html" title="Represents a buffered upload file." alt="" coords="7,6,185,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
20cb80d6a77812b391312616a4569244
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1BusyException.html" title="The application pool is too busy and cannot fulfill a get() request." alt="" coords="7,6,185,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
fafc64f712f96f005ae01599d0761c40
|
Binary file
|
@@ -1 +1 @@
|
|
1
|
-
<area shape="rect" href="$
|
1
|
+
<area shape="rect" href="$classPassenger_1_1ConfigurationException.html" title="Thrown when an invalid configuration is given." alt="" coords="7,6,231,30">
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
e5639b59795266ea8be3d02fa0833616
|
Binary file
|
data/doc/cxxapi/inherits.html
CHANGED
@@ -47,54 +47,54 @@
|
|
47
47
|
<tr><td><img src="inherit__graph__6.png" border="0" alt="" usemap="#Passenger_1_1ApplicationPoolServer_map">
|
48
48
|
<map name="Passenger_1_1ApplicationPoolServer_map">
|
49
49
|
<area shape="rect" href="classPassenger_1_1ApplicationPoolServer.html" title="Multi-process usage support for ApplicationPool." alt="" coords="7,6,225,30"></map></td></tr>
|
50
|
-
<tr><td><img src="inherit__graph__7.png" border="0" alt="" usemap="#
|
50
|
+
<tr><td><img src="inherit__graph__7.png" border="0" alt="" usemap="#Passenger_1_1BufferedUpload_map">
|
51
|
+
<map name="Passenger_1_1BufferedUpload_map">
|
52
|
+
<area shape="rect" href="classPassenger_1_1BufferedUpload.html" title="Represents a buffered upload file." alt="" coords="7,6,185,30"></map></td></tr>
|
53
|
+
<tr><td><img src="inherit__graph__8.png" border="0" alt="" usemap="#Passenger_1_1BusyException_map">
|
51
54
|
<map name="Passenger_1_1BusyException_map">
|
52
55
|
<area shape="rect" href="classPassenger_1_1BusyException.html" title="The application pool is too busy and cannot fulfill a get() request." alt="" coords="7,6,185,30"></map></td></tr>
|
53
|
-
<tr><td><img src="
|
56
|
+
<tr><td><img src="inherit__graph__9.png" border="0" alt="" usemap="#Passenger_1_1ConfigurationException_map">
|
54
57
|
<map name="Passenger_1_1ConfigurationException_map">
|
55
58
|
<area shape="rect" href="classPassenger_1_1ConfigurationException.html" title="Thrown when an invalid configuration is given." alt="" coords="7,6,231,30"></map></td></tr>
|
56
|
-
<tr><td><img src="
|
59
|
+
<tr><td><img src="inherit__graph__10.png" border="0" alt="" usemap="#Passenger_1_1DirectoryMapper_map">
|
57
60
|
<map name="Passenger_1_1DirectoryMapper_map">
|
58
61
|
<area shape="rect" href="classPassenger_1_1DirectoryMapper.html" title="Utility class for determining URI-to-application directory mappings." alt="" coords="5,6,192,30"></map></td></tr>
|
59
|
-
<tr><td><img src="
|
62
|
+
<tr><td><img src="inherit__graph__11.png" border="0" alt="" usemap="#Passenger_1_1DummySpawnManager_map">
|
60
63
|
<map name="Passenger_1_1DummySpawnManager_map">
|
61
64
|
<area shape="rect" href="classPassenger_1_1DummySpawnManager.html" title="A dummy SpawnManager replacement for testing/debugging purposes." alt="" coords="7,6,231,30"></map></td></tr>
|
62
|
-
<tr><td><img src="
|
65
|
+
<tr><td><img src="inherit__graph__12.png" border="0" alt="" usemap="#Passenger_1_1FileChecker_map">
|
63
66
|
<map name="Passenger_1_1FileChecker_map">
|
64
67
|
<area shape="rect" href="classPassenger_1_1FileChecker.html" title="Utility class for checking for file changes." alt="" coords="5,6,165,30"></map></td></tr>
|
65
|
-
<tr><td><img src="
|
68
|
+
<tr><td><img src="inherit__graph__13.png" border="0" alt="" usemap="#Passenger_1_1IOException_map">
|
66
69
|
<map name="Passenger_1_1IOException_map">
|
67
70
|
<area shape="rect" href="classPassenger_1_1IOException.html" title="Represents an error that occured during an I/O operation." alt="" coords="7,6,169,30"><area shape="rect" href="classPassenger_1_1FileNotFoundException.html" title="Thrown when a certain file cannot be found." alt="" coords="219,6,445,30"></map></td></tr>
|
68
|
-
<tr><td><img src="
|
71
|
+
<tr><td><img src="inherit__graph__14.png" border="0" alt="" usemap="#Passenger_1_1MessageChannel_map">
|
69
72
|
<map name="Passenger_1_1MessageChannel_map">
|
70
73
|
<area shape="rect" href="classPassenger_1_1MessageChannel.html" title="Convenience class for I/O operations on file descriptors." alt="" coords="5,6,197,30"></map></td></tr>
|
71
|
-
<tr><td><img src="
|
74
|
+
<tr><td><img src="inherit__graph__15.png" border="0" alt="" usemap="#Passenger_1_1Passenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4_map">
|
72
75
|
<map name="Passenger_1_1Passenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4_map">
|
73
76
|
<area shape="rect" href="structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html" title="Used internally by toString()." alt="" coords="5,6,381,30"></map></td></tr>
|
74
|
-
<tr><td><img src="
|
77
|
+
<tr><td><img src="inherit__graph__16.png" border="0" alt="" usemap="#Passenger_1_1PoolOptions_map">
|
75
78
|
<map name="Passenger_1_1PoolOptions_map">
|
76
79
|
<area shape="rect" href="structPassenger_1_1PoolOptions.html" title="This struct encapsulates information for ApplicationPool::get() and for SpawnManager::spawn()..." alt="" coords="5,6,168,30"></map></td></tr>
|
77
|
-
<tr><td><img src="
|
80
|
+
<tr><td><img src="inherit__graph__17.png" border="0" alt="" usemap="#Passenger_1_1RuntimeException_map">
|
78
81
|
<map name="Passenger_1_1RuntimeException_map">
|
79
82
|
<area shape="rect" href="classPassenger_1_1RuntimeException.html" title="A generic runtime exception." alt="" coords="5,6,203,30"></map></td></tr>
|
80
|
-
<tr><td><img src="
|
83
|
+
<tr><td><img src="inherit__graph__18.png" border="0" alt="" usemap="#Passenger_1_1SpawnException_map">
|
81
84
|
<map name="Passenger_1_1SpawnException_map">
|
82
85
|
<area shape="rect" href="classPassenger_1_1SpawnException.html" title="Thrown when SpawnManager or ApplicationPool fails to spawn an application instance..." alt="" coords="7,6,193,30"></map></td></tr>
|
83
|
-
<tr><td><img src="
|
86
|
+
<tr><td><img src="inherit__graph__19.png" border="0" alt="" usemap="#Passenger_1_1SpawnManager_map">
|
84
87
|
<map name="Passenger_1_1SpawnManager_map">
|
85
88
|
<area shape="rect" href="classPassenger_1_1SpawnManager.html" title="Spawning of Ruby on Rails/Rack application instances." alt="" coords="7,6,185,30"></map></td></tr>
|
86
|
-
<tr><td><img src="
|
89
|
+
<tr><td><img src="inherit__graph__20.png" border="0" alt="" usemap="#Passenger_1_1SystemException_map">
|
87
90
|
<map name="Passenger_1_1SystemException_map">
|
88
91
|
<area shape="rect" href="classPassenger_1_1SystemException.html" title="Represents an error returned by a system call or a standard library call." alt="" coords="5,6,200,30"><area shape="rect" href="classPassenger_1_1FileSystemException.html" title="A filesystem error, as returned by the operating system." alt="" coords="248,6,464,30"></map></td></tr>
|
89
|
-
<tr><td><img src="
|
92
|
+
<tr><td><img src="inherit__graph__21.png" border="0" alt="" usemap="#Passenger_1_1SystemTime_map">
|
90
93
|
<map name="Passenger_1_1SystemTime_map">
|
91
94
|
<area shape="rect" href="classPassenger_1_1SystemTime.html" title="This class allows one to obtain the system time, similar to time()." alt="" coords="5,6,171,30"></map></td></tr>
|
92
|
-
<tr><td><img src="inherit__graph__21.png" border="0" alt="" usemap="#Passenger_1_1TempFile_map">
|
93
|
-
<map name="Passenger_1_1TempFile_map">
|
94
|
-
<area shape="rect" href="classPassenger_1_1TempFile.html" title="Represents a temporary file." alt="" coords="5,6,149,30"></map></td></tr>
|
95
95
|
</table>
|
96
96
|
</div>
|
97
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
97
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:30 2009 for Passenger by
|
98
98
|
<a href="http://www.doxygen.org/index.html">
|
99
99
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
100
100
|
</body>
|
data/doc/cxxapi/main.html
CHANGED
@@ -19,7 +19,7 @@
|
|
19
19
|
<h1>Passenger Documentation</h1>
|
20
20
|
<p>
|
21
21
|
</div>
|
22
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
22
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:27 2009 for Passenger by
|
23
23
|
<a href="http://www.doxygen.org/index.html">
|
24
24
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
25
25
|
</body>
|
data/doc/cxxapi/modules.html
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
<li><a class="el" href="group__Exceptions.html">Exceptions</a>
|
27
27
|
</ul>
|
28
28
|
</div>
|
29
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
29
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:28 2009 for Passenger by
|
30
30
|
<a href="http://www.doxygen.org/index.html">
|
31
31
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
32
32
|
</body>
|
@@ -25,7 +25,7 @@
|
|
25
25
|
<div class="contents">
|
26
26
|
<h1>Passenger::AnythingToString< T > Member List</h1>This is the complete list of members for <a class="el" href="structPassenger_1_1AnythingToString.html">Passenger::AnythingToString< T ></a>, including all inherited members.<p><table>
|
27
27
|
</table></div>
|
28
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
28
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:31 2009 for Passenger by
|
29
29
|
<a href="http://www.doxygen.org/index.html">
|
30
30
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
31
31
|
</body>
|
@@ -41,7 +41,7 @@ Do not use directly. <table border="0" cellpadding="0" cellspacing="0">
|
|
41
41
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
42
42
|
<li><a class="el" href="Utils_8h-source.html">Utils.h</a></ul>
|
43
43
|
</div>
|
44
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
44
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:31 2009 for Passenger by
|
45
45
|
<a href="http://www.doxygen.org/index.html">
|
46
46
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
47
47
|
</body>
|
data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html
CHANGED
@@ -25,7 +25,7 @@
|
|
25
25
|
<div class="contents">
|
26
26
|
<h1>Passenger::Passenger::AnythingToString< vector< string > > Member List</h1>This is the complete list of members for <a class="el" href="structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html">Passenger::Passenger::AnythingToString< vector< string > ></a>, including all inherited members.<p><table>
|
27
27
|
</table></div>
|
28
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
28
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:31 2009 for Passenger by
|
29
29
|
<a href="http://www.doxygen.org/index.html">
|
30
30
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
31
31
|
</body>
|
@@ -41,7 +41,7 @@ Do not use directly. <table border="0" cellpadding="0" cellspacing="0">
|
|
41
41
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
42
42
|
<li><a class="el" href="Utils_8h-source.html">Utils.h</a></ul>
|
43
43
|
</div>
|
44
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
44
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:31 2009 for Passenger by
|
45
45
|
<a href="http://www.doxygen.org/index.html">
|
46
46
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
47
47
|
</body>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#b5e62e9abf7b89b8d3e5cdfb14e9d2af">toVector</a>(vector< string > &vec) const </td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td><code> [inline]</code></td></tr>
|
43
43
|
<tr class="memlist"><td><a class="el" href="structPassenger_1_1PoolOptions.html#b610e568a7b5d3bb27460d6e35952b7e">useGlobalQueue</a></td><td><a class="el" href="structPassenger_1_1PoolOptions.html">Passenger::PoolOptions</a></td><td></td></tr>
|
44
44
|
</table></div>
|
45
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
45
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:31 2009 for Passenger by
|
46
46
|
<a href="http://www.doxygen.org/index.html">
|
47
47
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
48
48
|
</body>
|
@@ -397,7 +397,7 @@ An empty string means that the default directory should be used.
|
|
397
397
|
<hr>The documentation for this struct was generated from the following file:<ul>
|
398
398
|
<li><a class="el" href="PoolOptions_8h-source.html">PoolOptions.h</a></ul>
|
399
399
|
</div>
|
400
|
-
<hr size="1"><address style="text-align: right;"><small>Generated on
|
400
|
+
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Mar 31 14:00:31 2009 for Passenger by
|
401
401
|
<a href="http://www.doxygen.org/index.html">
|
402
402
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address>
|
403
403
|
</body>
|
data/doc/cxxapi/tree.html
CHANGED
@@ -81,6 +81,7 @@
|
|
81
81
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1Application_1_1Session.html" target="basefrm">Passenger::Application::Session</a></p>
|
82
82
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1ApplicationPool.html" target="basefrm">Passenger::ApplicationPool</a></p>
|
83
83
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1ApplicationPoolServer.html" target="basefrm">Passenger::ApplicationPoolServer</a></p>
|
84
|
+
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1BufferedUpload.html" target="basefrm">Passenger::BufferedUpload</a></p>
|
84
85
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1BusyException.html" target="basefrm">Passenger::BusyException</a></p>
|
85
86
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classClient.html" target="basefrm">Client</a></p>
|
86
87
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1ConfigurationException.html" target="basefrm">Passenger::ConfigurationException</a></p>
|
@@ -98,8 +99,7 @@
|
|
98
99
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1SpawnManager.html" target="basefrm">Passenger::SpawnManager</a></p>
|
99
100
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1StandardApplicationPool.html" target="basefrm">Passenger::StandardApplicationPool</a></p>
|
100
101
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1SystemException.html" target="basefrm">Passenger::SystemException</a></p>
|
101
|
-
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="
|
102
|
-
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1TempFile.html" target="basefrm">Passenger::TempFile</a></p>
|
102
|
+
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1SystemTime.html" target="basefrm">Passenger::SystemTime</a></p>
|
103
103
|
</div>
|
104
104
|
<p><img src="ftv2pnode.png" alt="o" width=16 height=22 onclick="toggleFolder('folder4', this)"/><img src="ftv2folderclosed.png" alt="+" width=24 height=22 onclick="toggleFolder('folder4', this)"/><a class="el" href="hierarchy.html" target="basefrm">Class Hierarchy</a></p>
|
105
105
|
<div id="folder4">
|
@@ -112,6 +112,7 @@
|
|
112
112
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1StandardApplicationPool.html" target="basefrm">Passenger::StandardApplicationPool</a></p>
|
113
113
|
</div>
|
114
114
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1ApplicationPoolServer.html" target="basefrm">Passenger::ApplicationPoolServer</a></p>
|
115
|
+
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1BufferedUpload.html" target="basefrm">Passenger::BufferedUpload</a></p>
|
115
116
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1BusyException.html" target="basefrm">Passenger::BusyException</a></p>
|
116
117
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classClient.html" target="basefrm">Client</a></p>
|
117
118
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1ConfigurationException.html" target="basefrm">Passenger::ConfigurationException</a></p>
|
@@ -132,8 +133,7 @@
|
|
132
133
|
<div id="folder7">
|
133
134
|
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1FileSystemException.html" target="basefrm">Passenger::FileSystemException</a></p>
|
134
135
|
</div>
|
135
|
-
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="
|
136
|
-
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1TempFile.html" target="basefrm">Passenger::TempFile</a></p>
|
136
|
+
<p><img src="ftv2vertline.png" alt="|" width=16 height=22 /><img src="ftv2lastnode.png" alt="\" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="classPassenger_1_1SystemTime.html" target="basefrm">Passenger::SystemTime</a></p>
|
137
137
|
</div>
|
138
138
|
<p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="functions.html" target="basefrm">Class Members</a></p>
|
139
139
|
<p><img src="ftv2node.png" alt="o" width=16 height=22 /><img src="ftv2doc.png" alt="*" width=24 height=22 /><a class="el" href="inherits.html" target="basefrm">Graphical Class Hierarchy</a></p>
|
@@ -105,39 +105,39 @@ timeout occurred.
|
|
105
105
|
<p class="source-link">[ <a href="javascript:toggleSource('M000003_source')" id="l_M000003_source">show source</a> ]</p>
|
106
106
|
<div id="M000003_source" class="dyn-source">
|
107
107
|
<pre>
|
108
|
-
<span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
382: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secs</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
123
|
-
383: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>, <span class="ruby-identifier">secs</span>)
|
124
|
-
384: <span class="ruby-keyword kw">else</span>
|
125
|
-
385: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>)
|
126
|
-
386: <span class="ruby-keyword kw">end</span>
|
127
|
-
387: <span class="ruby-keyword kw">else</span>
|
128
|
-
388: <span class="ruby-identifier">require</span> <span class="ruby-value str">'timeout'</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-constant">Timeout</span>)
|
108
|
+
<span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 376</span>
|
109
|
+
376: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">timed_wait</span>(<span class="ruby-identifier">mutex</span>, <span class="ruby-identifier">secs</span>)
|
110
|
+
377: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secs</span> <span class="ruby-operator">></span> <span class="ruby-value">100000000</span>
|
111
|
+
378: <span class="ruby-comment cmt"># NOTE: If one calls timeout() on FreeBSD 5 with an</span>
|
112
|
+
379: <span class="ruby-comment cmt"># argument of more than 100000000, then MRI will become</span>
|
113
|
+
380: <span class="ruby-comment cmt"># stuck in an infite loop, blocking all threads. It seems</span>
|
114
|
+
381: <span class="ruby-comment cmt"># that MRI uses select() to implement sleeping.</span>
|
115
|
+
382: <span class="ruby-comment cmt"># I think that a value of more than 100000000 overflows</span>
|
116
|
+
383: <span class="ruby-comment cmt"># select()'s data structures, causing it to behave incorrectly.</span>
|
117
|
+
384: <span class="ruby-comment cmt"># So we just make sure we can't sleep more than 100000000</span>
|
118
|
+
385: <span class="ruby-comment cmt"># seconds.</span>
|
119
|
+
386: <span class="ruby-identifier">secs</span> = <span class="ruby-value">100000000</span>
|
120
|
+
387: <span class="ruby-keyword kw">end</span>
|
121
|
+
388: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-constant">RUBY_ENGINE</span>) <span class="ruby-operator">&&</span> <span class="ruby-constant">RUBY_ENGINE</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"jruby"</span>
|
129
122
|
389: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secs</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
130
|
-
390: <span class="ruby-
|
131
|
-
391:
|
132
|
-
392: <span class="ruby-keyword kw">
|
133
|
-
393: <span class="ruby-keyword kw">
|
134
|
-
394:
|
135
|
-
395: <span class="ruby-keyword kw">
|
136
|
-
396: <span class="ruby-keyword kw">
|
137
|
-
397:
|
138
|
-
398:
|
139
|
-
399:
|
140
|
-
400:
|
123
|
+
390: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>, <span class="ruby-identifier">secs</span>)
|
124
|
+
391: <span class="ruby-keyword kw">else</span>
|
125
|
+
392: <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>)
|
126
|
+
393: <span class="ruby-keyword kw">end</span>
|
127
|
+
394: <span class="ruby-keyword kw">else</span>
|
128
|
+
395: <span class="ruby-identifier">require</span> <span class="ruby-value str">'timeout'</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-constant">Timeout</span>)
|
129
|
+
396: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secs</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
130
|
+
397: <span class="ruby-constant">Timeout</span>.<span class="ruby-identifier">timeout</span>(<span class="ruby-identifier">secs</span>) <span class="ruby-keyword kw">do</span>
|
131
|
+
398: <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>)
|
132
|
+
399: <span class="ruby-keyword kw">end</span>
|
133
|
+
400: <span class="ruby-keyword kw">else</span>
|
134
|
+
401: <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>)
|
135
|
+
402: <span class="ruby-keyword kw">end</span>
|
136
|
+
403: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">true</span>
|
137
|
+
404: <span class="ruby-keyword kw">end</span>
|
138
|
+
405: <span class="ruby-keyword kw">rescue</span> <span class="ruby-constant">Timeout</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>
|
139
|
+
406: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">false</span>
|
140
|
+
407: <span class="ruby-keyword kw">end</span>
|
141
141
|
</pre>
|
142
142
|
</div>
|
143
143
|
</div>
|
@@ -156,32 +156,32 @@ amount of time. Raises Timeout::Error if the timeout has elapsed.
|
|
156
156
|
<p class="source-link">[ <a href="javascript:toggleSource('M000004_source')" id="l_M000004_source">show source</a> ]</p>
|
157
157
|
<div id="M000004_source" class="dyn-source">
|
158
158
|
<pre>
|
159
|
-
<span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
159
|
+
<span class="ruby-comment cmt"># File lib/phusion_passenger/utils.rb, line 411</span>
|
160
|
+
411: <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">timed_wait!</span>(<span class="ruby-identifier">mutex</span>, <span class="ruby-identifier">secs</span>)
|
161
|
+
412: <span class="ruby-identifier">require</span> <span class="ruby-value str">'timeout'</span> <span class="ruby-keyword kw">unless</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-constant">Timeout</span>)
|
162
|
+
413: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secs</span> <span class="ruby-operator">></span> <span class="ruby-value">100000000</span>
|
163
|
+
414: <span class="ruby-comment cmt"># See the corresponding note for timed_wait().</span>
|
164
|
+
415: <span class="ruby-identifier">secs</span> = <span class="ruby-value">100000000</span>
|
165
|
+
416: <span class="ruby-keyword kw">end</span>
|
166
|
+
417: <span class="ruby-keyword kw">if</span> <span class="ruby-keyword kw">defined?</span>(<span class="ruby-constant">RUBY_ENGINE</span>) <span class="ruby-operator">&&</span> <span class="ruby-constant">RUBY_ENGINE</span> <span class="ruby-operator">==</span> <span class="ruby-value str">"jruby"</span>
|
167
|
+
418: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secs</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
168
|
+
419: <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span><span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>, <span class="ruby-identifier">secs</span>)
|
169
|
+
420: <span class="ruby-identifier">raise</span> <span class="ruby-constant">Timeout</span><span class="ruby-operator">::</span><span class="ruby-constant">Error</span>, <span class="ruby-value str">"Timeout"</span>
|
170
|
+
421: <span class="ruby-keyword kw">end</span>
|
171
|
+
422: <span class="ruby-keyword kw">else</span>
|
172
|
+
423: <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>)
|
173
|
+
424: <span class="ruby-keyword kw">end</span>
|
174
|
+
425: <span class="ruby-keyword kw">else</span>
|
175
|
+
426: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">secs</span> <span class="ruby-operator">></span> <span class="ruby-value">0</span>
|
176
|
+
427: <span class="ruby-constant">Timeout</span>.<span class="ruby-identifier">timeout</span>(<span class="ruby-identifier">secs</span>) <span class="ruby-keyword kw">do</span>
|
177
|
+
428: <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>)
|
178
|
+
429: <span class="ruby-keyword kw">end</span>
|
179
|
+
430: <span class="ruby-keyword kw">else</span>
|
180
|
+
431: <span class="ruby-identifier">wait</span>(<span class="ruby-identifier">mutex</span>)
|
181
|
+
432: <span class="ruby-keyword kw">end</span>
|
182
|
+
433: <span class="ruby-keyword kw">end</span>
|
183
|
+
434: <span class="ruby-keyword kw">return</span> <span class="ruby-keyword kw">nil</span>
|
184
|
+
435: <span class="ruby-keyword kw">end</span>
|
185
185
|
</pre>
|
186
186
|
</div>
|
187
187
|
</div>
|