passenger 6.0.11 → 6.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +24 -1
- data/CONTRIBUTORS +3 -0
- data/src/agent/Core/Config.h +1 -1
- data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
- data/src/agent/Core/Controller/Config.h +1 -1
- data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
- data/src/agent/Core/Controller.h +4 -1
- data/src/agent/Watchdog/Config.h +1 -1
- data/src/cxx_supportlib/Constants.h +1 -1
- data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
- data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +53 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +179 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +57 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +789 -106
- data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +80 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +90 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +723 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +191 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +361 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +30 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +209 -76
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +149 -60
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +40 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +14 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +21 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +30 -19
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +30 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +29 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +19 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +15 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +60 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +8 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +27 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +93 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +77 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +111 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +2 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +14 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +90 -24
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +30 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +5 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +5 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +10 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +13 -13
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +133 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +1057 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +607 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +160 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +120 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_traits.hpp +185 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +181 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/append.hpp +219 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +14 -28
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_tuple.hpp +248 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/deferred.hpp +106 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +434 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/prepend.hpp +219 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +100 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +217 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +73 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +608 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +284 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +344 -20
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +23 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +23 -54
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +66 -18
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +55 -5
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +68 -80
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +3 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +8 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +98 -113
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +71 -82
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +210 -266
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +248 -30
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +11 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +15 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +71 -87
- data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +46 -68
- data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +2 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +10 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +23 -3
- data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +21 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +132 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +21 -21
- data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +9 -9
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +14 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +36 -27
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +37 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +14 -7
- data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +73 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +235 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +7 -10
- data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +20 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +88 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +44 -0
- data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +6 -0
- data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +17 -13
- data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +14 -1
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +2 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +56 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +1 -5
- data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +31 -11
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +20 -4
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +81 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
- data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +17 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +26 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +49 -0
- data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +46 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +6 -6
- data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +45 -38
- data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +24 -0
- data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
- data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +7 -7
- data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +0 -24
- data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +83 -83
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +31 -31
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +85 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +68 -68
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +72 -62
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +19 -20
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +19 -19
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +3 -3
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +5 -5
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +8 -8
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +2 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +2 -50
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +71 -70
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +15 -14
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +84 -82
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +4 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +43 -43
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +26 -26
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +85 -85
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +93 -93
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +24 -24
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +104 -104
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +91 -91
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +46 -46
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +31 -31
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +51 -51
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +18 -18
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +97 -97
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +63 -63
- data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +15 -15
- data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +4 -1
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +1 -0
- data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +2 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +112 -31
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3 -0
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +4 -8
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +0 -2
- data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +6 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +1 -1
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +22 -2
- data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +59 -1
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +9 -11
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +27 -21
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +34 -3
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +378 -36
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +97 -21
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +70 -0
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/{to_std_category.hpp → std_category.hpp} +5 -55
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +2 -12
- data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +0 -33
- data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
- data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +20 -9
- data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +3 -1
- data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
- data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +6 -0
- data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +21 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
- data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
- data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +3 -2
- data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +8 -1
- data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -0
- data/src/ruby_supportlib/phusion_passenger/packaging.rb +1 -0
- data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +1 -1
- data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +8 -0
- data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -1
- data/src/ruby_supportlib/phusion_passenger.rb +1 -1
- metadata +39 -4
- data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_generic_value.hpp +0 -125
@@ -1307,8 +1307,8 @@ public:
|
|
1307
1307
|
|
1308
1308
|
template <typename AnyExecutor1, typename AnyExecutor2>
|
1309
1309
|
friend typename enable_if<
|
1310
|
-
|
1311
|
-
||
|
1310
|
+
is_base_of<any_executor, AnyExecutor1>::value
|
1311
|
+
|| is_base_of<any_executor, AnyExecutor2>::value,
|
1312
1312
|
bool
|
1313
1313
|
>::type operator==(const AnyExecutor1& a,
|
1314
1314
|
const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT
|
@@ -1336,8 +1336,8 @@ public:
|
|
1336
1336
|
|
1337
1337
|
template <typename AnyExecutor1, typename AnyExecutor2>
|
1338
1338
|
friend typename enable_if<
|
1339
|
-
|
1340
|
-
||
|
1339
|
+
is_base_of<any_executor, AnyExecutor1>::value
|
1340
|
+
|| is_base_of<any_executor, AnyExecutor2>::value,
|
1341
1341
|
bool
|
1342
1342
|
>::type operator!=(const AnyExecutor1& a,
|
1343
1343
|
const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT
|
@@ -1504,8 +1504,8 @@ public:
|
|
1504
1504
|
|
1505
1505
|
template <typename AnyExecutor1, typename AnyExecutor2>
|
1506
1506
|
friend typename enable_if<
|
1507
|
-
|
1508
|
-
||
|
1507
|
+
is_base_of<any_executor, AnyExecutor1>::value
|
1508
|
+
|| is_base_of<any_executor, AnyExecutor2>::value,
|
1509
1509
|
bool
|
1510
1510
|
>::type operator==(const AnyExecutor1& a,
|
1511
1511
|
const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT
|
@@ -1533,8 +1533,8 @@ public:
|
|
1533
1533
|
|
1534
1534
|
template <typename AnyExecutor1, typename AnyExecutor2>
|
1535
1535
|
friend typename enable_if<
|
1536
|
-
|
1537
|
-
||
|
1536
|
+
is_base_of<any_executor, AnyExecutor1>::value
|
1537
|
+
|| is_base_of<any_executor, AnyExecutor2>::value,
|
1538
1538
|
bool
|
1539
1539
|
>::type operator!=(const AnyExecutor1& a,
|
1540
1540
|
const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT
|
@@ -1919,8 +1919,8 @@ inline void swap(any_executor<SupportableProperties...>& a,
|
|
1919
1919
|
\
|
1920
1920
|
template <typename AnyExecutor1, typename AnyExecutor2> \
|
1921
1921
|
friend typename enable_if< \
|
1922
|
-
|
1923
|
-
||
|
1922
|
+
is_base_of<any_executor, AnyExecutor1>::value \
|
1923
|
+
|| is_base_of<any_executor, AnyExecutor2>::value, \
|
1924
1924
|
bool \
|
1925
1925
|
>::type operator==(const AnyExecutor1& a, \
|
1926
1926
|
const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT \
|
@@ -1948,8 +1948,8 @@ inline void swap(any_executor<SupportableProperties...>& a,
|
|
1948
1948
|
\
|
1949
1949
|
template <typename AnyExecutor1, typename AnyExecutor2> \
|
1950
1950
|
friend typename enable_if< \
|
1951
|
-
|
1952
|
-
||
|
1951
|
+
is_base_of<any_executor, AnyExecutor1>::value \
|
1952
|
+
|| is_base_of<any_executor, AnyExecutor2>::value, \
|
1953
1953
|
bool \
|
1954
1954
|
>::type operator!=(const AnyExecutor1& a, \
|
1955
1955
|
const AnyExecutor2& b) BOOST_ASIO_NOEXCEPT \
|
@@ -100,7 +100,7 @@ struct can_bulk_execute :
|
|
100
100
|
|
101
101
|
#else // defined(GENERATING_DOCUMENTATION)
|
102
102
|
|
103
|
-
namespace
|
103
|
+
namespace boost_asio_execution_bulk_execute_fn {
|
104
104
|
|
105
105
|
using boost::asio::declval;
|
106
106
|
using boost::asio::enable_if;
|
@@ -339,23 +339,24 @@ struct static_instance
|
|
339
339
|
template <typename T>
|
340
340
|
const T static_instance<T>::instance = {};
|
341
341
|
|
342
|
-
} // namespace
|
342
|
+
} // namespace boost_asio_execution_bulk_execute_fn
|
343
343
|
namespace boost {
|
344
344
|
namespace asio {
|
345
345
|
namespace execution {
|
346
346
|
namespace {
|
347
347
|
|
348
348
|
static BOOST_ASIO_CONSTEXPR
|
349
|
-
const
|
350
|
-
|
349
|
+
const boost_asio_execution_bulk_execute_fn::impl& bulk_execute =
|
350
|
+
boost_asio_execution_bulk_execute_fn::static_instance<>::instance;
|
351
351
|
|
352
352
|
} // namespace
|
353
353
|
|
354
354
|
template <typename S, typename F, typename N>
|
355
355
|
struct can_bulk_execute :
|
356
356
|
integral_constant<bool,
|
357
|
-
|
358
|
-
|
357
|
+
boost_asio_execution_bulk_execute_fn::call_traits<
|
358
|
+
S, void(F, N)>::overload !=
|
359
|
+
boost_asio_execution_bulk_execute_fn::ill_formed>
|
359
360
|
{
|
360
361
|
};
|
361
362
|
|
@@ -369,7 +370,8 @@ constexpr bool can_bulk_execute_v = can_bulk_execute<S, F, N>::value;
|
|
369
370
|
template <typename S, typename F, typename N>
|
370
371
|
struct is_nothrow_bulk_execute :
|
371
372
|
integral_constant<bool,
|
372
|
-
|
373
|
+
boost_asio_execution_bulk_execute_fn::call_traits<
|
374
|
+
S, void(F, N)>::is_noexcept>
|
373
375
|
{
|
374
376
|
};
|
375
377
|
|
@@ -384,7 +386,7 @@ constexpr bool is_nothrow_bulk_execute_v
|
|
384
386
|
template <typename S, typename F, typename N>
|
385
387
|
struct bulk_execute_result
|
386
388
|
{
|
387
|
-
typedef typename
|
389
|
+
typedef typename boost_asio_execution_bulk_execute_fn::call_traits<
|
388
390
|
S, void(F, N)>::result_type type;
|
389
391
|
};
|
390
392
|
|
@@ -132,7 +132,7 @@ using connect_result_t = typename connect_result<S, R>::type;
|
|
132
132
|
|
133
133
|
#else // defined(GENERATING_DOCUMENTATION)
|
134
134
|
|
135
|
-
namespace
|
135
|
+
namespace boost_asio_execution_connect_fn {
|
136
136
|
|
137
137
|
using boost::asio::conditional;
|
138
138
|
using boost::asio::declval;
|
@@ -427,22 +427,22 @@ struct static_instance
|
|
427
427
|
template <typename T>
|
428
428
|
const T static_instance<T>::instance = {};
|
429
429
|
|
430
|
-
} // namespace
|
430
|
+
} // namespace boost_asio_execution_connect_fn
|
431
431
|
namespace boost {
|
432
432
|
namespace asio {
|
433
433
|
namespace execution {
|
434
434
|
namespace {
|
435
435
|
|
436
|
-
static BOOST_ASIO_CONSTEXPR const
|
437
|
-
connect =
|
436
|
+
static BOOST_ASIO_CONSTEXPR const boost_asio_execution_connect_fn::impl&
|
437
|
+
connect = boost_asio_execution_connect_fn::static_instance<>::instance;
|
438
438
|
|
439
439
|
} // namespace
|
440
440
|
|
441
441
|
template <typename S, typename R>
|
442
442
|
struct can_connect :
|
443
443
|
integral_constant<bool,
|
444
|
-
|
445
|
-
|
444
|
+
boost_asio_execution_connect_fn::call_traits<S, void(R)>::overload !=
|
445
|
+
boost_asio_execution_connect_fn::ill_formed>
|
446
446
|
{
|
447
447
|
};
|
448
448
|
|
@@ -456,7 +456,7 @@ constexpr bool can_connect_v = can_connect<S, R>::value;
|
|
456
456
|
template <typename S, typename R>
|
457
457
|
struct is_nothrow_connect :
|
458
458
|
integral_constant<bool,
|
459
|
-
|
459
|
+
boost_asio_execution_connect_fn::call_traits<S, void(R)>::is_noexcept>
|
460
460
|
{
|
461
461
|
};
|
462
462
|
|
@@ -471,7 +471,7 @@ constexpr bool is_nothrow_connect_v
|
|
471
471
|
template <typename S, typename R>
|
472
472
|
struct connect_result
|
473
473
|
{
|
474
|
-
typedef typename
|
474
|
+
typedef typename boost_asio_execution_connect_fn::call_traits<
|
475
475
|
S, void(R)>::result_type type;
|
476
476
|
};
|
477
477
|
|
@@ -88,7 +88,7 @@ void submit_helper(BOOST_ASIO_MOVE_ARG(S) s, BOOST_ASIO_MOVE_ARG(R) r);
|
|
88
88
|
} // namespace execution
|
89
89
|
} // namespace asio
|
90
90
|
} // namespace boost
|
91
|
-
namespace
|
91
|
+
namespace boost_asio_execution_execute_fn {
|
92
92
|
|
93
93
|
using boost::asio::conditional;
|
94
94
|
using boost::asio::decay;
|
@@ -249,25 +249,25 @@ struct static_instance
|
|
249
249
|
template <typename T>
|
250
250
|
const T static_instance<T>::instance = {};
|
251
251
|
|
252
|
-
} // namespace
|
252
|
+
} // namespace boost_asio_execution_execute_fn
|
253
253
|
namespace boost {
|
254
254
|
namespace asio {
|
255
255
|
namespace execution {
|
256
256
|
namespace {
|
257
257
|
|
258
|
-
static BOOST_ASIO_CONSTEXPR const
|
259
|
-
execute =
|
258
|
+
static BOOST_ASIO_CONSTEXPR const boost_asio_execution_execute_fn::impl&
|
259
|
+
execute = boost_asio_execution_execute_fn::static_instance<>::instance;
|
260
260
|
|
261
261
|
} // namespace
|
262
262
|
|
263
|
-
typedef
|
263
|
+
typedef boost_asio_execution_execute_fn::impl execute_t;
|
264
264
|
|
265
265
|
template <typename T, typename F>
|
266
266
|
struct can_execute :
|
267
267
|
integral_constant<bool,
|
268
|
-
|
268
|
+
boost_asio_execution_execute_fn::call_traits<
|
269
269
|
execute_t, T, void(F)>::overload !=
|
270
|
-
|
270
|
+
boost_asio_execution_execute_fn::ill_formed>
|
271
271
|
{
|
272
272
|
};
|
273
273
|
|
@@ -69,7 +69,7 @@ struct can_schedule :
|
|
69
69
|
|
70
70
|
#else // defined(GENERATING_DOCUMENTATION)
|
71
71
|
|
72
|
-
namespace
|
72
|
+
namespace boost_asio_execution_schedule_fn {
|
73
73
|
|
74
74
|
using boost::asio::decay;
|
75
75
|
using boost::asio::declval;
|
@@ -239,22 +239,22 @@ struct static_instance
|
|
239
239
|
template <typename T>
|
240
240
|
const T static_instance<T>::instance = {};
|
241
241
|
|
242
|
-
} // namespace
|
242
|
+
} // namespace boost_asio_execution_schedule_fn
|
243
243
|
namespace boost {
|
244
244
|
namespace asio {
|
245
245
|
namespace execution {
|
246
246
|
namespace {
|
247
247
|
|
248
|
-
static BOOST_ASIO_CONSTEXPR const
|
249
|
-
schedule =
|
248
|
+
static BOOST_ASIO_CONSTEXPR const boost_asio_execution_schedule_fn::impl&
|
249
|
+
schedule = boost_asio_execution_schedule_fn::static_instance<>::instance;
|
250
250
|
|
251
251
|
} // namespace
|
252
252
|
|
253
253
|
template <typename S>
|
254
254
|
struct can_schedule :
|
255
255
|
integral_constant<bool,
|
256
|
-
|
257
|
-
|
256
|
+
boost_asio_execution_schedule_fn::call_traits<S>::overload !=
|
257
|
+
boost_asio_execution_schedule_fn::ill_formed>
|
258
258
|
{
|
259
259
|
};
|
260
260
|
|
@@ -268,7 +268,7 @@ constexpr bool can_schedule_v = can_schedule<S>::value;
|
|
268
268
|
template <typename S>
|
269
269
|
struct is_nothrow_schedule :
|
270
270
|
integral_constant<bool,
|
271
|
-
|
271
|
+
boost_asio_execution_schedule_fn::call_traits<S>::is_noexcept>
|
272
272
|
{
|
273
273
|
};
|
274
274
|
|
@@ -68,7 +68,7 @@ struct can_set_done :
|
|
68
68
|
|
69
69
|
#else // defined(GENERATING_DOCUMENTATION)
|
70
70
|
|
71
|
-
namespace
|
71
|
+
namespace boost_asio_execution_set_done_fn {
|
72
72
|
|
73
73
|
using boost::asio::decay;
|
74
74
|
using boost::asio::declval;
|
@@ -202,22 +202,22 @@ struct static_instance
|
|
202
202
|
template <typename T>
|
203
203
|
const T static_instance<T>::instance = {};
|
204
204
|
|
205
|
-
} // namespace
|
205
|
+
} // namespace boost_asio_execution_set_done_fn
|
206
206
|
namespace boost {
|
207
207
|
namespace asio {
|
208
208
|
namespace execution {
|
209
209
|
namespace {
|
210
210
|
|
211
|
-
static BOOST_ASIO_CONSTEXPR const
|
212
|
-
set_done =
|
211
|
+
static BOOST_ASIO_CONSTEXPR const boost_asio_execution_set_done_fn::impl&
|
212
|
+
set_done = boost_asio_execution_set_done_fn::static_instance<>::instance;
|
213
213
|
|
214
214
|
} // namespace
|
215
215
|
|
216
216
|
template <typename R>
|
217
217
|
struct can_set_done :
|
218
218
|
integral_constant<bool,
|
219
|
-
|
220
|
-
|
219
|
+
boost_asio_execution_set_done_fn::call_traits<R>::overload !=
|
220
|
+
boost_asio_execution_set_done_fn::ill_formed>
|
221
221
|
{
|
222
222
|
};
|
223
223
|
|
@@ -231,7 +231,7 @@ constexpr bool can_set_done_v = can_set_done<R>::value;
|
|
231
231
|
template <typename R>
|
232
232
|
struct is_nothrow_set_done :
|
233
233
|
integral_constant<bool,
|
234
|
-
|
234
|
+
boost_asio_execution_set_done_fn::call_traits<R>::is_noexcept>
|
235
235
|
{
|
236
236
|
};
|
237
237
|
|
@@ -68,7 +68,7 @@ struct can_set_error :
|
|
68
68
|
|
69
69
|
#else // defined(GENERATING_DOCUMENTATION)
|
70
70
|
|
71
|
-
namespace
|
71
|
+
namespace boost_asio_execution_set_error_fn {
|
72
72
|
|
73
73
|
using boost::asio::decay;
|
74
74
|
using boost::asio::declval;
|
@@ -202,22 +202,22 @@ struct static_instance
|
|
202
202
|
template <typename T>
|
203
203
|
const T static_instance<T>::instance = {};
|
204
204
|
|
205
|
-
} // namespace
|
205
|
+
} // namespace boost_asio_execution_set_error_fn
|
206
206
|
namespace boost {
|
207
207
|
namespace asio {
|
208
208
|
namespace execution {
|
209
209
|
namespace {
|
210
210
|
|
211
|
-
static BOOST_ASIO_CONSTEXPR const
|
212
|
-
set_error =
|
211
|
+
static BOOST_ASIO_CONSTEXPR const boost_asio_execution_set_error_fn::impl&
|
212
|
+
set_error = boost_asio_execution_set_error_fn::static_instance<>::instance;
|
213
213
|
|
214
214
|
} // namespace
|
215
215
|
|
216
216
|
template <typename R, typename E>
|
217
217
|
struct can_set_error :
|
218
218
|
integral_constant<bool,
|
219
|
-
|
220
|
-
|
219
|
+
boost_asio_execution_set_error_fn::call_traits<R, void(E)>::overload !=
|
220
|
+
boost_asio_execution_set_error_fn::ill_formed>
|
221
221
|
{
|
222
222
|
};
|
223
223
|
|
@@ -231,7 +231,7 @@ constexpr bool can_set_error_v = can_set_error<R, E>::value;
|
|
231
231
|
template <typename R, typename E>
|
232
232
|
struct is_nothrow_set_error :
|
233
233
|
integral_constant<bool,
|
234
|
-
|
234
|
+
boost_asio_execution_set_error_fn::call_traits<R, void(E)>::is_noexcept>
|
235
235
|
{
|
236
236
|
};
|
237
237
|
|
@@ -71,7 +71,7 @@ struct can_set_value :
|
|
71
71
|
|
72
72
|
#else // defined(GENERATING_DOCUMENTATION)
|
73
73
|
|
74
|
-
namespace
|
74
|
+
namespace boost_asio_execution_set_value_fn {
|
75
75
|
|
76
76
|
using boost::asio::decay;
|
77
77
|
using boost::asio::declval;
|
@@ -383,14 +383,14 @@ struct static_instance
|
|
383
383
|
template <typename T>
|
384
384
|
const T static_instance<T>::instance = {};
|
385
385
|
|
386
|
-
} // namespace
|
386
|
+
} // namespace boost_asio_execution_set_value_fn
|
387
387
|
namespace boost {
|
388
388
|
namespace asio {
|
389
389
|
namespace execution {
|
390
390
|
namespace {
|
391
391
|
|
392
|
-
static BOOST_ASIO_CONSTEXPR const
|
393
|
-
set_value =
|
392
|
+
static BOOST_ASIO_CONSTEXPR const boost_asio_execution_set_value_fn::impl&
|
393
|
+
set_value = boost_asio_execution_set_value_fn::static_instance<>::instance;
|
394
394
|
|
395
395
|
} // namespace
|
396
396
|
|
@@ -399,8 +399,8 @@ static BOOST_ASIO_CONSTEXPR const asio_execution_set_value_fn::impl&
|
|
399
399
|
template <typename R, typename... Vs>
|
400
400
|
struct can_set_value :
|
401
401
|
integral_constant<bool,
|
402
|
-
|
403
|
-
|
402
|
+
boost_asio_execution_set_value_fn::call_traits<R, void(Vs...)>::overload !=
|
403
|
+
boost_asio_execution_set_value_fn::ill_formed>
|
404
404
|
{
|
405
405
|
};
|
406
406
|
|
@@ -414,7 +414,7 @@ constexpr bool can_set_value_v = can_set_value<R, Vs...>::value;
|
|
414
414
|
template <typename R, typename... Vs>
|
415
415
|
struct is_nothrow_set_value :
|
416
416
|
integral_constant<bool,
|
417
|
-
|
417
|
+
boost_asio_execution_set_value_fn::call_traits<R, void(Vs...)>::is_noexcept>
|
418
418
|
{
|
419
419
|
};
|
420
420
|
|
@@ -441,15 +441,15 @@ struct is_nothrow_set_value;
|
|
441
441
|
template <typename R>
|
442
442
|
struct can_set_value<R> :
|
443
443
|
integral_constant<bool,
|
444
|
-
|
445
|
-
|
444
|
+
boost_asio_execution_set_value_fn::call_traits<R, void()>::overload !=
|
445
|
+
boost_asio_execution_set_value_fn::ill_formed>
|
446
446
|
{
|
447
447
|
};
|
448
448
|
|
449
449
|
template <typename R>
|
450
450
|
struct is_nothrow_set_value<R> :
|
451
451
|
integral_constant<bool,
|
452
|
-
|
452
|
+
boost_asio_execution_set_value_fn::call_traits<R, void()>::is_noexcept>
|
453
453
|
{
|
454
454
|
};
|
455
455
|
|
@@ -457,16 +457,16 @@ struct is_nothrow_set_value<R> :
|
|
457
457
|
template <typename R, BOOST_ASIO_VARIADIC_TPARAMS(n)> \
|
458
458
|
struct can_set_value<R, BOOST_ASIO_VARIADIC_TARGS(n)> : \
|
459
459
|
integral_constant<bool, \
|
460
|
-
|
460
|
+
boost_asio_execution_set_value_fn::call_traits<R, \
|
461
461
|
void(BOOST_ASIO_VARIADIC_TARGS(n))>::overload != \
|
462
|
-
|
462
|
+
boost_asio_execution_set_value_fn::ill_formed> \
|
463
463
|
{ \
|
464
464
|
}; \
|
465
465
|
\
|
466
466
|
template <typename R, BOOST_ASIO_VARIADIC_TPARAMS(n)> \
|
467
467
|
struct is_nothrow_set_value<R, BOOST_ASIO_VARIADIC_TARGS(n)> : \
|
468
468
|
integral_constant<bool, \
|
469
|
-
|
469
|
+
boost_asio_execution_set_value_fn::call_traits<R, \
|
470
470
|
void(BOOST_ASIO_VARIADIC_TARGS(n))>::is_noexcept> \
|
471
471
|
{ \
|
472
472
|
}; \
|
@@ -65,7 +65,7 @@ struct can_start :
|
|
65
65
|
|
66
66
|
#else // defined(GENERATING_DOCUMENTATION)
|
67
67
|
|
68
|
-
namespace
|
68
|
+
namespace boost_asio_execution_start_fn {
|
69
69
|
|
70
70
|
using boost::asio::decay;
|
71
71
|
using boost::asio::declval;
|
@@ -199,22 +199,22 @@ struct static_instance
|
|
199
199
|
template <typename T>
|
200
200
|
const T static_instance<T>::instance = {};
|
201
201
|
|
202
|
-
} // namespace
|
202
|
+
} // namespace boost_asio_execution_start_fn
|
203
203
|
namespace boost {
|
204
204
|
namespace asio {
|
205
205
|
namespace execution {
|
206
206
|
namespace {
|
207
207
|
|
208
|
-
static BOOST_ASIO_CONSTEXPR const
|
209
|
-
start =
|
208
|
+
static BOOST_ASIO_CONSTEXPR const boost_asio_execution_start_fn::impl&
|
209
|
+
start = boost_asio_execution_start_fn::static_instance<>::instance;
|
210
210
|
|
211
211
|
} // namespace
|
212
212
|
|
213
213
|
template <typename R>
|
214
214
|
struct can_start :
|
215
215
|
integral_constant<bool,
|
216
|
-
|
217
|
-
|
216
|
+
boost_asio_execution_start_fn::call_traits<R>::overload !=
|
217
|
+
boost_asio_execution_start_fn::ill_formed>
|
218
218
|
{
|
219
219
|
};
|
220
220
|
|
@@ -228,7 +228,7 @@ constexpr bool can_start_v = can_start<R>::value;
|
|
228
228
|
template <typename R>
|
229
229
|
struct is_nothrow_start :
|
230
230
|
integral_constant<bool,
|
231
|
-
|
231
|
+
boost_asio_execution_start_fn::call_traits<R>::is_noexcept>
|
232
232
|
{
|
233
233
|
};
|
234
234
|
|
@@ -109,7 +109,7 @@ struct can_submit :
|
|
109
109
|
|
110
110
|
#else // defined(GENERATING_DOCUMENTATION)
|
111
111
|
|
112
|
-
namespace
|
112
|
+
namespace boost_asio_execution_submit_fn {
|
113
113
|
|
114
114
|
using boost::asio::declval;
|
115
115
|
using boost::asio::enable_if;
|
@@ -386,22 +386,22 @@ struct static_instance
|
|
386
386
|
template <typename T>
|
387
387
|
const T static_instance<T>::instance = {};
|
388
388
|
|
389
|
-
} // namespace
|
389
|
+
} // namespace boost_asio_execution_submit_fn
|
390
390
|
namespace boost {
|
391
391
|
namespace asio {
|
392
392
|
namespace execution {
|
393
393
|
namespace {
|
394
394
|
|
395
|
-
static BOOST_ASIO_CONSTEXPR const
|
396
|
-
submit =
|
395
|
+
static BOOST_ASIO_CONSTEXPR const boost_asio_execution_submit_fn::impl&
|
396
|
+
submit = boost_asio_execution_submit_fn::static_instance<>::instance;
|
397
397
|
|
398
398
|
} // namespace
|
399
399
|
|
400
400
|
template <typename S, typename R>
|
401
401
|
struct can_submit :
|
402
402
|
integral_constant<bool,
|
403
|
-
|
404
|
-
|
403
|
+
boost_asio_execution_submit_fn::call_traits<S, void(R)>::overload !=
|
404
|
+
boost_asio_execution_submit_fn::ill_formed>
|
405
405
|
{
|
406
406
|
};
|
407
407
|
|
@@ -415,7 +415,7 @@ constexpr bool can_submit_v = can_submit<S, R>::value;
|
|
415
415
|
template <typename S, typename R>
|
416
416
|
struct is_nothrow_submit :
|
417
417
|
integral_constant<bool,
|
418
|
-
|
418
|
+
boost_asio_execution_submit_fn::call_traits<S, void(R)>::is_noexcept>
|
419
419
|
{
|
420
420
|
};
|
421
421
|
|
@@ -430,7 +430,7 @@ constexpr bool is_nothrow_submit_v
|
|
430
430
|
template <typename S, typename R>
|
431
431
|
struct submit_result
|
432
432
|
{
|
433
|
-
typedef typename
|
433
|
+
typedef typename boost_asio_execution_submit_fn::call_traits<
|
434
434
|
S, void(R)>::result_type type;
|
435
435
|
};
|
436
436
|
|
@@ -0,0 +1,73 @@
|
|
1
|
+
//
|
2
|
+
// experimental/append.hpp
|
3
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~
|
4
|
+
//
|
5
|
+
// Copyright (c) 2003-2021 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_EXPERIMENTAL_APPEND_HPP
|
12
|
+
#define BOOST_ASIO_EXPERIMENTAL_APPEND_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
|
+
#include <tuple>
|
20
|
+
#include <boost/asio/detail/type_traits.hpp>
|
21
|
+
|
22
|
+
#include <boost/asio/detail/push_options.hpp>
|
23
|
+
|
24
|
+
namespace boost {
|
25
|
+
namespace asio {
|
26
|
+
namespace experimental {
|
27
|
+
|
28
|
+
/// Completion token type used to specify that the completion handler
|
29
|
+
/// arguments should be passed additional values after the results of the
|
30
|
+
/// operation.
|
31
|
+
template <typename CompletionToken, typename... Values>
|
32
|
+
class append_t
|
33
|
+
{
|
34
|
+
public:
|
35
|
+
/// Constructor.
|
36
|
+
template <typename T, typename... V>
|
37
|
+
BOOST_ASIO_CONSTEXPR explicit append_t(
|
38
|
+
BOOST_ASIO_MOVE_ARG(T) completion_token,
|
39
|
+
BOOST_ASIO_MOVE_ARG(V)... values)
|
40
|
+
: token_(BOOST_ASIO_MOVE_CAST(T)(completion_token)),
|
41
|
+
values_(BOOST_ASIO_MOVE_CAST(V)(values)...)
|
42
|
+
{
|
43
|
+
}
|
44
|
+
|
45
|
+
//private:
|
46
|
+
CompletionToken token_;
|
47
|
+
std::tuple<Values...> values_;
|
48
|
+
};
|
49
|
+
|
50
|
+
/// Completion token type used to specify that the completion handler
|
51
|
+
/// arguments should be passed additional values after the results of the
|
52
|
+
/// operation.
|
53
|
+
template <typename CompletionToken, typename... Values>
|
54
|
+
inline BOOST_ASIO_CONSTEXPR append_t<
|
55
|
+
typename decay<CompletionToken>::type, typename decay<Values>::type...>
|
56
|
+
append(BOOST_ASIO_MOVE_ARG(CompletionToken) completion_token,
|
57
|
+
BOOST_ASIO_MOVE_ARG(Values)... values)
|
58
|
+
{
|
59
|
+
return append_t<
|
60
|
+
typename decay<CompletionToken>::type, typename decay<Values>::type...>(
|
61
|
+
BOOST_ASIO_MOVE_CAST(CompletionToken)(completion_token),
|
62
|
+
BOOST_ASIO_MOVE_CAST(Values)(values)...);
|
63
|
+
}
|
64
|
+
|
65
|
+
} // namespace experimental
|
66
|
+
} // namespace asio
|
67
|
+
} // namespace boost
|
68
|
+
|
69
|
+
#include <boost/asio/detail/pop_options.hpp>
|
70
|
+
|
71
|
+
#include <boost/asio/experimental/impl/append.hpp>
|
72
|
+
|
73
|
+
#endif // BOOST_ASIO_EXPERIMENTAL_APPEND_HPP
|