passenger 6.1.0 → 6.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (441) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +46 -2
  3. data/Rakefile +6 -13
  4. data/bin/passenger-install-apache2-module +15 -19
  5. data/bin/passenger-install-nginx-module +47 -44
  6. data/bin/passenger-status +9 -10
  7. data/build/common_library.rb +4 -4
  8. data/build/support/vendor/cxxcodebuilder/lib/cxxcodebuilder/builder.rb +1 -1
  9. data/build/test_basics.rb +4 -3
  10. data/dev/copy_boost_headers +54 -40
  11. data/dev/ruby_server.rb +6 -1
  12. data/passenger.gemspec +1 -0
  13. data/src/agent/Core/Config.h +1 -1
  14. data/src/agent/Core/Controller/Config.h +1 -1
  15. data/src/agent/Watchdog/Config.h +1 -1
  16. data/src/cxx_supportlib/Constants.h +1 -1
  17. data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +8 -1
  18. data/src/cxx_supportlib/vendor-modified/boost/assert.hpp +6 -0
  19. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +94 -110
  20. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_flag.hpp +2 -2
  21. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -14
  22. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +3 -3
  23. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag_impl.hpp +52 -24
  24. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_impl.hpp +641 -285
  25. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +593 -260
  26. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +37 -24
  27. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +9 -9
  28. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas_based_exchange.hpp +3 -3
  29. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/chrono.hpp +93 -0
  30. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +16 -17
  31. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +25 -34
  32. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp +204 -97
  33. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +251 -122
  34. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp +56 -56
  35. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_arm.hpp +129 -129
  36. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp +253 -125
  37. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp +25 -25
  38. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +193 -126
  39. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +57 -57
  40. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_x86.hpp +96 -97
  41. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated.hpp +24 -24
  42. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_cas_based.hpp +10 -10
  43. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_atomic.hpp +27 -24
  44. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_sync.hpp +39 -37
  45. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_linux_arm.hpp +17 -17
  46. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extending_cas_based_arithmetic.hpp +5 -5
  47. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_emulated.hpp +12 -12
  48. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +21 -21
  49. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_emulated.hpp +30 -30
  50. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +170 -98
  51. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +209 -119
  52. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_arm.hpp +95 -95
  53. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +148 -76
  54. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_x86.hpp +293 -123
  55. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_generic.hpp +87 -71
  56. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_arm.hpp +5 -5
  57. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_x86.hpp +88 -88
  58. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_operations.hpp +2 -2
  59. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp +4 -5
  60. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp +4 -4
  61. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp +4 -4
  62. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp +9 -9
  63. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp +4 -4
  64. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp +4 -4
  65. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp +4 -4
  66. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp +5 -5
  67. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp +6 -6
  68. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations.hpp +2 -2
  69. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations_emulated.hpp +2 -2
  70. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_atomic.hpp +5 -5
  71. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_sync.hpp +4 -4
  72. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_linux_arm.hpp +7 -7
  73. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_emulated.hpp +7 -7
  74. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_generic.hpp +6 -6
  75. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +110 -49
  76. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp +1 -1
  77. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/has_posix_clock_traits.hpp +51 -0
  78. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +26 -32
  79. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/integral_conversions.hpp +15 -15
  80. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/interlocked.hpp +69 -30
  81. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/intptr.hpp +8 -8
  82. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lock_pool.hpp +51 -31
  83. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/memory_order_utils.hpp +2 -2
  84. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/once_flag.hpp +2 -2
  85. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm_common.hpp +6 -6
  86. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_ppc_common.hpp +4 -4
  87. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +5 -5
  88. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_traits.hpp +31 -31
  89. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +2 -3
  90. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/has_unique_object_representations.hpp +2 -5
  91. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_floating_point.hpp +3 -3
  92. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_iec559.hpp +2 -2
  93. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_integral.hpp +3 -3
  94. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_signed.hpp +3 -3
  95. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_trivially_copyable.hpp +20 -13
  96. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp +13 -13
  97. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/make_signed.hpp +3 -3
  98. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/make_unsigned.hpp +3 -3
  99. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_darwin_ulock.hpp +90 -16
  100. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp +80 -11
  101. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_emulated.hpp +160 -15
  102. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_freebsd_umtx.hpp +327 -38
  103. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_futex.hpp +276 -33
  104. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_generic.hpp +260 -20
  105. data/src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp +4 -3
  106. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +14 -18
  107. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_flag.hpp +2 -2
  108. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +13 -13
  109. data/src/cxx_supportlib/vendor-modified/boost/atomic/posix_clock_traits_fwd.hpp +59 -0
  110. data/src/cxx_supportlib/vendor-modified/boost/atomic/thread_pause.hpp +102 -0
  111. data/src/cxx_supportlib/vendor-modified/boost/atomic/wait_result.hpp +56 -0
  112. data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +4 -1
  113. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +5 -0
  114. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +1 -1
  115. data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +108 -41
  116. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +1235 -1009
  117. data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +3 -2
  118. data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +56 -0
  119. data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_helpers.hpp +1 -0
  120. data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +9 -9
  121. data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +23 -2
  122. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -1
  123. data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +88 -23
  124. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +2 -1
  125. data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +2 -2
  126. data/src/cxx_supportlib/vendor-modified/boost/container/detail/operator_new_helpers.hpp +68 -0
  127. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +72 -13
  128. data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +13 -0
  129. data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +8 -5
  130. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +31 -10
  131. data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +37 -10
  132. data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +19 -0
  133. data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +23 -1
  134. data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +72 -5
  135. data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +3 -10
  136. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +54 -23
  137. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +6 -4
  138. data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +19 -0
  139. data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +32 -5
  140. data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +27 -2
  141. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +22 -0
  142. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +37 -17
  143. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +23 -1
  144. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +41 -20
  145. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +5 -8
  146. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +3 -1
  147. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_is_avalanching.hpp +57 -0
  148. data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +29 -29
  149. data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +3 -3
  150. data/src/cxx_supportlib/vendor-modified/boost/core/data.hpp +15 -1
  151. data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +1 -0
  152. data/src/cxx_supportlib/vendor-modified/boost/core/demangle.hpp +1 -1
  153. data/src/cxx_supportlib/vendor-modified/boost/core/detail/assert.hpp +18 -0
  154. data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_sleep.hpp +2 -2
  155. data/src/cxx_supportlib/vendor-modified/boost/core/detail/static_assert.hpp +42 -0
  156. data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +16 -10
  157. data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +35 -27
  158. data/src/cxx_supportlib/vendor-modified/boost/core/scoped_enum.hpp +1 -1
  159. data/src/cxx_supportlib/vendor-modified/boost/core/size.hpp +14 -0
  160. data/src/cxx_supportlib/vendor-modified/boost/core/span.hpp +20 -9
  161. data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +0 -5
  162. data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +8 -0
  163. data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +1 -1
  164. data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +1 -0
  165. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +4 -4
  166. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +2 -2
  167. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_rebind.hpp +9 -0
  168. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +1 -0
  169. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +2 -2
  170. data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +43 -64
  171. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +0 -83
  172. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_undef.hpp +1 -5
  173. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/eval_if_default.hpp +44 -0
  174. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +103 -117
  175. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/type_traits/conjunction.hpp +53 -0
  176. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/type_traits/disjunction.hpp +53 -0
  177. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/type_traits/negation.hpp +53 -0
  178. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/type_traits/type_identity.hpp +54 -0
  179. data/src/cxx_supportlib/vendor-modified/boost/iterator/distance.hpp +32 -38
  180. data/src/cxx_supportlib/vendor-modified/boost/iterator/enable_if_convertible.hpp +84 -0
  181. data/src/cxx_supportlib/vendor-modified/boost/iterator/interoperable.hpp +22 -34
  182. data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +16 -16
  183. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_adaptor.hpp +162 -309
  184. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_categories.hpp +52 -161
  185. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_concepts.hpp +3 -11
  186. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +804 -977
  187. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_traits.hpp +24 -17
  188. data/src/cxx_supportlib/vendor-modified/boost/iterator/min_category.hpp +83 -0
  189. data/src/cxx_supportlib/vendor-modified/boost/iterator/minimum_category.hpp +11 -73
  190. data/src/cxx_supportlib/vendor-modified/boost/iterator/reverse_iterator.hpp +56 -57
  191. data/src/cxx_supportlib/vendor-modified/boost/iterator/transform_iterator.hpp +123 -156
  192. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +1 -1
  193. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/buffer_view.hpp +1 -1
  194. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +36 -33
  195. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +43 -50
  196. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +23 -27
  197. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +1 -1
  198. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +10 -11
  199. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp +1 -1
  200. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +1 -1
  201. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +6 -7
  202. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/type_traits.hpp +81 -0
  203. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +4 -4
  204. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +8 -9
  205. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +1 -1
  206. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +1 -12
  207. data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +8 -26
  208. data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_to_raw_pointer.hpp +1 -1
  209. data/src/cxx_supportlib/vendor-modified/boost/move/detail/launder.hpp +1 -1
  210. data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +6 -0
  211. data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +2 -2
  212. data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +11 -44
  213. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +34 -0
  214. data/src/cxx_supportlib/vendor-modified/boost/mp11/set.hpp +33 -1
  215. data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
  216. data/src/cxx_supportlib/vendor-modified/boost/mpl/and.hpp +4 -8
  217. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/na_assert.hpp +1 -1
  218. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/ptr_to_ref.hpp +1 -1
  219. data/src/cxx_supportlib/vendor-modified/boost/mpl/bitand.hpp +2 -6
  220. data/src/cxx_supportlib/vendor-modified/boost/mpl/bitor.hpp +2 -6
  221. data/src/cxx_supportlib/vendor-modified/boost/mpl/or.hpp +2 -6
  222. data/src/cxx_supportlib/vendor-modified/boost/pool/pool.hpp +1 -1
  223. data/src/cxx_supportlib/vendor-modified/boost/pool/simple_segregated_storage.hpp +0 -13
  224. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +190 -190
  225. data/src/cxx_supportlib/vendor-modified/boost/random/beta_distribution.hpp +12 -2
  226. data/src/cxx_supportlib/vendor-modified/boost/random/detail/config.hpp +4 -0
  227. data/src/cxx_supportlib/vendor-modified/boost/random/detail/size.hpp +41 -0
  228. data/src/cxx_supportlib/vendor-modified/boost/random/detail/xoshiro_base.hpp +472 -0
  229. data/src/cxx_supportlib/vendor-modified/boost/random/discrete_distribution.hpp +7 -10
  230. data/src/cxx_supportlib/vendor-modified/boost/random/gamma_distribution.hpp +1 -1
  231. data/src/cxx_supportlib/vendor-modified/boost/random/generalized_inverse_gaussian_distribution.hpp +339 -0
  232. data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +12 -14
  233. data/src/cxx_supportlib/vendor-modified/boost/random/inverse_gaussian_distribution.hpp +226 -0
  234. data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +1 -4
  235. data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +63 -63
  236. data/src/cxx_supportlib/vendor-modified/boost/random/piecewise_constant_distribution.hpp +7 -10
  237. data/src/cxx_supportlib/vendor-modified/boost/random/piecewise_linear_distribution.hpp +8 -11
  238. data/src/cxx_supportlib/vendor-modified/boost/random/seed_seq.hpp +1 -3
  239. data/src/cxx_supportlib/vendor-modified/boost/random/splitmix64.hpp +1 -4
  240. data/src/cxx_supportlib/vendor-modified/boost/random/xoshiro.hpp +488 -0
  241. data/src/cxx_supportlib/vendor-modified/boost/random.hpp +3 -0
  242. data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +2 -0
  243. data/src/cxx_supportlib/vendor-modified/boost/range/detail/has_member_size.hpp +1 -0
  244. data/src/cxx_supportlib/vendor-modified/boost/range/detail/msvc_has_iterator_workaround.hpp +2 -0
  245. data/src/cxx_supportlib/vendor-modified/boost/range/has_range_iterator.hpp +1 -1
  246. data/src/cxx_supportlib/vendor-modified/boost/range/iterator.hpp +1 -0
  247. data/src/cxx_supportlib/vendor-modified/boost/range/iterator_range_core.hpp +4 -1
  248. data/src/cxx_supportlib/vendor-modified/boost/range/size_type.hpp +1 -1
  249. data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +35 -18
  250. data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +18 -101
  251. data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +0 -4
  252. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +0 -4
  253. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +0 -6
  254. data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +0 -4
  255. data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +4 -10
  256. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +63 -17
  257. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +71 -16
  258. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +22 -1
  259. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +11 -4
  260. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +2 -0
  261. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +11 -8
  262. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +2 -1
  263. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +1 -1
  264. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +40 -38
  265. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +2 -0
  266. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +4 -0
  267. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +39 -37
  268. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +46 -9
  269. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +4 -0
  270. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +2 -0
  271. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +6 -4
  272. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +57 -8
  273. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +21 -6
  274. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +18 -3
  275. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +4 -2
  276. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +6 -6
  277. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +23 -18
  278. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +9 -9
  279. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +9 -5
  280. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +11 -7
  281. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +10 -7
  282. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +4 -4
  283. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +3 -0
  284. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +6 -2
  285. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +12 -9
  286. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +6 -3
  287. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +16 -11
  288. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +1 -1
  289. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits_defaults.hpp +2 -0
  290. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +2 -0
  291. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +7 -0
  292. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +54 -49
  293. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +64 -62
  294. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +16 -0
  295. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +12 -0
  296. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +6 -4
  297. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +3 -1
  298. data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +0 -4
  299. data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +0 -4
  300. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +1 -43
  301. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/deprecated_macros.hpp +7 -7
  302. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +2 -77
  303. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +1 -64
  304. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +3 -3
  305. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +0 -77
  306. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_cxx20_constexpr.hpp +37 -0
  307. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +5 -28
  308. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +41 -40
  309. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +0 -15
  310. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +0 -18
  311. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +1 -1
  312. data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +1 -1
  313. data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +1 -0
  314. data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +8 -6
  315. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +31 -10
  316. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +34 -8
  317. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +6 -4
  318. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/table.hpp +9 -1
  319. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +5 -5
  320. data/src/cxx_supportlib/vendor-modified/boost/unordered/{unordered_printers.hpp → detail/unordered_printers.hpp} +34 -36
  321. data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +6 -49
  322. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +6 -1
  323. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +6 -1
  324. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +6 -1
  325. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +6 -1
  326. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  327. data/src/nginx_module/ContentHandler.c +2 -0
  328. data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +3 -5
  329. data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +3 -5
  330. data/src/ruby_supportlib/phusion_passenger/config/install_agent_command.rb +3 -5
  331. data/src/ruby_supportlib/phusion_passenger/config/install_standalone_runtime_command.rb +3 -5
  332. data/src/ruby_supportlib/phusion_passenger/config/installation_utils.rb +1 -1
  333. data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +2 -2
  334. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +5 -3
  335. data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +2 -2
  336. data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +6 -13
  337. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +29 -30
  338. data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +7 -3
  339. data/src/ruby_supportlib/phusion_passenger/standalone/config_utils.rb +2 -0
  340. data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +1 -1
  341. data/src/ruby_supportlib/phusion_passenger/utils/json.rb +1 -1
  342. data/src/ruby_supportlib/phusion_passenger/utils/terminal_choice_menu.rb +1 -1
  343. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +1 -1
  344. data/src/ruby_supportlib/phusion_passenger.rb +8 -8
  345. metadata +40 -99
  346. data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +0 -47
  347. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +0 -41
  348. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_sunos.hpp +0 -34
  349. data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +0 -28
  350. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/pause.hpp +0 -68
  351. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/conditional.hpp +0 -42
  352. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/integral_constant.hpp +0 -46
  353. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_enum.hpp +0 -42
  354. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_function.hpp +0 -42
  355. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_nothrow_default_constructible.hpp +0 -46
  356. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/remove_cv.hpp +0 -42
  357. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_on_address.hpp +0 -64
  358. data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +0 -15
  359. data/src/cxx_supportlib/vendor-modified/boost/detail/indirect_traits.hpp +0 -195
  360. data/src/cxx_supportlib/vendor-modified/boost/detail/select_type.hpp +0 -36
  361. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/enable_if.hpp +0 -83
  362. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/internals.hpp +0 -35
  363. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +0 -120
  364. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_debug.cpp +0 -59
  365. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +0 -189
  366. data/src/cxx_supportlib/vendor-modified/boost/libs/system/src/error_code.cpp +0 -31
  367. data/src/cxx_supportlib/vendor-modified/boost/regex/config/borland.hpp +0 -72
  368. data/src/cxx_supportlib/vendor-modified/boost/regex/config/cwchar.hpp +0 -207
  369. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/static_mutex.hpp +0 -182
  370. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +0 -797
  371. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +0 -1598
  372. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +0 -3174
  373. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +0 -511
  374. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/char_regex_traits.hpp +0 -81
  375. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +0 -1237
  376. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -213
  377. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/error_type.hpp +0 -59
  378. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +0 -1516
  379. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/indexed_bit_flag.hpp +0 -54
  380. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/iterator_category.hpp +0 -91
  381. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/iterator_traits.hpp +0 -135
  382. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +0 -161
  383. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +0 -716
  384. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +0 -183
  385. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +0 -171
  386. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +0 -128
  387. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +0 -645
  388. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +0 -1030
  389. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +0 -1947
  390. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +0 -1131
  391. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +0 -146
  392. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +0 -83
  393. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regbase.hpp +0 -180
  394. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -166
  395. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +0 -1158
  396. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_fwd.hpp +0 -73
  397. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_grep.hpp +0 -155
  398. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +0 -195
  399. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_match.hpp +0 -382
  400. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_merge.hpp +0 -93
  401. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +0 -241
  402. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_replace.hpp +0 -99
  403. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_search.hpp +0 -217
  404. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_split.hpp +0 -174
  405. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +0 -327
  406. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits.hpp +0 -189
  407. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +0 -997
  408. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +0 -237
  409. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +0 -321
  410. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/sub_match.hpp +0 -516
  411. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/syntax_type.hpp +0 -105
  412. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_iterator.hpp +0 -185
  413. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_token_iterator.hpp +0 -360
  414. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +0 -871
  415. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +0 -1229
  416. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc.hpp +0 -79
  417. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +0 -63
  418. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +0 -88
  419. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_pt.hpp +0 -104
  420. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_spin.hpp +0 -69
  421. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_sync.hpp +0 -72
  422. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +0 -163
  423. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_aix.hpp +0 -152
  424. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +0 -185
  425. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +0 -148
  426. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +0 -170
  427. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +0 -200
  428. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +0 -194
  429. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +0 -179
  430. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +0 -186
  431. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +0 -147
  432. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +0 -174
  433. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_spin.hpp +0 -141
  434. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_sync.hpp +0 -165
  435. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +0 -163
  436. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +0 -30
  437. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +0 -69
  438. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +0 -128
  439. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_nt.hpp +0 -96
  440. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_pt.hpp +0 -86
  441. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_sync.hpp +0 -94
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8ecd4a23bcace3afe038c69160ef4696adea410390f6802e34c0ec659af25e0
4
- data.tar.gz: 77d6784d2f2b1f1e09c136890323f9008edcc1de74bec1a6dcd4c2b54e358213
3
+ metadata.gz: d8b463432f9160f9b746009db0faf286890b2ea8bcf7d8aa0aab5746fb90ea5e
4
+ data.tar.gz: 654da8b64ddfcd4da7f06bf437befd72a0a5646b778657c2ee7e6abc497426a7
5
5
  SHA512:
6
- metadata.gz: 4d9b403739e985baa1e668cb5b0ae1356253a5734ac491d754cc330fa68d3afbfe277c658b04564adb0cfac4fbdccb6c1a3389db6c1b2991644148be77d041df
7
- data.tar.gz: 5220f1aa9dd6d9e61258b00b9cfe1a3368e97e6b79c8373ce114a9c58cf0ba4d7e8bc8936be779450d44a33e9fb21fdd6ea4bf6d66fa1c444950ac403477421f
6
+ metadata.gz: 75af1cc0616d3b9250013dfbfec2093d0476620a54a826e7f234aca3542d5fae37cafc0143c79849ba24dd74cf4236b0d8104020656a14a372746eef569b853f
7
+ data.tar.gz: 535252005eca991e2001dfdb5739494f2f67775e8090eb1e2edbe15e11dda6e486bf78d133a34ee858c0007c293e7ebf9bae70f2bbf289fe1df8a0ad9d89a465
data/CHANGELOG CHANGED
@@ -1,15 +1,59 @@
1
- Release 6.1.0 (Not yet released)
1
+ Release 6.1.2 (Not yet released)
2
+ -------------
3
+ * [Ruby] logger is now a “bundled” but not “default” gem, so it must be added to gemspec. Closes GH-2642.
4
+ * [Ruby] Fix Ruby < 2.3 support. Closes GH-2641.
5
+ * Updated various library versions used in precompiled binaries (used for e.g. gem installs):
6
+ - cmake: 4.2.1 -> 4.2.2
7
+ - curl: 8.17.0 -> 8.18.0
8
+ - gnupg: 2.4.8 -> 2.5.16
9
+ - rubygems: 4.0.2 -> 4.0.4
10
+ - rubys:
11
+ - 3.2.9 -> 3.2.10
12
+ - added 4.0.1
13
+
14
+
15
+ Release 6.1.1
16
+ -------------
17
+ * [Ruby] Improve support for Ruby 4 and Frozen String Literals. Closes GH-2619.
18
+ * [Ubuntu] Add packages for Ubuntu 25.10 "questing", remove packages for Ubuntu 25.04 "plucky".
19
+ * Upgrade Boost from 1.87 -> 1.90.
20
+ * [Nginx] Fixes bug with unbuffered uploads. Closes GH-2575.
21
+ * [Nginx] Upgrades preferred Nginx to 1.28.0 from 1.26.3.
22
+ * [Nginx] The preferred PCRE2 version is now 10.46 (previously 10.45).
23
+ * Updated various library versions used in precompiled binaries (used for e.g. gem installs):
24
+ - ccache: 4.11.2 -> 4.12.2
25
+ - cmake: 4.0.0 -> 4.2.1
26
+ - curl: 8.12.1 -> 8.17.0
27
+ - git: 2.49.0 -> 2.52.0
28
+ - gnupg:2.4.7 -> 2.4.8
29
+ - libffi:3.4.7 -> 3.5.2
30
+ - libgcrypt:1.11.0 -> 1.11.2
31
+ - libgpg_error:1.51 -> 1.58
32
+ - libreadline:8.2 -> 8.3
33
+ - openssl:3.4.1 -> 3.6.0
34
+ - pcre2:10.45 -> 10.47
35
+ - pinentry:1.3.1 -> 1.3.2
36
+ - rubygems: 3.6.6 -> 4.0.2
37
+ - rubys:
38
+ - dropped 3.1.7
39
+ - 3.2.8 -> 3.2.9
40
+ - 3.3.7 -> 3.3.10
41
+ - 3.4.2 -> 3.4.8
42
+
43
+
44
+ Release 6.1.0
2
45
  -------------
3
46
  * [Ruby] Fix compatibility with Rackup while maintaining compatibility with Rack 3. Closes GH-2602.
4
47
  * A C++14 compiler is now required to compile Passenger.
5
48
  * Add rpm packages for EL10 (RHEL, Rocky, Alma).
6
49
  * [Standalone] Fixes security update checker with builtin engine.
7
50
  * [Debian] Add Debian 13 Trixie packages. Closes GH-2622.
51
+ * [Ubuntu] Add packages for Ubuntu 25.04 "plucky".
8
52
 
9
53
 
10
54
  Release 6.0.27
11
55
  -------------
12
- * Upgrade Boost from 1.86 1.87.
56
+ * Upgrade Boost from 1.86 -> 1.87.
13
57
  * Remove Passenger admin panel (Fuse).
14
58
  * Fix compilation on FreeBSD.
15
59
  * [Ruby] Fix compatibility with Rack 2 While maintaining compatibility with Rack 3. Closes GH-2595.
data/Rakefile CHANGED
@@ -26,22 +26,15 @@ $LOAD_PATH.unshift("#{SOURCE_ROOT}/src/ruby_supportlib")
26
26
  # Otherwise all Ruby commands will take slightly longer to start, which messes up
27
27
  # timing-sensitive tests like those in the C++ test suite.
28
28
  if defined?(Bundler)
29
- clean_env = nil
30
-
31
- if Bundler.respond_to?(:with_original_env)
32
- Bundler.with_original_env do
33
- clean_env = ENV.to_hash.dup
34
- end
35
- elsif Bundler.respond_to?(:with_unbundled_env)
36
- Bundler.with_unbundled_env do
37
- clean_env = ENV.to_hash.dup
38
- end
29
+ if Bundler.respond_to?(:original_env)
30
+ clean_env = Bundler.original_env
31
+ elsif Bundler.respond_to?(:unbundled_env)
32
+ clean_env = Bundler.unbundled_env
39
33
  else
40
- Bundler.with_clean_env do
41
- clean_env = ENV.to_hash.dup
42
- end
34
+ clean_env = Bundler.clean_env
43
35
  end
44
36
  ENV.replace(clean_env)
37
+
45
38
  ARGV.each do |arg|
46
39
  if arg =~ /^(\w+)=(.*)$/m
47
40
  ENV[$1] = $2
@@ -421,7 +421,7 @@ private
421
421
  # Running apache2:clean deletes some object files needed
422
422
  # by passenger-install-nginx-module, so we ensure those
423
423
  # object files are compiled.
424
- command << " nginx"
424
+ command += " nginx"
425
425
  end
426
426
  return sh(command)
427
427
  else
@@ -435,14 +435,14 @@ private
435
435
  end
436
436
 
437
437
  def config_snippet
438
- result = "<IfModule mod_passenger.c>\n" +
439
- " PassengerRoot #{PhusionPassenger.install_spec}\n" +
440
- " PassengerDefaultRuby #{PlatformInfo.ruby_command}\n"
438
+ result = ["<IfModule mod_passenger.c>",
439
+ " PassengerRoot #{PhusionPassenger.install_spec}",
440
+ " PassengerDefaultRuby #{PlatformInfo.ruby_command}"]
441
441
  if PhusionPassenger.packaging_method == "rpm"
442
- result << " PassengerInstanceRegistryDir /var/run/passenger-instreg\n"
442
+ result << " PassengerInstanceRegistryDir /var/run/passenger-instreg"
443
443
  end
444
444
  result << "</IfModule>"
445
- result
445
+ result.join("\n")
446
446
  end
447
447
 
448
448
  def apache2_config_snippets
@@ -574,18 +574,14 @@ private
574
574
  end
575
575
 
576
576
  def remove_duplicate_comment_blocks(filename, begin_marker, end_marker)
577
- contents = File.open(filename, "rb") do |f|
578
- f.read
579
- end
577
+ contents = File.binread(filename)
580
578
  regexp = /#{Regexp.escape begin_marker}.*?#{Regexp.escape end_marker}\n?/m
581
579
  if m = regexp.match(contents)
582
580
  offset = m.end(0)
583
- rest = contents.slice!(m.end(0) .. -1)
581
+ rest = contents.slice!(offset .. -1)
584
582
  rest.gsub!(regexp, '')
585
583
  contents << rest
586
- File.open(filename, "wb") do |f|
587
- f.write(contents)
588
- end
584
+ File.binwrite(filename, contents)
589
585
  end
590
586
  end
591
587
 
@@ -916,9 +912,9 @@ parser = OptionParser.new do |opts|
916
912
 
917
913
  indent = ' ' * 37
918
914
  opts.separator "Options:"
919
- opts.on("-a", "--auto", String, "Automatically build the Apache module,\n" <<
920
- "#{indent}without interactively asking for user\n" <<
921
- "#{indent}input.") do
915
+ opts.on("-a", "--auto", String, ["Automatically build the Apache module,",
916
+ "#{indent}without interactively asking for user",
917
+ "#{indent}input."].join("\n")) do
922
918
  options[:auto] = true
923
919
  end
924
920
  opts.on("--apxs2-path PATH", String, "Path to 'apxs2' command.") do |value|
@@ -927,9 +923,9 @@ parser = OptionParser.new do |opts|
927
923
  opts.on("--apr-config-path PATH", String, "Path to 'apr-config' command.") do |value|
928
924
  ENV['APR_CONFIG'] = value
929
925
  end
930
- opts.on("--languages NAMES", "Comma-separated list of interested\n" <<
931
- "#{indent}languages (e.g.\n" <<
932
- "#{indent}'ruby,python,nodejs,meteor')") do |value|
926
+ opts.on("--languages NAMES", ["Comma-separated list of interested",
927
+ "#{indent}languages (e.g.",
928
+ "#{indent}'ruby,python,nodejs,meteor')"].join("\n")) do |value|
933
929
  options[:languages] = value.split(",")
934
930
  end
935
931
  opts.on("--no-compile", "Skip compilation.") do
@@ -525,10 +525,7 @@ private
525
525
  def insert_passenger_config_snippets(prefix)
526
526
  config_file = locate_nginx_config_file(prefix)
527
527
  contents = File.read(config_file)
528
- contents.sub!(/^http \{/,
529
- "http {\n" <<
530
- " passenger_root #{PhusionPassenger.install_spec};\n" <<
531
- " passenger_ruby #{PlatformInfo.ruby_command};\n")
528
+ contents.sub!(/^http \{/, "http {\n passenger_root #{PhusionPassenger.install_spec};\n passenger_ruby #{PlatformInfo.ruby_command};\n")
532
529
  File.open(config_file, 'w') do |f|
533
530
  f.write(contents)
534
531
  end
@@ -556,20 +553,20 @@ private
556
553
  ].compact.join(" ").strip
557
554
 
558
555
  command = "sh ./configure --prefix='#{prefix}' "
559
- command << "--with-http_ssl_module "
560
- command << "--with-http_v2_module "
561
- command << "--with-http_realip_module "
562
- command << "--with-http_gzip_static_module "
563
- command << "--with-http_stub_status_module "
564
- command << "--with-http_addition_module "
565
- command << "--with-cc-opt=#{Shellwords.escape extra_cflags} "
566
- command << "--with-ld-opt=#{Shellwords.escape extra_ldflags} "
556
+ command += "--with-http_ssl_module "
557
+ command += "--with-http_v2_module "
558
+ command += "--with-http_realip_module "
559
+ command += "--with-http_gzip_static_module "
560
+ command += "--with-http_stub_status_module "
561
+ command += "--with-http_addition_module "
562
+ command += "--with-cc-opt=#{Shellwords.escape extra_cflags} "
563
+ command += "--with-ld-opt=#{Shellwords.escape extra_ldflags} "
567
564
  if @pcre_source_dir
568
- command << "--with-pcre='#{@pcre_source_dir}' "
565
+ command += "--with-pcre='#{@pcre_source_dir}' "
569
566
  elsif !pcre_is_installed?
570
- command << "--without-http_rewrite_module "
567
+ command += "--without-http_rewrite_module "
571
568
  end
572
- command << "--add-module='#{PhusionPassenger.nginx_module_source_dir}' #{extra_configure_flags}"
569
+ command += "--add-module='#{PhusionPassenger.nginx_module_source_dir}' #{extra_configure_flags}"
573
570
  command.strip!
574
571
  return command
575
572
  end
@@ -583,11 +580,15 @@ private
583
580
  end
584
581
  Dir.chdir("#{safe_tmpdir}") do
585
582
  # Nginx checks for PCRE in multiple places...
586
- system("(gcc -I/usr/local/include -I/usr/include/pcre2 " <<
587
- "-I/usr/pkg/include -I/opt/local/include " <<
588
- "-I/opt/homebrew/include " <<
589
- "-DPCRE2_CODE_UNIT_WIDTH=8 " <<
590
- "-c passenger-check.c) >/dev/null 2>/dev/null")
583
+ system(["gcc",
584
+ "-I/usr/local/include",
585
+ "-I/usr/include/pcre2",
586
+ "-I/usr/pkg/include",
587
+ "-I/opt/local/include",
588
+ "-I/opt/homebrew/include",
589
+ "-DPCRE2_CODE_UNIT_WIDTH=8",
590
+ "-c", "passenger-check.c",
591
+ ">/dev/null", "2>/dev/null"].join(' '))
591
592
  end
592
593
  ensure
593
594
  File.unlink("#{safe_tmpdir}/passenger-check.c") rescue nil
@@ -602,8 +603,12 @@ private
602
603
  # We do this instead of using #file, for Ruby 1.8.5 support.
603
604
  digest = Digest::SHA256.new
604
605
  File.open(path, "rb") do |f|
605
- buf = ''
606
- buf.force_encoding('binary') if buf.respond_to?(:force_encoding)
606
+ if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0')
607
+ buf = String.new(encoding: Encoding::BINARY)
608
+ else
609
+ buf = ""
610
+ buf.force_encoding('binary') if buf.respond_to?(:force_encoding)
611
+ end
607
612
  while !f.eof?
608
613
  f.read(1024 * 16, buf)
609
614
  digest.update(buf)
@@ -625,33 +630,31 @@ parser = OptionParser.new do |opts|
625
630
 
626
631
  indent = ' ' * 37
627
632
  opts.separator "Options:"
628
- opts.on("--auto", "Automatically confirm 'Press ENTER to\n" <<
629
- "#{indent}continue' prompts.") do
633
+ opts.on("--auto", "Automatically confirm 'Press ENTER to\n#{indent}continue' prompts.") do
630
634
  options[:auto] = true
631
635
  end
632
- opts.on("--prefix=DIR", String, "Use the given Nginx install prefix instead\n" <<
633
- "#{indent}of asking for it interactively.") do |dir|
636
+ opts.on("--prefix=DIR", String, "Use the given Nginx install prefix instead\n#{indent}of asking for it interactively.") do |dir|
634
637
  options[:prefix] = dir
635
638
  end
636
- opts.on("--auto-download", "Download and install Nginx automatically,\n" <<
637
- "#{indent}instead of asking interactively whether to\n" <<
638
- "#{indent}download+install or to use an existing\n" <<
639
- "#{indent}Nginx source directory.") do
639
+ opts.on("--auto-download", ["Download and install Nginx automatically,",
640
+ "#{indent}instead of asking interactively whether to",
641
+ "#{indent}download+install or to use an existing",
642
+ "#{indent}Nginx source directory."].join("\n")) do
640
643
  options[:auto_download] = true
641
644
  end
642
- opts.on("--nginx-source-dir=DIR", String, "Compile and install Nginx using the given\n" <<
643
- "#{indent}Nginx source directory, instead of\n" <<
644
- "#{indent}interactively asking to download+install\n" <<
645
- "#{indent}or to use an existing Nginx source\n" <<
646
- "#{indent}directory. Conflicts with --auto-download.") do |dir|
645
+ opts.on("--nginx-source-dir=DIR", String, ["Compile and install Nginx using the given",
646
+ "#{indent}Nginx source directory, instead of",
647
+ "#{indent}interactively asking to download+install",
648
+ "#{indent}or to use an existing Nginx source",
649
+ "#{indent}directory. Conflicts with --auto-download."].join("\n")) do |dir|
647
650
  options[:nginx_source_dir] = dir
648
651
  end
649
- opts.on("--extra-configure-flags=STRING", String, "Pass these extra flags to Nginx's\n" <<
650
- "#{indent}'configure' script, instead of asking for\n" <<
651
- "#{indent}it interactively. Specify 'none' if you\n" <<
652
- "#{indent}do not want to pass additional flags but do\n" <<
653
- "#{indent}not want this installer to ask\n" <<
654
- "#{indent}interactively either.") do |flags|
652
+ opts.on("--extra-configure-flags=STRING", String, ["Pass these extra flags to Nginx's",
653
+ "#{indent}'configure' script, instead of asking for",
654
+ "#{indent}it interactively. Specify 'none' if you",
655
+ "#{indent}do not want to pass additional flags but do",
656
+ "#{indent}not want this installer to ask",
657
+ "#{indent}interactively either."].join("\n")) do |flags|
655
658
  options[:extra_configure_flags] = flags
656
659
  end
657
660
  opts.on("--rake-command COMMAND", String, "Customize Rake command to use") do |value|
@@ -660,9 +663,9 @@ parser = OptionParser.new do |opts|
660
663
  opts.on("--make-concurrency N", Integer, "Use N parallel jobs when running 'make'.") do |n|
661
664
  options[:make_concurrency] = n
662
665
  end
663
- opts.on("--languages NAMES", "Comma-separated list of interested\n" <<
664
- "#{indent}languages (e.g.\n" <<
665
- "#{indent}'ruby,python,nodejs,meteor')") do |value|
666
+ opts.on("--languages NAMES", ["Comma-separated list of interested",
667
+ "#{indent}languages (e.g.",
668
+ "#{indent}'ruby,python,nodejs,meteor')"].join("\n")) do |value|
666
669
  options[:languages] = value.split(",")
667
670
  end
668
671
  opts.on("--force-colors", "Display colors even if stdout is not a TTY") do
data/bin/passenger-status CHANGED
@@ -258,8 +258,7 @@ end
258
258
 
259
259
  def print_permission_error_message
260
260
  PhusionPassenger.require_passenger_lib 'platform_info/ruby'
261
- STDERR.puts "*** ERROR: You are not authorized to query the status for this " <<
262
- "#{PROGRAM_NAME} instance. Please try again with '#{PhusionPassenger::PlatformInfo.ruby_sudo_command}'."
261
+ STDERR.puts "*** ERROR: You are not authorized to query the status for this #{PROGRAM_NAME} instance. Please try again with '#{PhusionPassenger::PlatformInfo.ruby_sudo_command}'."
263
262
  end
264
263
 
265
264
  def format_with_xmllint(xml)
@@ -302,7 +301,7 @@ end
302
301
 
303
302
  def create_option_parser(options)
304
303
  return OptionParser.new do |opts|
305
- nl = "\n" << " " * 37
304
+ nl = "\n#{" " * 37}"
306
305
  opts.banner = "Usage: passenger-status [options] [instance name]"
307
306
  opts.separator ""
308
307
  opts.separator "Tool for inspecting Phusion Passenger's internal status."
@@ -310,10 +309,10 @@ def create_option_parser(options)
310
309
 
311
310
  opts.separator "Options:"
312
311
  opts.on("--show=pool|server|backtraces|xml|json|union_station", String,
313
- "Whether to show the pool's contents,#{nl}" <<
314
- "the currently running requests,#{nl}" <<
315
- "the backtraces of all threads or an XML#{nl}" <<
316
- "or JSON description of the pool.") do |what|
312
+ ["Whether to show the pool's contents,",
313
+ "the currently running requests,",
314
+ "the backtraces of all threads or an XML",
315
+ "or JSON description of the pool."].join(nl)) do |what|
317
316
  if what !~ /\A(pool|server|requests|backtraces|xml|json|union_station)\Z/
318
317
  STDERR.puts "Invalid argument for --show."
319
318
  exit 1
@@ -321,9 +320,9 @@ def create_option_parser(options)
321
320
  options[:show] = what
322
321
  end
323
322
  end
324
- opts.on("--no-header", "Do not display an informative header#{nl}" <<
325
- "containing the timestamp, version number,#{nl}" <<
326
- "etc.") do
323
+ opts.on("--no-header", ["Do not display an informative header",
324
+ "containing the timestamp, version number,",
325
+ "etc."].join(nl)) do
327
326
  options[:noheader] = true
328
327
  end
329
328
  opts.on("--force-colors", "Display colors even if stdout is not a TTY") do
@@ -40,7 +40,7 @@ def define_libboost_oxt_task(namespace, output_dir, extra_compiler_flags = nil)
40
40
  if OPTIMIZE
41
41
  optimize = "-O2"
42
42
  if LTO
43
- optimize << " -flto"
43
+ optimize += " -flto"
44
44
  end
45
45
  end
46
46
 
@@ -109,8 +109,8 @@ if USE_VENDORED_LIBEV
109
109
  let(:libev_cflags) do
110
110
  result = '-Isrc/cxx_supportlib/vendor-modified/libev'
111
111
  # Apple Clang 4.2 complains about ambiguous member templates in ev++.h.
112
- result << ' -Wno-ambiguous-member-template' if PlatformInfo.compiler_supports_wno_ambiguous_member_template?
113
- result << ' -DUSE_VENDORED_LIBEV'
112
+ result += ' -Wno-ambiguous-member-template' if PlatformInfo.compiler_supports_wno_ambiguous_member_template?
113
+ result += ' -DUSE_VENDORED_LIBEV'
114
114
  result
115
115
  end
116
116
 
@@ -167,7 +167,7 @@ else
167
167
  let(:libev_cflags) do
168
168
  result = string_option('LIBEV_CFLAGS', '-I/usr/include/libev')
169
169
  # Apple Clang 4.2 complains about ambiguous member templates in ev++.h.
170
- result << ' -Wno-ambiguous-member-template' if PlatformInfo.compiler_supports_wno_ambiguous_member_template?
170
+ result += ' -Wno-ambiguous-member-template' if PlatformInfo.compiler_supports_wno_ambiguous_member_template?
171
171
  result
172
172
  end
173
173
 
@@ -56,7 +56,7 @@ module CxxCodeBuilder
56
56
  def initialize(&block)
57
57
  @indent_string = "\t"
58
58
  @indent_level = 0
59
- @code = ""
59
+ @code = String.new
60
60
 
61
61
  if block
62
62
  instance_eval(&block)
data/build/test_basics.rb CHANGED
@@ -46,7 +46,7 @@ end
46
46
 
47
47
  desc "Install developer dependencies"
48
48
  task 'test:install_deps' do
49
- gem_install = PlatformInfo.gem_command + " install --no-rdoc --no-ri"
49
+ gem_install = PlatformInfo.gem_command + " install --no-document"
50
50
  gem_install = "#{PlatformInfo.ruby_sudo_command} #{gem_install}" if boolean_option('SUDO')
51
51
  default = boolean_option('DEVDEPS_DEFAULT', true)
52
52
  install_base_deps = boolean_option('BASE_DEPS', default)
@@ -82,13 +82,14 @@ end
82
82
 
83
83
  def bundler_version
84
84
  `bundle --version` =~ /version (.+)/
85
+ `gem info --quiet --remote --exact bundler`.lines.first =~ /bundler \((.+)\)/ if $1.nil?
85
86
  Gem::Version.new($1)
86
87
  end
87
88
 
88
89
  def bundler_too_old?
89
- Gem::Version.new(bundler_version) < Gem::Version.new("1.1.10")
90
+ bundler_version < Gem::Version.new("1.1.10")
90
91
  end
91
92
 
92
93
  def bundler_too_new?
93
- Gem::Version.new(bundler_version) >= Gem::Version.new("2.1.0")
94
+ bundler_version >= Gem::Version.new("2.1.0")
94
95
  end
@@ -220,34 +220,34 @@ def copy_dependencies(cflags)
220
220
  else
221
221
  openssl_path = '/usr/include/openssl'
222
222
  end
223
- done = false
224
- while !done
223
+
224
+ loop do
225
225
  compiler_output = `c++ test.cpp -c -I#{openssl_path}/include -I. -I.. #{cflags.join(" ")} 2>&1`
226
226
  File.unlink('test.o') if File.exist?('test.o')
227
- missing_headers = compiler_output.
228
- split("\n").
229
- grep(/(error: .*: No such file|fatal error: '.*' file not found)/).
230
- reject{|s| s =~ /\/usr\/include\// }.
231
- map do |line|
232
- if line =~ /error: (.*): No such file/
233
- file = $1
234
- elsif line =~ /fatal error: '(.*)' file not found/
235
- file = $1
236
- else
237
- abort "Bug"
238
- end
239
- if file =~ /^boost\//
240
- file
241
- else
242
- line =~ /(.*?):/
243
- source = $1
244
- File.dirname(source) + "/" + file
227
+ missing_headers = compiler_output.lines.
228
+ grep(/(error: .*: No such file|fatal error: '.*' file not found)/).
229
+ reject{|s| s =~ /\/usr\/include\// }.
230
+ map do |line|
231
+ if line =~ /error: (.*): No such file/
232
+ file = $1
233
+ elsif line =~ /fatal error: '(.*)' file not found/
234
+ file = $1
235
+ else
236
+ abort "Bug"
237
+ end
238
+
239
+ if file =~ /^boost\//
240
+ file
241
+ else
242
+ line =~ /(.*?):/
243
+ source = $1
244
+ File.dirname(source) + "/" + file
245
+ end
245
246
  end
246
- end
247
247
  missing_headers.each do |header|
248
248
  install("#{BOOST_DIR}/#{header}", header)
249
249
  end
250
- done = missing_headers.empty?
250
+ break if missing_headers.empty?
251
251
  end
252
252
  end
253
253
 
@@ -265,27 +265,41 @@ def start
265
265
  prepare
266
266
  copy_essential_files
267
267
  [
268
- "-std=c++98",
269
- "-std=c++03",
270
- "-std=gnu++98",
271
- "-std=gnu++03",
272
- "-std=c++11",
273
- "-std=gnu++11",
274
- "-std=c++14",
275
- "-std=gnu++14",
276
- "-std=c++17",
277
- "-std=gnu++17",
278
- "-std=c++20",
279
- "-std=gnu++20",
280
- "-std=c++0x",
281
- "-std=gnu++0x",
282
- ""
283
- ].product(["-m32","-m64",""]).each do |flags|
284
- copy_dependencies(flags)
285
- end
268
+ 14,
269
+ 17,
270
+ 20,
271
+ 23,
272
+ 26,
273
+ ].product(['c++', 'gnu++'])
274
+ .map{|v,l| "-std=#{l}#{v}" }
275
+ .push("")
276
+ .product(["-m64",""])
277
+ .each do |flags|
278
+ copy_dependencies(flags)
279
+ end
286
280
  ensure
287
281
  cleanup
288
282
  end
289
283
  end
290
284
 
291
285
  start
286
+
287
+ #### Magic bash editing buffer #################
288
+ ################################################
289
+ ################################################
290
+ ################################################
291
+ ################################################
292
+ ################################################
293
+ ################################################
294
+ ################################################
295
+ ################################################
296
+ ################################################
297
+ ################################################
298
+ ################################################
299
+ ################################################
300
+ ################################################
301
+ ################################################
302
+ ################################################
303
+ ################################################
304
+ ################################################
305
+ ################################################
data/dev/ruby_server.rb CHANGED
@@ -135,7 +135,12 @@ private
135
135
  def handle_next_client(forward_connection)
136
136
  client = @server.accept
137
137
  begin
138
- buffer = "".force_encoding("binary")
138
+ if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0')
139
+ buffer = String.new(encoding: Encoding::BINARY)
140
+ else
141
+ buffer = ""
142
+ buffer.force_encoding('binary') if buffer.respond_to?(:force_encoding)
143
+ end
139
144
  while true
140
145
  begin
141
146
  read_header(client, buffer)
data/passenger.gemspec CHANGED
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29
29
  s.add_dependency 'rake', '>= 12.3.3'
30
30
  s.add_dependency 'rack', '>= 1.6.13'
31
31
  s.add_dependency 'rackup', '>= 1.0.1'
32
+ s.add_dependency 'logger', '>= 1.7.0'
32
33
 
33
34
  s.files = Dir[*PhusionPassenger::Packaging::GLOB] -
34
35
  Dir[*PhusionPassenger::Packaging::EXCLUDE_GLOB]
@@ -149,7 +149,7 @@ using namespace std;
149
149
  * security_update_checker_interval unsigned integer - default(86400)
150
150
  * security_update_checker_proxy_url string - -
151
151
  * security_update_checker_url string - default("https://securitycheck.phusionpassenger.com/v1/check.json")
152
- * server_software string - default("Phusion_Passenger/6.1.0")
152
+ * server_software string - default("Phusion_Passenger/6.1.2")
153
153
  * show_version_in_header boolean - default(true)
154
154
  * single_app_mode_app_root string - default,read_only
155
155
  * single_app_mode_app_start_command string - read_only
@@ -118,7 +118,7 @@ parseControllerBenchmarkMode(const StaticString &mode) {
118
118
  * old_routing boolean - default(false),read_only
119
119
  * request_freelist_limit unsigned integer - default(1024)
120
120
  * response_buffer_high_watermark unsigned integer - default(134217728)
121
- * server_software string - default("Phusion_Passenger/6.1.0")
121
+ * server_software string - default("Phusion_Passenger/6.1.2")
122
122
  * show_version_in_header boolean - default(true)
123
123
  * start_reading_after_accept boolean - default(true)
124
124
  * stat_throttle_rate unsigned integer - default(10)
@@ -139,7 +139,7 @@ using namespace std;
139
139
  * security_update_checker_interval unsigned integer - default(86400)
140
140
  * security_update_checker_proxy_url string - -
141
141
  * security_update_checker_url string - default("https://securitycheck.phusionpassenger.com/v1/check.json")
142
- * server_software string - default("Phusion_Passenger/6.1.0")
142
+ * server_software string - default("Phusion_Passenger/6.1.2")
143
143
  * setsid boolean - default(false)
144
144
  * show_version_in_header boolean - default(true)
145
145
  * single_app_mode_app_root string - default,read_only
@@ -84,7 +84,7 @@
84
84
  #define PASSENGER_API_VERSION_MAJOR 0
85
85
  #define PASSENGER_API_VERSION_MINOR 3
86
86
  #define PASSENGER_DEFAULT_USER "nobody"
87
- #define PASSENGER_VERSION "6.1.0"
87
+ #define PASSENGER_VERSION "6.1.2"
88
88
  #define POOL_HELPER_THREAD_STACK_SIZE 262144
89
89
  #define PROCESS_SHUTDOWN_TIMEOUT 60
90
90
  #define PROCESS_SHUTDOWN_TIMEOUT_DISPLAY "1 minute"