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,1358 +0,0 @@
1
- //
2
- // basic_raw_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_RAW_SOCKET_HPP
12
- #define BOOST_ASIO_BASIC_RAW_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_RAW_SOCKET_FWD_DECL)
33
- #define BOOST_ASIO_BASIC_RAW_SOCKET_FWD_DECL
34
-
35
- // Forward declaration with defaulted arguments.
36
- template <typename Protocol, typename Executor = any_io_executor>
37
- class basic_raw_socket;
38
-
39
- #endif // !defined(BOOST_ASIO_BASIC_RAW_SOCKET_FWD_DECL)
40
-
41
- /// Provides raw-oriented socket functionality.
42
- /**
43
- * The basic_raw_socket class template provides asynchronous and blocking
44
- * raw-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_raw_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_raw_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_raw_socket without opening it.
94
- /**
95
- * This constructor creates a raw 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_raw_socket(const executor_type& ex)
102
- : basic_socket<Protocol, Executor>(ex)
103
- {
104
- }
105
-
106
- /// Construct a basic_raw_socket without opening it.
107
- /**
108
- * This constructor creates a raw 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_raw_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_raw_socket.
125
- /**
126
- * This constructor creates and opens a raw 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_raw_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_raw_socket.
141
- /**
142
- * This constructor creates and opens a raw 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_raw_socket(ExecutionContext& context, const protocol_type& protocol,
154
- constraint_t<
155
- is_convertible<ExecutionContext&, execution_context&>::value,
156
- defaulted_constraint
157
- > = defaulted_constraint())
158
- : basic_socket<Protocol, Executor>(context, protocol)
159
- {
160
- }
161
-
162
- /// Construct a basic_raw_socket, opening it and binding it to the given
163
- /// local endpoint.
164
- /**
165
- * This constructor creates a raw socket and automatically opens it bound
166
- * to the specified endpoint on the local machine. The protocol used is the
167
- * protocol associated with the given endpoint.
168
- *
169
- * @param ex The I/O executor that the socket will use, by default, to
170
- * dispatch handlers for any asynchronous operations performed on the socket.
171
- *
172
- * @param endpoint An endpoint on the local machine to which the raw
173
- * socket will be bound.
174
- *
175
- * @throws boost::system::system_error Thrown on failure.
176
- */
177
- basic_raw_socket(const executor_type& ex, const endpoint_type& endpoint)
178
- : basic_socket<Protocol, Executor>(ex, endpoint)
179
- {
180
- }
181
-
182
- /// Construct a basic_raw_socket, opening it and binding it to the given
183
- /// local endpoint.
184
- /**
185
- * This constructor creates a raw socket and automatically opens it bound
186
- * to the specified endpoint on the local machine. The protocol used is the
187
- * protocol associated with the given endpoint.
188
- *
189
- * @param context An execution context which provides the I/O executor that
190
- * the socket will use, by default, to dispatch handlers for any asynchronous
191
- * operations performed on the socket.
192
- *
193
- * @param endpoint An endpoint on the local machine to which the raw
194
- * socket will be bound.
195
- *
196
- * @throws boost::system::system_error Thrown on failure.
197
- */
198
- template <typename ExecutionContext>
199
- basic_raw_socket(ExecutionContext& context, const endpoint_type& endpoint,
200
- constraint_t<
201
- is_convertible<ExecutionContext&, execution_context&>::value
202
- > = 0)
203
- : basic_socket<Protocol, Executor>(context, endpoint)
204
- {
205
- }
206
-
207
- /// Construct a basic_raw_socket on an existing native socket.
208
- /**
209
- * This constructor creates a raw socket object to hold an existing
210
- * native socket.
211
- *
212
- * @param ex The I/O executor that the socket will use, by default, to
213
- * dispatch handlers for any asynchronous operations performed on the socket.
214
- *
215
- * @param protocol An object specifying protocol parameters to be used.
216
- *
217
- * @param native_socket The new underlying socket implementation.
218
- *
219
- * @throws boost::system::system_error Thrown on failure.
220
- */
221
- basic_raw_socket(const executor_type& ex,
222
- const protocol_type& protocol, const native_handle_type& native_socket)
223
- : basic_socket<Protocol, Executor>(ex, protocol, native_socket)
224
- {
225
- }
226
-
227
- /// Construct a basic_raw_socket on an existing native socket.
228
- /**
229
- * This constructor creates a raw socket object to hold an existing
230
- * native socket.
231
- *
232
- * @param context An execution context which provides the I/O executor that
233
- * the socket will use, by default, to dispatch handlers for any asynchronous
234
- * operations performed on the socket.
235
- *
236
- * @param protocol An object specifying protocol parameters to be used.
237
- *
238
- * @param native_socket The new underlying socket implementation.
239
- *
240
- * @throws boost::system::system_error Thrown on failure.
241
- */
242
- template <typename ExecutionContext>
243
- basic_raw_socket(ExecutionContext& context,
244
- const protocol_type& protocol, const native_handle_type& native_socket,
245
- constraint_t<
246
- is_convertible<ExecutionContext&, execution_context&>::value
247
- > = 0)
248
- : basic_socket<Protocol, Executor>(context, protocol, native_socket)
249
- {
250
- }
251
-
252
- /// Move-construct a basic_raw_socket from another.
253
- /**
254
- * This constructor moves a raw socket from one object to another.
255
- *
256
- * @param other The other basic_raw_socket object from which the move
257
- * will occur.
258
- *
259
- * @note Following the move, the moved-from object is in the same state as if
260
- * constructed using the @c basic_raw_socket(const executor_type&)
261
- * constructor.
262
- */
263
- basic_raw_socket(basic_raw_socket&& other) noexcept
264
- : basic_socket<Protocol, Executor>(std::move(other))
265
- {
266
- }
267
-
268
- /// Move-assign a basic_raw_socket from another.
269
- /**
270
- * This assignment operator moves a raw socket from one object to another.
271
- *
272
- * @param other The other basic_raw_socket object from which the move
273
- * will occur.
274
- *
275
- * @note Following the move, the moved-from object is in the same state as if
276
- * constructed using the @c basic_raw_socket(const executor_type&)
277
- * constructor.
278
- */
279
- basic_raw_socket& operator=(basic_raw_socket&& other)
280
- {
281
- basic_socket<Protocol, Executor>::operator=(std::move(other));
282
- return *this;
283
- }
284
-
285
- /// Move-construct a basic_raw_socket from a socket of another protocol
286
- /// type.
287
- /**
288
- * This constructor moves a raw socket from one object to another.
289
- *
290
- * @param other The other basic_raw_socket object from which the move
291
- * will occur.
292
- *
293
- * @note Following the move, the moved-from object is in the same state as if
294
- * constructed using the @c basic_raw_socket(const executor_type&)
295
- * constructor.
296
- */
297
- template <typename Protocol1, typename Executor1>
298
- basic_raw_socket(basic_raw_socket<Protocol1, Executor1>&& other,
299
- constraint_t<
300
- is_convertible<Protocol1, Protocol>::value
301
- && is_convertible<Executor1, Executor>::value
302
- > = 0)
303
- : basic_socket<Protocol, Executor>(std::move(other))
304
- {
305
- }
306
-
307
- /// Move-assign a basic_raw_socket from a socket of another protocol type.
308
- /**
309
- * This assignment operator moves a raw socket from one object to another.
310
- *
311
- * @param other The other basic_raw_socket object from which the move
312
- * will occur.
313
- *
314
- * @note Following the move, the moved-from object is in the same state as if
315
- * constructed using the @c basic_raw_socket(const executor_type&)
316
- * constructor.
317
- */
318
- template <typename Protocol1, typename Executor1>
319
- constraint_t<
320
- is_convertible<Protocol1, Protocol>::value
321
- && is_convertible<Executor1, Executor>::value,
322
- basic_raw_socket&
323
- > operator=(basic_raw_socket<Protocol1, Executor1>&& other)
324
- {
325
- basic_socket<Protocol, Executor>::operator=(std::move(other));
326
- return *this;
327
- }
328
-
329
- /// Destroys the socket.
330
- /**
331
- * This function destroys the socket, cancelling any outstanding asynchronous
332
- * operations associated with the socket as if by calling @c cancel.
333
- */
334
- ~basic_raw_socket()
335
- {
336
- }
337
-
338
- /// Send some data on a connected socket.
339
- /**
340
- * This function is used to send data on the raw socket. The function call
341
- * will block until the data has been sent successfully or an error occurs.
342
- *
343
- * @param buffers One ore more data buffers to be sent on the socket.
344
- *
345
- * @returns The number of bytes sent.
346
- *
347
- * @throws boost::system::system_error Thrown on failure.
348
- *
349
- * @note The send operation can only be used with a connected socket. Use
350
- * the send_to function to send data on an unconnected raw socket.
351
- *
352
- * @par Example
353
- * To send a single data buffer use the @ref buffer function as follows:
354
- * @code socket.send(boost::asio::buffer(data, size)); @endcode
355
- * See the @ref buffer documentation for information on sending multiple
356
- * buffers in one go, and how to use it with arrays, boost::array or
357
- * std::vector.
358
- */
359
- template <typename ConstBufferSequence>
360
- std::size_t send(const ConstBufferSequence& buffers)
361
- {
362
- boost::system::error_code ec;
363
- std::size_t s = this->impl_.get_service().send(
364
- this->impl_.get_implementation(), buffers, 0, ec);
365
- boost::asio::detail::throw_error(ec, "send");
366
- return s;
367
- }
368
-
369
- /// Send some data on a connected socket.
370
- /**
371
- * This function is used to send data on the raw socket. The function call
372
- * will block until the data has been sent successfully or an error occurs.
373
- *
374
- * @param buffers One ore more data buffers to be sent on the socket.
375
- *
376
- * @param flags Flags specifying how the send call is to be made.
377
- *
378
- * @returns The number of bytes sent.
379
- *
380
- * @throws boost::system::system_error Thrown on failure.
381
- *
382
- * @note The send operation can only be used with a connected socket. Use
383
- * the send_to function to send data on an unconnected raw socket.
384
- */
385
- template <typename ConstBufferSequence>
386
- std::size_t send(const ConstBufferSequence& buffers,
387
- socket_base::message_flags flags)
388
- {
389
- boost::system::error_code ec;
390
- std::size_t s = this->impl_.get_service().send(
391
- this->impl_.get_implementation(), buffers, flags, ec);
392
- boost::asio::detail::throw_error(ec, "send");
393
- return s;
394
- }
395
-
396
- /// Send some data on a connected socket.
397
- /**
398
- * This function is used to send data on the raw socket. The function call
399
- * will block until the data has been sent successfully or an error occurs.
400
- *
401
- * @param buffers One or more data buffers to be sent on the socket.
402
- *
403
- * @param flags Flags specifying how the send call is to be made.
404
- *
405
- * @param ec Set to indicate what error occurred, if any.
406
- *
407
- * @returns The number of bytes sent.
408
- *
409
- * @note The send operation can only be used with a connected socket. Use
410
- * the send_to function to send data on an unconnected raw socket.
411
- */
412
- template <typename ConstBufferSequence>
413
- std::size_t send(const ConstBufferSequence& buffers,
414
- socket_base::message_flags flags, boost::system::error_code& ec)
415
- {
416
- return this->impl_.get_service().send(
417
- this->impl_.get_implementation(), buffers, flags, ec);
418
- }
419
-
420
- /// Start an asynchronous send on a connected socket.
421
- /**
422
- * This function is used to asynchronously send data on the raw socket. It is
423
- * an initiating function for an @ref asynchronous_operation, and always
424
- * returns immediately.
425
- *
426
- * @param buffers One or more data buffers to be sent on the socket. Although
427
- * the buffers object may be copied as necessary, ownership of the underlying
428
- * memory blocks is retained by the caller, which must guarantee that they
429
- * remain valid until the completion handler is called.
430
- *
431
- * @param token The @ref completion_token that will be used to produce a
432
- * completion handler, which will be called when the send completes.
433
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
434
- * @ref yield_context, or a function object with the correct completion
435
- * signature. The function signature of the completion handler must be:
436
- * @code void handler(
437
- * const boost::system::error_code& error, // Result of operation.
438
- * std::size_t bytes_transferred // Number of bytes sent.
439
- * ); @endcode
440
- * Regardless of whether the asynchronous operation completes immediately or
441
- * not, the completion handler will not be invoked from within this function.
442
- * On immediate completion, invocation of the handler will be performed in a
443
- * manner equivalent to using boost::asio::async_immediate().
444
- *
445
- * @par Completion Signature
446
- * @code void(boost::system::error_code, std::size_t) @endcode
447
- *
448
- * @note The async_send operation can only be used with a connected socket.
449
- * Use the async_send_to function to send data on an unconnected raw
450
- * socket.
451
- *
452
- * @par Example
453
- * To send a single data buffer use the @ref buffer function as follows:
454
- * @code
455
- * socket.async_send(boost::asio::buffer(data, size), handler);
456
- * @endcode
457
- * See the @ref buffer documentation for information on sending multiple
458
- * buffers in one go, and how to use it with arrays, boost::array or
459
- * std::vector.
460
- *
461
- * @par Per-Operation Cancellation
462
- * On POSIX or Windows operating systems, this asynchronous operation supports
463
- * cancellation for the following boost::asio::cancellation_type values:
464
- *
465
- * @li @c cancellation_type::terminal
466
- *
467
- * @li @c cancellation_type::partial
468
- *
469
- * @li @c cancellation_type::total
470
- */
471
- template <typename ConstBufferSequence,
472
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
473
- std::size_t)) WriteToken = default_completion_token_t<executor_type>>
474
- auto async_send(const ConstBufferSequence& buffers,
475
- WriteToken&& token = default_completion_token_t<executor_type>())
476
- -> decltype(
477
- async_initiate<WriteToken,
478
- void (boost::system::error_code, std::size_t)>(
479
- declval<initiate_async_send>(), token,
480
- buffers, socket_base::message_flags(0)))
481
- {
482
- return async_initiate<WriteToken,
483
- void (boost::system::error_code, std::size_t)>(
484
- initiate_async_send(this), token,
485
- buffers, socket_base::message_flags(0));
486
- }
487
-
488
- /// Start an asynchronous send on a connected socket.
489
- /**
490
- * This function is used to asynchronously send data on the raw socket. It is
491
- * an initiating function for an @ref asynchronous_operation, and always
492
- * returns immediately.
493
- *
494
- * @param buffers One or more data buffers to be sent on the socket. Although
495
- * the buffers object may be copied as necessary, ownership of the underlying
496
- * memory blocks is retained by the caller, which must guarantee that they
497
- * remain valid until the completion handler is called.
498
- *
499
- * @param flags Flags specifying how the send call is to be made.
500
- *
501
- * @param token The @ref completion_token that will be used to produce a
502
- * completion handler, which will be called when the send completes.
503
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
504
- * @ref yield_context, or a function object with the correct completion
505
- * signature. The function signature of the completion handler must be:
506
- * @code void handler(
507
- * const boost::system::error_code& error, // Result of operation.
508
- * std::size_t bytes_transferred // Number of bytes sent.
509
- * ); @endcode
510
- * Regardless of whether the asynchronous operation completes immediately or
511
- * not, the completion handler will not be invoked from within this function.
512
- * On immediate completion, invocation of the handler will be performed in a
513
- * manner equivalent to using boost::asio::async_immediate().
514
- *
515
- * @par Completion Signature
516
- * @code void(boost::system::error_code, std::size_t) @endcode
517
- *
518
- * @note The async_send operation can only be used with a connected socket.
519
- * Use the async_send_to function to send data on an unconnected raw
520
- * socket.
521
- *
522
- * @par Per-Operation Cancellation
523
- * On POSIX or Windows operating systems, this asynchronous operation supports
524
- * cancellation for the following boost::asio::cancellation_type values:
525
- *
526
- * @li @c cancellation_type::terminal
527
- *
528
- * @li @c cancellation_type::partial
529
- *
530
- * @li @c cancellation_type::total
531
- */
532
- template <typename ConstBufferSequence,
533
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
534
- std::size_t)) WriteToken = default_completion_token_t<executor_type>>
535
- auto async_send(const ConstBufferSequence& buffers,
536
- socket_base::message_flags flags,
537
- WriteToken&& token = default_completion_token_t<executor_type>())
538
- -> decltype(
539
- async_initiate<WriteToken,
540
- void (boost::system::error_code, std::size_t)>(
541
- declval<initiate_async_send>(), token, buffers, flags))
542
- {
543
- return async_initiate<WriteToken,
544
- void (boost::system::error_code, std::size_t)>(
545
- initiate_async_send(this), token, buffers, flags);
546
- }
547
-
548
- /// Send raw data to the specified endpoint.
549
- /**
550
- * This function is used to send raw data to the specified remote endpoint.
551
- * The function call will block until the data has been sent successfully or
552
- * an error occurs.
553
- *
554
- * @param buffers One or more data buffers to be sent to the remote endpoint.
555
- *
556
- * @param destination The remote endpoint to which the data will be sent.
557
- *
558
- * @returns The number of bytes sent.
559
- *
560
- * @throws boost::system::system_error Thrown on failure.
561
- *
562
- * @par Example
563
- * To send a single data buffer use the @ref buffer function as follows:
564
- * @code
565
- * boost::asio::ip::udp::endpoint destination(
566
- * boost::asio::ip::address::from_string("1.2.3.4"), 12345);
567
- * socket.send_to(boost::asio::buffer(data, size), destination);
568
- * @endcode
569
- * See the @ref buffer documentation for information on sending multiple
570
- * buffers in one go, and how to use it with arrays, boost::array or
571
- * std::vector.
572
- */
573
- template <typename ConstBufferSequence>
574
- std::size_t send_to(const ConstBufferSequence& buffers,
575
- const endpoint_type& destination)
576
- {
577
- boost::system::error_code ec;
578
- std::size_t s = this->impl_.get_service().send_to(
579
- this->impl_.get_implementation(), buffers, destination, 0, ec);
580
- boost::asio::detail::throw_error(ec, "send_to");
581
- return s;
582
- }
583
-
584
- /// Send raw data to the specified endpoint.
585
- /**
586
- * This function is used to send raw data to the specified remote endpoint.
587
- * The function call will block until the data has been sent successfully or
588
- * an error occurs.
589
- *
590
- * @param buffers One or more data buffers to be sent to the remote endpoint.
591
- *
592
- * @param destination The remote endpoint to which the data will be sent.
593
- *
594
- * @param flags Flags specifying how the send call is to be made.
595
- *
596
- * @returns The number of bytes sent.
597
- *
598
- * @throws boost::system::system_error Thrown on failure.
599
- */
600
- template <typename ConstBufferSequence>
601
- std::size_t send_to(const ConstBufferSequence& buffers,
602
- const endpoint_type& destination, socket_base::message_flags flags)
603
- {
604
- boost::system::error_code ec;
605
- std::size_t s = this->impl_.get_service().send_to(
606
- this->impl_.get_implementation(), buffers, destination, flags, ec);
607
- boost::asio::detail::throw_error(ec, "send_to");
608
- return s;
609
- }
610
-
611
- /// Send raw data to the specified endpoint.
612
- /**
613
- * This function is used to send raw data to the specified remote endpoint.
614
- * The function call will block until the data has been sent successfully or
615
- * an error occurs.
616
- *
617
- * @param buffers One or more data buffers to be sent to the remote endpoint.
618
- *
619
- * @param destination The remote endpoint to which the data will be sent.
620
- *
621
- * @param flags Flags specifying how the send call is to be made.
622
- *
623
- * @param ec Set to indicate what error occurred, if any.
624
- *
625
- * @returns The number of bytes sent.
626
- */
627
- template <typename ConstBufferSequence>
628
- std::size_t send_to(const ConstBufferSequence& buffers,
629
- const endpoint_type& destination, socket_base::message_flags flags,
630
- boost::system::error_code& ec)
631
- {
632
- return this->impl_.get_service().send_to(this->impl_.get_implementation(),
633
- buffers, destination, flags, ec);
634
- }
635
-
636
- /// Start an asynchronous send.
637
- /**
638
- * This function is used to asynchronously send raw data to the specified
639
- * remote endpoint. It is an initiating function for an @ref
640
- * asynchronous_operation, and always returns immediately.
641
- *
642
- * @param buffers One or more data buffers to be sent to the remote endpoint.
643
- * Although the buffers object may be copied as necessary, ownership of the
644
- * underlying memory blocks is retained by the caller, which must guarantee
645
- * that they remain valid until the completion handler is called.
646
- *
647
- * @param destination The remote endpoint to which the data will be sent.
648
- * Copies will be made of the endpoint as required.
649
- *
650
- * @param token The @ref completion_token that will be used to produce a
651
- * completion handler, which will be called when the send completes.
652
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
653
- * @ref yield_context, or a function object with the correct completion
654
- * signature. The function signature of the completion handler must be:
655
- * @code void handler(
656
- * const boost::system::error_code& error, // Result of operation.
657
- * std::size_t bytes_transferred // Number of bytes sent.
658
- * ); @endcode
659
- * Regardless of whether the asynchronous operation completes immediately or
660
- * not, the completion handler will not be invoked from within this function.
661
- * On immediate completion, invocation of the handler will be performed in a
662
- * manner equivalent to using boost::asio::async_immediate().
663
- *
664
- * @par Completion Signature
665
- * @code void(boost::system::error_code, std::size_t) @endcode
666
- *
667
- * @par Example
668
- * To send a single data buffer use the @ref buffer function as follows:
669
- * @code
670
- * boost::asio::ip::udp::endpoint destination(
671
- * boost::asio::ip::address::from_string("1.2.3.4"), 12345);
672
- * socket.async_send_to(
673
- * boost::asio::buffer(data, size), destination, handler);
674
- * @endcode
675
- * See the @ref buffer documentation for information on sending multiple
676
- * buffers in one go, and how to use it with arrays, boost::array or
677
- * std::vector.
678
- *
679
- * @par Per-Operation Cancellation
680
- * On POSIX or Windows operating systems, this asynchronous operation supports
681
- * cancellation for the following boost::asio::cancellation_type values:
682
- *
683
- * @li @c cancellation_type::terminal
684
- *
685
- * @li @c cancellation_type::partial
686
- *
687
- * @li @c cancellation_type::total
688
- */
689
- template <typename ConstBufferSequence,
690
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
691
- std::size_t)) WriteToken = default_completion_token_t<executor_type>>
692
- auto async_send_to(const ConstBufferSequence& buffers,
693
- const endpoint_type& destination,
694
- WriteToken&& token = default_completion_token_t<executor_type>())
695
- -> decltype(
696
- async_initiate<WriteToken,
697
- void (boost::system::error_code, std::size_t)>(
698
- declval<initiate_async_send_to>(), token, buffers,
699
- destination, socket_base::message_flags(0)))
700
- {
701
- return async_initiate<WriteToken,
702
- void (boost::system::error_code, std::size_t)>(
703
- initiate_async_send_to(this), token, buffers,
704
- destination, socket_base::message_flags(0));
705
- }
706
-
707
- /// Start an asynchronous send.
708
- /**
709
- * This function is used to asynchronously send raw data to the specified
710
- * remote endpoint. It is an initiating function for an @ref
711
- * asynchronous_operation, and always returns immediately.
712
- *
713
- * @param buffers One or more data buffers to be sent to the remote endpoint.
714
- * Although the buffers object may be copied as necessary, ownership of the
715
- * underlying memory blocks is retained by the caller, which must guarantee
716
- * that they remain valid until the completion handler is called.
717
- *
718
- * @param flags Flags specifying how the send call is to be made.
719
- *
720
- * @param destination The remote endpoint to which the data will be sent.
721
- * Copies will be made of the endpoint as required.
722
- *
723
- * @param token The @ref completion_token that will be used to produce a
724
- * completion handler, which will be called when the send completes.
725
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
726
- * @ref yield_context, or a function object with the correct completion
727
- * signature. The function signature of the completion handler must be:
728
- * @code void handler(
729
- * const boost::system::error_code& error, // Result of operation.
730
- * std::size_t bytes_transferred // Number of bytes sent.
731
- * ); @endcode
732
- * Regardless of whether the asynchronous operation completes immediately or
733
- * not, the completion handler will not be invoked from within this function.
734
- * On immediate completion, invocation of the handler will be performed in a
735
- * manner equivalent to using boost::asio::async_immediate().
736
- *
737
- * @par Completion Signature
738
- * @code void(boost::system::error_code, std::size_t) @endcode
739
- *
740
- * @par Per-Operation Cancellation
741
- * On POSIX or Windows operating systems, this asynchronous operation supports
742
- * cancellation for the following boost::asio::cancellation_type values:
743
- *
744
- * @li @c cancellation_type::terminal
745
- *
746
- * @li @c cancellation_type::partial
747
- *
748
- * @li @c cancellation_type::total
749
- */
750
- template <typename ConstBufferSequence,
751
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
752
- std::size_t)) WriteToken = default_completion_token_t<executor_type>>
753
- auto async_send_to(const ConstBufferSequence& buffers,
754
- const endpoint_type& destination, socket_base::message_flags flags,
755
- WriteToken&& token = default_completion_token_t<executor_type>())
756
- -> decltype(
757
- async_initiate<WriteToken,
758
- void (boost::system::error_code, std::size_t)>(
759
- declval<initiate_async_send_to>(), token,
760
- buffers, destination, flags))
761
- {
762
- return async_initiate<WriteToken,
763
- void (boost::system::error_code, std::size_t)>(
764
- initiate_async_send_to(this), token,
765
- buffers, destination, flags);
766
- }
767
-
768
- /// Receive some data on a connected socket.
769
- /**
770
- * This function is used to receive data on the raw socket. The function
771
- * call will block until data has been received successfully or an error
772
- * occurs.
773
- *
774
- * @param buffers One or more buffers into which the data will be received.
775
- *
776
- * @returns The number of bytes received.
777
- *
778
- * @throws boost::system::system_error Thrown on failure.
779
- *
780
- * @note The receive operation can only be used with a connected socket. Use
781
- * the receive_from function to receive data on an unconnected raw
782
- * socket.
783
- *
784
- * @par Example
785
- * To receive into a single data buffer use the @ref buffer function as
786
- * follows:
787
- * @code socket.receive(boost::asio::buffer(data, size)); @endcode
788
- * See the @ref buffer documentation for information on receiving into
789
- * multiple buffers in one go, and how to use it with arrays, boost::array or
790
- * std::vector.
791
- */
792
- template <typename MutableBufferSequence>
793
- std::size_t receive(const MutableBufferSequence& buffers)
794
- {
795
- boost::system::error_code ec;
796
- std::size_t s = this->impl_.get_service().receive(
797
- this->impl_.get_implementation(), buffers, 0, ec);
798
- boost::asio::detail::throw_error(ec, "receive");
799
- return s;
800
- }
801
-
802
- /// Receive some data on a connected socket.
803
- /**
804
- * This function is used to receive data on the raw socket. The function
805
- * call will block until data has been received successfully or an error
806
- * occurs.
807
- *
808
- * @param buffers One or more buffers into which the data will be received.
809
- *
810
- * @param flags Flags specifying how the receive call is to be made.
811
- *
812
- * @returns The number of bytes received.
813
- *
814
- * @throws boost::system::system_error Thrown on failure.
815
- *
816
- * @note The receive operation can only be used with a connected socket. Use
817
- * the receive_from function to receive data on an unconnected raw
818
- * socket.
819
- */
820
- template <typename MutableBufferSequence>
821
- std::size_t receive(const MutableBufferSequence& buffers,
822
- socket_base::message_flags flags)
823
- {
824
- boost::system::error_code ec;
825
- std::size_t s = this->impl_.get_service().receive(
826
- this->impl_.get_implementation(), buffers, flags, ec);
827
- boost::asio::detail::throw_error(ec, "receive");
828
- return s;
829
- }
830
-
831
- /// Receive some data on a connected socket.
832
- /**
833
- * This function is used to receive data on the raw socket. The function
834
- * call will block until data has been received successfully or an error
835
- * occurs.
836
- *
837
- * @param buffers One or more buffers into which the data will be received.
838
- *
839
- * @param flags Flags specifying how the receive call is to be made.
840
- *
841
- * @param ec Set to indicate what error occurred, if any.
842
- *
843
- * @returns The number of bytes received.
844
- *
845
- * @note The receive operation can only be used with a connected socket. Use
846
- * the receive_from function to receive data on an unconnected raw
847
- * socket.
848
- */
849
- template <typename MutableBufferSequence>
850
- std::size_t receive(const MutableBufferSequence& buffers,
851
- socket_base::message_flags flags, boost::system::error_code& ec)
852
- {
853
- return this->impl_.get_service().receive(
854
- this->impl_.get_implementation(), buffers, flags, ec);
855
- }
856
-
857
- /// Start an asynchronous receive on a connected socket.
858
- /**
859
- * This function is used to asynchronously receive data from the raw
860
- * socket. It is an initiating function for an @ref asynchronous_operation,
861
- * and always returns immediately.
862
- *
863
- * @param buffers One or more buffers into which the data will be received.
864
- * Although the buffers object may be copied as necessary, ownership of the
865
- * underlying memory blocks is retained by the caller, which must guarantee
866
- * that they remain valid until the completion handler is called.
867
- *
868
- * @param token The @ref completion_token that will be used to produce a
869
- * completion handler, which will be called when the receive completes.
870
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
871
- * @ref yield_context, or a function object with the correct completion
872
- * signature. The function signature of the completion handler must be:
873
- * @code void handler(
874
- * const boost::system::error_code& error, // Result of operation.
875
- * std::size_t bytes_transferred // Number of bytes received.
876
- * ); @endcode
877
- * Regardless of whether the asynchronous operation completes immediately or
878
- * not, the completion handler will not be invoked from within this function.
879
- * On immediate completion, invocation of the handler will be performed in a
880
- * manner equivalent to using boost::asio::async_immediate().
881
- *
882
- * @par Completion Signature
883
- * @code void(boost::system::error_code, std::size_t) @endcode
884
- *
885
- * @note The async_receive operation can only be used with a connected socket.
886
- * Use the async_receive_from function to receive data on an unconnected
887
- * raw socket.
888
- *
889
- * @par Example
890
- * To receive into a single data buffer use the @ref buffer function as
891
- * follows:
892
- * @code
893
- * socket.async_receive(boost::asio::buffer(data, size), handler);
894
- * @endcode
895
- * See the @ref buffer documentation for information on receiving into
896
- * multiple buffers in one go, and how to use it with arrays, boost::array or
897
- * std::vector.
898
- *
899
- * @par Per-Operation Cancellation
900
- * On POSIX or Windows operating systems, this asynchronous operation supports
901
- * cancellation for the following boost::asio::cancellation_type values:
902
- *
903
- * @li @c cancellation_type::terminal
904
- *
905
- * @li @c cancellation_type::partial
906
- *
907
- * @li @c cancellation_type::total
908
- */
909
- template <typename MutableBufferSequence,
910
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
911
- std::size_t)) ReadToken = default_completion_token_t<executor_type>>
912
- auto async_receive(const MutableBufferSequence& buffers,
913
- ReadToken&& token = default_completion_token_t<executor_type>())
914
- -> decltype(
915
- async_initiate<ReadToken,
916
- void (boost::system::error_code, std::size_t)>(
917
- declval<initiate_async_receive>(), token,
918
- buffers, socket_base::message_flags(0)))
919
- {
920
- return async_initiate<ReadToken,
921
- void (boost::system::error_code, std::size_t)>(
922
- initiate_async_receive(this), token,
923
- buffers, socket_base::message_flags(0));
924
- }
925
-
926
- /// Start an asynchronous receive on a connected socket.
927
- /**
928
- * This function is used to asynchronously receive data from the raw
929
- * socket. It is an initiating function for an @ref asynchronous_operation,
930
- * and always returns immediately.
931
- *
932
- * @param buffers One or more buffers into which the data will be received.
933
- * Although the buffers object may be copied as necessary, ownership of the
934
- * underlying memory blocks is retained by the caller, which must guarantee
935
- * that they remain valid until the completion handler is called.
936
- *
937
- * @param flags Flags specifying how the receive call is to be made.
938
- *
939
- * @param token The @ref completion_token that will be used to produce a
940
- * completion handler, which will be called when the receive completes.
941
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
942
- * @ref yield_context, or a function object with the correct completion
943
- * signature. The function signature of the completion handler must be:
944
- * @code void handler(
945
- * const boost::system::error_code& error, // Result of operation.
946
- * std::size_t bytes_transferred // Number of bytes received.
947
- * ); @endcode
948
- * Regardless of whether the asynchronous operation completes immediately or
949
- * not, the completion handler will not be invoked from within this function.
950
- * On immediate completion, invocation of the handler will be performed in a
951
- * manner equivalent to using boost::asio::async_immediate().
952
- *
953
- * @par Completion Signature
954
- * @code void(boost::system::error_code, std::size_t) @endcode
955
- *
956
- * @note The async_receive operation can only be used with a connected socket.
957
- * Use the async_receive_from function to receive data on an unconnected
958
- * raw socket.
959
- *
960
- * @par Per-Operation Cancellation
961
- * On POSIX or Windows operating systems, this asynchronous operation supports
962
- * cancellation for the following boost::asio::cancellation_type values:
963
- *
964
- * @li @c cancellation_type::terminal
965
- *
966
- * @li @c cancellation_type::partial
967
- *
968
- * @li @c cancellation_type::total
969
- */
970
- template <typename MutableBufferSequence,
971
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
972
- std::size_t)) ReadToken
973
- = default_completion_token_t<executor_type>>
974
- auto async_receive(const MutableBufferSequence& buffers,
975
- socket_base::message_flags flags,
976
- ReadToken&& token = default_completion_token_t<executor_type>())
977
- -> decltype(
978
- async_initiate<ReadToken,
979
- void (boost::system::error_code, std::size_t)>(
980
- declval<initiate_async_receive>(), token, buffers, flags))
981
- {
982
- return async_initiate<ReadToken,
983
- void (boost::system::error_code, std::size_t)>(
984
- initiate_async_receive(this), token, buffers, flags);
985
- }
986
-
987
- /// Receive raw data with the endpoint of the sender.
988
- /**
989
- * This function is used to receive raw data. The function call will block
990
- * until data has been received successfully or an error occurs.
991
- *
992
- * @param buffers One or more buffers into which the data will be received.
993
- *
994
- * @param sender_endpoint An endpoint object that receives the endpoint of
995
- * the remote sender of the data.
996
- *
997
- * @returns The number of bytes received.
998
- *
999
- * @throws boost::system::system_error Thrown on failure.
1000
- *
1001
- * @par Example
1002
- * To receive into a single data buffer use the @ref buffer function as
1003
- * follows:
1004
- * @code
1005
- * boost::asio::ip::udp::endpoint sender_endpoint;
1006
- * socket.receive_from(
1007
- * boost::asio::buffer(data, size), sender_endpoint);
1008
- * @endcode
1009
- * See the @ref buffer documentation for information on receiving into
1010
- * multiple buffers in one go, and how to use it with arrays, boost::array or
1011
- * std::vector.
1012
- */
1013
- template <typename MutableBufferSequence>
1014
- std::size_t receive_from(const MutableBufferSequence& buffers,
1015
- endpoint_type& sender_endpoint)
1016
- {
1017
- boost::system::error_code ec;
1018
- std::size_t s = this->impl_.get_service().receive_from(
1019
- this->impl_.get_implementation(), buffers, sender_endpoint, 0, ec);
1020
- boost::asio::detail::throw_error(ec, "receive_from");
1021
- return s;
1022
- }
1023
-
1024
- /// Receive raw data with the endpoint of the sender.
1025
- /**
1026
- * This function is used to receive raw data. The function call will block
1027
- * until data has been received successfully or an error occurs.
1028
- *
1029
- * @param buffers One or more buffers into which the data will be received.
1030
- *
1031
- * @param sender_endpoint An endpoint object that receives the endpoint of
1032
- * the remote sender of the data.
1033
- *
1034
- * @param flags Flags specifying how the receive call is to be made.
1035
- *
1036
- * @returns The number of bytes received.
1037
- *
1038
- * @throws boost::system::system_error Thrown on failure.
1039
- */
1040
- template <typename MutableBufferSequence>
1041
- std::size_t receive_from(const MutableBufferSequence& buffers,
1042
- endpoint_type& sender_endpoint, socket_base::message_flags flags)
1043
- {
1044
- boost::system::error_code ec;
1045
- std::size_t s = this->impl_.get_service().receive_from(
1046
- this->impl_.get_implementation(), buffers, sender_endpoint, flags, ec);
1047
- boost::asio::detail::throw_error(ec, "receive_from");
1048
- return s;
1049
- }
1050
-
1051
- /// Receive raw data with the endpoint of the sender.
1052
- /**
1053
- * This function is used to receive raw data. The function call will block
1054
- * until data has been received successfully or an error occurs.
1055
- *
1056
- * @param buffers One or more buffers into which the data will be received.
1057
- *
1058
- * @param sender_endpoint An endpoint object that receives the endpoint of
1059
- * the remote sender of the data.
1060
- *
1061
- * @param flags Flags specifying how the receive call is to be made.
1062
- *
1063
- * @param ec Set to indicate what error occurred, if any.
1064
- *
1065
- * @returns The number of bytes received.
1066
- */
1067
- template <typename MutableBufferSequence>
1068
- std::size_t receive_from(const MutableBufferSequence& buffers,
1069
- endpoint_type& sender_endpoint, socket_base::message_flags flags,
1070
- boost::system::error_code& ec)
1071
- {
1072
- return this->impl_.get_service().receive_from(
1073
- this->impl_.get_implementation(), buffers, sender_endpoint, flags, ec);
1074
- }
1075
-
1076
- /// Start an asynchronous receive.
1077
- /**
1078
- * This function is used to asynchronously receive raw data. It is an
1079
- * initiating function for an @ref asynchronous_operation, and always returns
1080
- * immediately.
1081
- *
1082
- * @param buffers One or more buffers into which the data will be received.
1083
- * Although the buffers object may be copied as necessary, ownership of the
1084
- * underlying memory blocks is retained by the caller, which must guarantee
1085
- * that they remain valid until the completion handler is called.
1086
- *
1087
- * @param sender_endpoint An endpoint object that receives the endpoint of
1088
- * the remote sender of the data. Ownership of the sender_endpoint object
1089
- * is retained by the caller, which must guarantee that it is valid until the
1090
- * completion handler is called.
1091
- *
1092
- * @param token The @ref completion_token that will be used to produce a
1093
- * completion handler, which will be called when the receive completes.
1094
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1095
- * @ref yield_context, or a function object with the correct completion
1096
- * signature. The function signature of the completion handler must be:
1097
- * @code void handler(
1098
- * const boost::system::error_code& error, // Result of operation.
1099
- * std::size_t bytes_transferred // Number of bytes received.
1100
- * ); @endcode
1101
- * Regardless of whether the asynchronous operation completes immediately or
1102
- * not, the completion handler will not be invoked from within this function.
1103
- * On immediate completion, invocation of the handler will be performed in a
1104
- * manner equivalent to using boost::asio::async_immediate().
1105
- *
1106
- * @par Completion Signature
1107
- * @code void(boost::system::error_code, std::size_t) @endcode
1108
- *
1109
- * @par Example
1110
- * To receive into a single data buffer use the @ref buffer function as
1111
- * follows:
1112
- * @code socket.async_receive_from(
1113
- * boost::asio::buffer(data, size), 0, sender_endpoint, handler); @endcode
1114
- * See the @ref buffer documentation for information on receiving into
1115
- * multiple buffers in one go, and how to use it with arrays, boost::array or
1116
- * std::vector.
1117
- *
1118
- * @par Per-Operation Cancellation
1119
- * On POSIX or Windows operating systems, this asynchronous operation supports
1120
- * cancellation for the following boost::asio::cancellation_type values:
1121
- *
1122
- * @li @c cancellation_type::terminal
1123
- *
1124
- * @li @c cancellation_type::partial
1125
- *
1126
- * @li @c cancellation_type::total
1127
- */
1128
- template <typename MutableBufferSequence,
1129
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1130
- std::size_t)) ReadToken = default_completion_token_t<executor_type>>
1131
- auto async_receive_from(const MutableBufferSequence& buffers,
1132
- endpoint_type& sender_endpoint,
1133
- ReadToken&& token
1134
- = default_completion_token_t<executor_type>())
1135
- -> decltype(
1136
- async_initiate<ReadToken,
1137
- void (boost::system::error_code, std::size_t)>(
1138
- declval<initiate_async_receive_from>(), token, buffers,
1139
- &sender_endpoint, socket_base::message_flags(0)))
1140
- {
1141
- return async_initiate<ReadToken,
1142
- void (boost::system::error_code, std::size_t)>(
1143
- initiate_async_receive_from(this), token, buffers,
1144
- &sender_endpoint, socket_base::message_flags(0));
1145
- }
1146
-
1147
- /// Start an asynchronous receive.
1148
- /**
1149
- * This function is used to asynchronously receive raw data. It is an
1150
- * initiating function for an @ref asynchronous_operation, and always returns
1151
- * immediately.
1152
- *
1153
- * @param buffers One or more buffers into which the data will be received.
1154
- * Although the buffers object may be copied as necessary, ownership of the
1155
- * underlying memory blocks is retained by the caller, which must guarantee
1156
- * that they remain valid until the completion handler is called.
1157
- *
1158
- * @param sender_endpoint An endpoint object that receives the endpoint of
1159
- * the remote sender of the data. Ownership of the sender_endpoint object
1160
- * is retained by the caller, which must guarantee that it is valid until the
1161
- * completion handler is called.
1162
- *
1163
- * @param flags Flags specifying how the receive call is to be made.
1164
- *
1165
- * @param token The @ref completion_token that will be used to produce a
1166
- * completion handler, which will be called when the receive completes.
1167
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1168
- * @ref yield_context, or a function object with the correct completion
1169
- * signature. The function signature of the completion handler must be:
1170
- * @code void handler(
1171
- * const boost::system::error_code& error, // Result of operation.
1172
- * std::size_t bytes_transferred // Number of bytes received.
1173
- * ); @endcode
1174
- * Regardless of whether the asynchronous operation completes immediately or
1175
- * not, the completion handler will not be invoked from within this function.
1176
- * On immediate completion, invocation of the handler will be performed in a
1177
- * manner equivalent to using boost::asio::async_immediate().
1178
- *
1179
- * @par Completion Signature
1180
- * @code void(boost::system::error_code, std::size_t) @endcode
1181
- *
1182
- * @par Per-Operation Cancellation
1183
- * On POSIX or Windows operating systems, this asynchronous operation supports
1184
- * cancellation for the following boost::asio::cancellation_type values:
1185
- *
1186
- * @li @c cancellation_type::terminal
1187
- *
1188
- * @li @c cancellation_type::partial
1189
- *
1190
- * @li @c cancellation_type::total
1191
- */
1192
- template <typename MutableBufferSequence,
1193
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1194
- std::size_t)) ReadToken
1195
- = default_completion_token_t<executor_type>>
1196
- auto async_receive_from(const MutableBufferSequence& buffers,
1197
- endpoint_type& sender_endpoint, socket_base::message_flags flags,
1198
- ReadToken&& token = default_completion_token_t<executor_type>())
1199
- -> decltype(
1200
- async_initiate<ReadToken,
1201
- void (boost::system::error_code, std::size_t)>(
1202
- declval<initiate_async_receive_from>(), token,
1203
- buffers, &sender_endpoint, flags))
1204
- {
1205
- return async_initiate<ReadToken,
1206
- void (boost::system::error_code, std::size_t)>(
1207
- initiate_async_receive_from(this), token,
1208
- buffers, &sender_endpoint, flags);
1209
- }
1210
-
1211
- private:
1212
- // Disallow copying and assignment.
1213
- basic_raw_socket(const basic_raw_socket&) = delete;
1214
- basic_raw_socket& operator=(const basic_raw_socket&) = delete;
1215
-
1216
- class initiate_async_send
1217
- {
1218
- public:
1219
- typedef Executor executor_type;
1220
-
1221
- explicit initiate_async_send(basic_raw_socket* self)
1222
- : self_(self)
1223
- {
1224
- }
1225
-
1226
- const executor_type& get_executor() const noexcept
1227
- {
1228
- return self_->get_executor();
1229
- }
1230
-
1231
- template <typename WriteHandler, typename ConstBufferSequence>
1232
- void operator()(WriteHandler&& handler,
1233
- const ConstBufferSequence& buffers,
1234
- socket_base::message_flags flags) const
1235
- {
1236
- // If you get an error on the following line it means that your handler
1237
- // does not meet the documented type requirements for a WriteHandler.
1238
- BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;
1239
-
1240
- detail::non_const_lvalue<WriteHandler> handler2(handler);
1241
- self_->impl_.get_service().async_send(
1242
- self_->impl_.get_implementation(), buffers, flags,
1243
- handler2.value, self_->impl_.get_executor());
1244
- }
1245
-
1246
- private:
1247
- basic_raw_socket* self_;
1248
- };
1249
-
1250
- class initiate_async_send_to
1251
- {
1252
- public:
1253
- typedef Executor executor_type;
1254
-
1255
- explicit initiate_async_send_to(basic_raw_socket* self)
1256
- : self_(self)
1257
- {
1258
- }
1259
-
1260
- const executor_type& get_executor() const noexcept
1261
- {
1262
- return self_->get_executor();
1263
- }
1264
-
1265
- template <typename WriteHandler, typename ConstBufferSequence>
1266
- void operator()(WriteHandler&& handler,
1267
- const ConstBufferSequence& buffers, const endpoint_type& destination,
1268
- socket_base::message_flags flags) const
1269
- {
1270
- // If you get an error on the following line it means that your handler
1271
- // does not meet the documented type requirements for a WriteHandler.
1272
- BOOST_ASIO_WRITE_HANDLER_CHECK(WriteHandler, handler) type_check;
1273
-
1274
- detail::non_const_lvalue<WriteHandler> handler2(handler);
1275
- self_->impl_.get_service().async_send_to(
1276
- self_->impl_.get_implementation(), buffers, destination,
1277
- flags, handler2.value, self_->impl_.get_executor());
1278
- }
1279
-
1280
- private:
1281
- basic_raw_socket* self_;
1282
- };
1283
-
1284
- class initiate_async_receive
1285
- {
1286
- public:
1287
- typedef Executor executor_type;
1288
-
1289
- explicit initiate_async_receive(basic_raw_socket* self)
1290
- : self_(self)
1291
- {
1292
- }
1293
-
1294
- const executor_type& get_executor() const noexcept
1295
- {
1296
- return self_->get_executor();
1297
- }
1298
-
1299
- template <typename ReadHandler, typename MutableBufferSequence>
1300
- void operator()(ReadHandler&& handler,
1301
- const MutableBufferSequence& buffers,
1302
- socket_base::message_flags flags) const
1303
- {
1304
- // If you get an error on the following line it means that your handler
1305
- // does not meet the documented type requirements for a ReadHandler.
1306
- BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
1307
-
1308
- detail::non_const_lvalue<ReadHandler> handler2(handler);
1309
- self_->impl_.get_service().async_receive(
1310
- self_->impl_.get_implementation(), buffers, flags,
1311
- handler2.value, self_->impl_.get_executor());
1312
- }
1313
-
1314
- private:
1315
- basic_raw_socket* self_;
1316
- };
1317
-
1318
- class initiate_async_receive_from
1319
- {
1320
- public:
1321
- typedef Executor executor_type;
1322
-
1323
- explicit initiate_async_receive_from(basic_raw_socket* self)
1324
- : self_(self)
1325
- {
1326
- }
1327
-
1328
- const executor_type& get_executor() const noexcept
1329
- {
1330
- return self_->get_executor();
1331
- }
1332
-
1333
- template <typename ReadHandler, typename MutableBufferSequence>
1334
- void operator()(ReadHandler&& handler,
1335
- const MutableBufferSequence& buffers, endpoint_type* sender_endpoint,
1336
- socket_base::message_flags flags) const
1337
- {
1338
- // If you get an error on the following line it means that your handler
1339
- // does not meet the documented type requirements for a ReadHandler.
1340
- BOOST_ASIO_READ_HANDLER_CHECK(ReadHandler, handler) type_check;
1341
-
1342
- detail::non_const_lvalue<ReadHandler> handler2(handler);
1343
- self_->impl_.get_service().async_receive_from(
1344
- self_->impl_.get_implementation(), buffers, *sender_endpoint,
1345
- flags, handler2.value, self_->impl_.get_executor());
1346
- }
1347
-
1348
- private:
1349
- basic_raw_socket* self_;
1350
- };
1351
- };
1352
-
1353
- } // namespace asio
1354
- } // namespace boost
1355
-
1356
- #include <boost/asio/detail/pop_options.hpp>
1357
-
1358
- #endif // BOOST_ASIO_BASIC_RAW_SOCKET_HPP