passenger 2.0.5 → 2.0.6

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 (108) hide show
  1. data/Rakefile +1 -1
  2. data/doc/Users guide.html +1 -1
  3. data/doc/cxxapi/ApplicationPoolServer_8h-source.html +1 -1
  4. data/doc/cxxapi/ApplicationPool_8h-source.html +1 -1
  5. data/doc/cxxapi/Application_8h-source.html +1 -1
  6. data/doc/cxxapi/Bucket_8h-source.html +1 -1
  7. data/doc/cxxapi/Configuration_8h-source.html +2 -2
  8. data/doc/cxxapi/DummySpawnManager_8h-source.html +1 -1
  9. data/doc/cxxapi/Exceptions_8h-source.html +198 -197
  10. data/doc/cxxapi/Hooks_8h-source.html +1 -1
  11. data/doc/cxxapi/Logging_8h-source.html +1 -1
  12. data/doc/cxxapi/MessageChannel_8h-source.html +1 -1
  13. data/doc/cxxapi/SpawnManager_8h-source.html +1 -1
  14. data/doc/cxxapi/StandardApplicationPool_8h-source.html +1 -1
  15. data/doc/cxxapi/System_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/classDirectoryMapper-members.html +1 -1
  21. data/doc/cxxapi/classDirectoryMapper.html +1 -1
  22. data/doc/cxxapi/classHooks-members.html +1 -1
  23. data/doc/cxxapi/classHooks.html +1 -1
  24. data/doc/cxxapi/classPassenger_1_1Application-members.html +1 -1
  25. data/doc/cxxapi/classPassenger_1_1Application.html +1 -1
  26. data/doc/cxxapi/classPassenger_1_1ApplicationPool-members.html +1 -1
  27. data/doc/cxxapi/classPassenger_1_1ApplicationPool.html +1 -1
  28. data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer-members.html +1 -1
  29. data/doc/cxxapi/classPassenger_1_1ApplicationPoolServer.html +1 -1
  30. data/doc/cxxapi/classPassenger_1_1Application_1_1Session-members.html +1 -1
  31. data/doc/cxxapi/classPassenger_1_1Application_1_1Session.html +1 -1
  32. data/doc/cxxapi/classPassenger_1_1BusyException-members.html +1 -1
  33. data/doc/cxxapi/classPassenger_1_1BusyException.html +1 -1
  34. data/doc/cxxapi/classPassenger_1_1ConfigurationException-members.html +1 -1
  35. data/doc/cxxapi/classPassenger_1_1ConfigurationException.html +1 -1
  36. data/doc/cxxapi/classPassenger_1_1DummySpawnManager-members.html +1 -1
  37. data/doc/cxxapi/classPassenger_1_1DummySpawnManager.html +1 -1
  38. data/doc/cxxapi/classPassenger_1_1FileNotFoundException-members.html +1 -1
  39. data/doc/cxxapi/classPassenger_1_1FileNotFoundException.html +1 -1
  40. data/doc/cxxapi/classPassenger_1_1FileSystemException-members.html +1 -1
  41. data/doc/cxxapi/classPassenger_1_1FileSystemException.html +1 -1
  42. data/doc/cxxapi/classPassenger_1_1IOException-members.html +1 -1
  43. data/doc/cxxapi/classPassenger_1_1IOException.html +1 -1
  44. data/doc/cxxapi/classPassenger_1_1MessageChannel-members.html +1 -1
  45. data/doc/cxxapi/classPassenger_1_1MessageChannel.html +1 -1
  46. data/doc/cxxapi/classPassenger_1_1SpawnException-members.html +1 -1
  47. data/doc/cxxapi/classPassenger_1_1SpawnException.html +1 -1
  48. data/doc/cxxapi/classPassenger_1_1SpawnManager-members.html +1 -1
  49. data/doc/cxxapi/classPassenger_1_1SpawnManager.html +1 -1
  50. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool-members.html +1 -1
  51. data/doc/cxxapi/classPassenger_1_1StandardApplicationPool.html +1 -1
  52. data/doc/cxxapi/classPassenger_1_1SystemException-members.html +1 -1
  53. data/doc/cxxapi/classPassenger_1_1SystemException.html +1 -1
  54. data/doc/cxxapi/classPassenger_1_1TempFile-members.html +1 -1
  55. data/doc/cxxapi/classPassenger_1_1TempFile.html +1 -1
  56. data/doc/cxxapi/classPassenger_1_1Thread-members.html +1 -1
  57. data/doc/cxxapi/classPassenger_1_1Thread.html +1 -1
  58. data/doc/cxxapi/classboost_1_1this__thread_1_1disable__syscall__interruption-members.html +1 -1
  59. data/doc/cxxapi/classboost_1_1this__thread_1_1disable__syscall__interruption.html +1 -1
  60. data/doc/cxxapi/classboost_1_1this__thread_1_1enable__syscall__interruption-members.html +1 -1
  61. data/doc/cxxapi/classboost_1_1this__thread_1_1enable__syscall__interruption.html +1 -1
  62. data/doc/cxxapi/classboost_1_1this__thread_1_1restore__syscall__interruption-members.html +1 -1
  63. data/doc/cxxapi/classboost_1_1this__thread_1_1restore__syscall__interruption.html +1 -1
  64. data/doc/cxxapi/definitions_8h-source.html +1 -1
  65. data/doc/cxxapi/files.html +1 -1
  66. data/doc/cxxapi/functions.html +1 -1
  67. data/doc/cxxapi/functions_func.html +1 -1
  68. data/doc/cxxapi/functions_type.html +1 -1
  69. data/doc/cxxapi/functions_vars.html +1 -1
  70. data/doc/cxxapi/graph_legend.html +1 -1
  71. data/doc/cxxapi/group__Configuration.html +3 -3
  72. data/doc/cxxapi/group__Core.html +1 -1
  73. data/doc/cxxapi/group__Exceptions.html +1 -1
  74. data/doc/cxxapi/group__Hooks.html +1 -1
  75. data/doc/cxxapi/group__Support.html +1 -1
  76. data/doc/cxxapi/hierarchy.html +1 -1
  77. data/doc/cxxapi/inherits.html +1 -1
  78. data/doc/cxxapi/main.html +1 -1
  79. data/doc/cxxapi/modules.html +1 -1
  80. data/doc/cxxapi/namespacePassenger.html +1 -1
  81. data/doc/cxxapi/namespacePassenger_1_1InterruptableCalls.html +1 -1
  82. data/doc/cxxapi/namespacemembers.html +1 -1
  83. data/doc/cxxapi/namespacemembers_func.html +1 -1
  84. data/doc/cxxapi/namespacemembers_type.html +1 -1
  85. data/doc/cxxapi/namespaces.html +1 -1
  86. data/doc/cxxapi/structPassenger_1_1AnythingToString-members.html +1 -1
  87. data/doc/cxxapi/structPassenger_1_1AnythingToString.html +1 -1
  88. data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4-members.html +1 -1
  89. data/doc/cxxapi/structPassenger_1_1AnythingToString_3_01vector_3_01string_01_4_01_4.html +1 -1
  90. data/doc/rdoc/classes/Passenger/SpawnManager.html +73 -69
  91. data/doc/rdoc/created.rid +1 -1
  92. data/doc/rdoc/files/DEVELOPERS_TXT.html +1 -1
  93. data/doc/rdoc/files/ext/passenger/native_support_c.html +1 -1
  94. data/doc/rdoc/files/lib/passenger/abstract_request_handler_rb.html +1 -1
  95. data/doc/rdoc/files/lib/passenger/abstract_server_rb.html +1 -1
  96. data/doc/rdoc/files/lib/passenger/application_rb.html +1 -1
  97. data/doc/rdoc/files/lib/passenger/constants_rb.html +1 -1
  98. data/doc/rdoc/files/lib/passenger/dependencies_rb.html +1 -1
  99. data/doc/rdoc/files/lib/passenger/exceptions_rb.html +1 -1
  100. data/doc/rdoc/files/lib/passenger/message_channel_rb.html +1 -1
  101. data/doc/rdoc/files/lib/passenger/platform_info_rb.html +1 -1
  102. data/doc/rdoc/files/lib/passenger/spawn_manager_rb.html +1 -1
  103. data/doc/rdoc/files/lib/passenger/utils_rb.html +1 -1
  104. data/ext/apache2/Configuration.h +1 -1
  105. data/ext/apache2/Exceptions.h +1 -0
  106. data/ext/passenger/native_support.c +3 -0
  107. data/lib/passenger/spawn_manager.rb +5 -1
  108. metadata +2 -2
@@ -1 +1 @@
1
- Fri, 05 Dec 2008 13:52:55 +0100
1
+ Mon, 15 Dec 2008 15:27:19 +0100
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:52 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -63,7 +63,7 @@
63
63
  </tr>
64
64
  <tr>
65
65
  <td>Modified:</td>
66
- <td>Fri Dec 05 12:57:36 +0100 2008</td>
66
+ <td>Mon Dec 15 15:14:53 +0100 2008</td>
67
67
  </tr>
68
68
  </table>
69
69
  </td></tr>
@@ -31,7 +31,7 @@
31
31
  */
32
32
 
33
33
  /** Module version number. */
34
- #define PASSENGER_VERSION "2.0.5"
34
+ #define PASSENGER_VERSION "2.0.6"
35
35
 
36
36
  #ifdef __cplusplus
37
37
  #include <set>
@@ -23,6 +23,7 @@
23
23
  #include <exception>
24
24
  #include <string>
25
25
  #include <sstream>
26
+ #include <cstring>
26
27
 
27
28
  /**
28
29
  * @defgroup Exceptions Exceptions
@@ -26,6 +26,9 @@
26
26
  #include <errno.h>
27
27
 
28
28
  #define MIN(a, b) (((a) < (b)) ? (a) : (b))
29
+ #ifndef RARRAY_LEN
30
+ #define RARRAY_LEN(ary) RARRAY(ary)->len
31
+ #endif
29
32
 
30
33
  static VALUE mPassenger;
31
34
  static VALUE mNativeSupport;
@@ -71,7 +71,11 @@ class SpawnManager < AbstractServer
71
71
 
72
72
  # Commonly used libraries.
73
73
  ['mysql', 'sqlite3'].each do |lib|
74
- require lib
74
+ begin
75
+ require lib
76
+ rescue LoadError
77
+ # Do nothing; ignore if not present.
78
+ end
75
79
  end
76
80
  end
77
81
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phusion - http://www.phusion.nl/
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-05 00:00:00 +01:00
12
+ date: 2008-12-15 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency