passenger 6.2.1 → 6.2.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.
- checksums.yaml +4 -4
- data/CHANGELOG +37 -15
- data/build/cxx_tests.rb +2 -0
- data/build/support/cxx_dependency_map.rb +3 -63
- data/src/agent/Core/Config.h +1 -1
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Shared/ApiServerUtils.h +1 -1
- data/src/agent/Watchdog/Config.h +1 -1
- data/src/apache2_module/Hooks.cpp +13 -0
- data/src/apache2_module/Utils.h +14 -0
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/FileTools/FileManip.cpp +27 -3
- data/src/cxx_supportlib/InstanceDirectory.h +30 -3
- data/src/cxx_supportlib/ServerKit/Errors.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpHeaderParserState.h +1 -1
- data/src/cxx_supportlib/ServerKit/HttpRequest.h +1 -1
- data/src/cxx_supportlib/ServerKit/llerrors.h +3 -3
- data/src/cxx_supportlib/ServerKit/llversion.h +1 -1
- data/src/cxx_supportlib/{ServerKit/llhttp_api.c → vendor-copy/llhttp/api.c} +30 -23
- data/src/cxx_supportlib/{ServerKit → vendor-copy/llhttp}/llhttp.c +1756 -1645
- data/src/cxx_supportlib/{ServerKit → vendor-copy/llhttp}/llhttp.h +35 -13
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/classification.hpp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/formatter.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/algorithm/string/trim_all.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/assert.hpp +20 -13
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/core_arch_ops_gcc_x86.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/atomic/thread_pause.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/mem_fn.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/debug.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx23.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/workaround.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +57 -53
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator_traits.hpp +34 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +14 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +176 -2287
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +13 -9
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool_impl.hpp +186 -70
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/algorithm.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/aligned_allocation.hpp +149 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_helpers.hpp +35 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/alloc_lib.h +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/bit_utilities.hpp +133 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/compare_functors.hpp +18 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +20 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/deque_impl.hpp +2744 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dispatch_uses_allocator.hpp +202 -104
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/dlmalloc.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +161 -85
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_constructible.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterators.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/math_functions.hpp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mpl.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/mutex.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/next_capacity.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +18 -14
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool_impl.hpp +256 -41
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/operator_new_helpers.hpp +75 -24
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pair.hpp +1 -56
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/placement_new.hpp +16 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/pool_common_alloc.hpp +1 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/range_utils.hpp +196 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +124 -69
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +109 -7
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +168 -162
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/nest.hpp +2978 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/pmr/nest.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_all_of.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_any_of.hpp +42 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_copy.hpp +229 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_copy_if.hpp +270 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_copy_n.hpp +308 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_count.hpp +101 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_count_if.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_equal.hpp +268 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_fill.hpp +101 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_fill_n.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_if.hpp +110 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_if_not.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_last.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_last_if.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_find_last_if_not.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_for_each.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_generate.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_generate_n.hpp +162 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_is_partitioned.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_is_sorted.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_is_sorted_until.hpp +169 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_iterator_traits.hpp +382 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_merge.hpp +428 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_mismatch.hpp +350 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_none_of.hpp +98 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_partition.hpp +296 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_partition_copy.hpp +105 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_partition_point.hpp +116 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_remove.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_remove_copy.hpp +207 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_remove_copy_if.hpp +223 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_remove_if.hpp +57 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_replace.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_replace_if.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_reverse.hpp +245 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_reverse_copy.hpp +229 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_search.hpp +211 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_search_n.hpp +476 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_set_difference.hpp +300 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_set_intersection.hpp +287 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_set_symmetric_difference.hpp +306 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_set_union.hpp +294 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_stable_partition.hpp +153 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_swap_ranges.hpp +92 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/segmented_transform.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/experimental/wrapped_iterator.hpp +142 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +642 -417
- data/src/cxx_supportlib/vendor-modified/boost/container/flat_set.hpp +141 -30
- data/src/cxx_supportlib/vendor-modified/boost/container/hub.hpp +2426 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +65 -57
- data/src/cxx_supportlib/vendor-modified/boost/container/map.hpp +247 -68
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +39 -33
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +156 -23
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/global_resource.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/hub.hpp +43 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/memory_resource.hpp +5 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/monotonic_buffer_resource.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/resource_adaptor.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/segtor.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/scoped_allocator.hpp +5 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/segtor.hpp +905 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/set.hpp +148 -35
- data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +59 -52
- data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +632 -5
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +66 -60
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +46 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +612 -317
- data/src/cxx_supportlib/vendor-modified/boost/container/uses_allocator.hpp +54 -111
- data/src/cxx_supportlib/vendor-modified/boost/container/uses_allocator_construction.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/uses_allocator_fwd.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +233 -116
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/core/lightweight_test.hpp +17 -10
- data/src/cxx_supportlib/vendor-modified/boost/date_time/period.hpp +1 -3
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/encoder.hpp +114 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/error_info_impl.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/requires_cxx11.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/exception/detail/type_info.hpp +211 -1
- data/src/cxx_supportlib/vendor-modified/boost/exception/diagnostic_information.hpp +59 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/exception.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/exception/info.hpp +34 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/ebo_functor_holder.hpp +29 -174
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +18 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/key_nodeptr_comp.hpp +0 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +4 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +20 -11
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +42 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +58 -22
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/advance.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/iterator/distance.hpp +8 -2
- data/src/cxx_supportlib/vendor-modified/boost/iterator/is_iterator.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/bad_lexical_cast.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/buffer_view.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/config.hpp +22 -0
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical.hpp +15 -7
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +23 -11
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +9 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/is_character.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_basic_unlockedbuf.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_char_constants.hpp +8 -1
- data/src/cxx_supportlib/vendor-modified/boost/{detail → lexical_cast/detail}/lcast_precision.hpp +13 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/widest_char.hpp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/try_lexical_convert.hpp +15 -2
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/once_atomic.cpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/libs/thread/src/pthread/thread.cpp +48 -46
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +23 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/move_helpers.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +12 -4
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +76 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/workaround.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/traits.hpp +11 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/algorithm.hpp +58 -37
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_copy_if.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_map_find.hpp +17 -9
- data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_remove_if.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/mp11/integer_sequence.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +6 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_common_defs.hpp +188 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_factory_support.hpp +0 -6
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_hash.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_nonmember_interface.hpp +117 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +108 -83
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +39 -39
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_select_implementation.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_swap.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/union_optional.hpp +724 -0
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +93 -220
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_fwd.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/binomial_distribution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/random/uniform_int_distribution.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/rational.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/static_assert.hpp +4 -6
- data/src/cxx_supportlib/vendor-modified/boost/system/api_config.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_deque_base.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/concurrent_queues/detail/sync_queue_base.hpp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/thread/detail/thread.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/experimental/parallel/v2/task_region.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/future.hpp +30 -28
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once.hpp +6 -3
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/pthread_helpers.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/thread/pthread/shared_mutex.hpp +16 -16
- data/src/cxx_supportlib/vendor-modified/boost/thread/v2/shared_mutex.hpp +26 -26
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +196 -6
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set.hpp +191 -6
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_map.hpp +196 -5
- data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_set.hpp +192 -5
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/table.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +52 -16
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/ranges_support.hpp +104 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +1 -14
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/unordered_printers.hpp +10 -4
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +121 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +118 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +338 -1
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +121 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +118 -3
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +333 -1
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json-forwards.h +276 -143
- data/src/cxx_supportlib/vendor-modified/jsoncpp/json.h +1262 -771
- data/src/cxx_supportlib/vendor-modified/jsoncpp/jsoncpp.cpp +1704 -1586
- data/src/nginx_module/ContentHandler.c +35 -0
- data/src/ruby_supportlib/phusion_passenger/common_library.rb +6 -6
- data/src/ruby_supportlib/phusion_passenger/utils/json.rb +25 -2
- data/src/ruby_supportlib/phusion_passenger/vendor/daemon_controller.rb +12 -1
- data/src/ruby_supportlib/phusion_passenger.rb +1 -1
- metadata +73 -8
- data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_utility.hpp +0 -41
- /data/src/cxx_supportlib/{ServerKit/llhttp_http.c → vendor-copy/llhttp/http.c} +0 -0
|
@@ -11,14 +11,27 @@
|
|
|
11
11
|
///////////////////////////////////////////////////////////////////////////////
|
|
12
12
|
|
|
13
13
|
#include <cstddef>
|
|
14
|
+
#include <boost/container/detail/workaround.hpp> //BOOST_CONTAINER_RETURNS_NONNULL
|
|
14
15
|
|
|
15
16
|
struct boost_container_new_t{};
|
|
16
17
|
|
|
17
|
-
//
|
|
18
|
-
|
|
18
|
+
//returns_nonnull lets the compiler drop the null check the new-expression
|
|
19
|
+
//otherwise performs on the result of this custom placement operator new;
|
|
20
|
+
//nonnull(2) tells it the passed pointer 'p' is never null either.
|
|
21
|
+
BOOST_CONTAINER_RETURNS_NONNULL BOOST_CONTAINER_NONNULL(2)
|
|
22
|
+
BOOST_CONTAINER_FORCEINLINE void *operator new(std::size_t, void *p, boost_container_new_t)
|
|
19
23
|
{ return p; }
|
|
20
24
|
|
|
21
|
-
|
|
25
|
+
BOOST_CONTAINER_FORCEINLINE void operator delete(void *, void *, boost_container_new_t)
|
|
26
|
+
{}
|
|
27
|
+
|
|
28
|
+
struct boost_container_init_life_t{};
|
|
29
|
+
|
|
30
|
+
//p can be null
|
|
31
|
+
BOOST_CONTAINER_FORCEINLINE void *operator new(std::size_t, void *p, boost_container_init_life_t)
|
|
32
|
+
{ return p; }
|
|
33
|
+
|
|
34
|
+
BOOST_CONTAINER_FORCEINLINE void operator delete(void *, void *, boost_container_init_life_t)
|
|
22
35
|
{}
|
|
23
36
|
|
|
24
37
|
#endif //BOOST_CONTAINER_DETAIL_PLACEMENT_NEW_HPP
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
#include <boost/container/throw_exception.hpp>
|
|
25
25
|
|
|
26
26
|
#include <boost/intrusive/slist.hpp>
|
|
27
|
+
#include <boost/container/detail/multiallocation_chain.hpp>
|
|
27
28
|
#include <boost/container/detail/pool_common.hpp>
|
|
28
29
|
#include <boost/container/detail/dlmalloc.hpp>
|
|
29
30
|
#include <cstddef>
|
|
@@ -66,13 +67,6 @@ struct fake_segment_manager
|
|
|
66
67
|
return ret;
|
|
67
68
|
}
|
|
68
69
|
|
|
69
|
-
static void *allocate(std::size_t nbytes)
|
|
70
|
-
{
|
|
71
|
-
void *ret = dlmalloc_malloc(nbytes);
|
|
72
|
-
if(!ret)
|
|
73
|
-
boost::container::throw_bad_alloc();
|
|
74
|
-
return ret;
|
|
75
|
-
}
|
|
76
70
|
};
|
|
77
71
|
|
|
78
72
|
} //namespace boost{
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
//////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
//
|
|
3
|
+
// (C) Copyright Ion Gaztanaga 2024-2024. Distributed under the Boost
|
|
4
|
+
// Software License, Version 1.0. (See accompanying file
|
|
5
|
+
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
6
|
+
//
|
|
7
|
+
// See http://www.boost.org/libs/container for documentation.
|
|
8
|
+
//
|
|
9
|
+
//////////////////////////////////////////////////////////////////////////////
|
|
10
|
+
|
|
11
|
+
#ifndef BOOST_CONTAINER_DETAIL_RANGE_UTILS_HPP
|
|
12
|
+
#define BOOST_CONTAINER_DETAIL_RANGE_UTILS_HPP
|
|
13
|
+
|
|
14
|
+
#ifndef BOOST_CONFIG_HPP
|
|
15
|
+
# include <boost/config.hpp>
|
|
16
|
+
#endif
|
|
17
|
+
|
|
18
|
+
#if defined(BOOST_HAS_PRAGMA_ONCE)
|
|
19
|
+
# pragma once
|
|
20
|
+
#endif
|
|
21
|
+
|
|
22
|
+
#include <boost/container/detail/workaround.hpp>
|
|
23
|
+
#include <boost/container/detail/std_fwd.hpp> //forward declares ::std::from_range_t
|
|
24
|
+
|
|
25
|
+
//! \file
|
|
26
|
+
//! Defines boost::container::from_range_t and the boost::container::from_range
|
|
27
|
+
//! tag, used to disambiguate the range-based members of the containers.
|
|
28
|
+
//!
|
|
29
|
+
//! When the standard library provides ::std::from_range_t (see
|
|
30
|
+
//! BOOST_CONTAINER_DETAIL_STD_FROM_RANGE_SUPPORT in std_fwd.hpp), from_range_t
|
|
31
|
+
//! is a reference to it -following the same technique as
|
|
32
|
+
//! boost::container::piecewise_construct_t and boost::container::allocator_arg_t-
|
|
33
|
+
//! so the tag is the very same type as the standard one and interoperates with
|
|
34
|
+
//! ::std::from_range, yet the heavyweight <ranges> header is not required.
|
|
35
|
+
//! Otherwise, there is no standard type to refer to and from_range_t is defined
|
|
36
|
+
//! as a standalone type.
|
|
37
|
+
|
|
38
|
+
namespace boost {
|
|
39
|
+
namespace container {
|
|
40
|
+
|
|
41
|
+
#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
|
42
|
+
|
|
43
|
+
#if defined(BOOST_CONTAINER_DETAIL_STD_FROM_RANGE_SUPPORT)
|
|
44
|
+
|
|
45
|
+
template <int Dummy = 0>
|
|
46
|
+
struct std_from_range_holder
|
|
47
|
+
{
|
|
48
|
+
static ::std::from_range_t *dummy;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
template <int Dummy> //Silence null-reference compiler warnings
|
|
52
|
+
::std::from_range_t *std_from_range_holder<Dummy>::dummy = reinterpret_cast< ::std::from_range_t * >(0x1234);
|
|
53
|
+
|
|
54
|
+
typedef const ::std::from_range_t & from_range_t;
|
|
55
|
+
|
|
56
|
+
//! A instance of type from_range_t
|
|
57
|
+
static from_range_t from_range = *std_from_range_holder<>::dummy;
|
|
58
|
+
|
|
59
|
+
#else //!defined(BOOST_CONTAINER_DETAIL_STD_FROM_RANGE_SUPPORT)
|
|
60
|
+
|
|
61
|
+
//The standard library does not provide ::std::from_range_t, so there is nothing
|
|
62
|
+
//to interoperate with: from_range_t is a standalone type.
|
|
63
|
+
struct from_range_t {};
|
|
64
|
+
|
|
65
|
+
//! A instance of type from_range_t
|
|
66
|
+
static const from_range_t from_range = from_range_t();
|
|
67
|
+
|
|
68
|
+
#endif //defined(BOOST_CONTAINER_DETAIL_STD_FROM_RANGE_SUPPORT)
|
|
69
|
+
|
|
70
|
+
#else //BOOST_CONTAINER_DOXYGEN_INVOKED
|
|
71
|
+
|
|
72
|
+
//! The from_range_t struct is an empty structure type used as a unique type to
|
|
73
|
+
//! disambiguate the constructors and member functions that build or replace the
|
|
74
|
+
//! contents of a container from a container-compatible range.
|
|
75
|
+
typedef unspecified from_range_t;
|
|
76
|
+
|
|
77
|
+
//! A instance of type from_range_t
|
|
78
|
+
static from_range_t from_range;
|
|
79
|
+
|
|
80
|
+
#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED
|
|
81
|
+
|
|
82
|
+
///@cond
|
|
83
|
+
|
|
84
|
+
namespace dtl {
|
|
85
|
+
|
|
86
|
+
//Range begin()/end() access that depends on neither <ranges> nor <iterator>.
|
|
87
|
+
namespace adl_range {
|
|
88
|
+
|
|
89
|
+
//When decltype/trailing-return-types are available (C++11), adl_range below also
|
|
90
|
+
//resolves ranges whose begin()/end() are free functions found only through ADL,
|
|
91
|
+
//matching std::ranges::begin/std::ranges::end reachability. This needs neither
|
|
92
|
+
//<ranges> nor <iterator> nor a (UB and fragile) forward declaration of
|
|
93
|
+
//std::begin/std::end: member begin()/end() is detected directly and the ADL
|
|
94
|
+
//fallback already reaches std::begin/std::end for types in namespace std (e.g.
|
|
95
|
+
//std::valarray). In C++03 adl_range supports member begin()/end() and C arrays.
|
|
96
|
+
#if !defined(BOOST_NO_CXX11_DECLTYPE) && !defined(BOOST_NO_CXX11_TRAILING_RESULT_TYPES)
|
|
97
|
+
# define BOOST_CONTAINER_RANGE_UTILS_ADL_FREE_FUNCTIONS
|
|
98
|
+
#endif
|
|
99
|
+
|
|
100
|
+
#if defined(BOOST_CONTAINER_RANGE_UTILS_ADL_FREE_FUNCTIONS)
|
|
101
|
+
|
|
102
|
+
//Member begin()/end() is preferred; when there is no member, an unqualified
|
|
103
|
+
//begin()/end() call is used, so free begin()/end() reachable through ADL are
|
|
104
|
+
//picked up (this also reaches std::begin/std::end for types in namespace std,
|
|
105
|
+
//such as std::valarray). C arrays have a dedicated overload. This mirrors
|
|
106
|
+
//std::ranges::begin/std::ranges::end reachability, without including <iterator>
|
|
107
|
+
//or forward declaring std::begin/std::end.
|
|
108
|
+
//
|
|
109
|
+
//Priority tags (int beats long in overload resolution) ensure the member form
|
|
110
|
+
//wins when present and the ADL free-function form is only the fallback. The C&
|
|
111
|
+
//parameter deduces const/non-const, selecting the right iterator type.
|
|
112
|
+
template<class C>
|
|
113
|
+
inline auto adl_begin_impl(C &c, int) -> decltype(c.begin())
|
|
114
|
+
{ return c.begin(); }
|
|
115
|
+
|
|
116
|
+
template<class C>
|
|
117
|
+
inline auto adl_begin_impl(C &c, long) -> decltype(begin(c))
|
|
118
|
+
{ return begin(c); }
|
|
119
|
+
|
|
120
|
+
template<class C>
|
|
121
|
+
inline auto adl_end_impl(C &c, int) -> decltype(c.end())
|
|
122
|
+
{ return c.end(); }
|
|
123
|
+
|
|
124
|
+
template<class C>
|
|
125
|
+
inline auto adl_end_impl(C &c, long) -> decltype(end(c))
|
|
126
|
+
{ return end(c); }
|
|
127
|
+
|
|
128
|
+
template<class C>
|
|
129
|
+
inline auto adl_begin(C &c) -> decltype(adl_begin_impl(c, 0))
|
|
130
|
+
{ return adl_begin_impl(c, 0); }
|
|
131
|
+
|
|
132
|
+
template<class C>
|
|
133
|
+
inline auto adl_end(C &c) -> decltype(adl_end_impl(c, 0))
|
|
134
|
+
{ return adl_end_impl(c, 0); }
|
|
135
|
+
|
|
136
|
+
//C arrays (more specialized than the generic adl_begin/adl_end templates above).
|
|
137
|
+
template<class T, std::size_t N>
|
|
138
|
+
inline T* adl_begin(T (&array)[N])
|
|
139
|
+
{ return array; }
|
|
140
|
+
|
|
141
|
+
template<class T, std::size_t N>
|
|
142
|
+
inline T* adl_end(T (&array)[N])
|
|
143
|
+
{ return array + N; }
|
|
144
|
+
|
|
145
|
+
#else //C++03: decltype/trailing return types are unavailable.
|
|
146
|
+
|
|
147
|
+
//Member begin()/end() (every standard and Boost container, std::initializer_list,
|
|
148
|
+
//std::span, std::string_view, ...) plus a dedicated overload for C arrays.
|
|
149
|
+
//Free begin()/end() found only through ADL are not supported in this mode.
|
|
150
|
+
//Written in a C++03-compatible way (no decltype/auto/trailing return type); the
|
|
151
|
+
//const-reference overload is picked for const ranges via partial ordering.
|
|
152
|
+
template<class C>
|
|
153
|
+
inline typename C::iterator adl_begin(C &c)
|
|
154
|
+
{ return c.begin(); }
|
|
155
|
+
|
|
156
|
+
template<class C>
|
|
157
|
+
inline typename C::const_iterator adl_begin(const C &c)
|
|
158
|
+
{ return c.begin(); }
|
|
159
|
+
|
|
160
|
+
template<class C>
|
|
161
|
+
inline typename C::iterator adl_end(C &c)
|
|
162
|
+
{ return c.end(); }
|
|
163
|
+
|
|
164
|
+
template<class C>
|
|
165
|
+
inline typename C::const_iterator adl_end(const C &c)
|
|
166
|
+
{ return c.end(); }
|
|
167
|
+
|
|
168
|
+
template<class T, std::size_t N>
|
|
169
|
+
inline T* adl_begin(T (&array)[N])
|
|
170
|
+
{ return array; }
|
|
171
|
+
|
|
172
|
+
template<class T, std::size_t N>
|
|
173
|
+
inline T* adl_end(T (&array)[N])
|
|
174
|
+
{ return array + N; }
|
|
175
|
+
|
|
176
|
+
#endif //BOOST_CONTAINER_RANGE_UTILS_ADL_FREE_FUNCTIONS
|
|
177
|
+
|
|
178
|
+
#undef BOOST_CONTAINER_RANGE_UTILS_ADL_FREE_FUNCTIONS
|
|
179
|
+
|
|
180
|
+
} //namespace adl_range
|
|
181
|
+
|
|
182
|
+
struct from_range_construct_use
|
|
183
|
+
{
|
|
184
|
+
//Avoid warnings of unused "from_range"
|
|
185
|
+
from_range_construct_use()
|
|
186
|
+
{ (void)&::boost::container::from_range; }
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
} //namespace dtl {
|
|
190
|
+
|
|
191
|
+
///@endcond
|
|
192
|
+
|
|
193
|
+
} //namespace container {
|
|
194
|
+
} //namespace boost {
|
|
195
|
+
|
|
196
|
+
#endif //BOOST_CONTAINER_DETAIL_RANGE_UTILS_HPP
|
|
@@ -25,6 +25,32 @@
|
|
|
25
25
|
|
|
26
26
|
#include <cstddef>
|
|
27
27
|
|
|
28
|
+
//<version> is needed to reliably query the C++23 library feature-test macros
|
|
29
|
+
//for ::std::from_range_t / P1206R7. It is one of the lightest standard headers.
|
|
30
|
+
#if defined(__has_include)
|
|
31
|
+
# if __has_include(<version>)
|
|
32
|
+
# include <version>
|
|
33
|
+
# endif
|
|
34
|
+
#elif BOOST_CXX_VERSION >= 202002L
|
|
35
|
+
# include <version>
|
|
36
|
+
#endif
|
|
37
|
+
|
|
38
|
+
// Whether ::std::from_range_t tag is provided by the standard library.
|
|
39
|
+
//
|
|
40
|
+
// The official feature-test macro for std::from_range_t is
|
|
41
|
+
// __cpp_lib_containers_ranges. However, std::from_range_t lives in <ranges>
|
|
42
|
+
// next to std::ranges::to, whose specification uses the tag, so any library
|
|
43
|
+
// that provides std::ranges::to necessarily provides std::from_range_t too.
|
|
44
|
+
//
|
|
45
|
+
// Some standard libraries (e.g. libc++ 17/18) ship std::ranges::to and
|
|
46
|
+
// std::from_range_t -- defining __cpp_lib_ranges_to_container -- before they
|
|
47
|
+
// complete the container support and define __cpp_lib_containers_ranges.
|
|
48
|
+
// In that window only __cpp_lib_ranges_to_container is defined even though the
|
|
49
|
+
// tag is already present.
|
|
50
|
+
#if defined(__cpp_lib_ranges_to_container) || defined(__cpp_lib_containers_ranges)
|
|
51
|
+
# define BOOST_CONTAINER_DETAIL_STD_FROM_RANGE_SUPPORT
|
|
52
|
+
#endif
|
|
53
|
+
|
|
28
54
|
#include <boost/move/detail/std_ns_begin.hpp>
|
|
29
55
|
BOOST_MOVE_STD_NS_BEG
|
|
30
56
|
|
|
@@ -58,6 +84,12 @@ struct piecewise_construct_t;
|
|
|
58
84
|
template <class Ptr>
|
|
59
85
|
struct pointer_traits;
|
|
60
86
|
|
|
87
|
+
//Only forward declare ::std::from_range_t when the standard library actually
|
|
88
|
+
//provides it; see BOOST_CONTAINER_DETAIL_STD_FROM_RANGE_SUPPORT above.
|
|
89
|
+
#if defined(BOOST_CONTAINER_DETAIL_STD_FROM_RANGE_SUPPORT)
|
|
90
|
+
struct from_range_t;
|
|
91
|
+
#endif
|
|
92
|
+
|
|
61
93
|
BOOST_MOVE_STD_NS_END
|
|
62
94
|
#include <boost/move/detail/std_ns_end.hpp>
|
|
63
95
|
|
|
@@ -70,6 +102,6 @@ enum class align_val_t : std::size_t;
|
|
|
70
102
|
|
|
71
103
|
} //namespace std
|
|
72
104
|
|
|
73
|
-
#endif
|
|
105
|
+
#endif //defined(__cpp_aligned_new)
|
|
74
106
|
|
|
75
107
|
#endif //#ifndef BOOST_CONTAINER_DETAIL_STD_FWD_HPP
|