passenger 6.1.0 → 6.1.1

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 (440) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +32 -2
  3. data/Rakefile +6 -13
  4. data/bin/passenger-install-apache2-module +15 -19
  5. data/bin/passenger-install-nginx-module +42 -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 +1 -1
  12. data/src/agent/Core/Config.h +1 -1
  13. data/src/agent/Core/Controller/Config.h +1 -1
  14. data/src/agent/Watchdog/Config.h +1 -1
  15. data/src/cxx_supportlib/Constants.h +1 -1
  16. data/src/cxx_supportlib/vendor-modified/boost/assert/source_location.hpp +8 -1
  17. data/src/cxx_supportlib/vendor-modified/boost/assert.hpp +6 -0
  18. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp +94 -110
  19. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_flag.hpp +2 -2
  20. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -14
  21. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/addressof.hpp +3 -3
  22. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_flag_impl.hpp +52 -24
  23. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_impl.hpp +641 -285
  24. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/atomic_ref_impl.hpp +593 -260
  25. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_cast.hpp +37 -24
  26. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/bitwise_fp_cast.hpp +9 -9
  27. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/cas_based_exchange.hpp +3 -3
  28. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/chrono.hpp +93 -0
  29. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/classify.hpp +16 -17
  30. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +25 -34
  31. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch32.hpp +204 -97
  32. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_aarch64.hpp +251 -122
  33. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_alpha.hpp +56 -56
  34. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_arm.hpp +129 -129
  35. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_ppc.hpp +253 -125
  36. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_sparc.hpp +25 -25
  37. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +193 -126
  38. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_arm.hpp +57 -57
  39. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_msvc_x86.hpp +96 -97
  40. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_operations_emulated.hpp +24 -24
  41. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_cas_based.hpp +10 -10
  42. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_atomic.hpp +27 -24
  43. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_gcc_sync.hpp +39 -37
  44. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_ops_linux_arm.hpp +17 -17
  45. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extending_cas_based_arithmetic.hpp +5 -5
  46. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_emulated.hpp +12 -12
  47. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_fp_ops_generic.hpp +21 -21
  48. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_emulated.hpp +30 -30
  49. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch32.hpp +170 -98
  50. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_aarch64.hpp +209 -119
  51. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_arm.hpp +95 -95
  52. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_ppc.hpp +148 -76
  53. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_gcc_x86.hpp +293 -123
  54. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_generic.hpp +87 -71
  55. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_arm.hpp +5 -5
  56. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/extra_ops_msvc_x86.hpp +88 -88
  57. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_operations.hpp +2 -2
  58. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch32.hpp +4 -5
  59. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_aarch64.hpp +4 -4
  60. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_alpha.hpp +4 -4
  61. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_arm.hpp +9 -9
  62. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_ppc.hpp +4 -4
  63. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_sparc.hpp +4 -4
  64. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_gcc_x86.hpp +4 -4
  65. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_arm.hpp +5 -5
  66. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_arch_ops_msvc_x86.hpp +6 -6
  67. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations.hpp +2 -2
  68. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_operations_emulated.hpp +2 -2
  69. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_atomic.hpp +5 -5
  70. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_gcc_sync.hpp +4 -4
  71. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fence_ops_linux_arm.hpp +7 -7
  72. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_emulated.hpp +7 -7
  73. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/fp_ops_generic.hpp +6 -6
  74. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/futex.hpp +110 -49
  75. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/gcc_atomic_memory_order_utils.hpp +1 -1
  76. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/has_posix_clock_traits.hpp +51 -0
  77. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/int_sizes.hpp +26 -32
  78. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/integral_conversions.hpp +15 -15
  79. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/interlocked.hpp +69 -30
  80. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/intptr.hpp +8 -8
  81. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/lock_pool.hpp +51 -31
  82. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/memory_order_utils.hpp +2 -2
  83. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/once_flag.hpp +2 -2
  84. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_arm_common.hpp +6 -6
  85. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_ppc_common.hpp +4 -4
  86. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/platform.hpp +5 -5
  87. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/storage_traits.hpp +31 -31
  88. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/alignment_of.hpp +2 -3
  89. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/has_unique_object_representations.hpp +2 -5
  90. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_floating_point.hpp +3 -3
  91. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_iec559.hpp +2 -2
  92. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_integral.hpp +3 -3
  93. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_signed.hpp +3 -3
  94. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_trivially_copyable.hpp +20 -13
  95. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_trivially_default_constructible.hpp +13 -13
  96. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/make_signed.hpp +3 -3
  97. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/make_unsigned.hpp +3 -3
  98. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_darwin_ulock.hpp +90 -16
  99. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_dragonfly_umtx.hpp +80 -11
  100. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_emulated.hpp +160 -15
  101. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_freebsd_umtx.hpp +327 -38
  102. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_futex.hpp +276 -33
  103. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_ops_generic.hpp +260 -20
  104. data/src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp +4 -3
  105. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic.hpp +14 -18
  106. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_flag.hpp +2 -2
  107. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +13 -13
  108. data/src/cxx_supportlib/vendor-modified/boost/atomic/posix_clock_traits_fwd.hpp +59 -0
  109. data/src/cxx_supportlib/vendor-modified/boost/atomic/thread_pause.hpp +102 -0
  110. data/src/cxx_supportlib/vendor-modified/boost/atomic/wait_result.hpp +56 -0
  111. data/src/cxx_supportlib/vendor-modified/boost/atomic.hpp +4 -1
  112. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +5 -0
  113. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +1 -1
  114. data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +108 -41
  115. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +1235 -1009
  116. data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +3 -2
  117. data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +56 -0
  118. data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_helpers.hpp +1 -0
  119. data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +9 -9
  120. data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +23 -2
  121. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +0 -1
  122. data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +88 -23
  123. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +2 -1
  124. data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +2 -2
  125. data/src/cxx_supportlib/vendor-modified/boost/container/detail/operator_new_helpers.hpp +68 -0
  126. data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +72 -13
  127. data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +13 -0
  128. data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +8 -5
  129. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +31 -10
  130. data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +37 -10
  131. data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +19 -0
  132. data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +23 -1
  133. data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +72 -5
  134. data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +3 -10
  135. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +54 -23
  136. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/devector.hpp +6 -4
  137. data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +19 -0
  138. data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +32 -5
  139. data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +27 -2
  140. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +22 -0
  141. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +37 -17
  142. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +23 -1
  143. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +41 -20
  144. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +5 -8
  145. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +3 -1
  146. data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_is_avalanching.hpp +57 -0
  147. data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +29 -29
  148. data/src/cxx_supportlib/vendor-modified/boost/core/cmath.hpp +3 -3
  149. data/src/cxx_supportlib/vendor-modified/boost/core/data.hpp +15 -1
  150. data/src/cxx_supportlib/vendor-modified/boost/core/default_allocator.hpp +1 -0
  151. data/src/cxx_supportlib/vendor-modified/boost/core/demangle.hpp +1 -1
  152. data/src/cxx_supportlib/vendor-modified/boost/core/detail/assert.hpp +18 -0
  153. data/src/cxx_supportlib/vendor-modified/boost/core/detail/sp_thread_sleep.hpp +2 -2
  154. data/src/cxx_supportlib/vendor-modified/boost/core/detail/static_assert.hpp +42 -0
  155. data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +16 -10
  156. data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +35 -27
  157. data/src/cxx_supportlib/vendor-modified/boost/core/scoped_enum.hpp +1 -1
  158. data/src/cxx_supportlib/vendor-modified/boost/core/size.hpp +14 -0
  159. data/src/cxx_supportlib/vendor-modified/boost/core/span.hpp +20 -9
  160. data/src/cxx_supportlib/vendor-modified/boost/cregex.hpp +0 -5
  161. data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +8 -0
  162. data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +1 -1
  163. data/src/cxx_supportlib/vendor-modified/boost/foreach.hpp +1 -0
  164. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +4 -4
  165. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +2 -2
  166. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_rebind.hpp +9 -0
  167. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +1 -0
  168. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +2 -2
  169. data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +43 -64
  170. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_def.hpp +0 -83
  171. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/config_undef.hpp +1 -5
  172. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/eval_if_default.hpp +44 -0
  173. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/facade_iterator_category.hpp +103 -117
  174. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/type_traits/conjunction.hpp +53 -0
  175. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/type_traits/disjunction.hpp +53 -0
  176. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/type_traits/negation.hpp +53 -0
  177. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/type_traits/type_identity.hpp +54 -0
  178. data/src/cxx_supportlib/vendor-modified/boost/iterator/distance.hpp +32 -38
  179. data/src/cxx_supportlib/vendor-modified/boost/iterator/enable_if_convertible.hpp +84 -0
  180. data/src/cxx_supportlib/vendor-modified/boost/iterator/interoperable.hpp +22 -34
  181. data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +16 -16
  182. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_adaptor.hpp +162 -309
  183. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_categories.hpp +52 -161
  184. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_concepts.hpp +3 -11
  185. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +804 -977
  186. data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_traits.hpp +24 -17
  187. data/src/cxx_supportlib/vendor-modified/boost/iterator/min_category.hpp +83 -0
  188. data/src/cxx_supportlib/vendor-modified/boost/iterator/minimum_category.hpp +11 -73
  189. data/src/cxx_supportlib/vendor-modified/boost/iterator/reverse_iterator.hpp +56 -57
  190. data/src/cxx_supportlib/vendor-modified/boost/iterator/transform_iterator.hpp +123 -156
  191. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +1 -1
  192. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/buffer_view.hpp +1 -1
  193. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +36 -33
  194. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +43 -50
  195. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +23 -27
  196. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +1 -1
  197. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +10 -11
  198. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp +1 -1
  199. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +1 -1
  200. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +6 -7
  201. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/type_traits.hpp +81 -0
  202. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +4 -4
  203. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +8 -9
  204. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +1 -1
  205. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/wide_posix_api.cpp +1 -12
  206. data/src/cxx_supportlib/vendor-modified/boost/memory_order.hpp +8 -26
  207. data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_to_raw_pointer.hpp +1 -1
  208. data/src/cxx_supportlib/vendor-modified/boost/move/detail/launder.hpp +1 -1
  209. data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +6 -0
  210. data/src/cxx_supportlib/vendor-modified/boost/move/detail/unique_ptr_meta_utils.hpp +2 -2
  211. data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +11 -44
  212. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +34 -0
  213. data/src/cxx_supportlib/vendor-modified/boost/mp11/set.hpp +33 -1
  214. data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
  215. data/src/cxx_supportlib/vendor-modified/boost/mpl/and.hpp +4 -8
  216. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/na_assert.hpp +1 -1
  217. data/src/cxx_supportlib/vendor-modified/boost/mpl/aux_/ptr_to_ref.hpp +1 -1
  218. data/src/cxx_supportlib/vendor-modified/boost/mpl/bitand.hpp +2 -6
  219. data/src/cxx_supportlib/vendor-modified/boost/mpl/bitor.hpp +2 -6
  220. data/src/cxx_supportlib/vendor-modified/boost/mpl/or.hpp +2 -6
  221. data/src/cxx_supportlib/vendor-modified/boost/pool/pool.hpp +1 -1
  222. data/src/cxx_supportlib/vendor-modified/boost/pool/simple_segregated_storage.hpp +0 -13
  223. data/src/cxx_supportlib/vendor-modified/boost/preprocessor/tuple/limits/to_seq_256.hpp +190 -190
  224. data/src/cxx_supportlib/vendor-modified/boost/random/beta_distribution.hpp +12 -2
  225. data/src/cxx_supportlib/vendor-modified/boost/random/detail/config.hpp +4 -0
  226. data/src/cxx_supportlib/vendor-modified/boost/random/detail/size.hpp +41 -0
  227. data/src/cxx_supportlib/vendor-modified/boost/random/detail/xoshiro_base.hpp +472 -0
  228. data/src/cxx_supportlib/vendor-modified/boost/random/discrete_distribution.hpp +7 -10
  229. data/src/cxx_supportlib/vendor-modified/boost/random/gamma_distribution.hpp +1 -1
  230. data/src/cxx_supportlib/vendor-modified/boost/random/generalized_inverse_gaussian_distribution.hpp +339 -0
  231. data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +12 -14
  232. data/src/cxx_supportlib/vendor-modified/boost/random/inverse_gaussian_distribution.hpp +226 -0
  233. data/src/cxx_supportlib/vendor-modified/boost/random/mersenne_twister.hpp +1 -4
  234. data/src/cxx_supportlib/vendor-modified/boost/random/mixmax.hpp +63 -63
  235. data/src/cxx_supportlib/vendor-modified/boost/random/piecewise_constant_distribution.hpp +7 -10
  236. data/src/cxx_supportlib/vendor-modified/boost/random/piecewise_linear_distribution.hpp +8 -11
  237. data/src/cxx_supportlib/vendor-modified/boost/random/seed_seq.hpp +1 -3
  238. data/src/cxx_supportlib/vendor-modified/boost/random/splitmix64.hpp +1 -4
  239. data/src/cxx_supportlib/vendor-modified/boost/random/xoshiro.hpp +488 -0
  240. data/src/cxx_supportlib/vendor-modified/boost/random.hpp +3 -0
  241. data/src/cxx_supportlib/vendor-modified/boost/range/concepts.hpp +2 -0
  242. data/src/cxx_supportlib/vendor-modified/boost/range/detail/has_member_size.hpp +1 -0
  243. data/src/cxx_supportlib/vendor-modified/boost/range/detail/msvc_has_iterator_workaround.hpp +2 -0
  244. data/src/cxx_supportlib/vendor-modified/boost/range/has_range_iterator.hpp +1 -1
  245. data/src/cxx_supportlib/vendor-modified/boost/range/iterator.hpp +1 -0
  246. data/src/cxx_supportlib/vendor-modified/boost/range/iterator_range_core.hpp +4 -1
  247. data/src/cxx_supportlib/vendor-modified/boost/range/size_type.hpp +1 -1
  248. data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +35 -18
  249. data/src/cxx_supportlib/vendor-modified/boost/regex/config.hpp +18 -101
  250. data/src/cxx_supportlib/vendor-modified/boost/regex/pattern_except.hpp +0 -4
  251. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/object_cache.hpp +0 -4
  252. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/unicode_iterator.hpp +0 -6
  253. data/src/cxx_supportlib/vendor-modified/boost/regex/regex_traits.hpp +0 -4
  254. data/src/cxx_supportlib/vendor-modified/boost/regex/user.hpp +4 -10
  255. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex.hpp +63 -17
  256. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_creator.hpp +71 -16
  257. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +22 -1
  258. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/c_regex_traits.hpp +11 -4
  259. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/char_regex_traits.hpp +2 -0
  260. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cpp_regex_traits.hpp +11 -8
  261. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/cregex.hpp +2 -1
  262. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/error_type.hpp +1 -1
  263. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/icu.hpp +40 -38
  264. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_category.hpp +2 -0
  265. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/iterator_traits.hpp +4 -0
  266. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_flags.hpp +39 -37
  267. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/match_results.hpp +46 -9
  268. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +4 -0
  269. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/object_cache.hpp +2 -0
  270. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/pattern_except.hpp +6 -4
  271. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher.hpp +57 -8
  272. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_common.hpp +21 -6
  273. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/perl_matcher_non_recursive.hpp +18 -3
  274. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regbase.hpp +4 -2
  275. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex.hpp +6 -6
  276. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_format.hpp +23 -18
  277. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_fwd.hpp +9 -9
  278. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_grep.hpp +9 -5
  279. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_iterator.hpp +11 -7
  280. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_match.hpp +10 -7
  281. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_merge.hpp +4 -4
  282. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_raw_buffer.hpp +3 -0
  283. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_replace.hpp +6 -2
  284. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_search.hpp +12 -9
  285. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_split.hpp +6 -3
  286. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_token_iterator.hpp +16 -11
  287. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits.hpp +1 -1
  288. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_traits_defaults.hpp +2 -0
  289. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/regex_workaround.hpp +2 -0
  290. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/states.hpp +7 -0
  291. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/sub_match.hpp +54 -49
  292. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/syntax_type.hpp +64 -62
  293. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_iterator.hpp +16 -0
  294. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/u32regex_token_iterator.hpp +12 -0
  295. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +6 -4
  296. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +3 -1
  297. data/src/cxx_supportlib/vendor-modified/boost/regex.hpp +0 -4
  298. data/src/cxx_supportlib/vendor-modified/boost/regex_fwd.hpp +0 -4
  299. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +1 -43
  300. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/deprecated_macros.hpp +7 -7
  301. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +2 -77
  302. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +1 -64
  303. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +3 -3
  304. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +0 -77
  305. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_cxx20_constexpr.hpp +37 -0
  306. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +5 -28
  307. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +41 -40
  308. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +0 -15
  309. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +0 -18
  310. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +1 -1
  311. data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +1 -1
  312. data/src/cxx_supportlib/vendor-modified/boost/tuple/detail/tuple_basic.hpp +1 -0
  313. data/src/cxx_supportlib/vendor-modified/boost/type_traits/integral_constant.hpp +8 -6
  314. data/src/cxx_supportlib/vendor-modified/boost/type_traits/is_complete.hpp +31 -10
  315. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +34 -8
  316. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +6 -4
  317. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/table.hpp +9 -1
  318. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +5 -5
  319. data/src/cxx_supportlib/vendor-modified/boost/unordered/{unordered_printers.hpp → detail/unordered_printers.hpp} +34 -36
  320. data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +6 -49
  321. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +6 -1
  322. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +6 -1
  323. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +6 -1
  324. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +6 -1
  325. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  326. data/src/nginx_module/ContentHandler.c +2 -0
  327. data/src/ruby_supportlib/phusion_passenger/config/download_agent_command.rb +3 -5
  328. data/src/ruby_supportlib/phusion_passenger/config/download_nginx_engine_command.rb +3 -5
  329. data/src/ruby_supportlib/phusion_passenger/config/install_agent_command.rb +3 -5
  330. data/src/ruby_supportlib/phusion_passenger/config/install_standalone_runtime_command.rb +3 -5
  331. data/src/ruby_supportlib/phusion_passenger/config/installation_utils.rb +1 -1
  332. data/src/ruby_supportlib/phusion_passenger/config/nginx_engine_compiler.rb +2 -2
  333. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +5 -3
  334. data/src/ruby_supportlib/phusion_passenger/platform_info/apache.rb +2 -2
  335. data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +6 -13
  336. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +29 -30
  337. data/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb +2 -3
  338. data/src/ruby_supportlib/phusion_passenger/standalone/config_utils.rb +2 -0
  339. data/src/ruby_supportlib/phusion_passenger/standalone/start_command/builtin_engine.rb +1 -1
  340. data/src/ruby_supportlib/phusion_passenger/utils/json.rb +1 -1
  341. data/src/ruby_supportlib/phusion_passenger/utils/terminal_choice_menu.rb +1 -1
  342. data/src/ruby_supportlib/phusion_passenger/vendor/crash_watch/gdb_controller.rb +1 -1
  343. data/src/ruby_supportlib/phusion_passenger.rb +8 -8
  344. metadata +26 -99
  345. data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +0 -47
  346. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +0 -41
  347. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_sunos.hpp +0 -34
  348. data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +0 -28
  349. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/pause.hpp +0 -68
  350. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/conditional.hpp +0 -42
  351. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/integral_constant.hpp +0 -46
  352. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_enum.hpp +0 -42
  353. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_function.hpp +0 -42
  354. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/is_nothrow_default_constructible.hpp +0 -46
  355. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/type_traits/remove_cv.hpp +0 -42
  356. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/wait_on_address.hpp +0 -64
  357. data/src/cxx_supportlib/vendor-modified/boost/cerrno.hpp +0 -15
  358. data/src/cxx_supportlib/vendor-modified/boost/detail/indirect_traits.hpp +0 -195
  359. data/src/cxx_supportlib/vendor-modified/boost/detail/select_type.hpp +0 -36
  360. data/src/cxx_supportlib/vendor-modified/boost/iterator/detail/enable_if.hpp +0 -83
  361. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/internals.hpp +0 -35
  362. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex.cpp +0 -120
  363. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/regex_debug.cpp +0 -59
  364. data/src/cxx_supportlib/vendor-modified/boost/libs/regex/src/static_mutex.cpp +0 -189
  365. data/src/cxx_supportlib/vendor-modified/boost/libs/system/src/error_code.cpp +0 -31
  366. data/src/cxx_supportlib/vendor-modified/boost/regex/config/borland.hpp +0 -72
  367. data/src/cxx_supportlib/vendor-modified/boost/regex/config/cwchar.hpp +0 -207
  368. data/src/cxx_supportlib/vendor-modified/boost/regex/pending/static_mutex.hpp +0 -182
  369. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex.hpp +0 -797
  370. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_creator.hpp +0 -1598
  371. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +0 -3174
  372. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/c_regex_traits.hpp +0 -511
  373. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/char_regex_traits.hpp +0 -81
  374. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cpp_regex_traits.hpp +0 -1237
  375. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/cregex.hpp +0 -213
  376. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/error_type.hpp +0 -59
  377. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/icu.hpp +0 -1516
  378. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/indexed_bit_flag.hpp +0 -54
  379. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/iterator_category.hpp +0 -91
  380. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/iterator_traits.hpp +0 -135
  381. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_flags.hpp +0 -161
  382. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/match_results.hpp +0 -716
  383. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/mem_block_cache.hpp +0 -183
  384. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/object_cache.hpp +0 -171
  385. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/pattern_except.hpp +0 -128
  386. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher.hpp +0 -645
  387. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_common.hpp +0 -1030
  388. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_non_recursive.hpp +0 -1947
  389. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/perl_matcher_recursive.hpp +0 -1131
  390. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/primary_transform.hpp +0 -146
  391. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/protected_call.hpp +0 -83
  392. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regbase.hpp +0 -180
  393. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex.hpp +0 -166
  394. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_format.hpp +0 -1158
  395. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_fwd.hpp +0 -73
  396. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_grep.hpp +0 -155
  397. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_iterator.hpp +0 -195
  398. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_match.hpp +0 -382
  399. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_merge.hpp +0 -93
  400. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_raw_buffer.hpp +0 -241
  401. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_replace.hpp +0 -99
  402. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_search.hpp +0 -217
  403. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_split.hpp +0 -174
  404. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_token_iterator.hpp +0 -327
  405. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits.hpp +0 -189
  406. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_traits_defaults.hpp +0 -997
  407. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/regex_workaround.hpp +0 -237
  408. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/states.hpp +0 -321
  409. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/sub_match.hpp +0 -516
  410. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/syntax_type.hpp +0 -105
  411. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_iterator.hpp +0 -185
  412. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/u32regex_token_iterator.hpp +0 -360
  413. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +0 -871
  414. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/w32_regex_traits.hpp +0 -1229
  415. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc.hpp +0 -79
  416. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_atomic.hpp +0 -63
  417. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_gcc_x86.hpp +0 -88
  418. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_pt.hpp +0 -104
  419. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_spin.hpp +0 -69
  420. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count_sync.hpp +0 -72
  421. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_acc_ia64.hpp +0 -163
  422. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_aix.hpp +0 -152
  423. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_cw_ppc.hpp +0 -185
  424. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_atomic.hpp +0 -148
  425. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ia64.hpp +0 -170
  426. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_mips.hpp +0 -200
  427. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_ppc.hpp +0 -194
  428. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp +0 -179
  429. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp +0 -186
  430. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_pt.hpp +0 -147
  431. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_snc_ps3.hpp +0 -174
  432. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_spin.hpp +0 -141
  433. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_sync.hpp +0 -165
  434. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_vacpp_ppc.hpp +0 -163
  435. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_gcc_intrinsics.hpp +0 -30
  436. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_has_sync_intrinsics.hpp +0 -69
  437. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_arm.hpp +0 -128
  438. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_nt.hpp +0 -96
  439. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_pt.hpp +0 -86
  440. 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: 96818fb3f8a0d9486ccc47610988cd7e32455882fbef40628bcff1a93dc8593b
4
+ data.tar.gz: e9c8cbf28dbd24116ace4b1513ccab363c9e3a4b21d6802ba09f08b6d9351c6d
5
5
  SHA512:
6
- metadata.gz: 4d9b403739e985baa1e668cb5b0ae1356253a5734ac491d754cc330fa68d3afbfe277c658b04564adb0cfac4fbdccb6c1a3389db6c1b2991644148be77d041df
7
- data.tar.gz: 5220f1aa9dd6d9e61258b00b9cfe1a3368e97e6b79c8373ce114a9c58cf0ba4d7e8bc8936be779450d44a33e9fb21fdd6ea4bf6d66fa1c444950ac403477421f
6
+ metadata.gz: 727fbee6a1567fdbabbac326d00cba509552b961e49a5cb11444e6cbc8d2ac3534dd5580b1e39bcc9343d3c3b7791687bf1162ce3a74921b963c99a7d1e11f20
7
+ data.tar.gz: fa7b90688e782885b530da59463ac24aeaad7ca1663ae368ac6eaaa54a1e50602d68c1c891b0dc090a65d558f9770ab72703ac0d4483ac841840cbf765c03663
data/CHANGELOG CHANGED
@@ -1,15 +1,45 @@
1
- Release 6.1.0 (Not yet released)
1
+ Release 6.1.1 (Not yet released)
2
+ -------------
3
+ * [Ruby] Improve support for Ruby 4 and Frozen String Literals. Closes GH-2619.
4
+ * [Ubuntu] Add packages for Ubuntu 25.10 "questing", remove packages for Ubuntu 25.04 "plucky".
5
+ * Upgrade Boost from 1.87 -> 1.90.
6
+ * [Nginx] Fixes bug with unbuffered uploads. Closes GH-2575.
7
+ * [Nginx] Upgrades preferred Nginx to 1.28.0 from 1.26.3.
8
+ * [Nginx] The preferred PCRE2 version is now 10.46 (previously 10.45).
9
+ * Updated various library versions used in precompiled binaries (used for e.g. gem installs):
10
+ - ccache: 4.11.2 -> 4.12.2
11
+ - cmake: 4.0.0 -> 4.2.1
12
+ - curl: 8.12.1 -> 8.17.0
13
+ - git: 2.49.0 -> 2.52.0
14
+ - gnupg:2.4.7 -> 2.4.8
15
+ - libffi:3.4.7 -> 3.5.2
16
+ - libgcrypt:1.11.0 -> 1.11.2
17
+ - libgpg_error:1.51 -> 1.58
18
+ - libreadline:8.2 -> 8.3
19
+ - openssl:3.4.1 -> 3.6.0
20
+ - pcre2:10.45 -> 10.47
21
+ - pinentry:1.3.1 -> 1.3.2
22
+ - rubygems: 3.6.6 -> 4.0.2
23
+ - rubys:
24
+ - dropped 3.1.7
25
+ - 3.2.8 -> 3.2.9
26
+ - 3.3.7 -> 3.3.10
27
+ - 3.4.2 -> 3.4.8
28
+
29
+
30
+ Release 6.1.0
2
31
  -------------
3
32
  * [Ruby] Fix compatibility with Rackup while maintaining compatibility with Rack 3. Closes GH-2602.
4
33
  * A C++14 compiler is now required to compile Passenger.
5
34
  * Add rpm packages for EL10 (RHEL, Rocky, Alma).
6
35
  * [Standalone] Fixes security update checker with builtin engine.
7
36
  * [Debian] Add Debian 13 Trixie packages. Closes GH-2622.
37
+ * [Ubuntu] Add packages for Ubuntu 25.04 "plucky".
8
38
 
9
39
 
10
40
  Release 6.0.27
11
41
  -------------
12
- * Upgrade Boost from 1.86 1.87.
42
+ * Upgrade Boost from 1.86 -> 1.87.
13
43
  * Remove Passenger admin panel (Fuse).
14
44
  * Fix compilation on FreeBSD.
15
45
  * [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,7 @@ 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
+ buf = String.new(encoding: Encoding::BINARY)
607
607
  while !f.eof?
608
608
  f.read(1024 * 16, buf)
609
609
  digest.update(buf)
@@ -625,33 +625,31 @@ parser = OptionParser.new do |opts|
625
625
 
626
626
  indent = ' ' * 37
627
627
  opts.separator "Options:"
628
- opts.on("--auto", "Automatically confirm 'Press ENTER to\n" <<
629
- "#{indent}continue' prompts.") do
628
+ opts.on("--auto", "Automatically confirm 'Press ENTER to\n#{indent}continue' prompts.") do
630
629
  options[:auto] = true
631
630
  end
632
- opts.on("--prefix=DIR", String, "Use the given Nginx install prefix instead\n" <<
633
- "#{indent}of asking for it interactively.") do |dir|
631
+ opts.on("--prefix=DIR", String, "Use the given Nginx install prefix instead\n#{indent}of asking for it interactively.") do |dir|
634
632
  options[:prefix] = dir
635
633
  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
634
+ opts.on("--auto-download", ["Download and install Nginx automatically,",
635
+ "#{indent}instead of asking interactively whether to",
636
+ "#{indent}download+install or to use an existing",
637
+ "#{indent}Nginx source directory."].join("\n")) do
640
638
  options[:auto_download] = true
641
639
  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|
640
+ opts.on("--nginx-source-dir=DIR", String, ["Compile and install Nginx using the given",
641
+ "#{indent}Nginx source directory, instead of",
642
+ "#{indent}interactively asking to download+install",
643
+ "#{indent}or to use an existing Nginx source",
644
+ "#{indent}directory. Conflicts with --auto-download."].join("\n")) do |dir|
647
645
  options[:nginx_source_dir] = dir
648
646
  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|
647
+ opts.on("--extra-configure-flags=STRING", String, ["Pass these extra flags to Nginx's",
648
+ "#{indent}'configure' script, instead of asking for",
649
+ "#{indent}it interactively. Specify 'none' if you",
650
+ "#{indent}do not want to pass additional flags but do",
651
+ "#{indent}not want this installer to ask",
652
+ "#{indent}interactively either."].join("\n")) do |flags|
655
653
  options[:extra_configure_flags] = flags
656
654
  end
657
655
  opts.on("--rake-command COMMAND", String, "Customize Rake command to use") do |value|
@@ -660,9 +658,9 @@ parser = OptionParser.new do |opts|
660
658
  opts.on("--make-concurrency N", Integer, "Use N parallel jobs when running 'make'.") do |n|
661
659
  options[:make_concurrency] = n
662
660
  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|
661
+ opts.on("--languages NAMES", ["Comma-separated list of interested",
662
+ "#{indent}languages (e.g.",
663
+ "#{indent}'ruby,python,nodejs,meteor')"].join("\n")) do |value|
666
664
  options[:languages] = value.split(",")
667
665
  end
668
666
  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,7 @@ private
135
135
  def handle_next_client(forward_connection)
136
136
  client = @server.accept
137
137
  begin
138
- buffer = "".force_encoding("binary")
138
+ buffer = String.new(encoding: Encoding::BINARY)
139
139
  while true
140
140
  begin
141
141
  read_header(client, buffer)
@@ -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.1")
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.1")
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.1")
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.1"
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"
@@ -9,11 +9,14 @@
9
9
 
10
10
  #include <boost/config.hpp>
11
11
  #include <boost/cstdint.hpp>
12
- #include <iosfwd>
13
12
  #include <string>
14
13
  #include <cstdio>
15
14
  #include <cstring>
16
15
 
16
+ #if !defined(BOOST_NO_IOSTREAM)
17
+ #include <iosfwd>
18
+ #endif
19
+
17
20
  #if defined(__cpp_lib_source_location) && __cpp_lib_source_location >= 201907L
18
21
  # include <source_location>
19
22
  #endif
@@ -132,12 +135,16 @@ public:
132
135
  }
133
136
  };
134
137
 
138
+ #if !defined(BOOST_NO_IOSTREAM)
139
+
135
140
  template<class E, class T> std::basic_ostream<E, T> & operator<<( std::basic_ostream<E, T> & os, source_location const & loc )
136
141
  {
137
142
  os << loc.to_string();
138
143
  return os;
139
144
  }
140
145
 
146
+ #endif
147
+
141
148
  } // namespace boost
142
149
 
143
150
  #if defined(BOOST_DISABLE_CURRENT_LOCATION)
@@ -46,7 +46,13 @@
46
46
 
47
47
  namespace boost
48
48
  {
49
+ #if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
50
+ BOOST_NORETURN
51
+ #endif
49
52
  void assertion_failed(char const * expr, char const * function, char const * file, long line); // user defined
53
+ #if defined(BOOST_ASSERT_HANDLER_IS_NORETURN)
54
+ BOOST_NORETURN
55
+ #endif
50
56
  void assertion_failed_msg(char const * expr, char const * msg, char const * function, char const * file, long line); // user defined
51
57
  } // namespace boost
52
58