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
@@ -17,14 +17,19 @@
|
|
17
17
|
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
18
18
|
|
19
19
|
#include <boost/asio/detail/config.hpp>
|
20
|
-
|
20
|
+
#include <boost/asio/append.hpp>
|
21
|
+
#include <boost/asio/associated_cancellation_slot.hpp>
|
22
|
+
#include <boost/asio/bind_allocator.hpp>
|
23
|
+
#include <boost/asio/deferred.hpp>
|
24
|
+
#include <boost/asio/experimental/detail/coro_completion_handler.hpp>
|
21
25
|
#include <boost/asio/detail/push_options.hpp>
|
22
26
|
|
23
27
|
namespace boost {
|
24
28
|
namespace asio {
|
25
29
|
namespace experimental {
|
26
30
|
|
27
|
-
template <typename Yield, typename Return,
|
31
|
+
template <typename Yield, typename Return,
|
32
|
+
typename Executor, typename Allocator>
|
28
33
|
struct coro;
|
29
34
|
|
30
35
|
namespace detail {
|
@@ -66,7 +71,8 @@ struct coro_cancellation_source
|
|
66
71
|
}
|
67
72
|
};
|
68
73
|
|
69
|
-
template <typename Signature, typename Return,
|
74
|
+
template <typename Signature, typename Return,
|
75
|
+
typename Executor, typename Allocator>
|
70
76
|
struct coro_promise;
|
71
77
|
|
72
78
|
template <typename T>
|
@@ -160,13 +166,13 @@ struct coro_with_arg
|
|
160
166
|
|
161
167
|
constexpr static bool await_ready() { return false; }
|
162
168
|
|
163
|
-
template <typename Y, typename R, typename E>
|
164
|
-
auto await_suspend(coroutine_handle<coro_promise<Y, R, E>> h)
|
169
|
+
template <typename Y, typename R, typename E, typename A>
|
170
|
+
auto await_suspend(coroutine_handle<coro_promise<Y, R, E, A>> h)
|
165
171
|
-> coroutine_handle<>
|
166
172
|
{
|
167
173
|
auto& hp = h.promise();
|
168
174
|
|
169
|
-
if constexpr (!coro_promise<Y, R, E>::is_noexcept)
|
175
|
+
if constexpr (!coro_promise<Y, R, E, A>::is_noexcept)
|
170
176
|
{
|
171
177
|
if ((hp.cancel->state.cancelled() != cancellation_type::none)
|
172
178
|
&& hp.cancel->throw_if_cancelled_)
|
@@ -190,7 +196,7 @@ struct coro_with_arg
|
|
190
196
|
dispatch_coroutine(
|
191
197
|
boost::asio::prefer(hp.get_executor(),
|
192
198
|
execution::outstanding_work.tracked),
|
193
|
-
[h]() mutable { h.resume(); });
|
199
|
+
[h]() mutable { h.resume(); }).handle;
|
194
200
|
|
195
201
|
coro.coro_->reset_error();
|
196
202
|
coro.coro_->input_ = std::move(value);
|
@@ -231,7 +237,7 @@ struct coro_with_arg
|
|
231
237
|
typename coro_t::promise_type>::from_promise(*coro.coro_);
|
232
238
|
|
233
239
|
return dispatch_coroutine(
|
234
|
-
coro.coro_->get_executor(), [hh]() mutable { hh.resume(); });
|
240
|
+
coro.coro_->get_executor(), [hh]() mutable { hh.resume(); }).handle;
|
235
241
|
}
|
236
242
|
}
|
237
243
|
|
@@ -567,9 +573,10 @@ struct coro_promise_exchange<Yield, void, void> : coro_awaited_from
|
|
567
573
|
}
|
568
574
|
};
|
569
575
|
|
570
|
-
template <typename Yield, typename Return,
|
576
|
+
template <typename Yield, typename Return,
|
577
|
+
typename Executor, typename Allocator>
|
571
578
|
struct coro_promise final :
|
572
|
-
coro_promise_allocator<
|
579
|
+
coro_promise_allocator<Allocator>,
|
573
580
|
coro_promise_error<coro_traits<Yield, Return, Executor>::is_noexcept>,
|
574
581
|
coro_promise_exchange<
|
575
582
|
typename coro_traits<Yield, Return, Executor>::yield_type,
|
@@ -590,6 +597,13 @@ struct coro_promise final :
|
|
590
597
|
std::optional<coro_cancellation_source> cancel_source;
|
591
598
|
coro_cancellation_source * cancel;
|
592
599
|
|
600
|
+
using cancellation_slot_type = boost::asio::cancellation_slot;
|
601
|
+
|
602
|
+
cancellation_slot_type get_cancellation_slot() const noexcept
|
603
|
+
{
|
604
|
+
return cancel ? cancel->slot : cancellation_slot_type{};
|
605
|
+
}
|
606
|
+
|
593
607
|
using allocator_type =
|
594
608
|
typename std::allocator_traits<associated_allocator_t<Executor>>::
|
595
609
|
template rebind_alloc<std::byte>;
|
@@ -613,32 +627,40 @@ struct coro_promise final :
|
|
613
627
|
}
|
614
628
|
|
615
629
|
template <typename... Args>
|
616
|
-
coro_promise(Executor executor, Args&&...) noexcept
|
617
|
-
:
|
630
|
+
coro_promise(Executor executor, Args&&... args) noexcept
|
631
|
+
: coro_promise_allocator<Allocator>(
|
632
|
+
executor, std::forward<Args>(args)...),
|
633
|
+
executor_(std::move(executor))
|
618
634
|
{
|
619
635
|
}
|
620
636
|
|
621
637
|
template <typename First, typename... Args>
|
622
|
-
coro_promise(First
|
623
|
-
:
|
638
|
+
coro_promise(First&& f, Executor executor, Args&&... args) noexcept
|
639
|
+
: coro_promise_allocator<Allocator>(
|
640
|
+
f, executor, std::forward<Args>(args)...),
|
641
|
+
executor_(std::move(executor))
|
624
642
|
{
|
625
643
|
}
|
626
644
|
|
627
645
|
template <typename First, detail::execution_context Context, typename... Args>
|
628
|
-
coro_promise(First
|
629
|
-
:
|
646
|
+
coro_promise(First&& f, Context&& ctx, Args&&... args) noexcept
|
647
|
+
: coro_promise_allocator<Allocator>(
|
648
|
+
f, ctx, std::forward<Args>(args)...),
|
649
|
+
executor_(ctx.get_executor())
|
630
650
|
{
|
631
651
|
}
|
632
652
|
|
633
653
|
template <detail::execution_context Context, typename... Args>
|
634
|
-
coro_promise(Context&& ctx, Args&&...) noexcept
|
635
|
-
:
|
654
|
+
coro_promise(Context&& ctx, Args&&... args) noexcept
|
655
|
+
: coro_promise_allocator<Allocator>(
|
656
|
+
ctx, std::forward<Args>(args)...),
|
657
|
+
executor_(ctx.get_executor())
|
636
658
|
{
|
637
659
|
}
|
638
660
|
|
639
661
|
auto get_return_object()
|
640
662
|
{
|
641
|
-
return coro<Yield, Return, Executor>{this};
|
663
|
+
return coro<Yield, Return, Executor, Allocator>{this};
|
642
664
|
}
|
643
665
|
|
644
666
|
auto initial_suspend() noexcept
|
@@ -862,48 +884,81 @@ struct coro_promise final :
|
|
862
884
|
}
|
863
885
|
|
864
886
|
template <typename T_>
|
865
|
-
requires requires(T_ t) {{ t.async_wait(
|
887
|
+
requires requires(T_ t) {{ t.async_wait(deferred) }; }
|
866
888
|
auto await_transform(T_& t) -> decltype(auto)
|
867
889
|
{
|
868
|
-
return await_transform(t.async_wait(
|
890
|
+
return await_transform(t.async_wait(deferred));
|
869
891
|
}
|
870
892
|
|
871
|
-
template <typename
|
872
|
-
auto await_transform(
|
893
|
+
template <typename Op>
|
894
|
+
auto await_transform(Op&& op,
|
895
|
+
typename constraint<is_async_operation<Op>::value>::type = 0)
|
873
896
|
{
|
874
|
-
|
875
|
-
|
876
|
-
return std::move(kr).as_noexcept(cancel->state.slot());
|
877
|
-
else
|
897
|
+
if ((cancel->state.cancelled() != cancellation_type::none)
|
898
|
+
&& cancel->throw_if_cancelled_)
|
878
899
|
{
|
879
|
-
|
880
|
-
|
900
|
+
boost::asio::detail::throw_error(
|
901
|
+
boost::asio::error::operation_aborted, "coro-cancelled");
|
902
|
+
}
|
903
|
+
using signature = typename completion_signature_of<Op>::type;
|
904
|
+
using result_type = detail::coro_completion_handler_type_t<signature>;
|
905
|
+
using handler_type =
|
906
|
+
typename detail::coro_completion_handler_type<signature>::template
|
907
|
+
completion_handler<coro_promise>;
|
908
|
+
|
909
|
+
struct aw_t
|
910
|
+
{
|
911
|
+
Op op;
|
912
|
+
std::optional<result_type> result;
|
913
|
+
|
914
|
+
constexpr static bool await_ready()
|
881
915
|
{
|
882
|
-
|
883
|
-
boost::asio::error::operation_aborted, "coro-cancelled");
|
916
|
+
return false;
|
884
917
|
}
|
885
|
-
|
886
|
-
|
918
|
+
|
919
|
+
void await_suspend(coroutine_handle<coro_promise> h)
|
920
|
+
{
|
921
|
+
std::move(op)(handler_type{h, result});
|
922
|
+
}
|
923
|
+
|
924
|
+
auto await_resume()
|
925
|
+
{
|
926
|
+
if constexpr (is_noexcept)
|
927
|
+
{
|
928
|
+
if constexpr (std::tuple_size_v<result_type> == 0u)
|
929
|
+
return;
|
930
|
+
else if constexpr (std::tuple_size_v<result_type> == 1u)
|
931
|
+
return std::get<0>(std::move(result).value());
|
932
|
+
else
|
933
|
+
return std::move(result).value();
|
934
|
+
}
|
935
|
+
else
|
936
|
+
return detail::coro_interpret_result(std::move(result).value());
|
937
|
+
}
|
938
|
+
};
|
939
|
+
|
940
|
+
return aw_t{std::move(op), {}};
|
887
941
|
}
|
888
942
|
};
|
889
943
|
|
890
944
|
} // namespace detail
|
891
945
|
|
892
|
-
template <typename Yield, typename Return,
|
893
|
-
|
946
|
+
template <typename Yield, typename Return,
|
947
|
+
typename Executor, typename Allocator>
|
948
|
+
struct coro<Yield, Return, Executor, Allocator>::awaitable_t
|
894
949
|
{
|
895
950
|
coro& coro_;
|
896
951
|
|
897
952
|
constexpr static bool await_ready() { return false; }
|
898
953
|
|
899
|
-
template <typename Y, typename R, typename E>
|
954
|
+
template <typename Y, typename R, typename E, typename A>
|
900
955
|
auto await_suspend(
|
901
|
-
detail::coroutine_handle<detail::coro_promise<Y, R, E>> h)
|
956
|
+
detail::coroutine_handle<detail::coro_promise<Y, R, E, A>> h)
|
902
957
|
-> detail::coroutine_handle<>
|
903
958
|
{
|
904
959
|
auto& hp = h.promise();
|
905
960
|
|
906
|
-
if constexpr (!detail::coro_promise<Y, R, E>::is_noexcept)
|
961
|
+
if constexpr (!detail::coro_promise<Y, R, E, A>::is_noexcept)
|
907
962
|
{
|
908
963
|
if ((hp.cancel->state.cancelled() != cancellation_type::none)
|
909
964
|
&& hp.cancel->throw_if_cancelled_)
|
@@ -929,7 +984,7 @@ struct coro<Yield, Return, Executor>::awaitable_t
|
|
929
984
|
[h]() mutable
|
930
985
|
{
|
931
986
|
h.resume();
|
932
|
-
});
|
987
|
+
}).handle;
|
933
988
|
|
934
989
|
coro_.coro_->reset_error();
|
935
990
|
|
@@ -966,12 +1021,12 @@ struct coro<Yield, Return, Executor>::awaitable_t
|
|
966
1021
|
}
|
967
1022
|
|
968
1023
|
auto hh = detail::coroutine_handle<
|
969
|
-
detail::coro_promise<Yield, Return, Executor>>::from_promise(
|
1024
|
+
detail::coro_promise<Yield, Return, Executor, Allocator>>::from_promise(
|
970
1025
|
*coro_.coro_);
|
971
1026
|
|
972
1027
|
return detail::dispatch_coroutine(
|
973
1028
|
coro_.coro_->get_executor(),
|
974
|
-
[hh]() mutable { hh.resume(); });
|
1029
|
+
[hh]() mutable { hh.resume(); }).handle;
|
975
1030
|
}
|
976
1031
|
}
|
977
1032
|
|
@@ -984,10 +1039,13 @@ struct coro<Yield, Return, Executor>::awaitable_t
|
|
984
1039
|
}
|
985
1040
|
};
|
986
1041
|
|
987
|
-
template <typename Yield, typename Return,
|
988
|
-
|
1042
|
+
template <typename Yield, typename Return,
|
1043
|
+
typename Executor, typename Allocator>
|
1044
|
+
struct coro<Yield, Return, Executor, Allocator>::initiate_async_resume
|
989
1045
|
{
|
990
1046
|
typedef Executor executor_type;
|
1047
|
+
typedef Allocator allocator_type;
|
1048
|
+
typedef boost::asio::cancellation_slot cancellation_slot_type;
|
991
1049
|
|
992
1050
|
explicit initiate_async_resume(coro* self)
|
993
1051
|
: coro_(self->coro_)
|
@@ -999,6 +1057,11 @@ struct coro<Yield, Return, Executor>::initiate_async_resume
|
|
999
1057
|
return coro_->get_executor();
|
1000
1058
|
}
|
1001
1059
|
|
1060
|
+
allocator_type get_allocator() const noexcept
|
1061
|
+
{
|
1062
|
+
return coro_->get_allocator();
|
1063
|
+
}
|
1064
|
+
|
1002
1065
|
template <typename E, typename WaitHandler>
|
1003
1066
|
auto handle(E exec, WaitHandler&& handler,
|
1004
1067
|
std::true_type /* error is noexcept */,
|
@@ -1034,11 +1097,8 @@ struct coro<Yield, Return, Executor>::initiate_async_resume
|
|
1034
1097
|
auto ch = detail::coroutine_handle<promise_type>::from_promise(*coro);
|
1035
1098
|
assert(ch && !ch.done());
|
1036
1099
|
|
1037
|
-
coro->awaited_from = detail::post_coroutine(
|
1038
|
-
|
1039
|
-
{
|
1040
|
-
std::move(h)(std::move(coro->result_));
|
1041
|
-
});
|
1100
|
+
coro->awaited_from = detail::post_coroutine(
|
1101
|
+
exec, std::move(h), coro->result_).handle;
|
1042
1102
|
coro->reset_error();
|
1043
1103
|
ch.resume();
|
1044
1104
|
};
|
@@ -1054,40 +1114,23 @@ struct coro<Yield, Return, Executor>::initiate_async_resume
|
|
1054
1114
|
exec = std::move(exec)]() mutable
|
1055
1115
|
{
|
1056
1116
|
if (!coro)
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
{
|
1061
|
-
h(detail::coro_error<error_type>::invalid());
|
1062
|
-
});
|
1063
|
-
return;
|
1064
|
-
}
|
1117
|
+
return boost::asio::post(exec,
|
1118
|
+
boost::asio::append(std::move(h),
|
1119
|
+
detail::coro_error<error_type>::invalid()));
|
1065
1120
|
|
1066
1121
|
auto ch = detail::coroutine_handle<promise_type>::from_promise(*coro);
|
1067
1122
|
if (!ch)
|
1068
|
-
|
1069
|
-
|
1070
|
-
|
1071
|
-
{
|
1072
|
-
h(detail::coro_error<error_type>::invalid());
|
1073
|
-
});
|
1074
|
-
}
|
1123
|
+
return boost::asio::post(exec,
|
1124
|
+
boost::asio::append(std::move(h),
|
1125
|
+
detail::coro_error<error_type>::invalid()));
|
1075
1126
|
else if (ch.done())
|
1076
|
-
|
1077
|
-
|
1078
|
-
|
1079
|
-
{
|
1080
|
-
h(detail::coro_error<error_type>::done());
|
1081
|
-
});
|
1082
|
-
}
|
1127
|
+
return boost::asio::post(exec,
|
1128
|
+
boost::asio::append(std::move(h),
|
1129
|
+
detail::coro_error<error_type>::done()));
|
1083
1130
|
else
|
1084
1131
|
{
|
1085
|
-
coro->awaited_from =
|
1086
|
-
|
1087
|
-
[coro, h = std::move(h)]() mutable
|
1088
|
-
{
|
1089
|
-
std::move(h)(std::move(coro->error_));
|
1090
|
-
});
|
1132
|
+
coro->awaited_from = detail::post_coroutine(
|
1133
|
+
exec, std::move(h), coro->error_).handle;
|
1091
1134
|
coro->reset_error();
|
1092
1135
|
ch.resume();
|
1093
1136
|
}
|
@@ -1104,43 +1147,24 @@ struct coro<Yield, Return, Executor>::initiate_async_resume
|
|
1104
1147
|
exec = std::move(exec)]() mutable
|
1105
1148
|
{
|
1106
1149
|
if (!coro)
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
{
|
1111
|
-
h(detail::coro_error<error_type>::invalid(), result_type{});
|
1112
|
-
});
|
1113
|
-
return;
|
1114
|
-
}
|
1150
|
+
return boost::asio::post(exec,
|
1151
|
+
boost::asio::append(std::move(h),
|
1152
|
+
detail::coro_error<error_type>::invalid(), result_type{}));
|
1115
1153
|
|
1116
1154
|
auto ch =
|
1117
1155
|
detail::coroutine_handle<promise_type>::from_promise(*coro);
|
1118
1156
|
if (!ch)
|
1119
|
-
|
1120
|
-
|
1121
|
-
|
1122
|
-
{
|
1123
|
-
h(detail::coro_error<error_type>::invalid(), result_type{});
|
1124
|
-
});
|
1125
|
-
}
|
1157
|
+
return boost::asio::post(exec,
|
1158
|
+
boost::asio::append(std::move(h),
|
1159
|
+
detail::coro_error<error_type>::invalid(), result_type{}));
|
1126
1160
|
else if (ch.done())
|
1127
|
-
|
1128
|
-
|
1129
|
-
|
1130
|
-
{
|
1131
|
-
h(detail::coro_error<error_type>::done(), result_type{});
|
1132
|
-
});
|
1133
|
-
}
|
1161
|
+
return boost::asio::post(exec,
|
1162
|
+
boost::asio::append(std::move(h),
|
1163
|
+
detail::coro_error<error_type>::done(), result_type{}));
|
1134
1164
|
else
|
1135
1165
|
{
|
1136
|
-
coro->awaited_from =
|
1137
|
-
|
1138
|
-
[h = std::move(h), coro]() mutable
|
1139
|
-
{
|
1140
|
-
std::move(h)(
|
1141
|
-
std::move(coro->error_),
|
1142
|
-
std::move(coro->result_));
|
1143
|
-
});
|
1166
|
+
coro->awaited_from = detail::post_coroutine(
|
1167
|
+
exec, std::move(h), coro->error_, coro->result_).handle;
|
1144
1168
|
coro->reset_error();
|
1145
1169
|
ch.resume();
|
1146
1170
|
}
|