passenger 6.0.16 → 6.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +46 -2
- data/CONTRIBUTORS +2 -0
- data/build/integration_tests.rb +6 -6
- data/build/ruby_tests.rb +1 -1
- data/build/test_basics.rb +0 -1
- data/src/agent/Core/Config.h +1 -1
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Core/SpawningKit/PipeWatcher.h +18 -3
- data/src/agent/Watchdog/Config.h +1 -1
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/array.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +344 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +686 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +81 -25
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +68 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +46 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +14 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +30 -305
- data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +98 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +330 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +81 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +19 -11
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +10 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +18 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +1 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +7 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +4 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +22 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +447 -142
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +57 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +51 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_guarantee.hpp +41 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_operation.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +9 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +52 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +13 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/operation_state.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +39 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/receiver.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +39 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/scheduler.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/sender.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +6 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +146 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +35 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_handler.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +7 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +180 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +171 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +89 -66
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +66 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/co_composed.hpp +1134 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +130 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +377 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +168 -29
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +149 -203
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +68 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +256 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +76 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +40 -14
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +12 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +25 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +34 -45
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +28 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +204 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +21 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +33 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +40 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +27 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +104 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +12 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +70 -15
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +25 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +38 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +27 -6
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +17 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +13 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +11 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +0 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +23 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_object_handle.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_overlapped_handle.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/bind/bind.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/chrono/config.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/inlined/mac/chrono.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/chrono/detail/scan_keyword.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/duration.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_io.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_put.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/duration_units.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/time_point_io.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/chrono/io/utility/ios_base_state_ptr.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/chrono/time_point.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/circular_buffer/details.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang.hpp +10 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/clang_version.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/gcc.hpp +9 -3
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/sunpro_cc.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/visualc.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/xlcpp.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/header_deprecated.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +9 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/container_fwd.hpp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/advanced_insert_int.hpp +80 -95
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_end.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/copy_move_algo.hpp +738 -34
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/destroyers.hpp +38 -10
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/iterator.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/workaround.hpp +3 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +1150 -1213
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +104 -12
- data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +11 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +31 -331
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_mix.hpp +113 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_range.hpp +173 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_tuple.hpp +133 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash.hpp +461 -566
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/hash_fwd.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_contiguous_range.hpp +91 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_described_class.hpp +38 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_range.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/is_unordered_range.hpp +39 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/bit.hpp +32 -4
- data/src/cxx_supportlib/vendor-modified/boost/core/detail/string_view.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/empty_value.hpp +16 -16
- data/src/cxx_supportlib/vendor-modified/boost/core/fclose_deleter.hpp +46 -0
- data/src/cxx_supportlib/vendor-modified/boost/date_time/date.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/formatters_limited.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/greg_date.hpp +12 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian/parsers.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/gregorian_calendar.ipp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/iso_format.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/date_time/local_time/local_date_time.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_formatters_limited.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/date_time/special_values_parser.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_facet.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/date_time/time_parsing.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/describe/bases.hpp +50 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/config.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/cx_streq.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/detail/void_t.hpp +32 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/members.hpp +159 -0
- data/src/cxx_supportlib/vendor-modified/boost/describe/modifiers.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +45 -45
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +37 -38
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/iterator.hpp +16 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +145 -90
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pack_options.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +11 -9
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/iterator/iterator_facade.hpp +106 -25
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +8 -5
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/adaptive_sort_merge.hpp +4 -2
- data/src/cxx_supportlib/vendor-modified/boost/move/algo/detail/pdqsort.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/type_traits.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/mp11/bind.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/int_float_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/sign_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/numeric/conversion/detail/udt_builtin_mixture.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/preprocessor/variadic/has_opt.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp +11 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +7 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +10 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +38 -43
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +52 -0
- data/src/cxx_supportlib/vendor-modified/boost/throw_exception.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_function_ptr_helper.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/detail/is_mem_fun_pointer_impl.hpp +27 -27
- data/src/cxx_supportlib/vendor-modified/boost/type_traits/intrinsics.hpp +22 -8
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/fca.hpp +37 -7
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa.hpp +1921 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +66 -82
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/prime_fmod.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +109 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/xmx.hpp +75 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/hash_traits.hpp +45 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +732 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map_fwd.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +586 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set_fwd.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +166 -66
- data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +145 -28
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/md5.hpp +1 -1
- data/src/ruby_native_extension/extconf.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/native_support.rb +4 -2
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/public_api.rb +3 -0
- data/src/ruby_supportlib/phusion_passenger/utils.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger.rb +5 -5
- metadata +36 -19
- data/src/cxx_supportlib/vendor-modified/boost/align/align.hpp +0 -19
- data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of.hpp +0 -54
- data/src/cxx_supportlib/vendor-modified/boost/align/alignment_of_forward.hpp +0 -20
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/align_cxx11.hpp +0 -21
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc.hpp +0 -52
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of.hpp +0 -31
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/alignment_of_cxx11.hpp +0 -23
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/element_type.hpp +0 -91
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/integral_constant.hpp +0 -53
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/min_size.hpp +0 -26
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +0 -196
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +0 -709
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/float_functions.hpp +0 -336
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/hash_float.hpp +0 -271
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/detail/limits.hpp +0 -62
- data/src/cxx_supportlib/vendor-modified/boost/container_hash/extensions.hpp +0 -361
- data/src/cxx_supportlib/vendor-modified/boost/detail/container_fwd.hpp +0 -157
@@ -0,0 +1,204 @@
|
|
1
|
+
//
|
2
|
+
// impl/consign.hpp
|
3
|
+
// ~~~~~~~~~~~~~~~~
|
4
|
+
//
|
5
|
+
// Copyright (c) 2003-2022 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
6
|
+
//
|
7
|
+
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
8
|
+
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
9
|
+
//
|
10
|
+
|
11
|
+
#ifndef BOOST_ASIO_IMPL_CONSIGN_HPP
|
12
|
+
#define BOOST_ASIO_IMPL_CONSIGN_HPP
|
13
|
+
|
14
|
+
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
15
|
+
# pragma once
|
16
|
+
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
17
|
+
|
18
|
+
#include <boost/asio/detail/config.hpp>
|
19
|
+
|
20
|
+
#include <boost/asio/associator.hpp>
|
21
|
+
#include <boost/asio/async_result.hpp>
|
22
|
+
#include <boost/asio/detail/handler_alloc_helpers.hpp>
|
23
|
+
#include <boost/asio/detail/handler_cont_helpers.hpp>
|
24
|
+
#include <boost/asio/detail/handler_invoke_helpers.hpp>
|
25
|
+
#include <boost/asio/detail/type_traits.hpp>
|
26
|
+
#include <boost/asio/detail/utility.hpp>
|
27
|
+
#include <boost/asio/detail/variadic_templates.hpp>
|
28
|
+
|
29
|
+
#include <boost/asio/detail/push_options.hpp>
|
30
|
+
|
31
|
+
namespace boost {
|
32
|
+
namespace asio {
|
33
|
+
namespace detail {
|
34
|
+
|
35
|
+
// Class to adapt a consign_t as a completion handler.
|
36
|
+
template <typename Handler, typename... Values>
|
37
|
+
class consign_handler
|
38
|
+
{
|
39
|
+
public:
|
40
|
+
typedef void result_type;
|
41
|
+
|
42
|
+
template <typename H>
|
43
|
+
consign_handler(BOOST_ASIO_MOVE_ARG(H) handler, std::tuple<Values...> values)
|
44
|
+
: handler_(BOOST_ASIO_MOVE_CAST(H)(handler)),
|
45
|
+
values_(BOOST_ASIO_MOVE_CAST(std::tuple<Values...>)(values))
|
46
|
+
{
|
47
|
+
}
|
48
|
+
|
49
|
+
template <typename... Args>
|
50
|
+
void operator()(BOOST_ASIO_MOVE_ARG(Args)... args)
|
51
|
+
{
|
52
|
+
BOOST_ASIO_MOVE_OR_LVALUE(Handler)(handler_)(
|
53
|
+
BOOST_ASIO_MOVE_CAST(Args)(args)...);
|
54
|
+
}
|
55
|
+
|
56
|
+
//private:
|
57
|
+
Handler handler_;
|
58
|
+
std::tuple<Values...> values_;
|
59
|
+
};
|
60
|
+
|
61
|
+
template <typename Handler>
|
62
|
+
inline asio_handler_allocate_is_deprecated
|
63
|
+
asio_handler_allocate(std::size_t size,
|
64
|
+
consign_handler<Handler>* this_handler)
|
65
|
+
{
|
66
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
67
|
+
boost_asio_handler_alloc_helpers::allocate(size, this_handler->handler_);
|
68
|
+
return asio_handler_allocate_is_no_longer_used();
|
69
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
70
|
+
return boost_asio_handler_alloc_helpers::allocate(
|
71
|
+
size, this_handler->handler_);
|
72
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
73
|
+
}
|
74
|
+
|
75
|
+
template <typename Handler>
|
76
|
+
inline asio_handler_deallocate_is_deprecated
|
77
|
+
asio_handler_deallocate(void* pointer, std::size_t size,
|
78
|
+
consign_handler<Handler>* this_handler)
|
79
|
+
{
|
80
|
+
boost_asio_handler_alloc_helpers::deallocate(
|
81
|
+
pointer, size, this_handler->handler_);
|
82
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
83
|
+
return asio_handler_deallocate_is_no_longer_used();
|
84
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
85
|
+
}
|
86
|
+
|
87
|
+
template <typename Handler>
|
88
|
+
inline bool asio_handler_is_continuation(
|
89
|
+
consign_handler<Handler>* this_handler)
|
90
|
+
{
|
91
|
+
return boost_asio_handler_cont_helpers::is_continuation(
|
92
|
+
this_handler->handler_);
|
93
|
+
}
|
94
|
+
|
95
|
+
template <typename Function, typename Handler>
|
96
|
+
inline asio_handler_invoke_is_deprecated
|
97
|
+
asio_handler_invoke(Function& function,
|
98
|
+
consign_handler<Handler>* this_handler)
|
99
|
+
{
|
100
|
+
boost_asio_handler_invoke_helpers::invoke(
|
101
|
+
function, this_handler->handler_);
|
102
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
103
|
+
return asio_handler_invoke_is_no_longer_used();
|
104
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
105
|
+
}
|
106
|
+
|
107
|
+
template <typename Function, typename Handler>
|
108
|
+
inline asio_handler_invoke_is_deprecated
|
109
|
+
asio_handler_invoke(const Function& function,
|
110
|
+
consign_handler<Handler>* this_handler)
|
111
|
+
{
|
112
|
+
boost_asio_handler_invoke_helpers::invoke(
|
113
|
+
function, this_handler->handler_);
|
114
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
115
|
+
return asio_handler_invoke_is_no_longer_used();
|
116
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
117
|
+
}
|
118
|
+
|
119
|
+
} // namespace detail
|
120
|
+
|
121
|
+
#if !defined(GENERATING_DOCUMENTATION)
|
122
|
+
|
123
|
+
template <typename CompletionToken, typename... Values, typename... Signatures>
|
124
|
+
struct async_result<
|
125
|
+
consign_t<CompletionToken, Values...>, Signatures...>
|
126
|
+
: async_result<CompletionToken, Signatures...>
|
127
|
+
{
|
128
|
+
template <typename Initiation>
|
129
|
+
struct init_wrapper
|
130
|
+
{
|
131
|
+
init_wrapper(Initiation init)
|
132
|
+
: initiation_(BOOST_ASIO_MOVE_CAST(Initiation)(init))
|
133
|
+
{
|
134
|
+
}
|
135
|
+
|
136
|
+
template <typename Handler, typename... Args>
|
137
|
+
void operator()(
|
138
|
+
BOOST_ASIO_MOVE_ARG(Handler) handler,
|
139
|
+
std::tuple<Values...> values,
|
140
|
+
BOOST_ASIO_MOVE_ARG(Args)... args)
|
141
|
+
{
|
142
|
+
BOOST_ASIO_MOVE_CAST(Initiation)(initiation_)(
|
143
|
+
detail::consign_handler<
|
144
|
+
typename decay<Handler>::type, Values...>(
|
145
|
+
BOOST_ASIO_MOVE_CAST(Handler)(handler),
|
146
|
+
BOOST_ASIO_MOVE_CAST(std::tuple<Values...>)(values)),
|
147
|
+
BOOST_ASIO_MOVE_CAST(Args)(args)...);
|
148
|
+
}
|
149
|
+
|
150
|
+
Initiation initiation_;
|
151
|
+
};
|
152
|
+
|
153
|
+
template <typename Initiation, typename RawCompletionToken, typename... Args>
|
154
|
+
static BOOST_ASIO_INITFN_DEDUCED_RESULT_TYPE(CompletionToken, Signatures...,
|
155
|
+
(async_initiate<CompletionToken, Signatures...>(
|
156
|
+
declval<init_wrapper<typename decay<Initiation>::type> >(),
|
157
|
+
declval<CompletionToken&>(),
|
158
|
+
declval<std::tuple<Values...> >(),
|
159
|
+
declval<BOOST_ASIO_MOVE_ARG(Args)>()...)))
|
160
|
+
initiate(
|
161
|
+
BOOST_ASIO_MOVE_ARG(Initiation) initiation,
|
162
|
+
BOOST_ASIO_MOVE_ARG(RawCompletionToken) token,
|
163
|
+
BOOST_ASIO_MOVE_ARG(Args)... args)
|
164
|
+
{
|
165
|
+
return async_initiate<CompletionToken, Signatures...>(
|
166
|
+
init_wrapper<typename decay<Initiation>::type>(
|
167
|
+
BOOST_ASIO_MOVE_CAST(Initiation)(initiation)),
|
168
|
+
token.token_,
|
169
|
+
BOOST_ASIO_MOVE_CAST(std::tuple<Values...>)(token.values_),
|
170
|
+
BOOST_ASIO_MOVE_CAST(Args)(args)...);
|
171
|
+
}
|
172
|
+
};
|
173
|
+
|
174
|
+
template <template <typename, typename> class Associator,
|
175
|
+
typename Handler, typename... Values, typename DefaultCandidate>
|
176
|
+
struct associator<Associator,
|
177
|
+
detail::consign_handler<Handler, Values...>, DefaultCandidate>
|
178
|
+
: Associator<Handler, DefaultCandidate>
|
179
|
+
{
|
180
|
+
static typename Associator<Handler, DefaultCandidate>::type
|
181
|
+
get(const detail::consign_handler<Handler, Values...>& h) BOOST_ASIO_NOEXCEPT
|
182
|
+
{
|
183
|
+
return Associator<Handler, DefaultCandidate>::get(h.handler_);
|
184
|
+
}
|
185
|
+
|
186
|
+
static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
|
187
|
+
typename Associator<Handler, DefaultCandidate>::type)
|
188
|
+
get(const detail::consign_handler<Handler, Values...>& h,
|
189
|
+
const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
|
190
|
+
BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
|
191
|
+
Associator<Handler, DefaultCandidate>::get(h.handler_, c)))
|
192
|
+
{
|
193
|
+
return Associator<Handler, DefaultCandidate>::get(h.handler_, c);
|
194
|
+
}
|
195
|
+
};
|
196
|
+
|
197
|
+
#endif // !defined(GENERATING_DOCUMENTATION)
|
198
|
+
|
199
|
+
} // namespace asio
|
200
|
+
} // namespace boost
|
201
|
+
|
202
|
+
#include <boost/asio/detail/pop_options.hpp>
|
203
|
+
|
204
|
+
#endif // BOOST_ASIO_IMPL_CONSIGN_HPP
|
@@ -52,6 +52,15 @@ public:
|
|
52
52
|
typename associated_allocator<handler_t>::type alloc(
|
53
53
|
(get_associated_allocator)(handler));
|
54
54
|
|
55
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
56
|
+
boost::asio::prefer(
|
57
|
+
boost::asio::require(ex, execution::blocking.never),
|
58
|
+
execution::relationship.continuation,
|
59
|
+
execution::allocator(alloc)
|
60
|
+
).execute(
|
61
|
+
boost::asio::detail::bind_handler(
|
62
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
63
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
55
64
|
execution::execute(
|
56
65
|
boost::asio::prefer(
|
57
66
|
boost::asio::require(ex, execution::blocking.never),
|
@@ -59,6 +68,7 @@ public:
|
|
59
68
|
execution::allocator(alloc)),
|
60
69
|
boost::asio::detail::bind_handler(
|
61
70
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
71
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
62
72
|
}
|
63
73
|
|
64
74
|
template <typename CompletionHandler>
|
@@ -119,6 +129,15 @@ public:
|
|
119
129
|
typename associated_allocator<handler_t>::type alloc(
|
120
130
|
(get_associated_allocator)(handler));
|
121
131
|
|
132
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
133
|
+
boost::asio::prefer(
|
134
|
+
boost::asio::require(ex_, execution::blocking.never),
|
135
|
+
execution::relationship.continuation,
|
136
|
+
execution::allocator(alloc)
|
137
|
+
).execute(
|
138
|
+
boost::asio::detail::bind_handler(
|
139
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
140
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
122
141
|
execution::execute(
|
123
142
|
boost::asio::prefer(
|
124
143
|
boost::asio::require(ex_, execution::blocking.never),
|
@@ -126,6 +145,7 @@ public:
|
|
126
145
|
execution::allocator(alloc)),
|
127
146
|
boost::asio::detail::bind_handler(
|
128
147
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
148
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
129
149
|
}
|
130
150
|
|
131
151
|
template <typename CompletionHandler>
|
@@ -151,6 +171,15 @@ public:
|
|
151
171
|
typename associated_allocator<handler_t>::type alloc(
|
152
172
|
(get_associated_allocator)(handler));
|
153
173
|
|
174
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
175
|
+
boost::asio::prefer(
|
176
|
+
boost::asio::require(ex_, execution::blocking.never),
|
177
|
+
execution::relationship.continuation,
|
178
|
+
execution::allocator(alloc)
|
179
|
+
).execute(
|
180
|
+
detail::work_dispatcher<handler_t, handler_ex_t>(
|
181
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler), handler_ex));
|
182
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
154
183
|
execution::execute(
|
155
184
|
boost::asio::prefer(
|
156
185
|
boost::asio::require(ex_, execution::blocking.never),
|
@@ -158,6 +187,7 @@ public:
|
|
158
187
|
execution::allocator(alloc)),
|
159
188
|
detail::work_dispatcher<handler_t, handler_ex_t>(
|
160
189
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler), handler_ex));
|
190
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
161
191
|
}
|
162
192
|
|
163
193
|
template <typename CompletionHandler>
|
@@ -233,7 +263,9 @@ template <typename Executor,
|
|
233
263
|
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(NullaryToken, void()) defer(
|
234
264
|
const Executor& ex, BOOST_ASIO_MOVE_ARG(NullaryToken) token,
|
235
265
|
typename constraint<
|
236
|
-
execution::is_executor<Executor>::value
|
266
|
+
(execution::is_executor<Executor>::value
|
267
|
+
&& can_require<Executor, execution::blocking_t::never_t>::value)
|
268
|
+
|| is_executor<Executor>::value
|
237
269
|
>::type)
|
238
270
|
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
239
271
|
async_initiate<NullaryToken, void()>(
|
@@ -79,9 +79,19 @@ struct associator<Associator,
|
|
79
79
|
DefaultCandidate>
|
80
80
|
: Associator<Handler, DefaultCandidate>
|
81
81
|
{
|
82
|
-
static typename Associator<Handler, DefaultCandidate>::type
|
83
|
-
|
84
|
-
|
82
|
+
static typename Associator<Handler, DefaultCandidate>::type
|
83
|
+
get(const detail::deferred_sequence_handler<Handler, Tail>& h)
|
84
|
+
BOOST_ASIO_NOEXCEPT
|
85
|
+
{
|
86
|
+
return Associator<Handler, DefaultCandidate>::get(h.handler_);
|
87
|
+
}
|
88
|
+
|
89
|
+
static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
|
90
|
+
typename Associator<Handler, DefaultCandidate>::type)
|
91
|
+
get(const detail::deferred_sequence_handler<Handler, Tail>& h,
|
92
|
+
const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
|
93
|
+
BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
|
94
|
+
Associator<Handler, DefaultCandidate>::get(h.handler_, c)))
|
85
95
|
{
|
86
96
|
return Associator<Handler, DefaultCandidate>::get(h.handler_, c);
|
87
97
|
}
|
@@ -50,12 +50,16 @@ public:
|
|
50
50
|
typename associated_allocator<handler_t>::type alloc(
|
51
51
|
(get_associated_allocator)(handler));
|
52
52
|
|
53
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
54
|
+
boost::asio::prefer(ex, execution::allocator(alloc)).execute(
|
55
|
+
boost::asio::detail::bind_handler(
|
56
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
57
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
53
58
|
execution::execute(
|
54
|
-
boost::asio::prefer(ex,
|
55
|
-
execution::blocking.possibly,
|
56
|
-
execution::allocator(alloc)),
|
59
|
+
boost::asio::prefer(ex, execution::allocator(alloc)),
|
57
60
|
boost::asio::detail::bind_handler(
|
58
61
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
62
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
59
63
|
}
|
60
64
|
|
61
65
|
template <typename CompletionHandler>
|
@@ -116,12 +120,16 @@ public:
|
|
116
120
|
typename associated_allocator<handler_t>::type alloc(
|
117
121
|
(get_associated_allocator)(handler));
|
118
122
|
|
123
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
124
|
+
boost::asio::prefer(ex_, execution::allocator(alloc)).execute(
|
125
|
+
boost::asio::detail::bind_handler(
|
126
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
127
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
119
128
|
execution::execute(
|
120
|
-
boost::asio::prefer(ex_,
|
121
|
-
execution::blocking.possibly,
|
122
|
-
execution::allocator(alloc)),
|
129
|
+
boost::asio::prefer(ex_, execution::allocator(alloc)),
|
123
130
|
boost::asio::detail::bind_handler(
|
124
131
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
132
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
125
133
|
}
|
126
134
|
|
127
135
|
template <typename CompletionHandler>
|
@@ -147,12 +155,16 @@ public:
|
|
147
155
|
typename associated_allocator<handler_t>::type alloc(
|
148
156
|
(get_associated_allocator)(handler));
|
149
157
|
|
158
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
159
|
+
boost::asio::prefer(ex_, execution::allocator(alloc)).execute(
|
160
|
+
detail::work_dispatcher<handler_t, handler_ex_t>(
|
161
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler), handler_ex));
|
162
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
150
163
|
execution::execute(
|
151
|
-
boost::asio::prefer(ex_,
|
152
|
-
execution::blocking.possibly,
|
153
|
-
execution::allocator(alloc)),
|
164
|
+
boost::asio::prefer(ex_, execution::allocator(alloc)),
|
154
165
|
detail::work_dispatcher<handler_t, handler_ex_t>(
|
155
166
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler), handler_ex));
|
167
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
156
168
|
}
|
157
169
|
|
158
170
|
template <typename CompletionHandler>
|
@@ -52,7 +52,7 @@ asio_handler_deallocate(void* pointer, std::size_t size, ...)
|
|
52
52
|
detail::thread_context::top_of_thread_call_stack(), pointer, size);
|
53
53
|
#else // !defined(BOOST_ASIO_DISABLE_SMALL_BLOCK_RECYCLING)
|
54
54
|
(void)size;
|
55
|
-
aligned_delete(pointer)
|
55
|
+
aligned_delete(pointer);
|
56
56
|
#endif // !defined(BOOST_ASIO_DISABLE_SMALL_BLOCK_RECYCLING)
|
57
57
|
}
|
58
58
|
|
@@ -52,6 +52,15 @@ public:
|
|
52
52
|
typename associated_allocator<handler_t>::type alloc(
|
53
53
|
(get_associated_allocator)(handler));
|
54
54
|
|
55
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
56
|
+
boost::asio::prefer(
|
57
|
+
boost::asio::require(ex, execution::blocking.never),
|
58
|
+
execution::relationship.fork,
|
59
|
+
execution::allocator(alloc)
|
60
|
+
).execute(
|
61
|
+
boost::asio::detail::bind_handler(
|
62
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
63
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
55
64
|
execution::execute(
|
56
65
|
boost::asio::prefer(
|
57
66
|
boost::asio::require(ex, execution::blocking.never),
|
@@ -59,6 +68,7 @@ public:
|
|
59
68
|
execution::allocator(alloc)),
|
60
69
|
boost::asio::detail::bind_handler(
|
61
70
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
71
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
62
72
|
}
|
63
73
|
|
64
74
|
template <typename CompletionHandler>
|
@@ -119,6 +129,15 @@ public:
|
|
119
129
|
typename associated_allocator<handler_t>::type alloc(
|
120
130
|
(get_associated_allocator)(handler));
|
121
131
|
|
132
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
133
|
+
boost::asio::prefer(
|
134
|
+
boost::asio::require(ex_, execution::blocking.never),
|
135
|
+
execution::relationship.fork,
|
136
|
+
execution::allocator(alloc)
|
137
|
+
).execute(
|
138
|
+
boost::asio::detail::bind_handler(
|
139
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
140
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
122
141
|
execution::execute(
|
123
142
|
boost::asio::prefer(
|
124
143
|
boost::asio::require(ex_, execution::blocking.never),
|
@@ -126,6 +145,7 @@ public:
|
|
126
145
|
execution::allocator(alloc)),
|
127
146
|
boost::asio::detail::bind_handler(
|
128
147
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler)));
|
148
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
129
149
|
}
|
130
150
|
|
131
151
|
template <typename CompletionHandler>
|
@@ -151,6 +171,15 @@ public:
|
|
151
171
|
typename associated_allocator<handler_t>::type alloc(
|
152
172
|
(get_associated_allocator)(handler));
|
153
173
|
|
174
|
+
#if defined(BOOST_ASIO_NO_DEPRECATED)
|
175
|
+
boost::asio::prefer(
|
176
|
+
boost::asio::require(ex_, execution::blocking.never),
|
177
|
+
execution::relationship.fork,
|
178
|
+
execution::allocator(alloc)
|
179
|
+
).execute(
|
180
|
+
detail::work_dispatcher<handler_t, handler_ex_t>(
|
181
|
+
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler), handler_ex));
|
182
|
+
#else // defined(BOOST_ASIO_NO_DEPRECATED)
|
154
183
|
execution::execute(
|
155
184
|
boost::asio::prefer(
|
156
185
|
boost::asio::require(ex_, execution::blocking.never),
|
@@ -158,6 +187,7 @@ public:
|
|
158
187
|
execution::allocator(alloc)),
|
159
188
|
detail::work_dispatcher<handler_t, handler_ex_t>(
|
160
189
|
BOOST_ASIO_MOVE_CAST(CompletionHandler)(handler), handler_ex));
|
190
|
+
#endif // defined(BOOST_ASIO_NO_DEPRECATED)
|
161
191
|
}
|
162
192
|
|
163
193
|
template <typename CompletionHandler>
|
@@ -233,7 +263,9 @@ template <typename Executor,
|
|
233
263
|
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_PREFIX(NullaryToken, void()) post(
|
234
264
|
const Executor& ex, BOOST_ASIO_MOVE_ARG(NullaryToken) token,
|
235
265
|
typename constraint<
|
236
|
-
execution::is_executor<Executor>::value
|
266
|
+
(execution::is_executor<Executor>::value
|
267
|
+
&& can_require<Executor, execution::blocking_t::never_t>::value)
|
268
|
+
|| is_executor<Executor>::value
|
237
269
|
>::type)
|
238
270
|
BOOST_ASIO_INITFN_AUTO_RESULT_TYPE_SUFFIX((
|
239
271
|
async_initiate<NullaryToken, void()>(
|
@@ -200,9 +200,18 @@ struct associator<Associator,
|
|
200
200
|
detail::prepend_handler<Handler, Values...>, DefaultCandidate>
|
201
201
|
: Associator<Handler, DefaultCandidate>
|
202
202
|
{
|
203
|
-
static typename Associator<Handler, DefaultCandidate>::type
|
204
|
-
|
205
|
-
|
203
|
+
static typename Associator<Handler, DefaultCandidate>::type
|
204
|
+
get(const detail::prepend_handler<Handler, Values...>& h) BOOST_ASIO_NOEXCEPT
|
205
|
+
{
|
206
|
+
return Associator<Handler, DefaultCandidate>::get(h.handler_);
|
207
|
+
}
|
208
|
+
|
209
|
+
static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
|
210
|
+
typename Associator<Handler, DefaultCandidate>::type)
|
211
|
+
get(const detail::prepend_handler<Handler, Values...>& h,
|
212
|
+
const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
|
213
|
+
BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
|
214
|
+
Associator<Handler, DefaultCandidate>::get(h.handler_, c)))
|
206
215
|
{
|
207
216
|
return Associator<Handler, DefaultCandidate>::get(h.handler_, c);
|
208
217
|
}
|
@@ -547,10 +547,21 @@ struct associator<Associator,
|
|
547
547
|
DefaultCandidate>
|
548
548
|
: Associator<ReadHandler, DefaultCandidate>
|
549
549
|
{
|
550
|
-
static typename Associator<ReadHandler, DefaultCandidate>::type
|
551
|
-
|
550
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type
|
551
|
+
get(const detail::read_op<AsyncReadStream, MutableBufferSequence,
|
552
|
+
MutableBufferIterator, CompletionCondition, ReadHandler>& h)
|
553
|
+
BOOST_ASIO_NOEXCEPT
|
554
|
+
{
|
555
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
556
|
+
}
|
557
|
+
|
558
|
+
static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
|
559
|
+
typename Associator<ReadHandler, DefaultCandidate>::type)
|
560
|
+
get(const detail::read_op<AsyncReadStream, MutableBufferSequence,
|
552
561
|
MutableBufferIterator, CompletionCondition, ReadHandler>& h,
|
553
|
-
const DefaultCandidate& c
|
562
|
+
const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
|
563
|
+
BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
|
564
|
+
Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
|
554
565
|
{
|
555
566
|
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
556
567
|
}
|
@@ -835,10 +846,20 @@ struct associator<Associator,
|
|
835
846
|
DefaultCandidate>
|
836
847
|
: Associator<ReadHandler, DefaultCandidate>
|
837
848
|
{
|
838
|
-
static typename Associator<ReadHandler, DefaultCandidate>::type
|
839
|
-
|
849
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type
|
850
|
+
get(const detail::read_dynbuf_v1_op<AsyncReadStream, DynamicBuffer_v1,
|
851
|
+
CompletionCondition, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
|
852
|
+
{
|
853
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
854
|
+
}
|
855
|
+
|
856
|
+
static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
|
857
|
+
typename Associator<ReadHandler, DefaultCandidate>::type)
|
858
|
+
get(const detail::read_dynbuf_v1_op<AsyncReadStream,
|
840
859
|
DynamicBuffer_v1, CompletionCondition, ReadHandler>& h,
|
841
|
-
const DefaultCandidate& c
|
860
|
+
const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
|
861
|
+
BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
|
862
|
+
Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
|
842
863
|
{
|
843
864
|
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
844
865
|
}
|
@@ -1178,10 +1199,20 @@ struct associator<Associator,
|
|
1178
1199
|
DefaultCandidate>
|
1179
1200
|
: Associator<ReadHandler, DefaultCandidate>
|
1180
1201
|
{
|
1181
|
-
static typename Associator<ReadHandler, DefaultCandidate>::type
|
1182
|
-
|
1202
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type
|
1203
|
+
get(const detail::read_dynbuf_v2_op<AsyncReadStream, DynamicBuffer_v2,
|
1204
|
+
CompletionCondition, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
|
1205
|
+
{
|
1206
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
1207
|
+
}
|
1208
|
+
|
1209
|
+
static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
|
1210
|
+
typename Associator<ReadHandler, DefaultCandidate>::type)
|
1211
|
+
get(const detail::read_dynbuf_v2_op<AsyncReadStream,
|
1183
1212
|
DynamicBuffer_v2, CompletionCondition, ReadHandler>& h,
|
1184
|
-
const DefaultCandidate& c
|
1213
|
+
const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
|
1214
|
+
BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
|
1215
|
+
Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
|
1185
1216
|
{
|
1186
1217
|
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
1187
1218
|
}
|
@@ -407,11 +407,22 @@ struct associator<Associator,
|
|
407
407
|
DefaultCandidate>
|
408
408
|
: Associator<ReadHandler, DefaultCandidate>
|
409
409
|
{
|
410
|
-
static typename Associator<ReadHandler, DefaultCandidate>::type
|
411
|
-
|
410
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type
|
411
|
+
get(const detail::read_at_op<AsyncRandomAccessReadDevice,
|
412
|
+
MutableBufferSequence, MutableBufferIterator,
|
413
|
+
CompletionCondition, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
|
414
|
+
{
|
415
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
416
|
+
}
|
417
|
+
|
418
|
+
static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
|
419
|
+
typename Associator<ReadHandler, DefaultCandidate>::type)
|
420
|
+
get(const detail::read_at_op<AsyncRandomAccessReadDevice,
|
412
421
|
MutableBufferSequence, MutableBufferIterator,
|
413
422
|
CompletionCondition, ReadHandler>& h,
|
414
|
-
const DefaultCandidate& c
|
423
|
+
const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
|
424
|
+
BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
|
425
|
+
Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
|
415
426
|
{
|
416
427
|
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
417
428
|
}
|
@@ -687,10 +698,20 @@ struct associator<Associator,
|
|
687
698
|
DefaultCandidate>
|
688
699
|
: Associator<ReadHandler, DefaultCandidate>
|
689
700
|
{
|
690
|
-
static typename Associator<ReadHandler, DefaultCandidate>::type
|
691
|
-
|
701
|
+
static typename Associator<ReadHandler, DefaultCandidate>::type
|
702
|
+
get(const detail::read_at_streambuf_op<AsyncRandomAccessReadDevice,
|
703
|
+
Executor, CompletionCondition, ReadHandler>& h) BOOST_ASIO_NOEXCEPT
|
704
|
+
{
|
705
|
+
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_);
|
706
|
+
}
|
707
|
+
|
708
|
+
static BOOST_ASIO_AUTO_RETURN_TYPE_PREFIX2(
|
709
|
+
typename Associator<ReadHandler, DefaultCandidate>::type)
|
710
|
+
get(const detail::read_at_streambuf_op<AsyncRandomAccessReadDevice,
|
692
711
|
Executor, CompletionCondition, ReadHandler>& h,
|
693
|
-
const DefaultCandidate& c
|
712
|
+
const DefaultCandidate& c) BOOST_ASIO_NOEXCEPT
|
713
|
+
BOOST_ASIO_AUTO_RETURN_TYPE_SUFFIX((
|
714
|
+
Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c)))
|
694
715
|
{
|
695
716
|
return Associator<ReadHandler, DefaultCandidate>::get(h.handler_, c);
|
696
717
|
}
|