passenger 6.0.11 → 6.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (280) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +24 -1
  3. data/CONTRIBUTORS +3 -0
  4. data/src/agent/Core/Config.h +1 -1
  5. data/src/agent/Core/Controller/CheckoutSession.cpp +24 -13
  6. data/src/agent/Core/Controller/Config.h +1 -1
  7. data/src/agent/Core/Controller/InternalUtils.cpp +32 -6
  8. data/src/agent/Core/Controller.h +4 -1
  9. data/src/agent/Watchdog/Config.h +1 -1
  10. data/src/cxx_supportlib/Constants.h +1 -1
  11. data/src/cxx_supportlib/IOTools/IOUtils.cpp +4 -4
  12. data/src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp +47 -0
  13. data/src/cxx_supportlib/vendor-modified/boost/align/detail/aligned_alloc_posix.hpp +41 -0
  14. data/src/cxx_supportlib/vendor-modified/boost/align/detail/is_alignment.hpp +28 -0
  15. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +53 -1
  16. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +179 -0
  17. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +57 -1
  18. data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +37 -0
  19. data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +789 -106
  20. data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +1 -1
  21. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +80 -0
  22. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +10 -0
  23. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +80 -0
  24. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +30 -0
  25. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +20 -0
  26. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +90 -0
  27. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +60 -0
  28. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +10 -0
  29. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +723 -0
  30. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +191 -12
  31. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +361 -0
  32. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +237 -0
  33. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +176 -0
  34. data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +30 -2
  35. data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +60 -0
  36. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +165 -0
  37. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +209 -76
  38. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +149 -60
  39. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +40 -0
  40. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +8 -4
  41. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +14 -4
  42. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +6 -0
  43. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +14 -10
  44. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +21 -18
  45. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +30 -19
  46. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +8 -0
  47. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +14 -0
  48. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +20 -0
  49. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +30 -0
  50. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +20 -0
  51. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +29 -0
  52. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +24 -0
  53. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +19 -0
  54. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +3 -1
  55. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +6 -0
  56. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +15 -5
  57. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +60 -0
  58. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +8 -0
  59. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +27 -0
  60. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +93 -0
  61. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +77 -0
  62. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +111 -0
  63. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +4 -0
  64. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +44 -0
  65. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +2 -1
  66. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +2 -2
  67. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +14 -4
  68. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +90 -24
  69. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +30 -1
  70. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +4 -0
  71. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +5 -1
  72. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +5 -2
  73. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +12 -12
  74. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bulk_execute.hpp +10 -8
  75. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/connect.hpp +8 -8
  76. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp +7 -7
  77. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/schedule.hpp +7 -7
  78. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_done.hpp +7 -7
  79. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_error.hpp +7 -7
  80. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/set_value.hpp +13 -13
  81. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/start.hpp +7 -7
  82. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/submit.hpp +8 -8
  83. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +73 -0
  84. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +133 -0
  85. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +538 -0
  86. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +157 -0
  87. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +1057 -0
  88. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +607 -0
  89. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/completion_handler_erasure.hpp +160 -0
  90. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +120 -0
  91. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_traits.hpp +185 -0
  92. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +181 -0
  93. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/append.hpp +219 -0
  94. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +14 -28
  95. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_tuple.hpp +248 -0
  96. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/deferred.hpp +106 -0
  97. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +434 -0
  98. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/prepend.hpp +219 -0
  99. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +100 -0
  100. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +217 -0
  101. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +73 -0
  102. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +608 -0
  103. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +284 -0
  104. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +344 -20
  105. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +23 -54
  106. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +23 -54
  107. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +66 -18
  108. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/compose.hpp +55 -5
  109. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +68 -80
  110. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/defer.hpp +8 -4
  111. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/dispatch.hpp +8 -4
  112. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/handler_alloc_hook.ipp +3 -2
  113. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/post.hpp +8 -4
  114. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +98 -113
  115. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +71 -82
  116. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +210 -266
  117. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +248 -30
  118. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +11 -21
  119. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +15 -3
  120. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +71 -87
  121. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +46 -68
  122. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +4 -4
  123. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +2 -7
  124. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +10 -0
  125. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +23 -3
  126. data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +21 -21
  127. data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +9 -9
  128. data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +88 -0
  129. data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +44 -0
  130. data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +132 -0
  131. data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +21 -21
  132. data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +9 -9
  133. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +1 -1
  134. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +5 -0
  135. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +1 -1
  136. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +14 -0
  137. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +36 -27
  138. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +1 -1
  139. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +2 -2
  140. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +37 -0
  141. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +1 -1
  142. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +14 -7
  143. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +73 -1
  144. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +4 -4
  145. data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +235 -0
  146. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +4 -4
  147. data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +7 -10
  148. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +1 -1
  149. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_random_access_handle.hpp +20 -0
  150. data/src/cxx_supportlib/vendor-modified/boost/asio/windows/basic_stream_handle.hpp +20 -0
  151. data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +88 -0
  152. data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +44 -0
  153. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +6 -0
  154. data/src/cxx_supportlib/vendor-modified/boost/atomic/atomic_ref.hpp +14 -1
  155. data/src/cxx_supportlib/vendor-modified/boost/atomic/detail/config.hpp +17 -13
  156. data/src/cxx_supportlib/vendor-modified/boost/atomic/ipc_atomic_ref.hpp +14 -1
  157. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx03.hpp +2 -5
  158. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx11.hpp +2 -5
  159. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx14.hpp +2 -2
  160. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx17.hpp +2 -2
  161. data/src/cxx_supportlib/vendor-modified/boost/config/assert_cxx20.hpp +56 -0
  162. data/src/cxx_supportlib/vendor-modified/boost/config/auto_link.hpp +1 -5
  163. data/src/cxx_supportlib/vendor-modified/boost/config/compiler/common_edg.hpp +31 -11
  164. data/src/cxx_supportlib/vendor-modified/boost/config/detail/cxx_composite.hpp +20 -4
  165. data/src/cxx_supportlib/vendor-modified/boost/config/detail/select_platform_config.hpp +5 -0
  166. data/src/cxx_supportlib/vendor-modified/boost/config/detail/suffix.hpp +81 -0
  167. data/src/cxx_supportlib/vendor-modified/boost/config/platform/bsd.hpp +5 -8
  168. data/src/cxx_supportlib/vendor-modified/boost/config/platform/wasm.hpp +17 -0
  169. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/dinkumware.hpp +26 -0
  170. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libcpp.hpp +49 -0
  171. data/src/cxx_supportlib/vendor-modified/boost/config/stdlib/libstdcpp3.hpp +46 -4
  172. data/src/cxx_supportlib/vendor-modified/boost/container/adaptive_pool.hpp +2 -2
  173. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +1 -1
  174. data/src/cxx_supportlib/vendor-modified/boost/container/detail/adaptive_node_pool.hpp +2 -2
  175. data/src/cxx_supportlib/vendor-modified/boost/container/detail/node_pool.hpp +2 -2
  176. data/src/cxx_supportlib/vendor-modified/boost/container/detail/std_fwd.hpp +3 -0
  177. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +2 -2
  178. data/src/cxx_supportlib/vendor-modified/boost/container/new_allocator.hpp +1 -1
  179. data/src/cxx_supportlib/vendor-modified/boost/container/node_allocator.hpp +1 -1
  180. data/src/cxx_supportlib/vendor-modified/boost/container/pmr/polymorphic_allocator.hpp +6 -6
  181. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +4 -4
  182. data/src/cxx_supportlib/vendor-modified/boost/container/throw_exception.hpp +45 -38
  183. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +24 -0
  184. data/src/cxx_supportlib/vendor-modified/boost/core/ignore_unused.hpp +32 -2
  185. data/src/cxx_supportlib/vendor-modified/boost/core/uncaught_exceptions.hpp +7 -7
  186. data/src/cxx_supportlib/vendor-modified/boost/date_time/compiler_config.hpp +0 -24
  187. data/src/cxx_supportlib/vendor-modified/boost/date_time/posix_time/time_parsers.hpp +4 -0
  188. data/src/cxx_supportlib/vendor-modified/boost/intrusive/any_hook.hpp +4 -4
  189. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +83 -83
  190. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +43 -43
  191. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree_algorithms.hpp +31 -31
  192. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +85 -85
  193. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +68 -68
  194. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree_algorithms.hpp +72 -62
  195. data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_list_algorithms.hpp +19 -20
  196. data/src/cxx_supportlib/vendor-modified/boost/intrusive/circular_slist_algorithms.hpp +19 -19
  197. data/src/cxx_supportlib/vendor-modified/boost/intrusive/derivation_value_traits.hpp +4 -4
  198. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/any_node_and_algorithms.hpp +2 -2
  199. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/bstree_algorithms_base.hpp +3 -3
  200. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/common_slist_algorithms.hpp +5 -5
  201. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/config_begin.hpp +1 -0
  202. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/generic_hook.hpp +8 -8
  203. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hash_combine.hpp +2 -4
  204. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/hashtable_node.hpp +1 -1
  205. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/math.hpp +2 -50
  206. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/node_cloner_disposer.hpp +1 -1
  207. data/src/cxx_supportlib/vendor-modified/boost/intrusive/hashtable.hpp +71 -70
  208. data/src/cxx_supportlib/vendor-modified/boost/intrusive/linear_slist_algorithms.hpp +15 -14
  209. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +84 -82
  210. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list_hook.hpp +10 -10
  211. data/src/cxx_supportlib/vendor-modified/boost/intrusive/member_value_traits.hpp +4 -4
  212. data/src/cxx_supportlib/vendor-modified/boost/intrusive/parent_from_member.hpp +2 -2
  213. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_plus_bits.hpp +4 -4
  214. data/src/cxx_supportlib/vendor-modified/boost/intrusive/pointer_traits.hpp +18 -18
  215. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +43 -43
  216. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree_algorithms.hpp +26 -26
  217. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +85 -85
  218. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set_hook.hpp +12 -12
  219. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +93 -93
  220. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +51 -51
  221. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree_algorithms.hpp +24 -24
  222. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +104 -104
  223. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist_hook.hpp +8 -6
  224. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +91 -91
  225. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +46 -46
  226. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree_algorithms.hpp +31 -31
  227. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +51 -51
  228. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_algorithms.hpp +18 -18
  229. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +97 -97
  230. data/src/cxx_supportlib/vendor-modified/boost/intrusive/trivial_value_traits.hpp +6 -4
  231. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set.hpp +63 -63
  232. data/src/cxx_supportlib/vendor-modified/boost/intrusive/unordered_set_hook.hpp +15 -15
  233. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_numeric.hpp +4 -1
  234. data/src/cxx_supportlib/vendor-modified/boost/move/detail/config_begin.hpp +1 -0
  235. data/src/cxx_supportlib/vendor-modified/boost/move/detail/iterator_traits.hpp +1 -0
  236. data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +1 -1
  237. data/src/cxx_supportlib/vendor-modified/boost/operators.hpp +2 -0
  238. data/src/cxx_supportlib/vendor-modified/boost/regex/concepts.hpp +1 -1
  239. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/basic_regex_parser.hpp +3 -0
  240. data/src/cxx_supportlib/vendor-modified/boost/regex/v4/unicode_iterator.hpp +112 -31
  241. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/basic_regex_parser.hpp +3 -0
  242. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/mem_block_cache.hpp +4 -8
  243. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/unicode_iterator.hpp +0 -2
  244. data/src/cxx_supportlib/vendor-modified/boost/regex/v5/w32_regex_traits.hpp +6 -2
  245. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +1 -1
  246. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +22 -2
  247. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +59 -1
  248. data/src/cxx_supportlib/vendor-modified/boost/system/detail/config.hpp +9 -11
  249. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category.hpp +27 -21
  250. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_category_impl.hpp +34 -3
  251. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_code.hpp +378 -36
  252. data/src/cxx_supportlib/vendor-modified/boost/system/detail/error_condition.hpp +97 -21
  253. data/src/cxx_supportlib/vendor-modified/boost/system/detail/interop_category.hpp +107 -0
  254. data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_same.hpp +33 -0
  255. data/src/cxx_supportlib/vendor-modified/boost/system/detail/snprintf.hpp +70 -0
  256. data/src/cxx_supportlib/vendor-modified/boost/system/detail/{to_std_category.hpp → std_category.hpp} +5 -55
  257. data/src/cxx_supportlib/vendor-modified/boost/system/detail/system_category_impl.hpp +2 -12
  258. data/src/cxx_supportlib/vendor-modified/boost/system/error_code.hpp +0 -33
  259. data/src/cxx_supportlib/vendor-modified/boost/utility/detail/result_of_variadic.hpp +190 -0
  260. data/src/cxx_supportlib/vendor-modified/boost/utility/result_of.hpp +20 -9
  261. data/src/cxx_supportlib/vendor-modified/boost/utility/string_view.hpp +3 -1
  262. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  263. data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -0
  264. data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +6 -0
  265. data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -0
  266. data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
  267. data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +21 -0
  268. data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
  269. data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
  270. data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
  271. data/src/ruby_supportlib/phusion_passenger/admin_tools/instance_registry.rb +3 -2
  272. data/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb +8 -1
  273. data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -0
  274. data/src/ruby_supportlib/phusion_passenger/packaging.rb +1 -0
  275. data/src/ruby_supportlib/phusion_passenger/platform_info/openssl.rb +1 -1
  276. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +8 -0
  277. data/src/ruby_supportlib/phusion_passenger/request_handler.rb +4 -1
  278. data/src/ruby_supportlib/phusion_passenger.rb +1 -1
  279. metadata +39 -4
  280. data/src/cxx_supportlib/vendor-modified/boost/system/detail/is_generic_value.hpp +0 -125
@@ -48,7 +48,7 @@ template <typename, typename> class awaitable_frame;
48
48
 
49
49
  /// The return type of a coroutine or asynchronous operation.
50
50
  template <typename T, typename Executor = any_io_executor>
51
- class awaitable
51
+ class BOOST_ASIO_NODISCARD awaitable
52
52
  {
53
53
  public:
54
54
  /// The type of the awaited value.
@@ -455,6 +455,16 @@ public:
455
455
  * See the @ref buffer documentation for information on sending multiple
456
456
  * buffers in one go, and how to use it with arrays, boost::array or
457
457
  * std::vector.
458
+ *
459
+ * @par Per-Operation Cancellation
460
+ * On POSIX or Windows operating systems, this asynchronous operation supports
461
+ * cancellation for the following boost::asio::cancellation_type values:
462
+ *
463
+ * @li @c cancellation_type::terminal
464
+ *
465
+ * @li @c cancellation_type::partial
466
+ *
467
+ * @li @c cancellation_type::total
458
468
  */
459
469
  template <typename ConstBufferSequence,
460
470
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -499,6 +509,16 @@ public:
499
509
  * @note The async_send operation can only be used with a connected socket.
500
510
  * Use the async_send_to function to send data on an unconnected datagram
501
511
  * socket.
512
+ *
513
+ * @par Per-Operation Cancellation
514
+ * On POSIX or Windows operating systems, this asynchronous operation supports
515
+ * cancellation for the following boost::asio::cancellation_type values:
516
+ *
517
+ * @li @c cancellation_type::terminal
518
+ *
519
+ * @li @c cancellation_type::partial
520
+ *
521
+ * @li @c cancellation_type::total
502
522
  */
503
523
  template <typename ConstBufferSequence,
504
524
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -640,6 +660,16 @@ public:
640
660
  * See the @ref buffer documentation for information on sending multiple
641
661
  * buffers in one go, and how to use it with arrays, boost::array or
642
662
  * std::vector.
663
+ *
664
+ * @par Per-Operation Cancellation
665
+ * On POSIX or Windows operating systems, this asynchronous operation supports
666
+ * cancellation for the following boost::asio::cancellation_type values:
667
+ *
668
+ * @li @c cancellation_type::terminal
669
+ *
670
+ * @li @c cancellation_type::partial
671
+ *
672
+ * @li @c cancellation_type::total
643
673
  */
644
674
  template <typename ConstBufferSequence,
645
675
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -684,6 +714,16 @@ public:
684
714
  * not, the handler will not be invoked from within this function. On
685
715
  * immediate completion, invocation of the handler will be performed in a
686
716
  * manner equivalent to using boost::asio::post().
717
+ *
718
+ * @par Per-Operation Cancellation
719
+ * On POSIX or Windows operating systems, this asynchronous operation supports
720
+ * cancellation for the following boost::asio::cancellation_type values:
721
+ *
722
+ * @li @c cancellation_type::terminal
723
+ *
724
+ * @li @c cancellation_type::partial
725
+ *
726
+ * @li @c cancellation_type::total
687
727
  */
688
728
  template <typename ConstBufferSequence,
689
729
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -825,6 +865,16 @@ public:
825
865
  * See the @ref buffer documentation for information on receiving into
826
866
  * multiple buffers in one go, and how to use it with arrays, boost::array or
827
867
  * std::vector.
868
+ *
869
+ * @par Per-Operation Cancellation
870
+ * On POSIX or Windows operating systems, this asynchronous operation supports
871
+ * cancellation for the following boost::asio::cancellation_type values:
872
+ *
873
+ * @li @c cancellation_type::terminal
874
+ *
875
+ * @li @c cancellation_type::partial
876
+ *
877
+ * @li @c cancellation_type::total
828
878
  */
829
879
  template <typename MutableBufferSequence,
830
880
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -869,6 +919,16 @@ public:
869
919
  * @note The async_receive operation can only be used with a connected socket.
870
920
  * Use the async_receive_from function to receive data on an unconnected
871
921
  * datagram socket.
922
+ *
923
+ * @par Per-Operation Cancellation
924
+ * On POSIX or Windows operating systems, this asynchronous operation supports
925
+ * cancellation for the following boost::asio::cancellation_type values:
926
+ *
927
+ * @li @c cancellation_type::terminal
928
+ *
929
+ * @li @c cancellation_type::partial
930
+ *
931
+ * @li @c cancellation_type::total
872
932
  */
873
933
  template <typename MutableBufferSequence,
874
934
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -1010,6 +1070,16 @@ public:
1010
1070
  * See the @ref buffer documentation for information on receiving into
1011
1071
  * multiple buffers in one go, and how to use it with arrays, boost::array or
1012
1072
  * std::vector.
1073
+ *
1074
+ * @par Per-Operation Cancellation
1075
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1076
+ * cancellation for the following boost::asio::cancellation_type values:
1077
+ *
1078
+ * @li @c cancellation_type::terminal
1079
+ *
1080
+ * @li @c cancellation_type::partial
1081
+ *
1082
+ * @li @c cancellation_type::total
1013
1083
  */
1014
1084
  template <typename MutableBufferSequence,
1015
1085
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -1056,6 +1126,16 @@ public:
1056
1126
  * not, the handler will not be invoked from within this function. On
1057
1127
  * immediate completion, invocation of the handler will be performed in a
1058
1128
  * manner equivalent to using boost::asio::post().
1129
+ *
1130
+ * @par Per-Operation Cancellation
1131
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1132
+ * cancellation for the following boost::asio::cancellation_type values:
1133
+ *
1134
+ * @li @c cancellation_type::terminal
1135
+ *
1136
+ * @li @c cancellation_type::partial
1137
+ *
1138
+ * @li @c cancellation_type::total
1059
1139
  */
1060
1140
  template <typename MutableBufferSequence,
1061
1141
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -628,6 +628,16 @@ public:
628
628
  * not, the handler will not be invoked from within this function. On
629
629
  * immediate completion, invocation of the handler will be performed in a
630
630
  * manner equivalent to using boost::asio::post().
631
+ *
632
+ * @par Per-Operation Cancellation
633
+ * On POSIX or Windows operating systems, this asynchronous operation supports
634
+ * cancellation for the following boost::asio::cancellation_type values:
635
+ *
636
+ * @li @c cancellation_type::terminal
637
+ *
638
+ * @li @c cancellation_type::partial
639
+ *
640
+ * @li @c cancellation_type::total
631
641
  */
632
642
  template <
633
643
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code))
@@ -447,6 +447,16 @@ public:
447
447
  * See the @ref buffer documentation for information on sending multiple
448
448
  * buffers in one go, and how to use it with arrays, boost::array or
449
449
  * std::vector.
450
+ *
451
+ * @par Per-Operation Cancellation
452
+ * On POSIX or Windows operating systems, this asynchronous operation supports
453
+ * cancellation for the following boost::asio::cancellation_type values:
454
+ *
455
+ * @li @c cancellation_type::terminal
456
+ *
457
+ * @li @c cancellation_type::partial
458
+ *
459
+ * @li @c cancellation_type::total
450
460
  */
451
461
  template <typename ConstBufferSequence,
452
462
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -491,6 +501,16 @@ public:
491
501
  * @note The async_send operation can only be used with a connected socket.
492
502
  * Use the async_send_to function to send data on an unconnected raw
493
503
  * socket.
504
+ *
505
+ * @par Per-Operation Cancellation
506
+ * On POSIX or Windows operating systems, this asynchronous operation supports
507
+ * cancellation for the following boost::asio::cancellation_type values:
508
+ *
509
+ * @li @c cancellation_type::terminal
510
+ *
511
+ * @li @c cancellation_type::partial
512
+ *
513
+ * @li @c cancellation_type::total
494
514
  */
495
515
  template <typename ConstBufferSequence,
496
516
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -632,6 +652,16 @@ public:
632
652
  * See the @ref buffer documentation for information on sending multiple
633
653
  * buffers in one go, and how to use it with arrays, boost::array or
634
654
  * std::vector.
655
+ *
656
+ * @par Per-Operation Cancellation
657
+ * On POSIX or Windows operating systems, this asynchronous operation supports
658
+ * cancellation for the following boost::asio::cancellation_type values:
659
+ *
660
+ * @li @c cancellation_type::terminal
661
+ *
662
+ * @li @c cancellation_type::partial
663
+ *
664
+ * @li @c cancellation_type::total
635
665
  */
636
666
  template <typename ConstBufferSequence,
637
667
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -676,6 +706,16 @@ public:
676
706
  * not, the handler will not be invoked from within this function. On
677
707
  * immediate completion, invocation of the handler will be performed in a
678
708
  * manner equivalent to using boost::asio::post().
709
+ *
710
+ * @par Per-Operation Cancellation
711
+ * On POSIX or Windows operating systems, this asynchronous operation supports
712
+ * cancellation for the following boost::asio::cancellation_type values:
713
+ *
714
+ * @li @c cancellation_type::terminal
715
+ *
716
+ * @li @c cancellation_type::partial
717
+ *
718
+ * @li @c cancellation_type::total
679
719
  */
680
720
  template <typename ConstBufferSequence,
681
721
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -817,6 +857,16 @@ public:
817
857
  * See the @ref buffer documentation for information on receiving into
818
858
  * multiple buffers in one go, and how to use it with arrays, boost::array or
819
859
  * std::vector.
860
+ *
861
+ * @par Per-Operation Cancellation
862
+ * On POSIX or Windows operating systems, this asynchronous operation supports
863
+ * cancellation for the following boost::asio::cancellation_type values:
864
+ *
865
+ * @li @c cancellation_type::terminal
866
+ *
867
+ * @li @c cancellation_type::partial
868
+ *
869
+ * @li @c cancellation_type::total
820
870
  */
821
871
  template <typename MutableBufferSequence,
822
872
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -861,6 +911,16 @@ public:
861
911
  * @note The async_receive operation can only be used with a connected socket.
862
912
  * Use the async_receive_from function to receive data on an unconnected
863
913
  * raw socket.
914
+ *
915
+ * @par Per-Operation Cancellation
916
+ * On POSIX or Windows operating systems, this asynchronous operation supports
917
+ * cancellation for the following boost::asio::cancellation_type values:
918
+ *
919
+ * @li @c cancellation_type::terminal
920
+ *
921
+ * @li @c cancellation_type::partial
922
+ *
923
+ * @li @c cancellation_type::total
864
924
  */
865
925
  template <typename MutableBufferSequence,
866
926
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -1002,6 +1062,16 @@ public:
1002
1062
  * See the @ref buffer documentation for information on receiving into
1003
1063
  * multiple buffers in one go, and how to use it with arrays, boost::array or
1004
1064
  * std::vector.
1065
+ *
1066
+ * @par Per-Operation Cancellation
1067
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1068
+ * cancellation for the following boost::asio::cancellation_type values:
1069
+ *
1070
+ * @li @c cancellation_type::terminal
1071
+ *
1072
+ * @li @c cancellation_type::partial
1073
+ *
1074
+ * @li @c cancellation_type::total
1005
1075
  */
1006
1076
  template <typename MutableBufferSequence,
1007
1077
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -1048,6 +1118,16 @@ public:
1048
1118
  * not, the handler will not be invoked from within this function. On
1049
1119
  * immediate completion, invocation of the handler will be performed in a
1050
1120
  * manner equivalent to using boost::asio::post().
1121
+ *
1122
+ * @par Per-Operation Cancellation
1123
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1124
+ * cancellation for the following boost::asio::cancellation_type values:
1125
+ *
1126
+ * @li @c cancellation_type::terminal
1127
+ *
1128
+ * @li @c cancellation_type::partial
1129
+ *
1130
+ * @li @c cancellation_type::total
1051
1131
  */
1052
1132
  template <typename MutableBufferSequence,
1053
1133
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -435,6 +435,16 @@ public:
435
435
  * See the @ref buffer documentation for information on sending multiple
436
436
  * buffers in one go, and how to use it with arrays, boost::array or
437
437
  * std::vector.
438
+ *
439
+ * @par Per-Operation Cancellation
440
+ * On POSIX or Windows operating systems, this asynchronous operation supports
441
+ * cancellation for the following boost::asio::cancellation_type values:
442
+ *
443
+ * @li @c cancellation_type::terminal
444
+ *
445
+ * @li @c cancellation_type::partial
446
+ *
447
+ * @li @c cancellation_type::total
438
448
  */
439
449
  template <typename ConstBufferSequence,
440
450
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -608,6 +618,16 @@ public:
608
618
  * See the @ref buffer documentation for information on receiving into
609
619
  * multiple buffers in one go, and how to use it with arrays, boost::array or
610
620
  * std::vector.
621
+ *
622
+ * @par Per-Operation Cancellation
623
+ * On POSIX or Windows operating systems, this asynchronous operation supports
624
+ * cancellation for the following boost::asio::cancellation_type values:
625
+ *
626
+ * @li @c cancellation_type::terminal
627
+ *
628
+ * @li @c cancellation_type::partial
629
+ *
630
+ * @li @c cancellation_type::total
611
631
  */
612
632
  template <typename MutableBufferSequence,
613
633
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -667,6 +687,16 @@ public:
667
687
  * See the @ref buffer documentation for information on receiving into
668
688
  * multiple buffers in one go, and how to use it with arrays, boost::array or
669
689
  * std::vector.
690
+ *
691
+ * @par Per-Operation Cancellation
692
+ * On POSIX or Windows operating systems, this asynchronous operation supports
693
+ * cancellation for the following boost::asio::cancellation_type values:
694
+ *
695
+ * @li @c cancellation_type::terminal
696
+ *
697
+ * @li @c cancellation_type::partial
698
+ *
699
+ * @li @c cancellation_type::total
670
700
  */
671
701
  template <typename MutableBufferSequence,
672
702
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -940,6 +940,16 @@ public:
940
940
  * boost::asio::ip::address::from_string("1.2.3.4"), 12345);
941
941
  * socket.async_connect(endpoint, connect_handler);
942
942
  * @endcode
943
+ *
944
+ * @par Per-Operation Cancellation
945
+ * On POSIX or Windows operating systems, this asynchronous operation supports
946
+ * cancellation for the following boost::asio::cancellation_type values:
947
+ *
948
+ * @li @c cancellation_type::terminal
949
+ *
950
+ * @li @c cancellation_type::partial
951
+ *
952
+ * @li @c cancellation_type::total
943
953
  */
944
954
  template <
945
955
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code))
@@ -1773,6 +1783,16 @@ public:
1773
1783
  * ...
1774
1784
  * socket.async_wait(boost::asio::ip::tcp::socket::wait_read, wait_handler);
1775
1785
  * @endcode
1786
+ *
1787
+ * @par Per-Operation Cancellation
1788
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1789
+ * cancellation for the following boost::asio::cancellation_type values:
1790
+ *
1791
+ * @li @c cancellation_type::terminal
1792
+ *
1793
+ * @li @c cancellation_type::partial
1794
+ *
1795
+ * @li @c cancellation_type::total
1776
1796
  */
1777
1797
  template <
1778
1798
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code))
@@ -1225,6 +1225,16 @@ public:
1225
1225
  * boost::asio::ip::tcp::acceptor::wait_read,
1226
1226
  * wait_handler);
1227
1227
  * @endcode
1228
+ *
1229
+ * @par Per-Operation Cancellation
1230
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1231
+ * cancellation for the following boost::asio::cancellation_type values:
1232
+ *
1233
+ * @li @c cancellation_type::terminal
1234
+ *
1235
+ * @li @c cancellation_type::partial
1236
+ *
1237
+ * @li @c cancellation_type::total
1228
1238
  */
1229
1239
  template <
1230
1240
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code))
@@ -1342,6 +1352,16 @@ public:
1342
1352
  * boost::asio::ip::tcp::socket socket(my_context);
1343
1353
  * acceptor.async_accept(socket, accept_handler);
1344
1354
  * @endcode
1355
+ *
1356
+ * @par Per-Operation Cancellation
1357
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1358
+ * cancellation for the following boost::asio::cancellation_type values:
1359
+ *
1360
+ * @li @c cancellation_type::terminal
1361
+ *
1362
+ * @li @c cancellation_type::partial
1363
+ *
1364
+ * @li @c cancellation_type::total
1345
1365
  */
1346
1366
  template <typename Protocol1, typename Executor1,
1347
1367
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code))
@@ -1455,6 +1475,16 @@ public:
1455
1475
  * not, the handler will not be invoked from within this function. On
1456
1476
  * immediate completion, invocation of the handler will be performed in a
1457
1477
  * manner equivalent to using boost::asio::post().
1478
+ *
1479
+ * @par Per-Operation Cancellation
1480
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1481
+ * cancellation for the following boost::asio::cancellation_type values:
1482
+ *
1483
+ * @li @c cancellation_type::terminal
1484
+ *
1485
+ * @li @c cancellation_type::partial
1486
+ *
1487
+ * @li @c cancellation_type::total
1458
1488
  */
1459
1489
  template <typename Executor1,
1460
1490
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code))
@@ -1577,6 +1607,16 @@ public:
1577
1607
  * ...
1578
1608
  * acceptor.async_accept(accept_handler);
1579
1609
  * @endcode
1610
+ *
1611
+ * @par Per-Operation Cancellation
1612
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1613
+ * cancellation for the following boost::asio::cancellation_type values:
1614
+ *
1615
+ * @li @c cancellation_type::terminal
1616
+ *
1617
+ * @li @c cancellation_type::partial
1618
+ *
1619
+ * @li @c cancellation_type::total
1580
1620
  */
1581
1621
  template <
1582
1622
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -1803,6 +1843,16 @@ public:
1803
1843
  * ...
1804
1844
  * acceptor.async_accept(my_context2, accept_handler);
1805
1845
  * @endcode
1846
+ *
1847
+ * @par Per-Operation Cancellation
1848
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1849
+ * cancellation for the following boost::asio::cancellation_type values:
1850
+ *
1851
+ * @li @c cancellation_type::terminal
1852
+ *
1853
+ * @li @c cancellation_type::partial
1854
+ *
1855
+ * @li @c cancellation_type::total
1806
1856
  */
1807
1857
  template <typename Executor1,
1808
1858
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -1873,6 +1923,16 @@ public:
1873
1923
  * ...
1874
1924
  * acceptor.async_accept(my_context2, accept_handler);
1875
1925
  * @endcode
1926
+ *
1927
+ * @par Per-Operation Cancellation
1928
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1929
+ * cancellation for the following boost::asio::cancellation_type values:
1930
+ *
1931
+ * @li @c cancellation_type::terminal
1932
+ *
1933
+ * @li @c cancellation_type::partial
1934
+ *
1935
+ * @li @c cancellation_type::total
1876
1936
  */
1877
1937
  template <typename ExecutionContext,
1878
1938
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -2021,6 +2081,16 @@ public:
2021
2081
  * boost::asio::ip::tcp::endpoint endpoint;
2022
2082
  * acceptor.async_accept(endpoint, accept_handler);
2023
2083
  * @endcode
2084
+ *
2085
+ * @par Per-Operation Cancellation
2086
+ * On POSIX or Windows operating systems, this asynchronous operation supports
2087
+ * cancellation for the following boost::asio::cancellation_type values:
2088
+ *
2089
+ * @li @c cancellation_type::terminal
2090
+ *
2091
+ * @li @c cancellation_type::partial
2092
+ *
2093
+ * @li @c cancellation_type::total
2024
2094
  */
2025
2095
  template <
2026
2096
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -2279,6 +2349,16 @@ public:
2279
2349
  * boost::asio::ip::tcp::endpoint endpoint;
2280
2350
  * acceptor.async_accept(my_context2, endpoint, accept_handler);
2281
2351
  * @endcode
2352
+ *
2353
+ * @par Per-Operation Cancellation
2354
+ * On POSIX or Windows operating systems, this asynchronous operation supports
2355
+ * cancellation for the following boost::asio::cancellation_type values:
2356
+ *
2357
+ * @li @c cancellation_type::terminal
2358
+ *
2359
+ * @li @c cancellation_type::partial
2360
+ *
2361
+ * @li @c cancellation_type::total
2282
2362
  */
2283
2363
  template <typename Executor1,
2284
2364
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -2355,6 +2435,16 @@ public:
2355
2435
  * boost::asio::ip::tcp::endpoint endpoint;
2356
2436
  * acceptor.async_accept(my_context2, endpoint, accept_handler);
2357
2437
  * @endcode
2438
+ *
2439
+ * @par Per-Operation Cancellation
2440
+ * On POSIX or Windows operating systems, this asynchronous operation supports
2441
+ * cancellation for the following boost::asio::cancellation_type values:
2442
+ *
2443
+ * @li @c cancellation_type::terminal
2444
+ *
2445
+ * @li @c cancellation_type::partial
2446
+ *
2447
+ * @li @c cancellation_type::total
2358
2448
  */
2359
2449
  template <typename ExecutionContext,
2360
2450
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -470,6 +470,16 @@ public:
470
470
  * See the @ref buffer documentation for information on sending multiple
471
471
  * buffers in one go, and how to use it with arrays, boost::array or
472
472
  * std::vector.
473
+ *
474
+ * @par Per-Operation Cancellation
475
+ * On POSIX or Windows operating systems, this asynchronous operation supports
476
+ * cancellation for the following boost::asio::cancellation_type values:
477
+ *
478
+ * @li @c cancellation_type::terminal
479
+ *
480
+ * @li @c cancellation_type::partial
481
+ *
482
+ * @li @c cancellation_type::total
473
483
  */
474
484
  template <typename ConstBufferSequence,
475
485
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -523,6 +533,16 @@ public:
523
533
  * See the @ref buffer documentation for information on sending multiple
524
534
  * buffers in one go, and how to use it with arrays, boost::array or
525
535
  * std::vector.
536
+ *
537
+ * @par Per-Operation Cancellation
538
+ * On POSIX or Windows operating systems, this asynchronous operation supports
539
+ * cancellation for the following boost::asio::cancellation_type values:
540
+ *
541
+ * @li @c cancellation_type::terminal
542
+ *
543
+ * @li @c cancellation_type::partial
544
+ *
545
+ * @li @c cancellation_type::total
526
546
  */
527
547
  template <typename ConstBufferSequence,
528
548
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -681,6 +701,16 @@ public:
681
701
  * See the @ref buffer documentation for information on receiving into
682
702
  * multiple buffers in one go, and how to use it with arrays, boost::array or
683
703
  * std::vector.
704
+ *
705
+ * @par Per-Operation Cancellation
706
+ * On POSIX or Windows operating systems, this asynchronous operation supports
707
+ * cancellation for the following boost::asio::cancellation_type values:
708
+ *
709
+ * @li @c cancellation_type::terminal
710
+ *
711
+ * @li @c cancellation_type::partial
712
+ *
713
+ * @li @c cancellation_type::total
684
714
  */
685
715
  template <typename MutableBufferSequence,
686
716
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -736,6 +766,16 @@ public:
736
766
  * See the @ref buffer documentation for information on receiving into
737
767
  * multiple buffers in one go, and how to use it with arrays, boost::array or
738
768
  * std::vector.
769
+ *
770
+ * @par Per-Operation Cancellation
771
+ * On POSIX or Windows operating systems, this asynchronous operation supports
772
+ * cancellation for the following boost::asio::cancellation_type values:
773
+ *
774
+ * @li @c cancellation_type::terminal
775
+ *
776
+ * @li @c cancellation_type::partial
777
+ *
778
+ * @li @c cancellation_type::total
739
779
  */
740
780
  template <typename MutableBufferSequence,
741
781
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -848,6 +888,16 @@ public:
848
888
  * See the @ref buffer documentation for information on writing multiple
849
889
  * buffers in one go, and how to use it with arrays, boost::array or
850
890
  * std::vector.
891
+ *
892
+ * @par Per-Operation Cancellation
893
+ * On POSIX or Windows operating systems, this asynchronous operation supports
894
+ * cancellation for the following boost::asio::cancellation_type values:
895
+ *
896
+ * @li @c cancellation_type::terminal
897
+ *
898
+ * @li @c cancellation_type::partial
899
+ *
900
+ * @li @c cancellation_type::total
851
901
  */
852
902
  template <typename ConstBufferSequence,
853
903
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -963,6 +1013,16 @@ public:
963
1013
  * See the @ref buffer documentation for information on reading into multiple
964
1014
  * buffers in one go, and how to use it with arrays, boost::array or
965
1015
  * std::vector.
1016
+ *
1017
+ * @par Per-Operation Cancellation
1018
+ * On POSIX or Windows operating systems, this asynchronous operation supports
1019
+ * cancellation for the following boost::asio::cancellation_type values:
1020
+ *
1021
+ * @li @c cancellation_type::terminal
1022
+ *
1023
+ * @li @c cancellation_type::partial
1024
+ *
1025
+ * @li @c cancellation_type::total
966
1026
  */
967
1027
  template <typename MutableBufferSequence,
968
1028
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
@@ -747,6 +747,16 @@ public:
747
747
  * not, the handler will not be invoked from within this function. On
748
748
  * immediate completion, invocation of the handler will be performed in a
749
749
  * manner equivalent to using boost::asio::post().
750
+ *
751
+ * @par Per-Operation Cancellation
752
+ * This asynchronous operation supports cancellation for the following
753
+ * boost::asio::cancellation_type values:
754
+ *
755
+ * @li @c cancellation_type::terminal
756
+ *
757
+ * @li @c cancellation_type::partial
758
+ *
759
+ * @li @c cancellation_type::total
750
760
  */
751
761
  template <
752
762
  BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code))