passenger 6.0.26 → 6.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (915) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +38 -1
  3. data/CONTRIBUTING.md +2 -2
  4. data/CONTRIBUTORS +2 -0
  5. data/bin/passenger-install-apache2-module +6 -3
  6. data/bin/passenger-install-nginx-module +8 -3
  7. data/build/agent.rb +0 -2
  8. data/build/basics.rb +2 -0
  9. data/build/common_library.rb +0 -6
  10. data/build/misc.rb +0 -2
  11. data/build/schema_printer.rb +0 -2
  12. data/build/support/cxx_dependency_map.rb +60 -875
  13. data/dev/copy_boost_headers +3 -14
  14. data/dev/index_cxx_dependencies.rb +5 -1
  15. data/doc/AiInstructions.md +112 -0
  16. data/doc/CxxMockingStrategy.md +42 -0
  17. data/doc/CxxTestingGuide.md +110 -0
  18. data/doc/DesignAspects/LimitedGemDependencies.md +22 -14
  19. data/doc/TempFileHandling.md +15 -0
  20. data/package.json +1 -1
  21. data/passenger.gemspec +1 -1
  22. data/resources/templates/standalone/server.erb +1 -0
  23. data/src/agent/Core/ApiServer.h +0 -1
  24. data/src/agent/Core/ApplicationPool/AbstractSession.h +10 -1
  25. data/src/agent/Core/ApplicationPool/Group/ProcessListManagement.cpp +1 -1
  26. data/src/agent/Core/ApplicationPool/Group/SessionManagement.cpp +33 -18
  27. data/src/agent/Core/ApplicationPool/Group.h +0 -1
  28. data/src/agent/Core/ApplicationPool/Implementation.cpp +1 -4
  29. data/src/agent/Core/ApplicationPool/Session.h +14 -19
  30. data/src/agent/Core/ApplicationPool/Socket.h +15 -5
  31. data/src/agent/Core/ApplicationPool/TestSession.h +73 -15
  32. data/src/agent/Core/Config.h +2 -39
  33. data/src/agent/Core/ConfigChange.cpp +1 -41
  34. data/src/agent/Core/Controller/CheckoutSession.cpp +100 -14
  35. data/src/agent/Core/Controller/Client.h +0 -1
  36. data/src/agent/Core/Controller/Config.h +1 -1
  37. data/src/agent/Core/Controller/Hooks.cpp +13 -0
  38. data/src/agent/Core/Controller/InitRequest.cpp +2 -0
  39. data/src/agent/Core/Controller/InternalUtils.cpp +12 -0
  40. data/src/agent/Core/Controller/Request.h +3 -2
  41. data/src/agent/Core/Controller.h +12 -13
  42. data/src/agent/Core/CoreMain.cpp +2 -56
  43. data/src/agent/Core/OptionParser.h +1 -7
  44. data/src/agent/Core/SecurityUpdateChecker.h +10 -2
  45. data/src/agent/Core/SpawningKit/Exceptions.h +0 -1
  46. data/src/agent/Core/SpawningKit/Handshake/Perform.h +13 -2
  47. data/src/agent/Shared/Fundamentals/AbortHandler.cpp +23 -5
  48. data/src/agent/Shared/Fundamentals/AbortHandler.h +10 -22
  49. data/src/agent/Shared/Fundamentals/Initialization.cpp +1 -0
  50. data/src/agent/Watchdog/Config.h +2 -21
  51. data/src/agent/Watchdog/WatchdogMain.cpp +0 -2
  52. data/src/apache2_module/ConfigGeneral/AutoGeneratedDefinitions.cpp +5 -20
  53. data/src/apache2_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.cpp +5 -0
  54. data/src/apache2_module/ConfigGeneral/AutoGeneratedSetterFuncs.cpp +14 -60
  55. data/src/apache2_module/DirConfig/AutoGeneratedCreateFunction.cpp +3 -0
  56. data/src/apache2_module/DirConfig/AutoGeneratedHeaderSerialization.cpp +3 -0
  57. data/src/apache2_module/DirConfig/AutoGeneratedManifestGeneration.cpp +11 -0
  58. data/src/apache2_module/DirConfig/AutoGeneratedMergeFunction.cpp +7 -0
  59. data/src/apache2_module/DirConfig/AutoGeneratedStruct.h +17 -0
  60. data/src/apache2_module/Hooks.cpp +0 -10
  61. data/src/apache2_module/ServerConfig/AutoGeneratedManifestGeneration.cpp +0 -44
  62. data/src/apache2_module/ServerConfig/AutoGeneratedStruct.h +0 -52
  63. data/src/cxx_supportlib/Algorithms/Hasher.cpp +1 -1
  64. data/src/cxx_supportlib/Algorithms/Hasher.h +4 -7
  65. data/src/cxx_supportlib/Algorithms/MovingAverage.h +1 -160
  66. data/src/cxx_supportlib/ConfigKit/IN_PRACTICE.md +2 -12
  67. data/src/cxx_supportlib/ConfigKit/Store.h +1 -6
  68. data/src/cxx_supportlib/Constants.h +2 -1
  69. data/src/cxx_supportlib/DataStructures/StringKeyTable.h +1 -7
  70. data/src/cxx_supportlib/DataStructures/StringMap.h +2 -3
  71. data/src/cxx_supportlib/Exceptions.cpp +178 -0
  72. data/src/cxx_supportlib/Exceptions.h +62 -177
  73. data/src/cxx_supportlib/FileTools/FileManip.h +2 -0
  74. data/src/cxx_supportlib/Hooks.h +0 -1
  75. data/src/cxx_supportlib/IOTools/IOUtils.cpp +266 -250
  76. data/src/cxx_supportlib/IOTools/IOUtils.h +87 -132
  77. data/src/cxx_supportlib/ServerKit/AcceptLoadBalancer.h +2 -0
  78. data/src/cxx_supportlib/ServerKit/Config.h +1 -6
  79. data/src/cxx_supportlib/ServerKit/FileBufferedChannel.h +1 -1
  80. data/src/cxx_supportlib/ServerKit/HttpHeaderParser.h +8 -6
  81. data/src/cxx_supportlib/StaticString.h +1 -6
  82. data/src/cxx_supportlib/StrIntTools/StrIntUtils.h +2 -2
  83. data/src/cxx_supportlib/SystemTools/SystemMetricsCollector.h +0 -2
  84. data/src/cxx_supportlib/Utils/Curl.h +1 -6
  85. data/src/cxx_supportlib/Utils/FastStringStream.h +7 -7
  86. data/src/cxx_supportlib/Utils/IniFile.h +24 -25
  87. data/src/cxx_supportlib/Utils/ScopeGuard.h +0 -32
  88. data/src/cxx_supportlib/Utils.h +0 -30
  89. data/src/cxx_supportlib/oxt/detail/tracable_exception_disabled.hpp +4 -0
  90. data/src/cxx_supportlib/oxt/detail/tracable_exception_enabled.hpp +1 -0
  91. data/src/cxx_supportlib/oxt/implementation.cpp +41 -2
  92. data/src/cxx_supportlib/oxt/spin_lock.hpp +94 -23
  93. data/src/cxx_supportlib/oxt/system_calls.cpp +1 -0
  94. data/src/cxx_supportlib/oxt/system_calls.hpp +3 -4
  95. data/src/cxx_supportlib/vendor-modified/boost/container/allocator.hpp +2 -2
  96. data/src/cxx_supportlib/vendor-modified/boost/container/deque.hpp +5 -0
  97. data/src/cxx_supportlib/vendor-modified/boost/container/detail/config_begin.hpp +1 -0
  98. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_or_allocator_rebind.hpp +1 -2
  99. data/src/cxx_supportlib/vendor-modified/boost/container/detail/container_rebind.hpp +23 -13
  100. data/src/cxx_supportlib/vendor-modified/boost/container/detail/flat_tree.hpp +72 -49
  101. data/src/cxx_supportlib/vendor-modified/boost/container/detail/function_detector.hpp +1 -1
  102. data/src/cxx_supportlib/vendor-modified/boost/container/detail/is_contiguous_container.hpp +15 -11
  103. data/src/cxx_supportlib/vendor-modified/boost/container/detail/tree.hpp +4 -0
  104. data/src/cxx_supportlib/vendor-modified/boost/container/devector.hpp +36 -9
  105. data/src/cxx_supportlib/vendor-modified/boost/container/flat_map.hpp +9 -2
  106. data/src/cxx_supportlib/vendor-modified/boost/container/list.hpp +4 -0
  107. data/src/cxx_supportlib/vendor-modified/boost/container/options.hpp +21 -17
  108. data/src/cxx_supportlib/vendor-modified/boost/container/slist.hpp +5 -0
  109. data/src/cxx_supportlib/vendor-modified/boost/container/small_vector.hpp +10 -6
  110. data/src/cxx_supportlib/vendor-modified/boost/container/stable_vector.hpp +8 -3
  111. data/src/cxx_supportlib/vendor-modified/boost/container/static_vector.hpp +21 -3
  112. data/src/cxx_supportlib/vendor-modified/boost/container/string.hpp +5 -15
  113. data/src/cxx_supportlib/vendor-modified/boost/container/vector.hpp +73 -14
  114. data/src/cxx_supportlib/vendor-modified/boost/detail/basic_pointerbuf.hpp +1 -2
  115. data/src/cxx_supportlib/vendor-modified/boost/detail/lcast_precision.hpp +18 -29
  116. data/src/cxx_supportlib/vendor-modified/boost/function/function_template.hpp +7 -7
  117. data/src/cxx_supportlib/vendor-modified/boost/integer/common_factor_rt.hpp +6 -10
  118. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avl_set.hpp +8 -0
  119. data/src/cxx_supportlib/vendor-modified/boost/intrusive/avltree.hpp +4 -0
  120. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bs_set.hpp +8 -0
  121. data/src/cxx_supportlib/vendor-modified/boost/intrusive/bstree.hpp +12 -4
  122. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/function_detector.hpp +1 -1
  123. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/parent_from_member.hpp +5 -4
  124. data/src/cxx_supportlib/vendor-modified/boost/intrusive/detail/workaround.hpp +10 -0
  125. data/src/cxx_supportlib/vendor-modified/boost/intrusive/list.hpp +5 -0
  126. data/src/cxx_supportlib/vendor-modified/boost/intrusive/rbtree.hpp +4 -0
  127. data/src/cxx_supportlib/vendor-modified/boost/intrusive/set.hpp +8 -0
  128. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sg_set.hpp +8 -0
  129. data/src/cxx_supportlib/vendor-modified/boost/intrusive/sgtree.hpp +4 -0
  130. data/src/cxx_supportlib/vendor-modified/boost/intrusive/slist.hpp +5 -0
  131. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splay_set.hpp +8 -0
  132. data/src/cxx_supportlib/vendor-modified/boost/intrusive/splaytree.hpp +4 -0
  133. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap.hpp +4 -0
  134. data/src/cxx_supportlib/vendor-modified/boost/intrusive/treap_set.hpp +8 -0
  135. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/converter_lexical_streams.hpp +7 -7
  136. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/inf_nan.hpp +1 -1
  137. data/src/cxx_supportlib/vendor-modified/boost/lexical_cast/detail/lcast_unsigned_converters.hpp +1 -1
  138. data/src/cxx_supportlib/vendor-modified/boost/move/adl_move_swap.hpp +2 -0
  139. data/src/cxx_supportlib/vendor-modified/boost/move/core.hpp +4 -4
  140. data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils.hpp +1 -20
  141. data/src/cxx_supportlib/vendor-modified/boost/move/detail/meta_utils_core.hpp +15 -0
  142. data/src/cxx_supportlib/vendor-modified/boost/move/detail/nsec_clock.hpp +1 -1
  143. data/src/cxx_supportlib/vendor-modified/boost/move/detail/placement_new.hpp +2 -0
  144. data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_begin.hpp +7 -7
  145. data/src/cxx_supportlib/vendor-modified/boost/move/detail/std_ns_end.hpp +3 -0
  146. data/src/cxx_supportlib/vendor-modified/boost/mp11/detail/mp_count.hpp +4 -4
  147. data/src/cxx_supportlib/vendor-modified/boost/mp11/version.hpp +1 -1
  148. data/src/cxx_supportlib/vendor-modified/boost/none.hpp +1 -1
  149. data/src/cxx_supportlib/vendor-modified/boost/none_t.hpp +10 -4
  150. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/experimental_traits.hpp +4 -49
  151. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_aligned_storage.hpp +2 -3
  152. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_config.hpp +13 -4
  153. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_reference_spec.hpp +47 -46
  154. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_relops.hpp +11 -11
  155. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_swap.hpp +3 -3
  156. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_trivially_copyable_base.hpp +12 -252
  157. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/optional_utility.hpp +41 -0
  158. data/src/cxx_supportlib/vendor-modified/boost/optional/optional.hpp +101 -592
  159. data/src/cxx_supportlib/vendor-modified/boost/optional/optional_io.hpp +1 -5
  160. data/src/cxx_supportlib/vendor-modified/boost/pointer_cast.hpp +12 -24
  161. data/src/cxx_supportlib/vendor-modified/boost/random/beta_distribution.hpp +5 -5
  162. data/src/cxx_supportlib/vendor-modified/boost/random/hyperexponential_distribution.hpp +15 -15
  163. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/allocate_shared_array.hpp +37 -44
  164. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/bad_weak_ptr.hpp +1 -23
  165. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/atomic_count.hpp +1 -0
  166. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/deprecated_macros.hpp +52 -0
  167. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_counted_base.hpp +14 -18
  168. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/local_sp_deleter.hpp +7 -15
  169. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/shared_count.hpp +39 -90
  170. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_convertible.hpp +0 -16
  171. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base.hpp +1 -0
  172. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_nt.hpp +13 -14
  173. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +16 -17
  174. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_counted_impl.hpp +16 -55
  175. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_noexcept.hpp +5 -14
  176. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_type_traits.hpp +55 -0
  177. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock.hpp +1 -0
  178. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/spinlock_std_atomic.hpp +5 -6
  179. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/enable_shared_from_this.hpp +7 -10
  180. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ptr.hpp +32 -110
  181. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/intrusive_ref_counter.hpp +17 -18
  182. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared.hpp +2 -6
  183. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_array.hpp +10 -9
  184. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_shared_object.hpp +28 -565
  185. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/make_unique.hpp +11 -17
  186. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_array.hpp +17 -21
  187. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/scoped_ptr.hpp +20 -22
  188. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_array.hpp +34 -68
  189. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/shared_ptr.hpp +78 -356
  190. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/weak_ptr.hpp +31 -89
  191. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_map.hpp +195 -12
  192. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_flat_set.hpp +206 -17
  193. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_map.hpp +1202 -0
  194. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_map_fwd.hpp +67 -0
  195. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_set.hpp +1065 -0
  196. data/src/cxx_supportlib/vendor-modified/boost/unordered/concurrent_node_set_fwd.hpp +67 -0
  197. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/concurrent_static_asserts.hpp +30 -8
  198. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/concurrent_table.hpp +248 -47
  199. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/core.hpp +24 -0
  200. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_map_types.hpp +10 -2
  201. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/flat_set_types.hpp +8 -2
  202. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_handle.hpp +120 -5
  203. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_handle.hpp +56 -0
  204. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_map_types.hpp +15 -4
  205. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_handle.hpp +48 -0
  206. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/node_set_types.hpp +13 -4
  207. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/tuple_rotate_right.hpp +11 -10
  208. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/foa/types_constructibility.hpp +172 -0
  209. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/implementation.hpp +1 -0
  210. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/map.hpp +0 -17
  211. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/set.hpp +0 -17
  212. data/src/cxx_supportlib/vendor-modified/boost/unordered/detail/type_traits.hpp +11 -0
  213. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_map.hpp +9 -0
  214. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_flat_set.hpp +9 -0
  215. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_map.hpp +2 -2
  216. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_map.hpp +32 -44
  217. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_node_set.hpp +31 -35
  218. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_printers.hpp +414 -0
  219. data/src/cxx_supportlib/vendor-modified/boost/unordered/unordered_set.hpp +2 -2
  220. data/src/cxx_supportlib/vendor-modified/boost/version.hpp +2 -2
  221. data/src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c +8 -32
  222. data/src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c +6 -0
  223. data/src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c +12 -48
  224. data/src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c +5 -0
  225. data/src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c +21 -0
  226. data/src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c +13 -0
  227. data/src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c +3 -0
  228. data/src/nginx_module/LocationConfig/AutoGeneratedStruct.h +4 -0
  229. data/src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c +0 -24
  230. data/src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c +0 -48
  231. data/src/nginx_module/MainConfig/AutoGeneratedStruct.h +0 -16
  232. data/src/nginx_module/ngx_http_passenger_module.c +0 -4
  233. data/src/ruby_native_extension/passenger_native_support.c +19 -3
  234. data/src/ruby_supportlib/phusion_passenger/apache2/config_options.rb +8 -24
  235. data/src/ruby_supportlib/phusion_passenger/common_library.rb +0 -3
  236. data/src/ruby_supportlib/phusion_passenger/constants.rb +1 -0
  237. data/src/ruby_supportlib/phusion_passenger/nginx/config_options.rb +6 -28
  238. data/src/ruby_supportlib/phusion_passenger/platform_info/compiler.rb +15 -18
  239. data/src/ruby_supportlib/phusion_passenger/platform_info/cxx_portability.rb +4 -29
  240. data/src/ruby_supportlib/phusion_passenger/platform_info/operating_system.rb +0 -30
  241. data/src/ruby_supportlib/phusion_passenger/rack_handler.rb +2 -2
  242. data/src/ruby_supportlib/phusion_passenger/standalone/config_options_list.rb +8 -20
  243. data/src/ruby_supportlib/phusion_passenger.rb +7 -7
  244. data/src/schema_printer/SchemaPrinterMain.cpp +0 -4
  245. metadata +20 -675
  246. data/dev/websocketpp.patch +0 -39
  247. data/src/agent/Core/AdminPanelConnector.h +0 -680
  248. data/src/cxx_supportlib/DataStructures/HashMap.h +0 -60
  249. data/src/cxx_supportlib/FileTools/LargeFiles.cpp +0 -41
  250. data/src/cxx_supportlib/FileTools/LargeFiles.h +0 -43
  251. data/src/cxx_supportlib/WebSocketCommandReverseServer.h +0 -975
  252. data/src/cxx_supportlib/oxt/detail/spin_lock_darwin.hpp +0 -75
  253. data/src/cxx_supportlib/oxt/detail/spin_lock_gcc_x86.hpp +0 -85
  254. data/src/cxx_supportlib/oxt/detail/spin_lock_portable.hpp +0 -38
  255. data/src/cxx_supportlib/oxt/detail/spin_lock_pthreads.hpp +0 -111
  256. data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_executor.hpp +0 -338
  257. data/src/cxx_supportlib/vendor-modified/boost/asio/any_completion_handler.hpp +0 -824
  258. data/src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp +0 -353
  259. data/src/cxx_supportlib/vendor-modified/boost/asio/append.hpp +0 -67
  260. data/src/cxx_supportlib/vendor-modified/boost/asio/as_tuple.hpp +0 -154
  261. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_allocator.hpp +0 -216
  262. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_cancellation_slot.hpp +0 -223
  263. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_executor.hpp +0 -237
  264. data/src/cxx_supportlib/vendor-modified/boost/asio/associated_immediate_executor.hpp +0 -283
  265. data/src/cxx_supportlib/vendor-modified/boost/asio/associator.hpp +0 -37
  266. data/src/cxx_supportlib/vendor-modified/boost/asio/async_result.hpp +0 -950
  267. data/src/cxx_supportlib/vendor-modified/boost/asio/awaitable.hpp +0 -144
  268. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_datagram_socket.hpp +0 -1364
  269. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_deadline_timer.hpp +0 -712
  270. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_file.hpp +0 -826
  271. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_io_object.hpp +0 -288
  272. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_random_access_file.hpp +0 -691
  273. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_raw_socket.hpp +0 -1358
  274. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_readable_pipe.hpp +0 -628
  275. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_seq_packet_socket.hpp +0 -825
  276. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_serial_port.hpp +0 -989
  277. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_signal_set.hpp +0 -650
  278. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket.hpp +0 -1938
  279. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_acceptor.hpp +0 -2710
  280. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_iostream.hpp +0 -333
  281. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_socket_streambuf.hpp +0 -644
  282. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_file.hpp +0 -746
  283. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_stream_socket.hpp +0 -1165
  284. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf.hpp +0 -452
  285. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_streambuf_fwd.hpp +0 -38
  286. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp +0 -826
  287. data/src/cxx_supportlib/vendor-modified/boost/asio/basic_writable_pipe.hpp +0 -624
  288. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_allocator.hpp +0 -598
  289. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_cancellation_slot.hpp +0 -615
  290. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_executor.hpp +0 -666
  291. data/src/cxx_supportlib/vendor-modified/boost/asio/bind_immediate_executor.hpp +0 -618
  292. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer.hpp +0 -2755
  293. data/src/cxx_supportlib/vendor-modified/boost/asio/buffer_registration.hpp +0 -320
  294. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream.hpp +0 -275
  295. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_read_stream_fwd.hpp +0 -27
  296. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream.hpp +0 -294
  297. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_stream_fwd.hpp +0 -27
  298. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream.hpp +0 -267
  299. data/src/cxx_supportlib/vendor-modified/boost/asio/buffered_write_stream_fwd.hpp +0 -27
  300. data/src/cxx_supportlib/vendor-modified/boost/asio/buffers_iterator.hpp +0 -523
  301. data/src/cxx_supportlib/vendor-modified/boost/asio/cancel_after.hpp +0 -303
  302. data/src/cxx_supportlib/vendor-modified/boost/asio/cancel_at.hpp +0 -296
  303. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_signal.hpp +0 -247
  304. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_state.hpp +0 -237
  305. data/src/cxx_supportlib/vendor-modified/boost/asio/cancellation_type.hpp +0 -159
  306. data/src/cxx_supportlib/vendor-modified/boost/asio/co_composed.hpp +0 -1323
  307. data/src/cxx_supportlib/vendor-modified/boost/asio/co_spawn.hpp +0 -525
  308. data/src/cxx_supportlib/vendor-modified/boost/asio/completion_condition.hpp +0 -269
  309. data/src/cxx_supportlib/vendor-modified/boost/asio/compose.hpp +0 -130
  310. data/src/cxx_supportlib/vendor-modified/boost/asio/composed.hpp +0 -415
  311. data/src/cxx_supportlib/vendor-modified/boost/asio/connect.hpp +0 -1348
  312. data/src/cxx_supportlib/vendor-modified/boost/asio/connect_pipe.hpp +0 -85
  313. data/src/cxx_supportlib/vendor-modified/boost/asio/consign.hpp +0 -77
  314. data/src/cxx_supportlib/vendor-modified/boost/asio/coroutine.hpp +0 -330
  315. data/src/cxx_supportlib/vendor-modified/boost/asio/deadline_timer.hpp +0 -40
  316. data/src/cxx_supportlib/vendor-modified/boost/asio/default_completion_token.hpp +0 -91
  317. data/src/cxx_supportlib/vendor-modified/boost/asio/defer.hpp +0 -220
  318. data/src/cxx_supportlib/vendor-modified/boost/asio/deferred.hpp +0 -721
  319. data/src/cxx_supportlib/vendor-modified/boost/asio/detached.hpp +0 -107
  320. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array.hpp +0 -32
  321. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/array_fwd.hpp +0 -32
  322. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/assert.hpp +0 -32
  323. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/atomic_count.hpp +0 -61
  324. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_cancellation_state.hpp +0 -166
  325. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/base_from_completion_cond.hpp +0 -71
  326. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/bind_handler.hpp +0 -713
  327. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/blocking_executor_op.hpp +0 -109
  328. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_resize_guard.hpp +0 -68
  329. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffer_sequence_adapter.hpp +0 -839
  330. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/buffered_stream_storage.hpp +0 -128
  331. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/call_stack.hpp +0 -127
  332. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono.hpp +0 -47
  333. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/chrono_time_traits.hpp +0 -192
  334. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_handler.hpp +0 -90
  335. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_message.hpp +0 -129
  336. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_payload.hpp +0 -222
  337. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/completion_payload_handler.hpp +0 -81
  338. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/composed_work.hpp +0 -254
  339. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/concurrency_hint.hpp +0 -94
  340. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_event.hpp +0 -122
  341. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/conditionally_enabled_mutex.hpp +0 -151
  342. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/config.hpp +0 -1413
  343. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/consuming_buffers.hpp +0 -445
  344. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstddef.hpp +0 -29
  345. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/cstdint.hpp +0 -42
  346. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/date_time_fwd.hpp +0 -34
  347. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/deadline_timer_service.hpp +0 -341
  348. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dependent_type.hpp +0 -38
  349. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_ops.hpp +0 -181
  350. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_read_op.hpp +0 -190
  351. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/descriptor_write_op.hpp +0 -189
  352. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/dev_poll_reactor.hpp +0 -249
  353. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/epoll_reactor.hpp +0 -297
  354. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/event.hpp +0 -48
  355. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/eventfd_select_interrupter.hpp +0 -85
  356. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/exception.hpp +0 -31
  357. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_function.hpp +0 -154
  358. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/executor_op.hpp +0 -86
  359. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fd_set_adapter.hpp +0 -41
  360. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/fenced_block.hpp +0 -42
  361. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/functional.hpp +0 -35
  362. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/future.hpp +0 -32
  363. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/global.hpp +0 -52
  364. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_alloc_helpers.hpp +0 -123
  365. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_cont_helpers.hpp +0 -45
  366. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_tracking.hpp +0 -268
  367. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_type_requirements.hpp +0 -555
  368. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/handler_work.hpp +0 -513
  369. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/hash_map.hpp +0 -333
  370. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/buffer_sequence_adapter.ipp +0 -120
  371. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/descriptor_ops.ipp +0 -996
  372. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.hpp +0 -113
  373. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/dev_poll_reactor.ipp +0 -471
  374. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.hpp +0 -111
  375. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/epoll_reactor.ipp +0 -828
  376. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/eventfd_select_interrupter.ipp +0 -173
  377. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/handler_tracking.ipp +0 -400
  378. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_descriptor_service.ipp +0 -207
  379. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_file_service.ipp +0 -142
  380. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.hpp +0 -114
  381. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_service.ipp +0 -916
  382. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/io_uring_socket_service_base.ipp +0 -251
  383. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.hpp +0 -115
  384. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/kqueue_reactor.ipp +0 -610
  385. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/null_event.ipp +0 -76
  386. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/pipe_select_interrupter.ipp +0 -131
  387. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_event.ipp +0 -65
  388. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_mutex.ipp +0 -48
  389. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_serial_port_service.ipp +0 -170
  390. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_thread.ipp +0 -86
  391. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/posix_tss_ptr.ipp +0 -48
  392. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_descriptor_service.ipp +0 -234
  393. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/reactive_socket_service_base.ipp +0 -314
  394. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/resolver_service_base.ipp +0 -160
  395. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/scheduler.ipp +0 -677
  396. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.hpp +0 -126
  397. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/select_reactor.ipp +0 -402
  398. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.hpp +0 -95
  399. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/service_registry.ipp +0 -199
  400. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/signal_set_service.ipp +0 -828
  401. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_ops.ipp +0 -4046
  402. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/socket_select_interrupter.ipp +0 -187
  403. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.hpp +0 -348
  404. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_executor_service.ipp +0 -160
  405. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.hpp +0 -88
  406. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/strand_service.ipp +0 -204
  407. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/thread_context.ipp +0 -37
  408. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/throw_error.ipp +0 -51
  409. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_ptime.ipp +0 -99
  410. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/impl/timer_queue_set.ipp +0 -103
  411. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_defer.hpp +0 -209
  412. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_dispatch.hpp +0 -195
  413. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiate_post.hpp +0 -209
  414. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/initiation_base.hpp +0 -64
  415. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_control.hpp +0 -86
  416. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_object_impl.hpp +0 -179
  417. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_at_op.hpp +0 -197
  418. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_read_op.hpp +0 -192
  419. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_service.hpp +0 -689
  420. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_at_op.hpp +0 -191
  421. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_descriptor_write_op.hpp +0 -187
  422. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_file_service.hpp +0 -263
  423. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_null_buffers_op.hpp +0 -116
  424. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_operation.hpp +0 -86
  425. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_service.hpp +0 -321
  426. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_accept_op.hpp +0 -282
  427. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_connect_op.hpp +0 -142
  428. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recv_op.hpp +0 -207
  429. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvfrom_op.hpp +0 -208
  430. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_recvmsg_op.hpp +0 -194
  431. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_send_op.hpp +0 -193
  432. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_sendto_op.hpp +0 -196
  433. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service.hpp +0 -631
  434. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_socket_service_base.hpp +0 -665
  435. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/io_uring_wait_op.hpp +0 -114
  436. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_buffer_sequence.hpp +0 -298
  437. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/is_executor.hpp +0 -128
  438. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/keyword_tss_ptr.hpp +0 -72
  439. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/kqueue_reactor.hpp +0 -273
  440. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/limits.hpp +0 -21
  441. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/local_free_on_block_exit.hpp +0 -61
  442. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp +0 -128
  443. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/mutex.hpp +0 -48
  444. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/non_const_lvalue.hpp +0 -45
  445. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/noncopyable.hpp +0 -45
  446. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_event.hpp +0 -108
  447. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_fenced_block.hpp +0 -49
  448. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_global.hpp +0 -61
  449. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_mutex.hpp +0 -62
  450. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_reactor.hpp +0 -85
  451. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_signal_blocker.hpp +0 -71
  452. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_socket_service.hpp +0 -521
  453. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_static_mutex.hpp +0 -62
  454. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_thread.hpp +0 -69
  455. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/null_tss_ptr.hpp +0 -70
  456. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/object_pool.hpp +0 -173
  457. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/op_queue.hpp +0 -164
  458. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/operation.hpp +0 -40
  459. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pipe_select_interrupter.hpp +0 -91
  460. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/pop_options.hpp +0 -157
  461. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_event.hpp +0 -177
  462. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_fd_set_adapter.hpp +0 -120
  463. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_global.hpp +0 -82
  464. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_mutex.hpp +0 -78
  465. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_serial_port_service.hpp +0 -251
  466. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_signal_blocker.hpp +0 -87
  467. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_static_mutex.hpp +0 -66
  468. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_thread.hpp +0 -111
  469. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/posix_tss_ptr.hpp +0 -81
  470. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/push_options.hpp +0 -228
  471. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_descriptor_service.hpp +0 -572
  472. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_null_buffers_op.hpp +0 -133
  473. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_accept_op.hpp +0 -325
  474. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_connect_op.hpp +0 -164
  475. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recv_op.hpp +0 -199
  476. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvfrom_op.hpp +0 -205
  477. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_recvmsg_op.hpp +0 -186
  478. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_send_op.hpp +0 -202
  479. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_sendto_op.hpp +0 -196
  480. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service.hpp +0 -635
  481. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_socket_service_base.hpp +0 -757
  482. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactive_wait_op.hpp +0 -133
  483. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor.hpp +0 -56
  484. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op.hpp +0 -73
  485. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/reactor_op_queue.hpp +0 -214
  486. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/recycling_allocator.hpp +0 -116
  487. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/regex_fwd.hpp +0 -35
  488. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_endpoint_op.hpp +0 -142
  489. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_op.hpp +0 -47
  490. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolve_query_op.hpp +0 -152
  491. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service.hpp +0 -149
  492. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/resolver_service_base.hpp +0 -160
  493. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler.hpp +0 -243
  494. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_operation.hpp +0 -80
  495. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_task.hpp +0 -51
  496. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scheduler_thread_info.hpp +0 -42
  497. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_lock.hpp +0 -103
  498. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/scoped_ptr.hpp +0 -89
  499. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_interrupter.hpp +0 -48
  500. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/select_reactor.hpp +0 -293
  501. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/service_registry.hpp +0 -165
  502. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_blocker.hpp +0 -46
  503. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_handler.hpp +0 -92
  504. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_init.hpp +0 -49
  505. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_op.hpp +0 -55
  506. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/signal_set_service.hpp +0 -294
  507. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_holder.hpp +0 -100
  508. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_ops.hpp +0 -377
  509. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_option.hpp +0 -318
  510. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_select_interrupter.hpp +0 -93
  511. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/socket_types.hpp +0 -429
  512. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/source_location.hpp +0 -47
  513. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/static_mutex.hpp +0 -52
  514. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_event.hpp +0 -185
  515. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_fenced_block.hpp +0 -59
  516. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_global.hpp +0 -67
  517. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_mutex.hpp +0 -70
  518. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_static_mutex.hpp +0 -78
  519. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/std_thread.hpp +0 -68
  520. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_executor_service.hpp +0 -175
  521. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/strand_service.hpp +0 -146
  522. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/string_view.hpp +0 -49
  523. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread.hpp +0 -60
  524. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_context.hpp +0 -53
  525. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_group.hpp +0 -101
  526. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/thread_info_base.hpp +0 -262
  527. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_error.hpp +0 -64
  528. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/throw_exception.hpp +0 -57
  529. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timed_cancel_op.hpp +0 -363
  530. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue.hpp +0 -391
  531. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_base.hpp +0 -70
  532. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_ptime.hpp +0 -105
  533. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_queue_set.hpp +0 -68
  534. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler.hpp +0 -37
  535. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/timer_scheduler_fwd.hpp +0 -44
  536. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/tss_ptr.hpp +0 -71
  537. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/type_traits.hpp +0 -180
  538. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/utility.hpp +0 -85
  539. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_handler.hpp +0 -92
  540. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wait_op.hpp +0 -51
  541. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/winsock_init.hpp +0 -130
  542. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/work_dispatcher.hpp +0 -145
  543. data/src/cxx_supportlib/vendor-modified/boost/asio/detail/wrapped_handler.hpp +0 -197
  544. data/src/cxx_supportlib/vendor-modified/boost/asio/dispatch.hpp +0 -199
  545. data/src/cxx_supportlib/vendor-modified/boost/asio/error.hpp +0 -390
  546. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp +0 -280
  547. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/any_executor.hpp +0 -1935
  548. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/bad_executor.hpp +0 -48
  549. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking.hpp +0 -1362
  550. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/blocking_adaptation.hpp +0 -1082
  551. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context.hpp +0 -193
  552. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/context_as.hpp +0 -192
  553. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp +0 -118
  554. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/impl/bad_executor.ipp +0 -42
  555. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/invocable_archetype.hpp +0 -45
  556. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/mapping.hpp +0 -1004
  557. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/occupancy.hpp +0 -186
  558. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/outstanding_work.hpp +0 -755
  559. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/prefer_only.hpp +0 -330
  560. data/src/cxx_supportlib/vendor-modified/boost/asio/execution/relationship.hpp +0 -753
  561. data/src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp +0 -33
  562. data/src/cxx_supportlib/vendor-modified/boost/asio/execution_context.hpp +0 -390
  563. data/src/cxx_supportlib/vendor-modified/boost/asio/executor.hpp +0 -365
  564. data/src/cxx_supportlib/vendor-modified/boost/asio/executor_work_guard.hpp +0 -364
  565. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/append.hpp +0 -38
  566. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_single.hpp +0 -134
  567. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/as_tuple.hpp +0 -38
  568. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/awaitable_operators.hpp +0 -538
  569. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_channel.hpp +0 -516
  570. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/basic_concurrent_channel.hpp +0 -516
  571. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/cancellation_condition.hpp +0 -154
  572. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel.hpp +0 -72
  573. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_error.hpp +0 -88
  574. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/channel_traits.hpp +0 -303
  575. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_composed.hpp +0 -35
  576. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/co_spawn.hpp +0 -189
  577. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/concurrent_channel.hpp +0 -72
  578. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro.hpp +0 -295
  579. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/coro_traits.hpp +0 -230
  580. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/deferred.hpp +0 -38
  581. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_operation.hpp +0 -363
  582. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_receive_op.hpp +0 -128
  583. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_functions.hpp +0 -202
  584. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_send_op.hpp +0 -149
  585. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/channel_service.hpp +0 -681
  586. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_completion_handler.hpp +0 -171
  587. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/coro_promise_allocator.hpp +0 -142
  588. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/has_signature.hpp +0 -56
  589. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/impl/channel_service.hpp +0 -625
  590. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/detail/partial_promise.hpp +0 -199
  591. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/as_single.hpp +0 -183
  592. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/channel_error.ipp +0 -63
  593. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/coro.hpp +0 -1224
  594. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/parallel_group.hpp +0 -790
  595. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/promise.hpp +0 -257
  596. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_coro.hpp +0 -216
  597. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/impl/use_promise.hpp +0 -68
  598. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/parallel_group.hpp +0 -457
  599. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/prepend.hpp +0 -38
  600. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/promise.hpp +0 -226
  601. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_coro.hpp +0 -191
  602. data/src/cxx_supportlib/vendor-modified/boost/asio/experimental/use_promise.hpp +0 -113
  603. data/src/cxx_supportlib/vendor-modified/boost/asio/file_base.hpp +0 -168
  604. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/basic_endpoint.hpp +0 -191
  605. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/datagram_protocol.hpp +0 -125
  606. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/endpoint.hpp +0 -135
  607. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/detail/impl/endpoint.ipp +0 -112
  608. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/raw_protocol.hpp +0 -123
  609. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/seq_packet_protocol.hpp +0 -124
  610. data/src/cxx_supportlib/vendor-modified/boost/asio/generic/stream_protocol.hpp +0 -129
  611. data/src/cxx_supportlib/vendor-modified/boost/asio/handler_continuation_hook.hpp +0 -56
  612. data/src/cxx_supportlib/vendor-modified/boost/asio/high_resolution_timer.hpp +0 -41
  613. data/src/cxx_supportlib/vendor-modified/boost/asio/immediate.hpp +0 -144
  614. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_completion_executor.ipp +0 -128
  615. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/any_io_executor.ipp +0 -136
  616. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/append.hpp +0 -171
  617. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/as_tuple.hpp +0 -278
  618. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/awaitable.hpp +0 -1198
  619. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_read_stream.hpp +0 -406
  620. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/buffered_write_stream.hpp +0 -386
  621. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancel_after.hpp +0 -270
  622. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancel_at.hpp +0 -270
  623. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/cancellation_signal.ipp +0 -98
  624. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/co_spawn.hpp +0 -459
  625. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect.hpp +0 -705
  626. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.hpp +0 -75
  627. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/connect_pipe.ipp +0 -151
  628. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/consign.hpp +0 -146
  629. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/deferred.hpp +0 -149
  630. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/detached.hpp +0 -79
  631. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/error.ipp +0 -130
  632. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.hpp +0 -79
  633. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/execution_context.ipp +0 -84
  634. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.hpp +0 -319
  635. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/executor.ipp +0 -45
  636. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.hpp +0 -435
  637. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/io_context.ipp +0 -178
  638. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/multiple_exceptions.ipp +0 -47
  639. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/prepend.hpp +0 -172
  640. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read.hpp +0 -904
  641. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_at.hpp +0 -564
  642. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/read_until.hpp +0 -2670
  643. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/redirect_error.hpp +0 -289
  644. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.hpp +0 -61
  645. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/serial_port_base.ipp +0 -556
  646. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/spawn.hpp +0 -1402
  647. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/src.hpp +0 -93
  648. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.hpp +0 -36
  649. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_context.ipp +0 -94
  650. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/system_executor.hpp +0 -181
  651. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.hpp +0 -279
  652. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/thread_pool.ipp +0 -144
  653. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_awaitable.hpp +0 -303
  654. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/use_future.hpp +0 -709
  655. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write.hpp +0 -782
  656. data/src/cxx_supportlib/vendor-modified/boost/asio/impl/write_at.hpp +0 -482
  657. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context.hpp +0 -1507
  658. data/src/cxx_supportlib/vendor-modified/boost/asio/io_context_strand.hpp +0 -398
  659. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service.hpp +0 -35
  660. data/src/cxx_supportlib/vendor-modified/boost/asio/io_service_strand.hpp +0 -20
  661. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address.hpp +0 -283
  662. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4.hpp +0 -423
  663. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_iterator.hpp +0 -158
  664. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v4_range.hpp +0 -130
  665. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6.hpp +0 -409
  666. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_iterator.hpp +0 -180
  667. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/address_v6_range.hpp +0 -126
  668. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/bad_address_cast.hpp +0 -65
  669. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_endpoint.hpp +0 -284
  670. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver.hpp +0 -1114
  671. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_entry.hpp +0 -115
  672. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_iterator.hpp +0 -190
  673. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_query.hpp +0 -262
  674. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/basic_resolver_results.hpp +0 -309
  675. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/endpoint.hpp +0 -143
  676. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/impl/endpoint.ipp +0 -197
  677. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/detail/socket_option.hpp +0 -568
  678. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/host_name.hpp +0 -44
  679. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/icmp.hpp +0 -117
  680. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.hpp +0 -69
  681. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address.ipp +0 -237
  682. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.hpp +0 -69
  683. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v4.ipp +0 -208
  684. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.hpp +0 -69
  685. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/address_v6.ipp +0 -344
  686. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/basic_endpoint.hpp +0 -45
  687. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/host_name.ipp +0 -56
  688. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.hpp +0 -56
  689. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v4.ipp +0 -220
  690. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.hpp +0 -55
  691. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/impl/network_v6.ipp +0 -189
  692. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/multicast.hpp +0 -193
  693. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v4.hpp +0 -259
  694. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/network_v6.hpp +0 -233
  695. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_base.hpp +0 -131
  696. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/resolver_query_base.hpp +0 -45
  697. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/tcp.hpp +0 -157
  698. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/udp.hpp +0 -113
  699. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/unicast.hpp +0 -72
  700. data/src/cxx_supportlib/vendor-modified/boost/asio/ip/v6_only.hpp +0 -71
  701. data/src/cxx_supportlib/vendor-modified/boost/asio/is_applicable_property.hpp +0 -63
  702. data/src/cxx_supportlib/vendor-modified/boost/asio/is_contiguous_iterator.hpp +0 -47
  703. data/src/cxx_supportlib/vendor-modified/boost/asio/is_executor.hpp +0 -48
  704. data/src/cxx_supportlib/vendor-modified/boost/asio/is_read_buffered.hpp +0 -61
  705. data/src/cxx_supportlib/vendor-modified/boost/asio/is_write_buffered.hpp +0 -61
  706. data/src/cxx_supportlib/vendor-modified/boost/asio/local/basic_endpoint.hpp +0 -245
  707. data/src/cxx_supportlib/vendor-modified/boost/asio/local/connect_pair.hpp +0 -103
  708. data/src/cxx_supportlib/vendor-modified/boost/asio/local/datagram_protocol.hpp +0 -82
  709. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/endpoint.hpp +0 -141
  710. data/src/cxx_supportlib/vendor-modified/boost/asio/local/detail/impl/endpoint.ipp +0 -133
  711. data/src/cxx_supportlib/vendor-modified/boost/asio/local/seq_packet_protocol.hpp +0 -86
  712. data/src/cxx_supportlib/vendor-modified/boost/asio/local/stream_protocol.hpp +0 -92
  713. data/src/cxx_supportlib/vendor-modified/boost/asio/multiple_exceptions.hpp +0 -54
  714. data/src/cxx_supportlib/vendor-modified/boost/asio/packaged_task.hpp +0 -68
  715. data/src/cxx_supportlib/vendor-modified/boost/asio/placeholders.hpp +0 -83
  716. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_descriptor.hpp +0 -775
  717. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/basic_stream_descriptor.hpp +0 -561
  718. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor.hpp +0 -39
  719. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/descriptor_base.hpp +0 -92
  720. data/src/cxx_supportlib/vendor-modified/boost/asio/posix/stream_descriptor.hpp +0 -39
  721. data/src/cxx_supportlib/vendor-modified/boost/asio/post.hpp +0 -215
  722. data/src/cxx_supportlib/vendor-modified/boost/asio/prefer.hpp +0 -581
  723. data/src/cxx_supportlib/vendor-modified/boost/asio/prepend.hpp +0 -68
  724. data/src/cxx_supportlib/vendor-modified/boost/asio/query.hpp +0 -315
  725. data/src/cxx_supportlib/vendor-modified/boost/asio/random_access_file.hpp +0 -37
  726. data/src/cxx_supportlib/vendor-modified/boost/asio/read.hpp +0 -1549
  727. data/src/cxx_supportlib/vendor-modified/boost/asio/read_at.hpp +0 -830
  728. data/src/cxx_supportlib/vendor-modified/boost/asio/read_until.hpp +0 -3204
  729. data/src/cxx_supportlib/vendor-modified/boost/asio/readable_pipe.hpp +0 -37
  730. data/src/cxx_supportlib/vendor-modified/boost/asio/recycling_allocator.hpp +0 -140
  731. data/src/cxx_supportlib/vendor-modified/boost/asio/redirect_error.hpp +0 -106
  732. data/src/cxx_supportlib/vendor-modified/boost/asio/registered_buffer.hpp +0 -346
  733. data/src/cxx_supportlib/vendor-modified/boost/asio/require.hpp +0 -437
  734. data/src/cxx_supportlib/vendor-modified/boost/asio/require_concept.hpp +0 -347
  735. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port.hpp +0 -38
  736. data/src/cxx_supportlib/vendor-modified/boost/asio/serial_port_base.hpp +0 -169
  737. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set.hpp +0 -30
  738. data/src/cxx_supportlib/vendor-modified/boost/asio/signal_set_base.hpp +0 -173
  739. data/src/cxx_supportlib/vendor-modified/boost/asio/socket_base.hpp +0 -561
  740. data/src/cxx_supportlib/vendor-modified/boost/asio/spawn.hpp +0 -873
  741. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context.hpp +0 -764
  742. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/context_base.hpp +0 -211
  743. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/buffered_handshake_op.hpp +0 -121
  744. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/engine.hpp +0 -171
  745. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/handshake_op.hpp +0 -69
  746. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/engine.ipp +0 -379
  747. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/impl/openssl_init.ipp +0 -171
  748. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/io.hpp +0 -378
  749. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_init.hpp +0 -103
  750. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/openssl_types.hpp +0 -34
  751. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/password_callback.hpp +0 -68
  752. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/read_op.hpp +0 -74
  753. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/shutdown_op.hpp +0 -71
  754. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/stream_core.hpp +0 -219
  755. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/verify_callback.hpp +0 -64
  756. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/detail/write_op.hpp +0 -78
  757. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/error.hpp +0 -129
  758. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/host_name_verification.hpp +0 -92
  759. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.hpp +0 -69
  760. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/context.ipp +0 -1324
  761. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/error.ipp +0 -126
  762. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/host_name_verification.ipp +0 -75
  763. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/rfc2818_verification.ipp +0 -166
  764. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/impl/src.hpp +0 -29
  765. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/rfc2818_verification.hpp +0 -100
  766. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream.hpp +0 -1044
  767. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/stream_base.hpp +0 -54
  768. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_context.hpp +0 -69
  769. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl/verify_mode.hpp +0 -65
  770. data/src/cxx_supportlib/vendor-modified/boost/asio/ssl.hpp +0 -28
  771. data/src/cxx_supportlib/vendor-modified/boost/asio/static_thread_pool.hpp +0 -33
  772. data/src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp +0 -39
  773. data/src/cxx_supportlib/vendor-modified/boost/asio/strand.hpp +0 -559
  774. data/src/cxx_supportlib/vendor-modified/boost/asio/stream_file.hpp +0 -37
  775. data/src/cxx_supportlib/vendor-modified/boost/asio/streambuf.hpp +0 -35
  776. data/src/cxx_supportlib/vendor-modified/boost/asio/system_context.hpp +0 -92
  777. data/src/cxx_supportlib/vendor-modified/boost/asio/system_executor.hpp +0 -673
  778. data/src/cxx_supportlib/vendor-modified/boost/asio/system_timer.hpp +0 -39
  779. data/src/cxx_supportlib/vendor-modified/boost/asio/this_coro.hpp +0 -269
  780. data/src/cxx_supportlib/vendor-modified/boost/asio/thread_pool.hpp +0 -965
  781. data/src/cxx_supportlib/vendor-modified/boost/asio/time_traits.hpp +0 -88
  782. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/equality_comparable.hpp +0 -102
  783. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/execute_member.hpp +0 -106
  784. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_free.hpp +0 -106
  785. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/prefer_member.hpp +0 -106
  786. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_free.hpp +0 -106
  787. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_member.hpp +0 -106
  788. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/query_static_constexpr_member.hpp +0 -103
  789. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_free.hpp +0 -106
  790. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_concept_member.hpp +0 -106
  791. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_free.hpp +0 -106
  792. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/require_member.hpp +0 -106
  793. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_query.hpp +0 -104
  794. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require.hpp +0 -117
  795. data/src/cxx_supportlib/vendor-modified/boost/asio/traits/static_require_concept.hpp +0 -118
  796. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/buffer.hpp +0 -24
  797. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/executor.hpp +0 -35
  798. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/internet.hpp +0 -40
  799. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/io_context.hpp +0 -20
  800. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/net.hpp +0 -26
  801. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/netfwd.hpp +0 -238
  802. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/socket.hpp +0 -27
  803. data/src/cxx_supportlib/vendor-modified/boost/asio/ts/timer.hpp +0 -26
  804. data/src/cxx_supportlib/vendor-modified/boost/asio/unyield.hpp +0 -21
  805. data/src/cxx_supportlib/vendor-modified/boost/asio/use_awaitable.hpp +0 -163
  806. data/src/cxx_supportlib/vendor-modified/boost/asio/use_future.hpp +0 -161
  807. data/src/cxx_supportlib/vendor-modified/boost/asio/uses_executor.hpp +0 -69
  808. data/src/cxx_supportlib/vendor-modified/boost/asio/version.hpp +0 -23
  809. data/src/cxx_supportlib/vendor-modified/boost/asio/wait_traits.hpp +0 -58
  810. data/src/cxx_supportlib/vendor-modified/boost/asio/writable_pipe.hpp +0 -37
  811. data/src/cxx_supportlib/vendor-modified/boost/asio/write.hpp +0 -1528
  812. data/src/cxx_supportlib/vendor-modified/boost/asio/write_at.hpp +0 -843
  813. data/src/cxx_supportlib/vendor-modified/boost/asio/yield.hpp +0 -23
  814. data/src/cxx_supportlib/vendor-modified/boost/asio.hpp +0 -195
  815. data/src/cxx_supportlib/vendor-modified/boost/optional/detail/old_optional_implementation.hpp +0 -1059
  816. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/operator_bool.hpp +0 -64
  817. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/requires_cxx11.hpp +0 -23
  818. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_forward.hpp +0 -52
  819. data/src/cxx_supportlib/vendor-modified/boost/smart_ptr/detail/sp_nullptr_t.hpp +0 -45
  820. data/src/cxx_supportlib/vendor-modified/websocketpp/COPYING +0 -145
  821. data/src/cxx_supportlib/vendor-modified/websocketpp/changelog.md +0 -444
  822. data/src/cxx_supportlib/vendor-modified/websocketpp/readme.md +0 -49
  823. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/base64/base64.hpp +0 -178
  824. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/client.hpp +0 -33
  825. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/close.hpp +0 -353
  826. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio.hpp +0 -141
  827. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio_ssl.hpp +0 -39
  828. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/chrono.hpp +0 -68
  829. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/connection_hdl.hpp +0 -52
  830. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/cpp11.hpp +0 -162
  831. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/functional.hpp +0 -100
  832. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/md5.hpp +0 -448
  833. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/memory.hpp +0 -88
  834. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/network.hpp +0 -106
  835. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/platforms.hpp +0 -46
  836. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/random.hpp +0 -82
  837. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/regex.hpp +0 -59
  838. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/stdint.hpp +0 -73
  839. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/system_error.hpp +0 -84
  840. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/thread.hpp +0 -88
  841. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/time.hpp +0 -56
  842. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/type_traits.hpp +0 -65
  843. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/concurrency/basic.hpp +0 -46
  844. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/concurrency/none.hpp +0 -80
  845. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio.hpp +0 -77
  846. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_client.hpp +0 -77
  847. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_no_tls.hpp +0 -73
  848. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_no_tls_client.hpp +0 -73
  849. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/boost_config.hpp +0 -72
  850. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/core.hpp +0 -297
  851. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/core_client.hpp +0 -294
  852. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug.hpp +0 -286
  853. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug_asio.hpp +0 -77
  854. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/debug_asio_no_tls.hpp +0 -73
  855. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/minimal_client.hpp +0 -72
  856. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/minimal_server.hpp +0 -312
  857. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/connection.hpp +0 -1642
  858. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/connection_base.hpp +0 -38
  859. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/endpoint.hpp +0 -700
  860. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/endpoint_base.hpp +0 -38
  861. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/error.hpp +0 -277
  862. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/extension.hpp +0 -102
  863. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/disabled.hpp +0 -129
  864. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/extensions/permessage_deflate/enabled.hpp +0 -817
  865. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/frame.hpp +0 -853
  866. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/constants.hpp +0 -308
  867. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/parser.hpp +0 -200
  868. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/request.hpp +0 -191
  869. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/impl/response.hpp +0 -266
  870. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/parser.hpp +0 -629
  871. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/request.hpp +0 -124
  872. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/http/response.hpp +0 -188
  873. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/connection_impl.hpp +0 -2375
  874. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/endpoint_impl.hpp +0 -269
  875. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/impl/utilities_impl.hpp +0 -87
  876. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/basic.hpp +0 -199
  877. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/levels.hpp +0 -203
  878. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/stub.hpp +0 -119
  879. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/logger/syslog.hpp +0 -146
  880. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/alloc.hpp +0 -105
  881. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/message.hpp +0 -340
  882. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/message_buffer/pool.hpp +0 -229
  883. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/base.hpp +0 -299
  884. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi00.hpp +0 -462
  885. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi07.hpp +0 -78
  886. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi08.hpp +0 -83
  887. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/hybi13.hpp +0 -1072
  888. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/processors/processor.hpp +0 -407
  889. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/random/none.hpp +0 -60
  890. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/random/random_device.hpp +0 -80
  891. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/client_endpoint.hpp +0 -173
  892. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/roles/server_endpoint.hpp +0 -195
  893. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/server.hpp +0 -33
  894. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/sha1/sha1.hpp +0 -189
  895. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/base.hpp +0 -232
  896. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/connection.hpp +0 -1197
  897. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/endpoint.hpp +0 -1182
  898. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/base.hpp +0 -159
  899. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/none.hpp +0 -372
  900. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/security/tls.hpp +0 -474
  901. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/base/connection.hpp +0 -238
  902. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/base/endpoint.hpp +0 -77
  903. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/base.hpp +0 -104
  904. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/connection.hpp +0 -412
  905. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/debug/endpoint.hpp +0 -140
  906. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/base.hpp +0 -133
  907. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/connection.hpp +0 -714
  908. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/iostream/endpoint.hpp +0 -222
  909. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/base.hpp +0 -95
  910. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/connection.hpp +0 -286
  911. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/stub/endpoint.hpp +0 -140
  912. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/uri.hpp +0 -356
  913. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/utf8_validator.hpp +0 -154
  914. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/utilities.hpp +0 -180
  915. data/src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/version.hpp +0 -61
@@ -1,1364 +0,0 @@
1
- //
2
- // basic_datagram_socket.hpp
3
- // ~~~~~~~~~~~~~~~~~~~~~~~~~
4
- //
5
- // Copyright (c) 2003-2024 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_BASIC_DATAGRAM_SOCKET_HPP
12
- #define BOOST_ASIO_BASIC_DATAGRAM_SOCKET_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 <cstddef>
20
- #include <boost/asio/basic_socket.hpp>
21
- #include <boost/asio/detail/handler_type_requirements.hpp>
22
- #include <boost/asio/detail/non_const_lvalue.hpp>
23
- #include <boost/asio/detail/throw_error.hpp>
24
- #include <boost/asio/detail/type_traits.hpp>
25
- #include <boost/asio/error.hpp>
26
-
27
- #include <boost/asio/detail/push_options.hpp>
28
-
29
- namespace boost {
30
- namespace asio {
31
-
32
- #if !defined(BOOST_ASIO_BASIC_DATAGRAM_SOCKET_FWD_DECL)
33
- #define BOOST_ASIO_BASIC_DATAGRAM_SOCKET_FWD_DECL
34
-
35
- // Forward declaration with defaulted arguments.
36
- template <typename Protocol, typename Executor = any_io_executor>
37
- class basic_datagram_socket;
38
-
39
- #endif // !defined(BOOST_ASIO_BASIC_DATAGRAM_SOCKET_FWD_DECL)
40
-
41
- /// Provides datagram-oriented socket functionality.
42
- /**
43
- * The basic_datagram_socket class template provides asynchronous and blocking
44
- * datagram-oriented socket functionality.
45
- *
46
- * @par Thread Safety
47
- * @e Distinct @e objects: Safe.@n
48
- * @e Shared @e objects: Unsafe.
49
- *
50
- * Synchronous @c send, @c send_to, @c receive, @c receive_from, @c connect,
51
- * and @c shutdown operations are thread safe with respect to each other, if
52
- * the underlying operating system calls are also thread safe. This means that
53
- * it is permitted to perform concurrent calls to these synchronous operations
54
- * on a single socket object. Other synchronous operations, such as @c open or
55
- * @c close, are not thread safe.
56
- */
57
- template <typename Protocol, typename Executor>
58
- class basic_datagram_socket
59
- : public basic_socket<Protocol, Executor>
60
- {
61
- private:
62
- class initiate_async_send;
63
- class initiate_async_send_to;
64
- class initiate_async_receive;
65
- class initiate_async_receive_from;
66
-
67
- public:
68
- /// The type of the executor associated with the object.
69
- typedef Executor executor_type;
70
-
71
- /// Rebinds the socket type to another executor.
72
- template <typename Executor1>
73
- struct rebind_executor
74
- {
75
- /// The socket type when rebound to the specified executor.
76
- typedef basic_datagram_socket<Protocol, Executor1> other;
77
- };
78
-
79
- /// The native representation of a socket.
80
- #if defined(GENERATING_DOCUMENTATION)
81
- typedef implementation_defined native_handle_type;
82
- #else
83
- typedef typename basic_socket<Protocol,
84
- Executor>::native_handle_type native_handle_type;
85
- #endif
86
-
87
- /// The protocol type.
88
- typedef Protocol protocol_type;
89
-
90
- /// The endpoint type.
91
- typedef typename Protocol::endpoint endpoint_type;
92
-
93
- /// Construct a basic_datagram_socket without opening it.
94
- /**
95
- * This constructor creates a datagram socket without opening it. The open()
96
- * function must be called before data can be sent or received on the socket.
97
- *
98
- * @param ex The I/O executor that the socket will use, by default, to
99
- * dispatch handlers for any asynchronous operations performed on the socket.
100
- */
101
- explicit basic_datagram_socket(const executor_type& ex)
102
- : basic_socket<Protocol, Executor>(ex)
103
- {
104
- }
105
-
106
- /// Construct a basic_datagram_socket without opening it.
107
- /**
108
- * This constructor creates a datagram socket without opening it. The open()
109
- * function must be called before data can be sent or received on the socket.
110
- *
111
- * @param context An execution context which provides the I/O executor that
112
- * the socket will use, by default, to dispatch handlers for any asynchronous
113
- * operations performed on the socket.
114
- */
115
- template <typename ExecutionContext>
116
- explicit basic_datagram_socket(ExecutionContext& context,
117
- constraint_t<
118
- is_convertible<ExecutionContext&, execution_context&>::value
119
- > = 0)
120
- : basic_socket<Protocol, Executor>(context)
121
- {
122
- }
123
-
124
- /// Construct and open a basic_datagram_socket.
125
- /**
126
- * This constructor creates and opens a datagram socket.
127
- *
128
- * @param ex The I/O executor that the socket will use, by default, to
129
- * dispatch handlers for any asynchronous operations performed on the socket.
130
- *
131
- * @param protocol An object specifying protocol parameters to be used.
132
- *
133
- * @throws boost::system::system_error Thrown on failure.
134
- */
135
- basic_datagram_socket(const executor_type& ex, const protocol_type& protocol)
136
- : basic_socket<Protocol, Executor>(ex, protocol)
137
- {
138
- }
139
-
140
- /// Construct and open a basic_datagram_socket.
141
- /**
142
- * This constructor creates and opens a datagram socket.
143
- *
144
- * @param context An execution context which provides the I/O executor that
145
- * the socket will use, by default, to dispatch handlers for any asynchronous
146
- * operations performed on the socket.
147
- *
148
- * @param protocol An object specifying protocol parameters to be used.
149
- *
150
- * @throws boost::system::system_error Thrown on failure.
151
- */
152
- template <typename ExecutionContext>
153
- basic_datagram_socket(ExecutionContext& context,
154
- const protocol_type& protocol,
155
- constraint_t<
156
- is_convertible<ExecutionContext&, execution_context&>::value,
157
- defaulted_constraint
158
- > = defaulted_constraint())
159
- : basic_socket<Protocol, Executor>(context, protocol)
160
- {
161
- }
162
-
163
- /// Construct a basic_datagram_socket, opening it and binding it to the given
164
- /// local endpoint.
165
- /**
166
- * This constructor creates a datagram socket and automatically opens it bound
167
- * to the specified endpoint on the local machine. The protocol used is the
168
- * protocol associated with the given endpoint.
169
- *
170
- * @param ex The I/O executor that the socket will use, by default, to
171
- * dispatch handlers for any asynchronous operations performed on the socket.
172
- *
173
- * @param endpoint An endpoint on the local machine to which the datagram
174
- * socket will be bound.
175
- *
176
- * @throws boost::system::system_error Thrown on failure.
177
- */
178
- basic_datagram_socket(const executor_type& ex, const endpoint_type& endpoint)
179
- : basic_socket<Protocol, Executor>(ex, endpoint)
180
- {
181
- }
182
-
183
- /// Construct a basic_datagram_socket, opening it and binding it to the given
184
- /// local endpoint.
185
- /**
186
- * This constructor creates a datagram socket and automatically opens it bound
187
- * to the specified endpoint on the local machine. The protocol used is the
188
- * protocol associated with the given endpoint.
189
- *
190
- * @param context An execution context which provides the I/O executor that
191
- * the socket will use, by default, to dispatch handlers for any asynchronous
192
- * operations performed on the socket.
193
- *
194
- * @param endpoint An endpoint on the local machine to which the datagram
195
- * socket will be bound.
196
- *
197
- * @throws boost::system::system_error Thrown on failure.
198
- */
199
- template <typename ExecutionContext>
200
- basic_datagram_socket(ExecutionContext& context,
201
- const endpoint_type& endpoint,
202
- constraint_t<
203
- is_convertible<ExecutionContext&, execution_context&>::value
204
- > = 0)
205
- : basic_socket<Protocol, Executor>(context, endpoint)
206
- {
207
- }
208
-
209
- /// Construct a basic_datagram_socket on an existing native socket.
210
- /**
211
- * This constructor creates a datagram socket object to hold an existing
212
- * native socket.
213
- *
214
- * @param ex The I/O executor that the socket will use, by default, to
215
- * dispatch handlers for any asynchronous operations performed on the socket.
216
- *
217
- * @param protocol An object specifying protocol parameters to be used.
218
- *
219
- * @param native_socket The new underlying socket implementation.
220
- *
221
- * @throws boost::system::system_error Thrown on failure.
222
- */
223
- basic_datagram_socket(const executor_type& ex,
224
- const protocol_type& protocol, const native_handle_type& native_socket)
225
- : basic_socket<Protocol, Executor>(ex, protocol, native_socket)
226
- {
227
- }
228
-
229
- /// Construct a basic_datagram_socket on an existing native socket.
230
- /**
231
- * This constructor creates a datagram socket object to hold an existing
232
- * native socket.
233
- *
234
- * @param context An execution context which provides the I/O executor that
235
- * the socket will use, by default, to dispatch handlers for any asynchronous
236
- * operations performed on the socket.
237
- *
238
- * @param protocol An object specifying protocol parameters to be used.
239
- *
240
- * @param native_socket The new underlying socket implementation.
241
- *
242
- * @throws boost::system::system_error Thrown on failure.
243
- */
244
- template <typename ExecutionContext>
245
- basic_datagram_socket(ExecutionContext& context,
246
- const protocol_type& protocol, const native_handle_type& native_socket,
247
- constraint_t<
248
- is_convertible<ExecutionContext&, execution_context&>::value
249
- > = 0)
250
- : basic_socket<Protocol, Executor>(context, protocol, native_socket)
251
- {
252
- }
253
-
254
- /// Move-construct a basic_datagram_socket from another.
255
- /**
256
- * This constructor moves a datagram socket from one object to another.
257
- *
258
- * @param other The other basic_datagram_socket object from which the move
259
- * will occur.
260
- *
261
- * @note Following the move, the moved-from object is in the same state as if
262
- * constructed using the @c basic_datagram_socket(const executor_type&)
263
- * constructor.
264
- */
265
- basic_datagram_socket(basic_datagram_socket&& other) noexcept
266
- : basic_socket<Protocol, Executor>(std::move(other))
267
- {
268
- }
269
-
270
- /// Move-assign a basic_datagram_socket from another.
271
- /**
272
- * This assignment operator moves a datagram socket from one object to
273
- * another.
274
- *
275
- * @param other The other basic_datagram_socket object from which the move
276
- * will occur.
277
- *
278
- * @note Following the move, the moved-from object is in the same state as if
279
- * constructed using the @c basic_datagram_socket(const executor_type&)
280
- * constructor.
281
- */
282
- basic_datagram_socket& operator=(basic_datagram_socket&& other)
283
- {
284
- basic_socket<Protocol, Executor>::operator=(std::move(other));
285
- return *this;
286
- }
287
-
288
- /// Move-construct a basic_datagram_socket from a socket of another protocol
289
- /// type.
290
- /**
291
- * This constructor moves a datagram socket from one object to another.
292
- *
293
- * @param other The other basic_datagram_socket object from which the move
294
- * will occur.
295
- *
296
- * @note Following the move, the moved-from object is in the same state as if
297
- * constructed using the @c basic_datagram_socket(const executor_type&)
298
- * constructor.
299
- */
300
- template <typename Protocol1, typename Executor1>
301
- basic_datagram_socket(basic_datagram_socket<Protocol1, Executor1>&& other,
302
- constraint_t<
303
- is_convertible<Protocol1, Protocol>::value
304
- && is_convertible<Executor1, Executor>::value
305
- > = 0)
306
- : basic_socket<Protocol, Executor>(std::move(other))
307
- {
308
- }
309
-
310
- /// Move-assign a basic_datagram_socket from a socket of another protocol
311
- /// type.
312
- /**
313
- * This assignment operator moves a datagram socket from one object to
314
- * another.
315
- *
316
- * @param other The other basic_datagram_socket object from which the move
317
- * will occur.
318
- *
319
- * @note Following the move, the moved-from object is in the same state as if
320
- * constructed using the @c basic_datagram_socket(const executor_type&)
321
- * constructor.
322
- */
323
- template <typename Protocol1, typename Executor1>
324
- constraint_t<
325
- is_convertible<Protocol1, Protocol>::value
326
- && is_convertible<Executor1, Executor>::value,
327
- basic_datagram_socket&
328
- > operator=(basic_datagram_socket<Protocol1, Executor1>&& other)
329
- {
330
- basic_socket<Protocol, Executor>::operator=(std::move(other));
331
- return *this;
332
- }
333
-
334
- /// Destroys the socket.
335
- /**
336
- * This function destroys the socket, cancelling any outstanding asynchronous
337
- * operations associated with the socket as if by calling @c cancel.
338
- */
339
- ~basic_datagram_socket()
340
- {
341
- }
342
-
343
- /// Send some data on a connected socket.
344
- /**
345
- * This function is used to send data on the datagram socket. The function
346
- * call will block until the data has been sent successfully or an error
347
- * occurs.
348
- *
349
- * @param buffers One ore more data buffers to be sent on the socket.
350
- *
351
- * @returns The number of bytes sent.
352
- *
353
- * @throws boost::system::system_error Thrown on failure.
354
- *
355
- * @note The send operation can only be used with a connected socket. Use
356
- * the send_to function to send data on an unconnected datagram socket.
357
- *
358
- * @par Example
359
- * To send a single data buffer use the @ref buffer function as follows:
360
- * @code socket.send(boost::asio::buffer(data, size)); @endcode
361
- * See the @ref buffer documentation for information on sending multiple
362
- * buffers in one go, and how to use it with arrays, boost::array or
363
- * std::vector.
364
- */
365
- template <typename ConstBufferSequence>
366
- std::size_t send(const ConstBufferSequence& buffers)
367
- {
368
- boost::system::error_code ec;
369
- std::size_t s = this->impl_.get_service().send(
370
- this->impl_.get_implementation(), buffers, 0, ec);
371
- boost::asio::detail::throw_error(ec, "send");
372
- return s;
373
- }
374
-
375
- /// Send some data on a connected socket.
376
- /**
377
- * This function is used to send data on the datagram socket. The function
378
- * call will block until the data has been sent successfully or an error
379
- * occurs.
380
- *
381
- * @param buffers One ore more data buffers to be sent on the socket.
382
- *
383
- * @param flags Flags specifying how the send call is to be made.
384
- *
385
- * @returns The number of bytes sent.
386
- *
387
- * @throws boost::system::system_error Thrown on failure.
388
- *
389
- * @note The send operation can only be used with a connected socket. Use
390
- * the send_to function to send data on an unconnected datagram socket.
391
- */
392
- template <typename ConstBufferSequence>
393
- std::size_t send(const ConstBufferSequence& buffers,
394
- socket_base::message_flags flags)
395
- {
396
- boost::system::error_code ec;
397
- std::size_t s = this->impl_.get_service().send(
398
- this->impl_.get_implementation(), buffers, flags, ec);
399
- boost::asio::detail::throw_error(ec, "send");
400
- return s;
401
- }
402
-
403
- /// Send some data on a connected socket.
404
- /**
405
- * This function is used to send data on the datagram socket. The function
406
- * call will block until the data has been sent successfully or an error
407
- * occurs.
408
- *
409
- * @param buffers One or more data buffers to be sent on the socket.
410
- *
411
- * @param flags Flags specifying how the send call is to be made.
412
- *
413
- * @param ec Set to indicate what error occurred, if any.
414
- *
415
- * @returns The number of bytes sent.
416
- *
417
- * @note The send operation can only be used with a connected socket. Use
418
- * the send_to function to send data on an unconnected datagram socket.
419
- */
420
- template <typename ConstBufferSequence>
421
- std::size_t send(const ConstBufferSequence& buffers,
422
- socket_base::message_flags flags, boost::system::error_code& ec)
423
- {
424
- return this->impl_.get_service().send(
425
- this->impl_.get_implementation(), buffers, flags, ec);
426
- }
427
-
428
- /// Start an asynchronous send on a connected socket.
429
- /**
430
- * This function is used to asynchronously send data on the datagram socket.
431
- * It is an initiating function for an @ref asynchronous_operation, and always
432
- * returns immediately.
433
- *
434
- * @param buffers One or more data buffers to be sent on the socket. Although
435
- * the buffers object may be copied as necessary, ownership of the underlying
436
- * memory blocks is retained by the caller, which must guarantee that they
437
- * remain valid until the completion handler is called.
438
- *
439
- * @param token The @ref completion_token that will be used to produce a
440
- * completion handler, which will be called when the send completes. Potential
441
- * completion tokens include @ref use_future, @ref use_awaitable, @ref
442
- * yield_context, or a function object with the correct completion signature.
443
- * The function signature of the completion handler must be:
444
- * @code void handler(
445
- * const boost::system::error_code& error, // Result of operation.
446
- * std::size_t bytes_transferred // Number of bytes sent.
447
- * ); @endcode
448
- * Regardless of whether the asynchronous operation completes immediately or
449
- * not, the completion handler will not be invoked from within this function.
450
- * On immediate completion, invocation of the handler will be performed in a
451
- * manner equivalent to using boost::asio::async_immediate().
452
- *
453
- * @par Completion Signature
454
- * @code void(boost::system::error_code, std::size_t) @endcode
455
- *
456
- * @note The async_send operation can only be used with a connected socket.
457
- * Use the async_send_to function to send data on an unconnected datagram
458
- * socket.
459
- *
460
- * @par Example
461
- * To send a single data buffer use the @ref buffer function as follows:
462
- * @code
463
- * socket.async_send(boost::asio::buffer(data, size), handler);
464
- * @endcode
465
- * See the @ref buffer documentation for information on sending multiple
466
- * buffers in one go, and how to use it with arrays, boost::array or
467
- * std::vector.
468
- *
469
- * @par Per-Operation Cancellation
470
- * On POSIX or Windows operating systems, this asynchronous operation supports
471
- * cancellation for the following boost::asio::cancellation_type values:
472
- *
473
- * @li @c cancellation_type::terminal
474
- *
475
- * @li @c cancellation_type::partial
476
- *
477
- * @li @c cancellation_type::total
478
- */
479
- template <typename ConstBufferSequence,
480
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
481
- std::size_t)) WriteToken = default_completion_token_t<executor_type>>
482
- auto async_send(const ConstBufferSequence& buffers,
483
- WriteToken&& token = default_completion_token_t<executor_type>())
484
- -> decltype(
485
- async_initiate<WriteToken,
486
- void (boost::system::error_code, std::size_t)>(
487
- declval<initiate_async_send>(), token,
488
- buffers, socket_base::message_flags(0)))
489
- {
490
- return async_initiate<WriteToken,
491
- void (boost::system::error_code, std::size_t)>(
492
- initiate_async_send(this), token,
493
- buffers, socket_base::message_flags(0));
494
- }
495
-
496
- /// Start an asynchronous send on a connected socket.
497
- /**
498
- * This function is used to asynchronously send data on the datagram socket.
499
- * It is an initiating function for an @ref asynchronous_operation, and always
500
- * returns immediately.
501
- *
502
- * @param buffers One or more data buffers to be sent on the socket. Although
503
- * the buffers object may be copied as necessary, ownership of the underlying
504
- * memory blocks is retained by the caller, which must guarantee that they
505
- * remain valid until the completion handler is called.
506
- *
507
- * @param flags Flags specifying how the send call is to be made.
508
- *
509
- * @param token The @ref completion_token that will be used to produce a
510
- * completion handler, which will be called when the send completes. Potential
511
- * completion tokens include @ref use_future, @ref use_awaitable, @ref
512
- * yield_context, or a function object with the correct completion signature.
513
- * The function signature of the completion handler must be:
514
- * @code void handler(
515
- * const boost::system::error_code& error, // Result of operation.
516
- * std::size_t bytes_transferred // Number of bytes sent.
517
- * ); @endcode
518
- * Regardless of whether the asynchronous operation completes immediately or
519
- * not, the completion handler will not be invoked from within this function.
520
- * On immediate completion, invocation of the handler will be performed in a
521
- * manner equivalent to using boost::asio::async_immediate().
522
- *
523
- * @par Completion Signature
524
- * @code void(boost::system::error_code, std::size_t) @endcode
525
- *
526
- * @note The async_send operation can only be used with a connected socket.
527
- * Use the async_send_to function to send data on an unconnected datagram
528
- * socket.
529
- *
530
- * @par Per-Operation Cancellation
531
- * On POSIX or Windows operating systems, this asynchronous operation supports
532
- * cancellation for the following boost::asio::cancellation_type values:
533
- *
534
- * @li @c cancellation_type::terminal
535
- *
536
- * @li @c cancellation_type::partial
537
- *
538
- * @li @c cancellation_type::total
539
- */
540
- template <typename ConstBufferSequence,
541
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
542
- std::size_t)) WriteToken = default_completion_token_t<executor_type>>
543
- auto async_send(const ConstBufferSequence& buffers,
544
- socket_base::message_flags flags,
545
- WriteToken&& token = default_completion_token_t<executor_type>())
546
- -> decltype(
547
- async_initiate<WriteToken,
548
- void (boost::system::error_code, std::size_t)>(
549
- declval<initiate_async_send>(), token, buffers, flags))
550
- {
551
- return async_initiate<WriteToken,
552
- void (boost::system::error_code, std::size_t)>(
553
- initiate_async_send(this), token, buffers, flags);
554
- }
555
-
556
- /// Send a datagram to the specified endpoint.
557
- /**
558
- * This function is used to send a datagram to the specified remote endpoint.
559
- * The function call will block until the data has been sent successfully or
560
- * an error occurs.
561
- *
562
- * @param buffers One or more data buffers to be sent to the remote endpoint.
563
- *
564
- * @param destination The remote endpoint to which the data will be sent.
565
- *
566
- * @returns The number of bytes sent.
567
- *
568
- * @throws boost::system::system_error Thrown on failure.
569
- *
570
- * @par Example
571
- * To send a single data buffer use the @ref buffer function as follows:
572
- * @code
573
- * boost::asio::ip::udp::endpoint destination(
574
- * boost::asio::ip::address::from_string("1.2.3.4"), 12345);
575
- * socket.send_to(boost::asio::buffer(data, size), destination);
576
- * @endcode
577
- * See the @ref buffer documentation for information on sending multiple
578
- * buffers in one go, and how to use it with arrays, boost::array or
579
- * std::vector.
580
- */
581
- template <typename ConstBufferSequence>
582
- std::size_t send_to(const ConstBufferSequence& buffers,
583
- const endpoint_type& destination)
584
- {
585
- boost::system::error_code ec;
586
- std::size_t s = this->impl_.get_service().send_to(
587
- this->impl_.get_implementation(), buffers, destination, 0, ec);
588
- boost::asio::detail::throw_error(ec, "send_to");
589
- return s;
590
- }
591
-
592
- /// Send a datagram to the specified endpoint.
593
- /**
594
- * This function is used to send a datagram to the specified remote endpoint.
595
- * The function call will block until the data has been sent successfully or
596
- * an error occurs.
597
- *
598
- * @param buffers One or more data buffers to be sent to the remote endpoint.
599
- *
600
- * @param destination The remote endpoint to which the data will be sent.
601
- *
602
- * @param flags Flags specifying how the send call is to be made.
603
- *
604
- * @returns The number of bytes sent.
605
- *
606
- * @throws boost::system::system_error Thrown on failure.
607
- */
608
- template <typename ConstBufferSequence>
609
- std::size_t send_to(const ConstBufferSequence& buffers,
610
- const endpoint_type& destination, socket_base::message_flags flags)
611
- {
612
- boost::system::error_code ec;
613
- std::size_t s = this->impl_.get_service().send_to(
614
- this->impl_.get_implementation(), buffers, destination, flags, ec);
615
- boost::asio::detail::throw_error(ec, "send_to");
616
- return s;
617
- }
618
-
619
- /// Send a datagram to the specified endpoint.
620
- /**
621
- * This function is used to send a datagram to the specified remote endpoint.
622
- * The function call will block until the data has been sent successfully or
623
- * an error occurs.
624
- *
625
- * @param buffers One or more data buffers to be sent to the remote endpoint.
626
- *
627
- * @param destination The remote endpoint to which the data will be sent.
628
- *
629
- * @param flags Flags specifying how the send call is to be made.
630
- *
631
- * @param ec Set to indicate what error occurred, if any.
632
- *
633
- * @returns The number of bytes sent.
634
- */
635
- template <typename ConstBufferSequence>
636
- std::size_t send_to(const ConstBufferSequence& buffers,
637
- const endpoint_type& destination, socket_base::message_flags flags,
638
- boost::system::error_code& ec)
639
- {
640
- return this->impl_.get_service().send_to(this->impl_.get_implementation(),
641
- buffers, destination, flags, ec);
642
- }
643
-
644
- /// Start an asynchronous send.
645
- /**
646
- * This function is used to asynchronously send a datagram to the specified
647
- * remote endpoint. It is an initiating function for an @ref
648
- * asynchronous_operation, and always returns immediately.
649
- *
650
- * @param buffers One or more data buffers to be sent to the remote endpoint.
651
- * Although the buffers object may be copied as necessary, ownership of the
652
- * underlying memory blocks is retained by the caller, which must guarantee
653
- * that they remain valid until the completion handler is called.
654
- *
655
- * @param destination The remote endpoint to which the data will be sent.
656
- * Copies will be made of the endpoint as required.
657
- *
658
- * @param token The @ref completion_token that will be used to produce a
659
- * completion handler, which will be called when the send completes. Potential
660
- * completion tokens include @ref use_future, @ref use_awaitable, @ref
661
- * yield_context, or a function object with the correct completion signature.
662
- * The function signature of the completion handler must be:
663
- * @code void handler(
664
- * const boost::system::error_code& error, // Result of operation.
665
- * std::size_t bytes_transferred // Number of bytes sent.
666
- * ); @endcode
667
- * Regardless of whether the asynchronous operation completes immediately or
668
- * not, the completion handler will not be invoked from within this function.
669
- * On immediate completion, invocation of the handler will be performed in a
670
- * manner equivalent to using boost::asio::async_immediate().
671
- *
672
- * @par Completion Signature
673
- * @code void(boost::system::error_code, std::size_t) @endcode
674
- *
675
- * @par Example
676
- * To send a single data buffer use the @ref buffer function as follows:
677
- * @code
678
- * boost::asio::ip::udp::endpoint destination(
679
- * boost::asio::ip::address::from_string("1.2.3.4"), 12345);
680
- * socket.async_send_to(
681
- * boost::asio::buffer(data, size), destination, handler);
682
- * @endcode
683
- * See the @ref buffer documentation for information on sending multiple
684
- * buffers in one go, and how to use it with arrays, boost::array or
685
- * std::vector.
686
- *
687
- * @par Per-Operation Cancellation
688
- * On POSIX or Windows operating systems, this asynchronous operation supports
689
- * cancellation for the following boost::asio::cancellation_type values:
690
- *
691
- * @li @c cancellation_type::terminal
692
- *
693
- * @li @c cancellation_type::partial
694
- *
695
- * @li @c cancellation_type::total
696
- */
697
- template <typename ConstBufferSequence,
698
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
699
- std::size_t)) WriteToken = default_completion_token_t<executor_type>>
700
- auto async_send_to(const ConstBufferSequence& buffers,
701
- const endpoint_type& destination,
702
- WriteToken&& token = default_completion_token_t<executor_type>())
703
- -> decltype(
704
- async_initiate<WriteToken,
705
- void (boost::system::error_code, std::size_t)>(
706
- declval<initiate_async_send_to>(), token, buffers,
707
- destination, socket_base::message_flags(0)))
708
- {
709
- return async_initiate<WriteToken,
710
- void (boost::system::error_code, std::size_t)>(
711
- initiate_async_send_to(this), token, buffers,
712
- destination, socket_base::message_flags(0));
713
- }
714
-
715
- /// Start an asynchronous send.
716
- /**
717
- * This function is used to asynchronously send a datagram to the specified
718
- * remote endpoint. It is an initiating function for an @ref
719
- * asynchronous_operation, and always returns immediately.
720
- *
721
- * @param buffers One or more data buffers to be sent to the remote endpoint.
722
- * Although the buffers object may be copied as necessary, ownership of the
723
- * underlying memory blocks is retained by the caller, which must guarantee
724
- * that they remain valid until the completion handler is called.
725
- *
726
- * @param flags Flags specifying how the send call is to be made.
727
- *
728
- * @param destination The remote endpoint to which the data will be sent.
729
- * Copies will be made of the endpoint as required.
730
- *
731
- * @param token The @ref completion_token that will be used to produce a
732
- * completion handler, which will be called when the send completes. Potential
733
- * completion tokens include @ref use_future, @ref use_awaitable, @ref
734
- * yield_context, or a function object with the correct completion signature.
735
- * The function signature of the completion handler must be:
736
- * @code void handler(
737
- * const boost::system::error_code& error, // Result of operation.
738
- * std::size_t bytes_transferred // Number of bytes sent.
739
- * ); @endcode
740
- * Regardless of whether the asynchronous operation completes immediately or
741
- * not, the completion handler will not be invoked from within this function.
742
- * On immediate completion, invocation of the handler will be performed in a
743
- * manner equivalent to using boost::asio::async_immediate().
744
- *
745
- * @par Completion Signature
746
- * @code void(boost::system::error_code, std::size_t) @endcode
747
- *
748
- * @par Per-Operation Cancellation
749
- * On POSIX or Windows operating systems, this asynchronous operation supports
750
- * cancellation for the following boost::asio::cancellation_type values:
751
- *
752
- * @li @c cancellation_type::terminal
753
- *
754
- * @li @c cancellation_type::partial
755
- *
756
- * @li @c cancellation_type::total
757
- */
758
- template <typename ConstBufferSequence,
759
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
760
- std::size_t)) WriteToken = default_completion_token_t<executor_type>>
761
- auto async_send_to(const ConstBufferSequence& buffers,
762
- const endpoint_type& destination, socket_base::message_flags flags,
763
- WriteToken&& token = default_completion_token_t<executor_type>())
764
- -> decltype(
765
- async_initiate<WriteToken,
766
- void (boost::system::error_code, std::size_t)>(
767
- declval<initiate_async_send_to>(), token,
768
- buffers, destination, flags))
769
- {
770
- return async_initiate<WriteToken,
771
- void (boost::system::error_code, std::size_t)>(
772
- initiate_async_send_to(this), token,
773
- buffers, destination, flags);
774
- }
775
-
776
- /// Receive some data on a connected socket.
777
- /**
778
- * This function is used to receive data on the datagram socket. The function
779
- * call will block until data has been received successfully or an error
780
- * occurs.
781
- *
782
- * @param buffers One or more buffers into which the data will be received.
783
- *
784
- * @returns The number of bytes received.
785
- *
786
- * @throws boost::system::system_error Thrown on failure.
787
- *
788
- * @note The receive operation can only be used with a connected socket. Use
789
- * the receive_from function to receive data on an unconnected datagram
790
- * socket.
791
- *
792
- * @par Example
793
- * To receive into a single data buffer use the @ref buffer function as
794
- * follows:
795
- * @code socket.receive(boost::asio::buffer(data, size)); @endcode
796
- * See the @ref buffer documentation for information on receiving into
797
- * multiple buffers in one go, and how to use it with arrays, boost::array or
798
- * std::vector.
799
- */
800
- template <typename MutableBufferSequence>
801
- std::size_t receive(const MutableBufferSequence& buffers)
802
- {
803
- boost::system::error_code ec;
804
- std::size_t s = this->impl_.get_service().receive(
805
- this->impl_.get_implementation(), buffers, 0, ec);
806
- boost::asio::detail::throw_error(ec, "receive");
807
- return s;
808
- }
809
-
810
- /// Receive some data on a connected socket.
811
- /**
812
- * This function is used to receive data on the datagram socket. The function
813
- * call will block until data has been received successfully or an error
814
- * occurs.
815
- *
816
- * @param buffers One or more buffers into which the data will be received.
817
- *
818
- * @param flags Flags specifying how the receive call is to be made.
819
- *
820
- * @returns The number of bytes received.
821
- *
822
- * @throws boost::system::system_error Thrown on failure.
823
- *
824
- * @note The receive operation can only be used with a connected socket. Use
825
- * the receive_from function to receive data on an unconnected datagram
826
- * socket.
827
- */
828
- template <typename MutableBufferSequence>
829
- std::size_t receive(const MutableBufferSequence& buffers,
830
- socket_base::message_flags flags)
831
- {
832
- boost::system::error_code ec;
833
- std::size_t s = this->impl_.get_service().receive(
834
- this->impl_.get_implementation(), buffers, flags, ec);
835
- boost::asio::detail::throw_error(ec, "receive");
836
- return s;
837
- }
838
-
839
- /// Receive some data on a connected socket.
840
- /**
841
- * This function is used to receive data on the datagram socket. The function
842
- * call will block until data has been received successfully or an error
843
- * occurs.
844
- *
845
- * @param buffers One or more buffers into which the data will be received.
846
- *
847
- * @param flags Flags specifying how the receive call is to be made.
848
- *
849
- * @param ec Set to indicate what error occurred, if any.
850
- *
851
- * @returns The number of bytes received.
852
- *
853
- * @note The receive operation can only be used with a connected socket. Use
854
- * the receive_from function to receive data on an unconnected datagram
855
- * socket.
856
- */
857
- template <typename MutableBufferSequence>
858
- std::size_t receive(const MutableBufferSequence& buffers,
859
- socket_base::message_flags flags, boost::system::error_code& ec)
860
- {
861
- return this->impl_.get_service().receive(
862
- this->impl_.get_implementation(), buffers, flags, ec);
863
- }
864
-
865
- /// Start an asynchronous receive on a connected socket.
866
- /**
867
- * This function is used to asynchronously receive data from the datagram
868
- * socket. It is an initiating function for an @ref asynchronous_operation,
869
- * and always returns immediately.
870
- *
871
- * @param buffers One or more buffers into which the data will be received.
872
- * Although the buffers object may be copied as necessary, ownership of the
873
- * underlying memory blocks is retained by the caller, which must guarantee
874
- * that they remain valid until the completion handler is called.
875
- *
876
- * @param token The @ref completion_token that will be used to produce a
877
- * completion handler, which will be called when the receive completes.
878
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
879
- * @ref yield_context, or a function object with the correct completion
880
- * signature. The function signature of the completion handler must be:
881
- * @code void handler(
882
- * const boost::system::error_code& error, // Result of operation.
883
- * std::size_t bytes_transferred // Number of bytes received.
884
- * ); @endcode
885
- * Regardless of whether the asynchronous operation completes immediately or
886
- * not, the completion handler will not be invoked from within this function.
887
- * On immediate completion, invocation of the handler will be performed in a
888
- * manner equivalent to using boost::asio::async_immediate().
889
- *
890
- * @par Completion Signature
891
- * @code void(boost::system::error_code, std::size_t) @endcode
892
- *
893
- * @note The async_receive operation can only be used with a connected socket.
894
- * Use the async_receive_from function to receive data on an unconnected
895
- * datagram socket.
896
- *
897
- * @par Example
898
- * To receive into a single data buffer use the @ref buffer function as
899
- * follows:
900
- * @code
901
- * socket.async_receive(boost::asio::buffer(data, size), handler);
902
- * @endcode
903
- * See the @ref buffer documentation for information on receiving into
904
- * multiple buffers in one go, and how to use it with arrays, boost::array or
905
- * std::vector.
906
- *
907
- * @par Per-Operation Cancellation
908
- * On POSIX or Windows operating systems, this asynchronous operation supports
909
- * cancellation for the following boost::asio::cancellation_type values:
910
- *
911
- * @li @c cancellation_type::terminal
912
- *
913
- * @li @c cancellation_type::partial
914
- *
915
- * @li @c cancellation_type::total
916
- */
917
- template <typename MutableBufferSequence,
918
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
919
- std::size_t)) ReadToken = default_completion_token_t<executor_type>>
920
- auto async_receive(const MutableBufferSequence& buffers,
921
- ReadToken&& token = default_completion_token_t<executor_type>())
922
- -> decltype(
923
- async_initiate<ReadToken,
924
- void (boost::system::error_code, std::size_t)>(
925
- declval<initiate_async_receive>(), token,
926
- buffers, socket_base::message_flags(0)))
927
- {
928
- return async_initiate<ReadToken,
929
- void (boost::system::error_code, std::size_t)>(
930
- initiate_async_receive(this), token,
931
- buffers, socket_base::message_flags(0));
932
- }
933
-
934
- /// Start an asynchronous receive on a connected socket.
935
- /**
936
- * This function is used to asynchronously receive data from the datagram
937
- * socket. It is an initiating function for an @ref asynchronous_operation,
938
- * and always returns immediately.
939
- *
940
- * @param buffers One or more buffers into which the data will be received.
941
- * Although the buffers object may be copied as necessary, ownership of the
942
- * underlying memory blocks is retained by the caller, which must guarantee
943
- * that they remain valid until the completion handler is called.
944
- *
945
- * @param flags Flags specifying how the receive call is to be made.
946
- *
947
- * @param token The @ref completion_token that will be used to produce a
948
- * completion handler, which will be called when the receive completes.
949
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
950
- * @ref yield_context, or a function object with the correct completion
951
- * signature. The function signature of the completion handler must be:
952
- * @code void handler(
953
- * const boost::system::error_code& error, // Result of operation.
954
- * std::size_t bytes_transferred // Number of bytes received.
955
- * ); @endcode
956
- * Regardless of whether the asynchronous operation completes immediately or
957
- * not, the completion handler will not be invoked from within this function.
958
- * On immediate completion, invocation of the handler will be performed in a
959
- * manner equivalent to using boost::asio::async_immediate().
960
- *
961
- * @par Completion Signature
962
- * @code void(boost::system::error_code, std::size_t) @endcode
963
- *
964
- * @note The async_receive operation can only be used with a connected socket.
965
- * Use the async_receive_from function to receive data on an unconnected
966
- * datagram socket.
967
- *
968
- * @par Per-Operation Cancellation
969
- * On POSIX or Windows operating systems, this asynchronous operation supports
970
- * cancellation for the following boost::asio::cancellation_type values:
971
- *
972
- * @li @c cancellation_type::terminal
973
- *
974
- * @li @c cancellation_type::partial
975
- *
976
- * @li @c cancellation_type::total
977
- */
978
- template <typename MutableBufferSequence,
979
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
980
- std::size_t)) ReadToken = default_completion_token_t<executor_type>>
981
- auto async_receive(const MutableBufferSequence& buffers,
982
- socket_base::message_flags flags,
983
- ReadToken&& token = default_completion_token_t<executor_type>())
984
- -> decltype(
985
- async_initiate<ReadToken,
986
- void (boost::system::error_code, std::size_t)>(
987
- declval<initiate_async_receive>(), token, buffers, flags))
988
- {
989
- return async_initiate<ReadToken,
990
- void (boost::system::error_code, std::size_t)>(
991
- initiate_async_receive(this), token, buffers, flags);
992
- }
993
-
994
- /// Receive a datagram with the endpoint of the sender.
995
- /**
996
- * This function is used to receive a datagram. The function call will block
997
- * until data has been received successfully or an error occurs.
998
- *
999
- * @param buffers One or more buffers into which the data will be received.
1000
- *
1001
- * @param sender_endpoint An endpoint object that receives the endpoint of
1002
- * the remote sender of the datagram.
1003
- *
1004
- * @returns The number of bytes received.
1005
- *
1006
- * @throws boost::system::system_error Thrown on failure.
1007
- *
1008
- * @par Example
1009
- * To receive into a single data buffer use the @ref buffer function as
1010
- * follows:
1011
- * @code
1012
- * boost::asio::ip::udp::endpoint sender_endpoint;
1013
- * socket.receive_from(
1014
- * boost::asio::buffer(data, size), sender_endpoint);
1015
- * @endcode
1016
- * See the @ref buffer documentation for information on receiving into
1017
- * multiple buffers in one go, and how to use it with arrays, boost::array or
1018
- * std::vector.
1019
- */
1020
- template <typename MutableBufferSequence>
1021
- std::size_t receive_from(const MutableBufferSequence& buffers,
1022
- endpoint_type& sender_endpoint)
1023
- {
1024
- boost::system::error_code ec;
1025
- std::size_t s = this->impl_.get_service().receive_from(
1026
- this->impl_.get_implementation(), buffers, sender_endpoint, 0, ec);
1027
- boost::asio::detail::throw_error(ec, "receive_from");
1028
- return s;
1029
- }
1030
-
1031
- /// Receive a datagram with the endpoint of the sender.
1032
- /**
1033
- * This function is used to receive a datagram. The function call will block
1034
- * until data has been received successfully or an error occurs.
1035
- *
1036
- * @param buffers One or more buffers into which the data will be received.
1037
- *
1038
- * @param sender_endpoint An endpoint object that receives the endpoint of
1039
- * the remote sender of the datagram.
1040
- *
1041
- * @param flags Flags specifying how the receive call is to be made.
1042
- *
1043
- * @returns The number of bytes received.
1044
- *
1045
- * @throws boost::system::system_error Thrown on failure.
1046
- */
1047
- template <typename MutableBufferSequence>
1048
- std::size_t receive_from(const MutableBufferSequence& buffers,
1049
- endpoint_type& sender_endpoint, socket_base::message_flags flags)
1050
- {
1051
- boost::system::error_code ec;
1052
- std::size_t s = this->impl_.get_service().receive_from(
1053
- this->impl_.get_implementation(), buffers, sender_endpoint, flags, ec);
1054
- boost::asio::detail::throw_error(ec, "receive_from");
1055
- return s;
1056
- }
1057
-
1058
- /// Receive a datagram with the endpoint of the sender.
1059
- /**
1060
- * This function is used to receive a datagram. The function call will block
1061
- * until data has been received successfully or an error occurs.
1062
- *
1063
- * @param buffers One or more buffers into which the data will be received.
1064
- *
1065
- * @param sender_endpoint An endpoint object that receives the endpoint of
1066
- * the remote sender of the datagram.
1067
- *
1068
- * @param flags Flags specifying how the receive call is to be made.
1069
- *
1070
- * @param ec Set to indicate what error occurred, if any.
1071
- *
1072
- * @returns The number of bytes received.
1073
- */
1074
- template <typename MutableBufferSequence>
1075
- std::size_t receive_from(const MutableBufferSequence& buffers,
1076
- endpoint_type& sender_endpoint, socket_base::message_flags flags,
1077
- boost::system::error_code& ec)
1078
- {
1079
- return this->impl_.get_service().receive_from(
1080
- this->impl_.get_implementation(), buffers, sender_endpoint, flags, ec);
1081
- }
1082
-
1083
- /// Start an asynchronous receive.
1084
- /**
1085
- * This function is used to asynchronously receive a datagram. It is an
1086
- * initiating function for an @ref asynchronous_operation, and always returns
1087
- * immediately.
1088
- *
1089
- * @param buffers One or more buffers into which the data will be received.
1090
- * Although the buffers object may be copied as necessary, ownership of the
1091
- * underlying memory blocks is retained by the caller, which must guarantee
1092
- * that they remain valid until the completion handler is called.
1093
- *
1094
- * @param sender_endpoint An endpoint object that receives the endpoint of
1095
- * the remote sender of the datagram. Ownership of the sender_endpoint object
1096
- * is retained by the caller, which must guarantee that it is valid until the
1097
- * completion handler is called.
1098
- *
1099
- * @param token The @ref completion_token that will be used to produce a
1100
- * completion handler, which will be called when the receive completes.
1101
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1102
- * @ref yield_context, or a function object with the correct completion
1103
- * signature. The function signature of the completion handler must be:
1104
- * @code void handler(
1105
- * const boost::system::error_code& error, // Result of operation.
1106
- * std::size_t bytes_transferred // Number of bytes received.
1107
- * ); @endcode
1108
- * Regardless of whether the asynchronous operation completes immediately or
1109
- * not, the completion handler will not be invoked from within this function.
1110
- * On immediate completion, invocation of the handler will be performed in a
1111
- * manner equivalent to using boost::asio::async_immediate().
1112
- *
1113
- * @par Completion Signature
1114
- * @code void(boost::system::error_code, std::size_t) @endcode
1115
- *
1116
- * @par Example
1117
- * To receive into a single data buffer use the @ref buffer function as
1118
- * follows:
1119
- * @code socket.async_receive_from(
1120
- * boost::asio::buffer(data, size), sender_endpoint, handler); @endcode
1121
- * See the @ref buffer documentation for information on receiving into
1122
- * multiple buffers in one go, and how to use it with arrays, boost::array or
1123
- * std::vector.
1124
- *
1125
- * @par Per-Operation Cancellation
1126
- * On POSIX or Windows operating systems, this asynchronous operation supports
1127
- * cancellation for the following boost::asio::cancellation_type values:
1128
- *
1129
- * @li @c cancellation_type::terminal
1130
- *
1131
- * @li @c cancellation_type::partial
1132
- *
1133
- * @li @c cancellation_type::total
1134
- */
1135
- template <typename MutableBufferSequence,
1136
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1137
- std::size_t)) ReadToken = default_completion_token_t<executor_type>>
1138
- auto async_receive_from(const MutableBufferSequence& buffers,
1139
- endpoint_type& sender_endpoint,
1140
- ReadToken&& token = default_completion_token_t<executor_type>())
1141
- -> decltype(
1142
- async_initiate<ReadToken,
1143
- void (boost::system::error_code, std::size_t)>(
1144
- declval<initiate_async_receive_from>(), token, buffers,
1145
- &sender_endpoint, socket_base::message_flags(0)))
1146
- {
1147
- return async_initiate<ReadToken,
1148
- void (boost::system::error_code, std::size_t)>(
1149
- initiate_async_receive_from(this), token, buffers,
1150
- &sender_endpoint, socket_base::message_flags(0));
1151
- }
1152
-
1153
- /// Start an asynchronous receive.
1154
- /**
1155
- * This function is used to asynchronously receive a datagram. It is an
1156
- * initiating function for an @ref asynchronous_operation, and always returns
1157
- * immediately.
1158
- *
1159
- * @param buffers One or more buffers into which the data will be received.
1160
- * Although the buffers object may be copied as necessary, ownership of the
1161
- * underlying memory blocks is retained by the caller, which must guarantee
1162
- * that they remain valid until the completion handler is called.
1163
- *
1164
- * @param sender_endpoint An endpoint object that receives the endpoint of
1165
- * the remote sender of the datagram. Ownership of the sender_endpoint object
1166
- * is retained by the caller, which must guarantee that it is valid until the
1167
- * completion handler is called.
1168
- *
1169
- * @param flags Flags specifying how the receive call is to be made.
1170
- *
1171
- * @param token The @ref completion_token that will be used to produce a
1172
- * completion handler, which will be called when the receive completes.
1173
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1174
- * @ref yield_context, or a function object with the correct completion
1175
- * signature. The function signature of the completion handler must be:
1176
- * @code void handler(
1177
- * const boost::system::error_code& error, // Result of operation.
1178
- * std::size_t bytes_transferred // Number of bytes received.
1179
- * ); @endcode
1180
- * Regardless of whether the asynchronous operation completes immediately or
1181
- * not, the completion handler will not be invoked from within this function.
1182
- * On immediate completion, invocation of the handler will be performed in a
1183
- * manner equivalent to using boost::asio::async_immediate().
1184
- *
1185
- * @par Completion Signature
1186
- * @code void(boost::system::error_code, std::size_t) @endcode
1187
- *
1188
- * @par Per-Operation Cancellation
1189
- * On POSIX or Windows operating systems, this asynchronous operation supports
1190
- * cancellation for the following boost::asio::cancellation_type values:
1191
- *
1192
- * @li @c cancellation_type::terminal
1193
- *
1194
- * @li @c cancellation_type::partial
1195
- *
1196
- * @li @c cancellation_type::total
1197
- */
1198
- template <typename MutableBufferSequence,
1199
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1200
- std::size_t)) ReadToken = default_completion_token_t<executor_type>>
1201
- auto async_receive_from(const MutableBufferSequence& buffers,
1202
- endpoint_type& sender_endpoint, socket_base::message_flags flags,
1203
- ReadToken&& token = default_completion_token_t<executor_type>())
1204
- -> decltype(
1205
- async_initiate<ReadToken,
1206
- void (boost::system::error_code, std::size_t)>(
1207
- declval<initiate_async_receive_from>(), token,
1208
- buffers, &sender_endpoint, flags))
1209
- {
1210
- return async_initiate<ReadToken,
1211
- void (boost::system::error_code, std::size_t)>(
1212
- initiate_async_receive_from(this), token,
1213
- buffers, &sender_endpoint, flags);
1214
- }
1215
-
1216
- private:
1217
- // Disallow copying and assignment.
1218
- basic_datagram_socket(const basic_datagram_socket&) = delete;
1219
- basic_datagram_socket& operator=(
1220
- const basic_datagram_socket&) = delete;
1221
-
1222
- class initiate_async_send
1223
- {
1224
- public:
1225
- typedef Executor executor_type;
1226
-
1227
- explicit initiate_async_send(basic_datagram_socket* self)
1228
- : self_(self)
1229
- {
1230
- }
1231
-
1232
- const executor_type& get_executor() const noexcept
1233
- {
1234
- return self_->get_executor();
1235
- }
1236
-
1237
- template <typename WriteHandler, typename ConstBufferSequence>
1238
- void operator()(WriteHandler&& handler,
1239
- const ConstBufferSequence& buffers,
1240
- socket_base::message_flags flags) const
1241
- {
1242
- // If you get an error on the following line it means that your handler
1243
- // does not meet the documented type requirements for a WriteHandler.
1244
- BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;
1245
-
1246
- detail::non_const_lvalue<WriteHandler> handler2(handler);
1247
- self_->impl_.get_service().async_send(
1248
- self_->impl_.get_implementation(), buffers, flags,
1249
- handler2.value, self_->impl_.get_executor());
1250
- }
1251
-
1252
- private:
1253
- basic_datagram_socket* self_;
1254
- };
1255
-
1256
- class initiate_async_send_to
1257
- {
1258
- public:
1259
- typedef Executor executor_type;
1260
-
1261
- explicit initiate_async_send_to(basic_datagram_socket* self)
1262
- : self_(self)
1263
- {
1264
- }
1265
-
1266
- const executor_type& get_executor() const noexcept
1267
- {
1268
- return self_->get_executor();
1269
- }
1270
-
1271
- template <typename WriteHandler, typename ConstBufferSequence>
1272
- void operator()(WriteHandler&& handler,
1273
- const ConstBufferSequence& buffers, const endpoint_type& destination,
1274
- socket_base::message_flags flags) const
1275
- {
1276
- // If you get an error on the following line it means that your handler
1277
- // does not meet the documented type requirements for a WriteHandler.
1278
- BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;
1279
-
1280
- detail::non_const_lvalue<WriteHandler> handler2(handler);
1281
- self_->impl_.get_service().async_send_to(
1282
- self_->impl_.get_implementation(), buffers, destination,
1283
- flags, handler2.value, self_->impl_.get_executor());
1284
- }
1285
-
1286
- private:
1287
- basic_datagram_socket* self_;
1288
- };
1289
-
1290
- class initiate_async_receive
1291
- {
1292
- public:
1293
- typedef Executor executor_type;
1294
-
1295
- explicit initiate_async_receive(basic_datagram_socket* self)
1296
- : self_(self)
1297
- {
1298
- }
1299
-
1300
- const executor_type& get_executor() const noexcept
1301
- {
1302
- return self_->get_executor();
1303
- }
1304
-
1305
- template <typename ReadHandler, typename MutableBufferSequence>
1306
- void operator()(ReadHandler&& handler,
1307
- const MutableBufferSequence& buffers,
1308
- socket_base::message_flags flags) const
1309
- {
1310
- // If you get an error on the following line it means that your handler
1311
- // does not meet the documented type requirements for a ReadHandler.
1312
- BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
1313
-
1314
- detail::non_const_lvalue<ReadHandler> handler2(handler);
1315
- self_->impl_.get_service().async_receive(
1316
- self_->impl_.get_implementation(), buffers, flags,
1317
- handler2.value, self_->impl_.get_executor());
1318
- }
1319
-
1320
- private:
1321
- basic_datagram_socket* self_;
1322
- };
1323
-
1324
- class initiate_async_receive_from
1325
- {
1326
- public:
1327
- typedef Executor executor_type;
1328
-
1329
- explicit initiate_async_receive_from(basic_datagram_socket* self)
1330
- : self_(self)
1331
- {
1332
- }
1333
-
1334
- const executor_type& get_executor() const noexcept
1335
- {
1336
- return self_->get_executor();
1337
- }
1338
-
1339
- template <typename ReadHandler, typename MutableBufferSequence>
1340
- void operator()(ReadHandler&& handler,
1341
- const MutableBufferSequence& buffers, endpoint_type* sender_endpoint,
1342
- socket_base::message_flags flags) const
1343
- {
1344
- // If you get an error on the following line it means that your handler
1345
- // does not meet the documented type requirements for a ReadHandler.
1346
- BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
1347
-
1348
- detail::non_const_lvalue<ReadHandler> handler2(handler);
1349
- self_->impl_.get_service().async_receive_from(
1350
- self_->impl_.get_implementation(), buffers, *sender_endpoint,
1351
- flags, handler2.value, self_->impl_.get_executor());
1352
- }
1353
-
1354
- private:
1355
- basic_datagram_socket* self_;
1356
- };
1357
- };
1358
-
1359
- } // namespace asio
1360
- } // namespace boost
1361
-
1362
- #include <boost/asio/detail/pop_options.hpp>
1363
-
1364
- #endif // BOOST_ASIO_BASIC_DATAGRAM_SOCKET_HPP