passenger 1.0.4 → 1.0.5

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.

Files changed (98) hide show
  1. data/Rakefile +7 -4
  2. data/bin/passenger-install-apache2-module +3 -1
  3. data/doc/Users guide.html +1 -1
  4. data/doc/cxxapi/ApplicationPoolClientServer_8h-source.html +1 -1
  5. data/doc/cxxapi/ApplicationPoolServer_8h-source.html +497 -496
  6. data/doc/cxxapi/ApplicationPool_8h-source.html +1 -1
  7. data/doc/cxxapi/Application_8h-source.html +1 -1
  8. data/doc/cxxapi/Configuration_8h-source.html +2 -2
  9. data/doc/cxxapi/DummySpawnManager_8h-source.html +1 -1
  10. data/doc/cxxapi/Exceptions_8h-source.html +1 -1
  11. data/doc/cxxapi/Hooks_8h-source.html +1 -1
  12. data/doc/cxxapi/Logging_8h-source.html +1 -1
  13. data/doc/cxxapi/MessageChannel_8h-source.html +224 -198
  14. data/doc/cxxapi/SpawnManager_8h-source.html +1 -1
  15. data/doc/cxxapi/StandardApplicationPool_8h-source.html +1 -1
  16. data/doc/cxxapi/Utils_8h-source.html +1 -1
  17. data/doc/cxxapi/annotated.html +1 -1
  18. data/doc/cxxapi/classClient-members.html +1 -1
  19. data/doc/cxxapi/classClient.html +1 -1
  20. data/doc/cxxapi/classPassenger_1_1Application-members.html +1 -1
  21. data/doc/cxxapi/classPassenger_1_1Application.html +1 -1
  22. data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +1 -1
  23. data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +1 -1
  24. data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +1 -1
  25. data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +1 -1
  26. data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +1 -1
  27. data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +1 -1
  28. data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +1 -1
  29. data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +1 -1
  30. data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +1 -1
  31. data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +1 -1
  32. data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +1 -1
  33. data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +1 -1
  34. data/doc/cxxapi/classPassenger_1_1IOException-members.html +1 -1
  35. data/doc/cxxapi/classPassenger_1_1IOException.html +1 -1
  36. data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +1 -1
  37. data/doc/cxxapi/classPassenger_1_1MessageChannel.html +1 -1
  38. data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +1 -1
  39. data/doc/cxxapi/classPassenger_1_1SpawnException.html +1 -1
  40. data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +1 -1
  41. data/doc/cxxapi/classPassenger_1_1SpawnManager.html +1 -1
  42. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +1 -1
  43. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +1 -1
  44. data/doc/cxxapi/classPassenger_1_1SystemException-members.html +1 -1
  45. data/doc/cxxapi/classPassenger_1_1SystemException.html +1 -1
  46. data/doc/cxxapi/definitions_8h-source.html +1 -1
  47. data/doc/cxxapi/files.html +1 -1
  48. data/doc/cxxapi/functions.html +1 -1
  49. data/doc/cxxapi/functions_func.html +1 -1
  50. data/doc/cxxapi/functions_type.html +1 -1
  51. data/doc/cxxapi/graph_legend.html +1 -1
  52. data/doc/cxxapi/graph_legend.png +0 -0
  53. data/doc/cxxapi/group__Configuration.html +3 -3
  54. data/doc/cxxapi/group__Configuration.png +0 -0
  55. data/doc/cxxapi/group__Core.html +1 -1
  56. data/doc/cxxapi/group__Core.png +0 -0
  57. data/doc/cxxapi/group__Exceptions.html +1 -1
  58. data/doc/cxxapi/group__Hooks.html +1 -1
  59. data/doc/cxxapi/group__Hooks.png +0 -0
  60. data/doc/cxxapi/group__Support.html +1 -1
  61. data/doc/cxxapi/hierarchy.html +1 -1
  62. data/doc/cxxapi/inherit__graph__0.png +0 -0
  63. data/doc/cxxapi/inherit__graph__1.png +0 -0
  64. data/doc/cxxapi/inherit__graph__2.png +0 -0
  65. data/doc/cxxapi/inherit__graph__3.png +0 -0
  66. data/doc/cxxapi/inherit__graph__4.png +0 -0
  67. data/doc/cxxapi/inherit__graph__5.png +0 -0
  68. data/doc/cxxapi/inherit__graph__6.png +0 -0
  69. data/doc/cxxapi/inherit__graph__7.png +0 -0
  70. data/doc/cxxapi/inherit__graph__8.png +0 -0
  71. data/doc/cxxapi/inherit__graph__9.png +0 -0
  72. data/doc/cxxapi/inherits.html +1 -1
  73. data/doc/cxxapi/main.html +1 -1
  74. data/doc/cxxapi/modules.html +1 -1
  75. data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +1 -1
  76. data/doc/cxxapi/structPassenger_1_1AnythingToString.html +1 -1
  77. data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +1 -1
  78. data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +1 -1
  79. data/doc/rdoc/created.rid +1 -1
  80. data/doc/rdoc/files/DEVELOPERS_TXT.html +1 -1
  81. data/doc/rdoc/files/ext/passenger/native_support_c.html +1 -1
  82. data/doc/rdoc/files/lib/passenger/abstract_server_rb.html +1 -1
  83. data/doc/rdoc/files/lib/passenger/application_spawner_rb.html +1 -1
  84. data/doc/rdoc/files/lib/passenger/dependencies_rb.html +1 -1
  85. data/doc/rdoc/files/lib/passenger/framework_spawner_rb.html +1 -1
  86. data/doc/rdoc/files/lib/passenger/request_handler_rb.html +1 -1
  87. data/doc/rdoc/files/lib/passenger/spawn_manager_rb.html +1 -1
  88. data/doc/rdoc/files/lib/passenger/utils_rb.html +1 -1
  89. data/ext/apache2/Configuration.h +1 -1
  90. data/ext/apache2/MessageChannel.h +37 -11
  91. data/ext/passenger/native_support.c +36 -10
  92. data/lib/passenger/templates/app_exited_during_initialization.html.erb +3 -2
  93. data/lib/passenger/templates/welcome.txt.erb +1 -1
  94. data/misc/render_error_pages.rb +3 -0
  95. data/test/stub/{mycook → rails_apps/mycook}/config/environments/test.rb +0 -0
  96. metadata +12 -14
  97. data/test/stub/apache2/httpd.conf +0 -75
  98. data/test/stub/railsapp-without-version-spec/config/environments/test.rb +0 -22
@@ -1,75 +0,0 @@
1
- ServerRoot "/home/hongli/Projects/mod_rails/test/stub/apache2"
2
- Listen 127.0.0.1:64506
3
-
4
-
5
- User ninh
6
- Group ninh
7
-
8
-
9
-
10
-
11
- LoadModule unique_id_module "/usr/lib/apache2/modules/mod_unique_id.so"
12
-
13
-
14
- LoadModule mime_module "/usr/lib/apache2/modules/mod_mime.so"
15
-
16
-
17
- LoadModule dir_module "/usr/lib/apache2/modules/mod_dir.so"
18
-
19
-
20
- LoadModule alias_module "/usr/lib/apache2/modules/mod_alias.so"
21
-
22
-
23
- LoadModule rewrite_module "/usr/lib/apache2/modules/mod_rewrite.so"
24
-
25
- LoadModule passenger_module "/home/hongli/Projects/mod_rails/ext/apache2/mod_passenger.so"
26
-
27
- RailsSpawnServer "/home/hongli/Projects/mod_rails/bin/passenger-spawn-server"
28
- RailsRuby "/usr/bin/ruby1.8"
29
- RailsEnv production
30
-
31
- TypesConfig "/home/hongli/Projects/mod_rails/test/stub/apache2/mime.types"
32
- <IfModule mpm_prefork_module>
33
- StartServers 1
34
- MinSpareServers 1
35
- MaxSpareServers 3
36
- MaxClients 50
37
- MaxRequestsPerChild 50
38
- </IfModule>
39
-
40
- <Directory />
41
- AllowOverride all
42
- </Directory>
43
-
44
- ServerAdmin admin@passenger.test
45
- ServerName passenger.test
46
- DocumentRoot "/home/hongli/Projects/mod_rails/test/stub/mycook/public"
47
-
48
- LockFile /home/hongli/Projects/mod_rails/test/stub/apache2/httpd.lock
49
- PidFile /home/hongli/Projects/mod_rails/test/stub/apache2/httpd.pid
50
- ErrorLog /home/hongli/Projects/mod_rails/test/stub/apache2/errors.log
51
- CustomLog /home/hongli/Projects/mod_rails/test/stub/apache2/access.log combined
52
-
53
- NameVirtualHost *:64506
54
-
55
- <VirtualHost *:64506>
56
- ServerName mycook.passenger.test
57
- DocumentRoot "/home/hongli/Projects/mod_rails/test/stub/mycook/public"
58
- </VirtualHost>
59
-
60
- <VirtualHost *:64506>
61
- ServerName zsfa.passenger.test
62
- DocumentRoot "/home/hongli/Projects/mod_rails/test/stub/zsfa"
63
- RailsBaseURI /mycook
64
- RailsBaseURI /foo
65
- RailsBaseURI /app-with-nonexistant-rails-version
66
- RailsBaseURI /app-that-crashes-during-startup
67
- RailsBaseURI /app-with-crashing-vendor-rails
68
- </VirtualHost>
69
-
70
- <VirtualHost *:64506>
71
- ServerName norails.passenger.test
72
- DocumentRoot "/home/hongli/Projects/mod_rails/test/stub/mycook/public"
73
- RailsAutoDetect off
74
- </VirtualHost>
75
-
@@ -1,22 +0,0 @@
1
- # Settings specified here will take precedence over those in config/environment.rb
2
-
3
- # The test environment is used exclusively to run your application's
4
- # test suite. You never need to work with it otherwise. Remember that
5
- # your test database is "scratch space" for the test suite and is wiped
6
- # and recreated between test runs. Don't rely on the data there!
7
- config.cache_classes = true
8
-
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
11
-
12
- # Show full error reports and disable caching
13
- config.action_controller.consider_all_requests_local = true
14
- config.action_controller.perform_caching = false
15
-
16
- # Disable request forgery protection in test environment
17
- config.action_controller.allow_forgery_protection = false
18
-
19
- # Tell ActionMailer not to deliver emails to the real world.
20
- # The :test delivery method accumulates sent emails in the
21
- # ActionMailer::Base.deliveries array.
22
- config.action_mailer.delivery_method = :test