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,1528 +0,0 @@
1
- //
2
- // write.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_WRITE_HPP
12
- #define BOOST_ASIO_WRITE_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/async_result.hpp>
21
- #include <boost/asio/buffer.hpp>
22
- #include <boost/asio/completion_condition.hpp>
23
- #include <boost/asio/error.hpp>
24
-
25
- #if !defined(BOOST_ASIO_NO_EXTENSIONS)
26
- # include <boost/asio/basic_streambuf_fwd.hpp>
27
- #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
28
-
29
- #include <boost/asio/detail/push_options.hpp>
30
-
31
- namespace boost {
32
- namespace asio {
33
- namespace detail {
34
-
35
- template <typename> class initiate_async_write;
36
- #if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
37
- template <typename> class initiate_async_write_dynbuf_v1;
38
- #endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
39
- template <typename> class initiate_async_write_dynbuf_v2;
40
-
41
- } // namespace detail
42
-
43
- /**
44
- * @defgroup write boost::asio::write
45
- *
46
- * @brief The @c write function is a composed operation that writes a certain
47
- * amount of data to a stream before returning.
48
- */
49
- /*@{*/
50
-
51
- /// Write all of the supplied data to a stream before returning.
52
- /**
53
- * This function is used to write a certain number of bytes of data to a stream.
54
- * The call will block until one of the following conditions is true:
55
- *
56
- * @li All of the data in the supplied buffers has been written. That is, the
57
- * bytes transferred is equal to the sum of the buffer sizes.
58
- *
59
- * @li An error occurred.
60
- *
61
- * This operation is implemented in terms of zero or more calls to the stream's
62
- * write_some function.
63
- *
64
- * @param s The stream to which the data is to be written. The type must support
65
- * the SyncWriteStream concept.
66
- *
67
- * @param buffers One or more buffers containing the data to be written. The sum
68
- * of the buffer sizes indicates the maximum number of bytes to write to the
69
- * stream.
70
- *
71
- * @returns The number of bytes transferred.
72
- *
73
- * @throws boost::system::system_error Thrown on failure.
74
- *
75
- * @par Example
76
- * To write a single data buffer use the @ref buffer function as follows:
77
- * @code boost::asio::write(s, boost::asio::buffer(data, size)); @endcode
78
- * See the @ref buffer documentation for information on writing multiple
79
- * buffers in one go, and how to use it with arrays, boost::array or
80
- * std::vector.
81
- *
82
- * @note This overload is equivalent to calling:
83
- * @code boost::asio::write(
84
- * s, buffers,
85
- * boost::asio::transfer_all()); @endcode
86
- */
87
- template <typename SyncWriteStream, typename ConstBufferSequence>
88
- std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers,
89
- constraint_t<
90
- is_const_buffer_sequence<ConstBufferSequence>::value
91
- > = 0);
92
-
93
- /// Write all of the supplied data to a stream before returning.
94
- /**
95
- * This function is used to write a certain number of bytes of data to a stream.
96
- * The call will block until one of the following conditions is true:
97
- *
98
- * @li All of the data in the supplied buffers has been written. That is, the
99
- * bytes transferred is equal to the sum of the buffer sizes.
100
- *
101
- * @li An error occurred.
102
- *
103
- * This operation is implemented in terms of zero or more calls to the stream's
104
- * write_some function.
105
- *
106
- * @param s The stream to which the data is to be written. The type must support
107
- * the SyncWriteStream concept.
108
- *
109
- * @param buffers One or more buffers containing the data to be written. The sum
110
- * of the buffer sizes indicates the maximum number of bytes to write to the
111
- * stream.
112
- *
113
- * @param ec Set to indicate what error occurred, if any.
114
- *
115
- * @returns The number of bytes transferred.
116
- *
117
- * @par Example
118
- * To write a single data buffer use the @ref buffer function as follows:
119
- * @code boost::asio::write(s, boost::asio::buffer(data, size), ec); @endcode
120
- * See the @ref buffer documentation for information on writing multiple
121
- * buffers in one go, and how to use it with arrays, boost::array or
122
- * std::vector.
123
- *
124
- * @note This overload is equivalent to calling:
125
- * @code boost::asio::write(
126
- * s, buffers,
127
- * boost::asio::transfer_all(), ec); @endcode
128
- */
129
- template <typename SyncWriteStream, typename ConstBufferSequence>
130
- std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers,
131
- boost::system::error_code& ec,
132
- constraint_t<
133
- is_const_buffer_sequence<ConstBufferSequence>::value
134
- > = 0);
135
-
136
- /// Write a certain amount of data to a stream before returning.
137
- /**
138
- * This function is used to write a certain number of bytes of data to a stream.
139
- * The call will block until one of the following conditions is true:
140
- *
141
- * @li All of the data in the supplied buffers has been written. That is, the
142
- * bytes transferred is equal to the sum of the buffer sizes.
143
- *
144
- * @li The completion_condition function object returns 0.
145
- *
146
- * This operation is implemented in terms of zero or more calls to the stream's
147
- * write_some function.
148
- *
149
- * @param s The stream to which the data is to be written. The type must support
150
- * the SyncWriteStream concept.
151
- *
152
- * @param buffers One or more buffers containing the data to be written. The sum
153
- * of the buffer sizes indicates the maximum number of bytes to write to the
154
- * stream.
155
- *
156
- * @param completion_condition The function object to be called to determine
157
- * whether the write operation is complete. The signature of the function object
158
- * must be:
159
- * @code std::size_t completion_condition(
160
- * // Result of latest write_some operation.
161
- * const boost::system::error_code& error,
162
- *
163
- * // Number of bytes transferred so far.
164
- * std::size_t bytes_transferred
165
- * ); @endcode
166
- * A return value of 0 indicates that the write operation is complete. A
167
- * non-zero return value indicates the maximum number of bytes to be written on
168
- * the next call to the stream's write_some function.
169
- *
170
- * @returns The number of bytes transferred.
171
- *
172
- * @throws boost::system::system_error Thrown on failure.
173
- *
174
- * @par Example
175
- * To write a single data buffer use the @ref buffer function as follows:
176
- * @code boost::asio::write(s, boost::asio::buffer(data, size),
177
- * boost::asio::transfer_at_least(32)); @endcode
178
- * See the @ref buffer documentation for information on writing multiple
179
- * buffers in one go, and how to use it with arrays, boost::array or
180
- * std::vector.
181
- */
182
- template <typename SyncWriteStream, typename ConstBufferSequence,
183
- typename CompletionCondition>
184
- std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers,
185
- CompletionCondition completion_condition,
186
- constraint_t<
187
- is_const_buffer_sequence<ConstBufferSequence>::value
188
- > = 0,
189
- constraint_t<
190
- is_completion_condition<CompletionCondition>::value
191
- > = 0);
192
-
193
- /// Write a certain amount of data to a stream before returning.
194
- /**
195
- * This function is used to write a certain number of bytes of data to a stream.
196
- * The call will block until one of the following conditions is true:
197
- *
198
- * @li All of the data in the supplied buffers has been written. That is, the
199
- * bytes transferred is equal to the sum of the buffer sizes.
200
- *
201
- * @li The completion_condition function object returns 0.
202
- *
203
- * This operation is implemented in terms of zero or more calls to the stream's
204
- * write_some function.
205
- *
206
- * @param s The stream to which the data is to be written. The type must support
207
- * the SyncWriteStream concept.
208
- *
209
- * @param buffers One or more buffers containing the data to be written. The sum
210
- * of the buffer sizes indicates the maximum number of bytes to write to the
211
- * stream.
212
- *
213
- * @param completion_condition The function object to be called to determine
214
- * whether the write operation is complete. The signature of the function object
215
- * must be:
216
- * @code std::size_t completion_condition(
217
- * // Result of latest write_some operation.
218
- * const boost::system::error_code& error,
219
- *
220
- * // Number of bytes transferred so far.
221
- * std::size_t bytes_transferred
222
- * ); @endcode
223
- * A return value of 0 indicates that the write operation is complete. A
224
- * non-zero return value indicates the maximum number of bytes to be written on
225
- * the next call to the stream's write_some function.
226
- *
227
- * @param ec Set to indicate what error occurred, if any.
228
- *
229
- * @returns The number of bytes written. If an error occurs, returns the total
230
- * number of bytes successfully transferred prior to the error.
231
- */
232
- template <typename SyncWriteStream, typename ConstBufferSequence,
233
- typename CompletionCondition>
234
- std::size_t write(SyncWriteStream& s, const ConstBufferSequence& buffers,
235
- CompletionCondition completion_condition, boost::system::error_code& ec,
236
- constraint_t<
237
- is_const_buffer_sequence<ConstBufferSequence>::value
238
- > = 0,
239
- constraint_t<
240
- is_completion_condition<CompletionCondition>::value
241
- > = 0);
242
-
243
- #if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
244
-
245
- /// Write all of the supplied data to a stream before returning.
246
- /**
247
- * This function is used to write a certain number of bytes of data to a stream.
248
- * The call will block until one of the following conditions is true:
249
- *
250
- * @li All of the data in the supplied dynamic buffer sequence has been written.
251
- *
252
- * @li An error occurred.
253
- *
254
- * This operation is implemented in terms of zero or more calls to the stream's
255
- * write_some function.
256
- *
257
- * @param s The stream to which the data is to be written. The type must support
258
- * the SyncWriteStream concept.
259
- *
260
- * @param buffers The dynamic buffer sequence from which data will be written.
261
- * Successfully written data is automatically consumed from the buffers.
262
- *
263
- * @returns The number of bytes transferred.
264
- *
265
- * @throws boost::system::system_error Thrown on failure.
266
- *
267
- * @note This overload is equivalent to calling:
268
- * @code boost::asio::write(
269
- * s, buffers,
270
- * boost::asio::transfer_all()); @endcode
271
- */
272
- template <typename SyncWriteStream, typename DynamicBuffer_v1>
273
- std::size_t write(SyncWriteStream& s,
274
- DynamicBuffer_v1&& buffers,
275
- constraint_t<
276
- is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
277
- > = 0,
278
- constraint_t<
279
- !is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
280
- > = 0);
281
-
282
- /// Write all of the supplied data to a stream before returning.
283
- /**
284
- * This function is used to write a certain number of bytes of data to a stream.
285
- * The call will block until one of the following conditions is true:
286
- *
287
- * @li All of the data in the supplied dynamic buffer sequence has been written.
288
- *
289
- * @li An error occurred.
290
- *
291
- * This operation is implemented in terms of zero or more calls to the stream's
292
- * write_some function.
293
- *
294
- * @param s The stream to which the data is to be written. The type must support
295
- * the SyncWriteStream concept.
296
- *
297
- * @param buffers The dynamic buffer sequence from which data will be written.
298
- * Successfully written data is automatically consumed from the buffers.
299
- *
300
- * @param ec Set to indicate what error occurred, if any.
301
- *
302
- * @returns The number of bytes transferred.
303
- *
304
- * @note This overload is equivalent to calling:
305
- * @code boost::asio::write(
306
- * s, buffers,
307
- * boost::asio::transfer_all(), ec); @endcode
308
- */
309
- template <typename SyncWriteStream, typename DynamicBuffer_v1>
310
- std::size_t write(SyncWriteStream& s,
311
- DynamicBuffer_v1&& buffers,
312
- boost::system::error_code& ec,
313
- constraint_t<
314
- is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
315
- > = 0,
316
- constraint_t<
317
- !is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
318
- > = 0);
319
-
320
- /// Write a certain amount of data to a stream before returning.
321
- /**
322
- * This function is used to write a certain number of bytes of data to a stream.
323
- * The call will block until one of the following conditions is true:
324
- *
325
- * @li All of the data in the supplied dynamic buffer sequence has been written.
326
- *
327
- * @li The completion_condition function object returns 0.
328
- *
329
- * This operation is implemented in terms of zero or more calls to the stream's
330
- * write_some function.
331
- *
332
- * @param s The stream to which the data is to be written. The type must support
333
- * the SyncWriteStream concept.
334
- *
335
- * @param buffers The dynamic buffer sequence from which data will be written.
336
- * Successfully written data is automatically consumed from the buffers.
337
- *
338
- * @param completion_condition The function object to be called to determine
339
- * whether the write operation is complete. The signature of the function object
340
- * must be:
341
- * @code std::size_t completion_condition(
342
- * // Result of latest write_some operation.
343
- * const boost::system::error_code& error,
344
- *
345
- * // Number of bytes transferred so far.
346
- * std::size_t bytes_transferred
347
- * ); @endcode
348
- * A return value of 0 indicates that the write operation is complete. A
349
- * non-zero return value indicates the maximum number of bytes to be written on
350
- * the next call to the stream's write_some function.
351
- *
352
- * @returns The number of bytes transferred.
353
- *
354
- * @throws boost::system::system_error Thrown on failure.
355
- */
356
- template <typename SyncWriteStream, typename DynamicBuffer_v1,
357
- typename CompletionCondition>
358
- std::size_t write(SyncWriteStream& s,
359
- DynamicBuffer_v1&& buffers,
360
- CompletionCondition completion_condition,
361
- constraint_t<
362
- is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
363
- > = 0,
364
- constraint_t<
365
- !is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
366
- > = 0,
367
- constraint_t<
368
- is_completion_condition<CompletionCondition>::value
369
- > = 0);
370
-
371
- /// Write a certain amount of data to a stream before returning.
372
- /**
373
- * This function is used to write a certain number of bytes of data to a stream.
374
- * The call will block until one of the following conditions is true:
375
- *
376
- * @li All of the data in the supplied dynamic buffer sequence has been written.
377
- *
378
- * @li The completion_condition function object returns 0.
379
- *
380
- * This operation is implemented in terms of zero or more calls to the stream's
381
- * write_some function.
382
- *
383
- * @param s The stream to which the data is to be written. The type must support
384
- * the SyncWriteStream concept.
385
- *
386
- * @param buffers The dynamic buffer sequence from which data will be written.
387
- * Successfully written data is automatically consumed from the buffers.
388
- *
389
- * @param completion_condition The function object to be called to determine
390
- * whether the write operation is complete. The signature of the function object
391
- * must be:
392
- * @code std::size_t completion_condition(
393
- * // Result of latest write_some operation.
394
- * const boost::system::error_code& error,
395
- *
396
- * // Number of bytes transferred so far.
397
- * std::size_t bytes_transferred
398
- * ); @endcode
399
- * A return value of 0 indicates that the write operation is complete. A
400
- * non-zero return value indicates the maximum number of bytes to be written on
401
- * the next call to the stream's write_some function.
402
- *
403
- * @param ec Set to indicate what error occurred, if any.
404
- *
405
- * @returns The number of bytes written. If an error occurs, returns the total
406
- * number of bytes successfully transferred prior to the error.
407
- */
408
- template <typename SyncWriteStream, typename DynamicBuffer_v1,
409
- typename CompletionCondition>
410
- std::size_t write(SyncWriteStream& s,
411
- DynamicBuffer_v1&& buffers,
412
- CompletionCondition completion_condition, boost::system::error_code& ec,
413
- constraint_t<
414
- is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
415
- > = 0,
416
- constraint_t<
417
- !is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
418
- > = 0,
419
- constraint_t<
420
- is_completion_condition<CompletionCondition>::value
421
- > = 0);
422
-
423
- #if !defined(BOOST_ASIO_NO_EXTENSIONS)
424
- #if !defined(BOOST_ASIO_NO_IOSTREAM)
425
-
426
- /// Write all of the supplied data to a stream before returning.
427
- /**
428
- * This function is used to write a certain number of bytes of data to a stream.
429
- * The call will block until one of the following conditions is true:
430
- *
431
- * @li All of the data in the supplied basic_streambuf has been written.
432
- *
433
- * @li An error occurred.
434
- *
435
- * This operation is implemented in terms of zero or more calls to the stream's
436
- * write_some function.
437
- *
438
- * @param s The stream to which the data is to be written. The type must support
439
- * the SyncWriteStream concept.
440
- *
441
- * @param b The basic_streambuf object from which data will be written.
442
- *
443
- * @returns The number of bytes transferred.
444
- *
445
- * @throws boost::system::system_error Thrown on failure.
446
- *
447
- * @note This overload is equivalent to calling:
448
- * @code boost::asio::write(
449
- * s, b,
450
- * boost::asio::transfer_all()); @endcode
451
- */
452
- template <typename SyncWriteStream, typename Allocator>
453
- std::size_t write(SyncWriteStream& s, basic_streambuf<Allocator>& b);
454
-
455
- /// Write all of the supplied data to a stream before returning.
456
- /**
457
- * This function is used to write a certain number of bytes of data to a stream.
458
- * The call will block until one of the following conditions is true:
459
- *
460
- * @li All of the data in the supplied basic_streambuf has been written.
461
- *
462
- * @li An error occurred.
463
- *
464
- * This operation is implemented in terms of zero or more calls to the stream's
465
- * write_some function.
466
- *
467
- * @param s The stream to which the data is to be written. The type must support
468
- * the SyncWriteStream concept.
469
- *
470
- * @param b The basic_streambuf object from which data will be written.
471
- *
472
- * @param ec Set to indicate what error occurred, if any.
473
- *
474
- * @returns The number of bytes transferred.
475
- *
476
- * @note This overload is equivalent to calling:
477
- * @code boost::asio::write(
478
- * s, b,
479
- * boost::asio::transfer_all(), ec); @endcode
480
- */
481
- template <typename SyncWriteStream, typename Allocator>
482
- std::size_t write(SyncWriteStream& s, basic_streambuf<Allocator>& b,
483
- boost::system::error_code& ec);
484
-
485
- /// Write a certain amount of data to a stream before returning.
486
- /**
487
- * This function is used to write a certain number of bytes of data to a stream.
488
- * The call will block until one of the following conditions is true:
489
- *
490
- * @li All of the data in the supplied basic_streambuf has been written.
491
- *
492
- * @li The completion_condition function object returns 0.
493
- *
494
- * This operation is implemented in terms of zero or more calls to the stream's
495
- * write_some function.
496
- *
497
- * @param s The stream to which the data is to be written. The type must support
498
- * the SyncWriteStream concept.
499
- *
500
- * @param b The basic_streambuf object from which data will be written.
501
- *
502
- * @param completion_condition The function object to be called to determine
503
- * whether the write operation is complete. The signature of the function object
504
- * must be:
505
- * @code std::size_t completion_condition(
506
- * // Result of latest write_some operation.
507
- * const boost::system::error_code& error,
508
- *
509
- * // Number of bytes transferred so far.
510
- * std::size_t bytes_transferred
511
- * ); @endcode
512
- * A return value of 0 indicates that the write operation is complete. A
513
- * non-zero return value indicates the maximum number of bytes to be written on
514
- * the next call to the stream's write_some function.
515
- *
516
- * @returns The number of bytes transferred.
517
- *
518
- * @throws boost::system::system_error Thrown on failure.
519
- */
520
- template <typename SyncWriteStream, typename Allocator,
521
- typename CompletionCondition>
522
- std::size_t write(SyncWriteStream& s, basic_streambuf<Allocator>& b,
523
- CompletionCondition completion_condition,
524
- constraint_t<
525
- is_completion_condition<CompletionCondition>::value
526
- > = 0);
527
-
528
- /// Write a certain amount of data to a stream before returning.
529
- /**
530
- * This function is used to write a certain number of bytes of data to a stream.
531
- * The call will block until one of the following conditions is true:
532
- *
533
- * @li All of the data in the supplied basic_streambuf has been written.
534
- *
535
- * @li The completion_condition function object returns 0.
536
- *
537
- * This operation is implemented in terms of zero or more calls to the stream's
538
- * write_some function.
539
- *
540
- * @param s The stream to which the data is to be written. The type must support
541
- * the SyncWriteStream concept.
542
- *
543
- * @param b The basic_streambuf object from which data will be written.
544
- *
545
- * @param completion_condition The function object to be called to determine
546
- * whether the write operation is complete. The signature of the function object
547
- * must be:
548
- * @code std::size_t completion_condition(
549
- * // Result of latest write_some operation.
550
- * const boost::system::error_code& error,
551
- *
552
- * // Number of bytes transferred so far.
553
- * std::size_t bytes_transferred
554
- * ); @endcode
555
- * A return value of 0 indicates that the write operation is complete. A
556
- * non-zero return value indicates the maximum number of bytes to be written on
557
- * the next call to the stream's write_some function.
558
- *
559
- * @param ec Set to indicate what error occurred, if any.
560
- *
561
- * @returns The number of bytes written. If an error occurs, returns the total
562
- * number of bytes successfully transferred prior to the error.
563
- */
564
- template <typename SyncWriteStream, typename Allocator,
565
- typename CompletionCondition>
566
- std::size_t write(SyncWriteStream& s, basic_streambuf<Allocator>& b,
567
- CompletionCondition completion_condition, boost::system::error_code& ec,
568
- constraint_t<
569
- is_completion_condition<CompletionCondition>::value
570
- > = 0);
571
-
572
- #endif // !defined(BOOST_ASIO_NO_IOSTREAM)
573
- #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
574
- #endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
575
-
576
- /// Write all of the supplied data to a stream before returning.
577
- /**
578
- * This function is used to write a certain number of bytes of data to a stream.
579
- * The call will block until one of the following conditions is true:
580
- *
581
- * @li All of the data in the supplied dynamic buffer sequence has been written.
582
- *
583
- * @li An error occurred.
584
- *
585
- * This operation is implemented in terms of zero or more calls to the stream's
586
- * write_some function.
587
- *
588
- * @param s The stream to which the data is to be written. The type must support
589
- * the SyncWriteStream concept.
590
- *
591
- * @param buffers The dynamic buffer sequence from which data will be written.
592
- * Successfully written data is automatically consumed from the buffers.
593
- *
594
- * @returns The number of bytes transferred.
595
- *
596
- * @throws boost::system::system_error Thrown on failure.
597
- *
598
- * @note This overload is equivalent to calling:
599
- * @code boost::asio::write(
600
- * s, buffers,
601
- * boost::asio::transfer_all()); @endcode
602
- */
603
- template <typename SyncWriteStream, typename DynamicBuffer_v2>
604
- std::size_t write(SyncWriteStream& s, DynamicBuffer_v2 buffers,
605
- constraint_t<
606
- is_dynamic_buffer_v2<DynamicBuffer_v2>::value
607
- > = 0);
608
-
609
- /// Write all of the supplied data to a stream before returning.
610
- /**
611
- * This function is used to write a certain number of bytes of data to a stream.
612
- * The call will block until one of the following conditions is true:
613
- *
614
- * @li All of the data in the supplied dynamic buffer sequence has been written.
615
- *
616
- * @li An error occurred.
617
- *
618
- * This operation is implemented in terms of zero or more calls to the stream's
619
- * write_some function.
620
- *
621
- * @param s The stream to which the data is to be written. The type must support
622
- * the SyncWriteStream concept.
623
- *
624
- * @param buffers The dynamic buffer sequence from which data will be written.
625
- * Successfully written data is automatically consumed from the buffers.
626
- *
627
- * @param ec Set to indicate what error occurred, if any.
628
- *
629
- * @returns The number of bytes transferred.
630
- *
631
- * @note This overload is equivalent to calling:
632
- * @code boost::asio::write(
633
- * s, buffers,
634
- * boost::asio::transfer_all(), ec); @endcode
635
- */
636
- template <typename SyncWriteStream, typename DynamicBuffer_v2>
637
- std::size_t write(SyncWriteStream& s, DynamicBuffer_v2 buffers,
638
- boost::system::error_code& ec,
639
- constraint_t<
640
- is_dynamic_buffer_v2<DynamicBuffer_v2>::value
641
- > = 0);
642
-
643
- /// Write a certain amount of data to a stream before returning.
644
- /**
645
- * This function is used to write a certain number of bytes of data to a stream.
646
- * The call will block until one of the following conditions is true:
647
- *
648
- * @li All of the data in the supplied dynamic buffer sequence has been written.
649
- *
650
- * @li The completion_condition function object returns 0.
651
- *
652
- * This operation is implemented in terms of zero or more calls to the stream's
653
- * write_some function.
654
- *
655
- * @param s The stream to which the data is to be written. The type must support
656
- * the SyncWriteStream concept.
657
- *
658
- * @param buffers The dynamic buffer sequence from which data will be written.
659
- * Successfully written data is automatically consumed from the buffers.
660
- *
661
- * @param completion_condition The function object to be called to determine
662
- * whether the write operation is complete. The signature of the function object
663
- * must be:
664
- * @code std::size_t completion_condition(
665
- * // Result of latest write_some operation.
666
- * const boost::system::error_code& error,
667
- *
668
- * // Number of bytes transferred so far.
669
- * std::size_t bytes_transferred
670
- * ); @endcode
671
- * A return value of 0 indicates that the write operation is complete. A
672
- * non-zero return value indicates the maximum number of bytes to be written on
673
- * the next call to the stream's write_some function.
674
- *
675
- * @returns The number of bytes transferred.
676
- *
677
- * @throws boost::system::system_error Thrown on failure.
678
- */
679
- template <typename SyncWriteStream, typename DynamicBuffer_v2,
680
- typename CompletionCondition>
681
- std::size_t write(SyncWriteStream& s, DynamicBuffer_v2 buffers,
682
- CompletionCondition completion_condition,
683
- constraint_t<
684
- is_dynamic_buffer_v2<DynamicBuffer_v2>::value
685
- > = 0,
686
- constraint_t<
687
- is_completion_condition<CompletionCondition>::value
688
- > = 0);
689
-
690
- /// Write a certain amount of data to a stream before returning.
691
- /**
692
- * This function is used to write a certain number of bytes of data to a stream.
693
- * The call will block until one of the following conditions is true:
694
- *
695
- * @li All of the data in the supplied dynamic buffer sequence has been written.
696
- *
697
- * @li The completion_condition function object returns 0.
698
- *
699
- * This operation is implemented in terms of zero or more calls to the stream's
700
- * write_some function.
701
- *
702
- * @param s The stream to which the data is to be written. The type must support
703
- * the SyncWriteStream concept.
704
- *
705
- * @param buffers The dynamic buffer sequence from which data will be written.
706
- * Successfully written data is automatically consumed from the buffers.
707
- *
708
- * @param completion_condition The function object to be called to determine
709
- * whether the write operation is complete. The signature of the function object
710
- * must be:
711
- * @code std::size_t completion_condition(
712
- * // Result of latest write_some operation.
713
- * const boost::system::error_code& error,
714
- *
715
- * // Number of bytes transferred so far.
716
- * std::size_t bytes_transferred
717
- * ); @endcode
718
- * A return value of 0 indicates that the write operation is complete. A
719
- * non-zero return value indicates the maximum number of bytes to be written on
720
- * the next call to the stream's write_some function.
721
- *
722
- * @param ec Set to indicate what error occurred, if any.
723
- *
724
- * @returns The number of bytes written. If an error occurs, returns the total
725
- * number of bytes successfully transferred prior to the error.
726
- */
727
- template <typename SyncWriteStream, typename DynamicBuffer_v2,
728
- typename CompletionCondition>
729
- std::size_t write(SyncWriteStream& s, DynamicBuffer_v2 buffers,
730
- CompletionCondition completion_condition, boost::system::error_code& ec,
731
- constraint_t<
732
- is_dynamic_buffer_v2<DynamicBuffer_v2>::value
733
- > = 0,
734
- constraint_t<
735
- is_completion_condition<CompletionCondition>::value
736
- > = 0);
737
-
738
- /*@}*/
739
- /**
740
- * @defgroup async_write boost::asio::async_write
741
- *
742
- * @brief The @c async_write function is a composed asynchronous operation that
743
- * writes a certain amount of data to a stream before completion.
744
- */
745
- /*@{*/
746
-
747
- /// Start an asynchronous operation to write all of the supplied data to a
748
- /// stream.
749
- /**
750
- * This function is used to asynchronously write a certain number of bytes of
751
- * data to a stream. It is an initiating function for an @ref
752
- * asynchronous_operation, and always returns immediately. The asynchronous
753
- * operation will continue until one of the following conditions is true:
754
- *
755
- * @li All of the data in the supplied buffers has been written. That is, the
756
- * bytes transferred is equal to the sum of the buffer sizes.
757
- *
758
- * @li An error occurred.
759
- *
760
- * This operation is implemented in terms of zero or more calls to the stream's
761
- * async_write_some function, and is known as a <em>composed operation</em>. The
762
- * program must ensure that the stream performs no other write operations (such
763
- * as async_write, the stream's async_write_some function, or any other composed
764
- * operations that perform writes) until this operation completes.
765
- *
766
- * @param s The stream to which the data is to be written. The type must support
767
- * the AsyncWriteStream concept.
768
- *
769
- * @param buffers One or more buffers containing the data to be written.
770
- * Although the buffers object may be copied as necessary, ownership of the
771
- * underlying memory blocks is retained by the caller, which must guarantee
772
- * that they remain valid until the completion handler is called.
773
- *
774
- * @param token The @ref completion_token that will be used to produce a
775
- * completion handler, which will be called when the write completes.
776
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
777
- * @ref yield_context, or a function object with the correct completion
778
- * signature. The function signature of the completion handler must be:
779
- * @code void handler(
780
- * // Result of operation.
781
- * const boost::system::error_code& error,
782
- *
783
- * // Number of bytes written from the buffers. If an error
784
- * // occurred, this will be less than the sum of the buffer sizes.
785
- * std::size_t bytes_transferred
786
- * ); @endcode
787
- * Regardless of whether the asynchronous operation completes immediately or
788
- * not, the completion handler will not be invoked from within this function.
789
- * On immediate completion, invocation of the handler will be performed in a
790
- * manner equivalent to using boost::asio::async_immediate().
791
- *
792
- * @par Completion Signature
793
- * @code void(boost::system::error_code, std::size_t) @endcode
794
- *
795
- * @par Example
796
- * To write a single data buffer use the @ref buffer function as follows:
797
- * @code
798
- * boost::asio::async_write(s, boost::asio::buffer(data, size), handler);
799
- * @endcode
800
- * See the @ref buffer documentation for information on writing multiple
801
- * buffers in one go, and how to use it with arrays, boost::array or
802
- * std::vector.
803
- *
804
- * @par Per-Operation Cancellation
805
- * This asynchronous operation supports cancellation for the following
806
- * boost::asio::cancellation_type values:
807
- *
808
- * @li @c cancellation_type::terminal
809
- *
810
- * @li @c cancellation_type::partial
811
- *
812
- * if they are also supported by the @c AsyncWriteStream type's
813
- * @c async_write_some operation.
814
- */
815
- template <typename AsyncWriteStream, typename ConstBufferSequence,
816
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
817
- std::size_t)) WriteToken
818
- = default_completion_token_t<typename AsyncWriteStream::executor_type>>
819
- inline auto async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers,
820
- WriteToken&& token
821
- = default_completion_token_t<typename AsyncWriteStream::executor_type>(),
822
- constraint_t<
823
- is_const_buffer_sequence<ConstBufferSequence>::value
824
- > = 0,
825
- constraint_t<
826
- !is_completion_condition<decay_t<WriteToken>>::value
827
- > = 0)
828
- -> decltype(
829
- async_initiate<WriteToken,
830
- void (boost::system::error_code, std::size_t)>(
831
- declval<detail::initiate_async_write<AsyncWriteStream>>(),
832
- token, buffers, transfer_all()))
833
- {
834
- return async_initiate<WriteToken,
835
- void (boost::system::error_code, std::size_t)>(
836
- detail::initiate_async_write<AsyncWriteStream>(s),
837
- token, buffers, transfer_all());
838
- }
839
-
840
- /// Start an asynchronous operation to write a certain amount of data to a
841
- /// stream.
842
- /**
843
- * This function is used to asynchronously write a certain number of bytes of
844
- * data to a stream. It is an initiating function for an @ref
845
- * asynchronous_operation, and always returns immediately. The asynchronous
846
- * operation will continue until one of the following conditions is true:
847
- *
848
- * @li All of the data in the supplied buffers has been written. That is, the
849
- * bytes transferred is equal to the sum of the buffer sizes.
850
- *
851
- * @li The completion_condition function object returns 0.
852
- *
853
- * This operation is implemented in terms of zero or more calls to the stream's
854
- * async_write_some function, and is known as a <em>composed operation</em>. The
855
- * program must ensure that the stream performs no other write operations (such
856
- * as async_write, the stream's async_write_some function, or any other composed
857
- * operations that perform writes) until this operation completes.
858
- *
859
- * @param s The stream to which the data is to be written. The type must support
860
- * the AsyncWriteStream concept.
861
- *
862
- * @param buffers One or more buffers containing the data to be written.
863
- * Although the buffers object may be copied as necessary, ownership of the
864
- * underlying memory blocks is retained by the caller, which must guarantee
865
- * that they remain valid until the completion handler is called.
866
- *
867
- * @param completion_condition The function object to be called to determine
868
- * whether the write operation is complete. The signature of the function object
869
- * must be:
870
- * @code std::size_t completion_condition(
871
- * // Result of latest async_write_some operation.
872
- * const boost::system::error_code& error,
873
- *
874
- * // Number of bytes transferred so far.
875
- * std::size_t bytes_transferred
876
- * ); @endcode
877
- * A return value of 0 indicates that the write operation is complete. A
878
- * non-zero return value indicates the maximum number of bytes to be written on
879
- * the next call to the stream's async_write_some function.
880
- *
881
- * @param token The @ref completion_token that will be used to produce a
882
- * completion handler, which will be called when the write completes.
883
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
884
- * @ref yield_context, or a function object with the correct completion
885
- * signature. The function signature of the completion handler must be:
886
- * @code void handler(
887
- * // Result of operation.
888
- * const boost::system::error_code& error,
889
- *
890
- * // Number of bytes written from the buffers. If an error
891
- * // occurred, this will be less than the sum of the buffer sizes.
892
- * std::size_t bytes_transferred
893
- * ); @endcode
894
- * Regardless of whether the asynchronous operation completes immediately or
895
- * not, the completion handler will not be invoked from within this function.
896
- * On immediate completion, invocation of the handler will be performed in a
897
- * manner equivalent to using boost::asio::async_immediate().
898
- *
899
- * @par Completion Signature
900
- * @code void(boost::system::error_code, std::size_t) @endcode
901
- *
902
- * @par Example
903
- * To write a single data buffer use the @ref buffer function as follows:
904
- * @code boost::asio::async_write(s,
905
- * boost::asio::buffer(data, size),
906
- * boost::asio::transfer_at_least(32),
907
- * handler); @endcode
908
- * See the @ref buffer documentation for information on writing multiple
909
- * buffers in one go, and how to use it with arrays, boost::array or
910
- * std::vector.
911
- *
912
- * @par Per-Operation Cancellation
913
- * This asynchronous operation supports cancellation for the following
914
- * boost::asio::cancellation_type values:
915
- *
916
- * @li @c cancellation_type::terminal
917
- *
918
- * @li @c cancellation_type::partial
919
- *
920
- * if they are also supported by the @c AsyncWriteStream type's
921
- * @c async_write_some operation.
922
- */
923
- template <typename AsyncWriteStream,
924
- typename ConstBufferSequence, typename CompletionCondition,
925
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
926
- std::size_t)) WriteToken
927
- = default_completion_token_t<typename AsyncWriteStream::executor_type>>
928
- inline auto async_write(AsyncWriteStream& s, const ConstBufferSequence& buffers,
929
- CompletionCondition completion_condition,
930
- WriteToken&& token
931
- = default_completion_token_t<typename AsyncWriteStream::executor_type>(),
932
- constraint_t<
933
- is_const_buffer_sequence<ConstBufferSequence>::value
934
- > = 0,
935
- constraint_t<
936
- is_completion_condition<CompletionCondition>::value
937
- > = 0)
938
- -> decltype(
939
- async_initiate<WriteToken,
940
- void (boost::system::error_code, std::size_t)>(
941
- declval<detail::initiate_async_write<AsyncWriteStream>>(),
942
- token, buffers,
943
- static_cast<CompletionCondition&&>(completion_condition)))
944
- {
945
- return async_initiate<WriteToken,
946
- void (boost::system::error_code, std::size_t)>(
947
- detail::initiate_async_write<AsyncWriteStream>(s),
948
- token, buffers,
949
- static_cast<CompletionCondition&&>(completion_condition));
950
- }
951
-
952
- #if !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
953
-
954
- /// Start an asynchronous operation to write all of the supplied data to a
955
- /// stream.
956
- /**
957
- * This function is used to asynchronously write a certain number of bytes of
958
- * data to a stream. It is an initiating function for an @ref
959
- * asynchronous_operation, and always returns immediately. The asynchronous
960
- * operation will continue until one of the following conditions is true:
961
- *
962
- * @li All of the data in the supplied dynamic buffer sequence has been written.
963
- *
964
- * @li An error occurred.
965
- *
966
- * This operation is implemented in terms of zero or more calls to the stream's
967
- * async_write_some function, and is known as a <em>composed operation</em>. The
968
- * program must ensure that the stream performs no other write operations (such
969
- * as async_write, the stream's async_write_some function, or any other composed
970
- * operations that perform writes) until this operation completes.
971
- *
972
- * @param s The stream to which the data is to be written. The type must support
973
- * the AsyncWriteStream concept.
974
- *
975
- * @param buffers The dynamic buffer sequence from which data will be written.
976
- * Although the buffers object may be copied as necessary, ownership of the
977
- * underlying memory blocks is retained by the caller, which must guarantee
978
- * that they remain valid until the completion handler is called. Successfully
979
- * written data is automatically consumed from the buffers.
980
- *
981
- * @param token The @ref completion_token that will be used to produce a
982
- * completion handler, which will be called when the write completes.
983
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
984
- * @ref yield_context, or a function object with the correct completion
985
- * signature. The function signature of the completion handler must be:
986
- * @code void handler(
987
- * // Result of operation.
988
- * const boost::system::error_code& error,
989
- *
990
- * // Number of bytes written from the buffers. If an error
991
- * // occurred, this will be less than the sum of the buffer sizes.
992
- * std::size_t bytes_transferred
993
- * ); @endcode
994
- * Regardless of whether the asynchronous operation completes immediately or
995
- * not, the completion handler will not be invoked from within this function.
996
- * On immediate completion, invocation of the handler will be performed in a
997
- * manner equivalent to using boost::asio::async_immediate().
998
- *
999
- * @par Completion Signature
1000
- * @code void(boost::system::error_code, std::size_t) @endcode
1001
- *
1002
- * @par Per-Operation Cancellation
1003
- * This asynchronous operation supports cancellation for the following
1004
- * boost::asio::cancellation_type values:
1005
- *
1006
- * @li @c cancellation_type::terminal
1007
- *
1008
- * @li @c cancellation_type::partial
1009
- *
1010
- * if they are also supported by the @c AsyncWriteStream type's
1011
- * @c async_write_some operation.
1012
- */
1013
- template <typename AsyncWriteStream, typename DynamicBuffer_v1,
1014
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1015
- std::size_t)) WriteToken
1016
- = default_completion_token_t<typename AsyncWriteStream::executor_type>>
1017
- inline auto async_write(AsyncWriteStream& s, DynamicBuffer_v1&& buffers,
1018
- WriteToken&& token
1019
- = default_completion_token_t<typename AsyncWriteStream::executor_type>(),
1020
- constraint_t<
1021
- is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
1022
- > = 0,
1023
- constraint_t<
1024
- !is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
1025
- > = 0,
1026
- constraint_t<
1027
- !is_completion_condition<decay_t<WriteToken>>::value
1028
- > = 0)
1029
- -> decltype(
1030
- async_initiate<WriteToken,
1031
- void (boost::system::error_code, std::size_t)>(
1032
- declval<detail::initiate_async_write_dynbuf_v1<AsyncWriteStream>>(),
1033
- token, static_cast<DynamicBuffer_v1&&>(buffers),
1034
- transfer_all()))
1035
- {
1036
- return async_initiate<WriteToken,
1037
- void (boost::system::error_code, std::size_t)>(
1038
- detail::initiate_async_write_dynbuf_v1<AsyncWriteStream>(s),
1039
- token, static_cast<DynamicBuffer_v1&&>(buffers),
1040
- transfer_all());
1041
- }
1042
-
1043
- /// Start an asynchronous operation to write a certain amount of data to a
1044
- /// stream.
1045
- /**
1046
- * This function is used to asynchronously write a certain number of bytes of
1047
- * data to a stream. It is an initiating function for an @ref
1048
- * asynchronous_operation, and always returns immediately. The asynchronous
1049
- * operation will continue until one of the following conditions is true:
1050
- *
1051
- * @li All of the data in the supplied dynamic buffer sequence has been written.
1052
- *
1053
- * @li The completion_condition function object returns 0.
1054
- *
1055
- * This operation is implemented in terms of zero or more calls to the stream's
1056
- * async_write_some function, and is known as a <em>composed operation</em>. The
1057
- * program must ensure that the stream performs no other write operations (such
1058
- * as async_write, the stream's async_write_some function, or any other composed
1059
- * operations that perform writes) until this operation completes.
1060
- *
1061
- * @param s The stream to which the data is to be written. The type must support
1062
- * the AsyncWriteStream concept.
1063
- *
1064
- * @param buffers The dynamic buffer sequence from which data will be written.
1065
- * Although the buffers object may be copied as necessary, ownership of the
1066
- * underlying memory blocks is retained by the caller, which must guarantee
1067
- * that they remain valid until the completion handler is called. Successfully
1068
- * written data is automatically consumed from the buffers.
1069
- *
1070
- * @param completion_condition The function object to be called to determine
1071
- * whether the write operation is complete. The signature of the function object
1072
- * must be:
1073
- * @code std::size_t completion_condition(
1074
- * // Result of latest async_write_some operation.
1075
- * const boost::system::error_code& error,
1076
- *
1077
- * // Number of bytes transferred so far.
1078
- * std::size_t bytes_transferred
1079
- * ); @endcode
1080
- * A return value of 0 indicates that the write operation is complete. A
1081
- * non-zero return value indicates the maximum number of bytes to be written on
1082
- * the next call to the stream's async_write_some function.
1083
- *
1084
- * @param token The @ref completion_token that will be used to produce a
1085
- * completion handler, which will be called when the write completes.
1086
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1087
- * @ref yield_context, or a function object with the correct completion
1088
- * signature. The function signature of the completion handler must be:
1089
- * @code void handler(
1090
- * // Result of operation.
1091
- * const boost::system::error_code& error,
1092
- *
1093
- * // Number of bytes written from the buffers. If an error
1094
- * // occurred, this will be less than the sum of the buffer sizes.
1095
- * std::size_t bytes_transferred
1096
- * ); @endcode
1097
- * Regardless of whether the asynchronous operation completes immediately or
1098
- * not, the completion handler will not be invoked from within this function.
1099
- * On immediate completion, invocation of the handler will be performed in a
1100
- * manner equivalent to using boost::asio::async_immediate().
1101
- *
1102
- * @par Completion Signature
1103
- * @code void(boost::system::error_code, std::size_t) @endcode
1104
- *
1105
- * @par Per-Operation Cancellation
1106
- * This asynchronous operation supports cancellation for the following
1107
- * boost::asio::cancellation_type values:
1108
- *
1109
- * @li @c cancellation_type::terminal
1110
- *
1111
- * @li @c cancellation_type::partial
1112
- *
1113
- * if they are also supported by the @c AsyncWriteStream type's
1114
- * @c async_write_some operation.
1115
- */
1116
- template <typename AsyncWriteStream,
1117
- typename DynamicBuffer_v1, typename CompletionCondition,
1118
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1119
- std::size_t)) WriteToken
1120
- = default_completion_token_t<typename AsyncWriteStream::executor_type>>
1121
- inline auto async_write(AsyncWriteStream& s, DynamicBuffer_v1&& buffers,
1122
- CompletionCondition completion_condition,
1123
- WriteToken&& token
1124
- = default_completion_token_t<typename AsyncWriteStream::executor_type>(),
1125
- constraint_t<
1126
- is_dynamic_buffer_v1<decay_t<DynamicBuffer_v1>>::value
1127
- > = 0,
1128
- constraint_t<
1129
- !is_dynamic_buffer_v2<decay_t<DynamicBuffer_v1>>::value
1130
- > = 0,
1131
- constraint_t<
1132
- is_completion_condition<CompletionCondition>::value
1133
- > = 0)
1134
- -> decltype(
1135
- async_initiate<WriteToken,
1136
- void (boost::system::error_code, std::size_t)>(
1137
- declval<detail::initiate_async_write_dynbuf_v1<AsyncWriteStream>>(),
1138
- token, static_cast<DynamicBuffer_v1&&>(buffers),
1139
- static_cast<CompletionCondition&&>(completion_condition)))
1140
- {
1141
- return async_initiate<WriteToken,
1142
- void (boost::system::error_code, std::size_t)>(
1143
- detail::initiate_async_write_dynbuf_v1<AsyncWriteStream>(s),
1144
- token, static_cast<DynamicBuffer_v1&&>(buffers),
1145
- static_cast<CompletionCondition&&>(completion_condition));
1146
- }
1147
-
1148
- #if !defined(BOOST_ASIO_NO_EXTENSIONS)
1149
- #if !defined(BOOST_ASIO_NO_IOSTREAM)
1150
-
1151
- /// Start an asynchronous operation to write all of the supplied data to a
1152
- /// stream.
1153
- /**
1154
- * This function is used to asynchronously write a certain number of bytes of
1155
- * data to a stream. It is an initiating function for an @ref
1156
- * asynchronous_operation, and always returns immediately. The asynchronous
1157
- * operation will continue until one of the following conditions is true:
1158
- *
1159
- * @li All of the data in the supplied basic_streambuf has been written.
1160
- *
1161
- * @li An error occurred.
1162
- *
1163
- * This operation is implemented in terms of zero or more calls to the stream's
1164
- * async_write_some function, and is known as a <em>composed operation</em>. The
1165
- * program must ensure that the stream performs no other write operations (such
1166
- * as async_write, the stream's async_write_some function, or any other composed
1167
- * operations that perform writes) until this operation completes.
1168
- *
1169
- * @param s The stream to which the data is to be written. The type must support
1170
- * the AsyncWriteStream concept.
1171
- *
1172
- * @param b A basic_streambuf object from which data will be written. Ownership
1173
- * of the streambuf is retained by the caller, which must guarantee that it
1174
- * remains valid until the completion handler is called.
1175
- *
1176
- * @param token The @ref completion_token that will be used to produce a
1177
- * completion handler, which will be called when the write completes.
1178
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1179
- * @ref yield_context, or a function object with the correct completion
1180
- * signature. The function signature of the completion handler must be:
1181
- * @code void handler(
1182
- * // Result of operation.
1183
- * const boost::system::error_code& error,
1184
- *
1185
- * // Number of bytes written from the buffers. If an error
1186
- * // occurred, this will be less than the sum of the buffer sizes.
1187
- * std::size_t bytes_transferred
1188
- * ); @endcode
1189
- * Regardless of whether the asynchronous operation completes immediately or
1190
- * not, the completion handler will not be invoked from within this function.
1191
- * On immediate completion, invocation of the handler will be performed in a
1192
- * manner equivalent to using boost::asio::async_immediate().
1193
- *
1194
- * @par Completion Signature
1195
- * @code void(boost::system::error_code, std::size_t) @endcode
1196
- *
1197
- * @par Per-Operation Cancellation
1198
- * This asynchronous operation supports cancellation for the following
1199
- * boost::asio::cancellation_type values:
1200
- *
1201
- * @li @c cancellation_type::terminal
1202
- *
1203
- * @li @c cancellation_type::partial
1204
- *
1205
- * if they are also supported by the @c AsyncWriteStream type's
1206
- * @c async_write_some operation.
1207
- */
1208
- template <typename AsyncWriteStream, typename Allocator,
1209
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1210
- std::size_t)) WriteToken
1211
- = default_completion_token_t<typename AsyncWriteStream::executor_type>>
1212
- inline auto async_write(AsyncWriteStream& s, basic_streambuf<Allocator>& b,
1213
- WriteToken&& token
1214
- = default_completion_token_t<typename AsyncWriteStream::executor_type>(),
1215
- constraint_t<
1216
- !is_completion_condition<decay_t<WriteToken>>::value
1217
- > = 0)
1218
- -> decltype(
1219
- async_initiate<WriteToken,
1220
- void (boost::system::error_code, std::size_t)>(
1221
- declval<detail::initiate_async_write_dynbuf_v1<AsyncWriteStream>>(),
1222
- token, basic_streambuf_ref<Allocator>(b), transfer_all()))
1223
- {
1224
- return async_initiate<WriteToken,
1225
- void (boost::system::error_code, std::size_t)>(
1226
- detail::initiate_async_write_dynbuf_v1<AsyncWriteStream>(s),
1227
- token, basic_streambuf_ref<Allocator>(b), transfer_all());
1228
- }
1229
-
1230
- /// Start an asynchronous operation to write a certain amount of data to a
1231
- /// stream.
1232
- /**
1233
- * This function is used to asynchronously write a certain number of bytes of
1234
- * data to a stream. It is an initiating function for an @ref
1235
- * asynchronous_operation, and always returns immediately. The asynchronous
1236
- * operation will continue until one of the following conditions is true:
1237
- *
1238
- * @li All of the data in the supplied basic_streambuf has been written.
1239
- *
1240
- * @li The completion_condition function object returns 0.
1241
- *
1242
- * This operation is implemented in terms of zero or more calls to the stream's
1243
- * async_write_some function, and is known as a <em>composed operation</em>. The
1244
- * program must ensure that the stream performs no other write operations (such
1245
- * as async_write, the stream's async_write_some function, or any other composed
1246
- * operations that perform writes) until this operation completes.
1247
- *
1248
- * @param s The stream to which the data is to be written. The type must support
1249
- * the AsyncWriteStream concept.
1250
- *
1251
- * @param b A basic_streambuf object from which data will be written. Ownership
1252
- * of the streambuf is retained by the caller, which must guarantee that it
1253
- * remains valid until the completion handler is called.
1254
- *
1255
- * @param completion_condition The function object to be called to determine
1256
- * whether the write operation is complete. The signature of the function object
1257
- * must be:
1258
- * @code std::size_t completion_condition(
1259
- * // Result of latest async_write_some operation.
1260
- * const boost::system::error_code& error,
1261
- *
1262
- * // Number of bytes transferred so far.
1263
- * std::size_t bytes_transferred
1264
- * ); @endcode
1265
- * A return value of 0 indicates that the write operation is complete. A
1266
- * non-zero return value indicates the maximum number of bytes to be written on
1267
- * the next call to the stream's async_write_some function.
1268
- *
1269
- * @param token The @ref completion_token that will be used to produce a
1270
- * completion handler, which will be called when the write completes.
1271
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1272
- * @ref yield_context, or a function object with the correct completion
1273
- * signature. The function signature of the completion handler must be:
1274
- * @code void handler(
1275
- * // Result of operation.
1276
- * const boost::system::error_code& error,
1277
- *
1278
- * // Number of bytes written from the buffers. If an error
1279
- * // occurred, this will be less than the sum of the buffer sizes.
1280
- * std::size_t bytes_transferred
1281
- * ); @endcode
1282
- * Regardless of whether the asynchronous operation completes immediately or
1283
- * not, the completion handler will not be invoked from within this function.
1284
- * On immediate completion, invocation of the handler will be performed in a
1285
- * manner equivalent to using boost::asio::async_immediate().
1286
- *
1287
- * @par Completion Signature
1288
- * @code void(boost::system::error_code, std::size_t) @endcode
1289
- *
1290
- * @par Per-Operation Cancellation
1291
- * This asynchronous operation supports cancellation for the following
1292
- * boost::asio::cancellation_type values:
1293
- *
1294
- * @li @c cancellation_type::terminal
1295
- *
1296
- * @li @c cancellation_type::partial
1297
- *
1298
- * if they are also supported by the @c AsyncWriteStream type's
1299
- * @c async_write_some operation.
1300
- */
1301
- template <typename AsyncWriteStream,
1302
- typename Allocator, typename CompletionCondition,
1303
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1304
- std::size_t)) WriteToken
1305
- = default_completion_token_t<typename AsyncWriteStream::executor_type>>
1306
- inline auto async_write(AsyncWriteStream& s, basic_streambuf<Allocator>& b,
1307
- CompletionCondition completion_condition,
1308
- WriteToken&& token
1309
- = default_completion_token_t<typename AsyncWriteStream::executor_type>(),
1310
- constraint_t<
1311
- is_completion_condition<CompletionCondition>::value
1312
- > = 0)
1313
- -> decltype(
1314
- async_initiate<WriteToken,
1315
- void (boost::system::error_code, std::size_t)>(
1316
- declval<detail::initiate_async_write_dynbuf_v1<AsyncWriteStream>>(),
1317
- token, basic_streambuf_ref<Allocator>(b),
1318
- static_cast<CompletionCondition&&>(completion_condition)))
1319
- {
1320
- return async_initiate<WriteToken,
1321
- void (boost::system::error_code, std::size_t)>(
1322
- detail::initiate_async_write_dynbuf_v1<AsyncWriteStream>(s),
1323
- token, basic_streambuf_ref<Allocator>(b),
1324
- static_cast<CompletionCondition&&>(completion_condition));
1325
- }
1326
-
1327
- #endif // !defined(BOOST_ASIO_NO_IOSTREAM)
1328
- #endif // !defined(BOOST_ASIO_NO_EXTENSIONS)
1329
- #endif // !defined(BOOST_ASIO_NO_DYNAMIC_BUFFER_V1)
1330
-
1331
- /// Start an asynchronous operation to write all of the supplied data to a
1332
- /// stream.
1333
- /**
1334
- * This function is used to asynchronously write a certain number of bytes of
1335
- * data to a stream. It is an initiating function for an @ref
1336
- * asynchronous_operation, and always returns immediately. The asynchronous
1337
- * operation will continue until one of the following conditions is true:
1338
- *
1339
- * @li All of the data in the supplied dynamic buffer sequence has been written.
1340
- *
1341
- * @li An error occurred.
1342
- *
1343
- * This operation is implemented in terms of zero or more calls to the stream's
1344
- * async_write_some function, and is known as a <em>composed operation</em>. The
1345
- * program must ensure that the stream performs no other write operations (such
1346
- * as async_write, the stream's async_write_some function, or any other composed
1347
- * operations that perform writes) until this operation completes.
1348
- *
1349
- * @param s The stream to which the data is to be written. The type must support
1350
- * the AsyncWriteStream concept.
1351
- *
1352
- * @param buffers The dynamic buffer sequence from which data will be written.
1353
- * Although the buffers object may be copied as necessary, ownership of the
1354
- * underlying memory blocks is retained by the caller, which must guarantee
1355
- * that they remain valid until the completion handler is called. Successfully
1356
- * written data is automatically consumed from the buffers.
1357
- *
1358
- * @param token The @ref completion_token that will be used to produce a
1359
- * completion handler, which will be called when the write completes.
1360
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1361
- * @ref yield_context, or a function object with the correct completion
1362
- * signature. The function signature of the completion handler must be:
1363
- * @code void handler(
1364
- * // Result of operation.
1365
- * const boost::system::error_code& error,
1366
- *
1367
- * // Number of bytes written from the buffers. If an error
1368
- * // occurred, this will be less than the sum of the buffer sizes.
1369
- * std::size_t bytes_transferred
1370
- * ); @endcode
1371
- * Regardless of whether the asynchronous operation completes immediately or
1372
- * not, the completion handler will not be invoked from within this function.
1373
- * On immediate completion, invocation of the handler will be performed in a
1374
- * manner equivalent to using boost::asio::async_immediate().
1375
- *
1376
- * @par Completion Signature
1377
- * @code void(boost::system::error_code, std::size_t) @endcode
1378
- *
1379
- * @par Per-Operation Cancellation
1380
- * This asynchronous operation supports cancellation for the following
1381
- * boost::asio::cancellation_type values:
1382
- *
1383
- * @li @c cancellation_type::terminal
1384
- *
1385
- * @li @c cancellation_type::partial
1386
- *
1387
- * if they are also supported by the @c AsyncWriteStream type's
1388
- * @c async_write_some operation.
1389
- */
1390
- template <typename AsyncWriteStream, typename DynamicBuffer_v2,
1391
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1392
- std::size_t)) WriteToken
1393
- = default_completion_token_t<typename AsyncWriteStream::executor_type>>
1394
- inline auto async_write(AsyncWriteStream& s, DynamicBuffer_v2 buffers,
1395
- WriteToken&& token
1396
- = default_completion_token_t<typename AsyncWriteStream::executor_type>(),
1397
- constraint_t<
1398
- is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1399
- > = 0,
1400
- constraint_t<
1401
- !is_completion_condition<decay_t<WriteToken>>::value
1402
- > = 0)
1403
- -> decltype(
1404
- async_initiate<WriteToken,
1405
- void (boost::system::error_code, std::size_t)>(
1406
- declval<detail::initiate_async_write_dynbuf_v2<AsyncWriteStream>>(),
1407
- token, static_cast<DynamicBuffer_v2&&>(buffers),
1408
- transfer_all()))
1409
- {
1410
- return async_initiate<WriteToken,
1411
- void (boost::system::error_code, std::size_t)>(
1412
- detail::initiate_async_write_dynbuf_v2<AsyncWriteStream>(s),
1413
- token, static_cast<DynamicBuffer_v2&&>(buffers),
1414
- transfer_all());
1415
- }
1416
-
1417
- /// Start an asynchronous operation to write a certain amount of data to a
1418
- /// stream.
1419
- /**
1420
- * This function is used to asynchronously write a certain number of bytes of
1421
- * data to a stream. It is an initiating function for an @ref
1422
- * asynchronous_operation, and always returns immediately. The asynchronous
1423
- * operation will continue until one of the following conditions is true:
1424
- *
1425
- * @li All of the data in the supplied dynamic buffer sequence has been written.
1426
- *
1427
- * @li The completion_condition function object returns 0.
1428
- *
1429
- * This operation is implemented in terms of zero or more calls to the stream's
1430
- * async_write_some function, and is known as a <em>composed operation</em>. The
1431
- * program must ensure that the stream performs no other write operations (such
1432
- * as async_write, the stream's async_write_some function, or any other composed
1433
- * operations that perform writes) until this operation completes.
1434
- *
1435
- * @param s The stream to which the data is to be written. The type must support
1436
- * the AsyncWriteStream concept.
1437
- *
1438
- * @param buffers The dynamic buffer sequence from which data will be written.
1439
- * Although the buffers object may be copied as necessary, ownership of the
1440
- * underlying memory blocks is retained by the caller, which must guarantee
1441
- * that they remain valid until the completion handler is called. Successfully
1442
- * written data is automatically consumed from the buffers.
1443
- *
1444
- * @param completion_condition The function object to be called to determine
1445
- * whether the write operation is complete. The signature of the function object
1446
- * must be:
1447
- * @code std::size_t completion_condition(
1448
- * // Result of latest async_write_some operation.
1449
- * const boost::system::error_code& error,
1450
- *
1451
- * // Number of bytes transferred so far.
1452
- * std::size_t bytes_transferred
1453
- * ); @endcode
1454
- * A return value of 0 indicates that the write operation is complete. A
1455
- * non-zero return value indicates the maximum number of bytes to be written on
1456
- * the next call to the stream's async_write_some function.
1457
- *
1458
- * @param token The @ref completion_token that will be used to produce a
1459
- * completion handler, which will be called when the write completes.
1460
- * Potential completion tokens include @ref use_future, @ref use_awaitable,
1461
- * @ref yield_context, or a function object with the correct completion
1462
- * signature. The function signature of the completion handler must be:
1463
- * @code void handler(
1464
- * // Result of operation.
1465
- * const boost::system::error_code& error,
1466
- *
1467
- * // Number of bytes written from the buffers. If an error
1468
- * // occurred, this will be less than the sum of the buffer sizes.
1469
- * std::size_t bytes_transferred
1470
- * ); @endcode
1471
- * Regardless of whether the asynchronous operation completes immediately or
1472
- * not, the completion handler will not be invoked from within this function.
1473
- * On immediate completion, invocation of the handler will be performed in a
1474
- * manner equivalent to using boost::asio::async_immediate().
1475
- *
1476
- * @par Completion Signature
1477
- * @code void(boost::system::error_code, std::size_t) @endcode
1478
- *
1479
- * @par Per-Operation Cancellation
1480
- * This asynchronous operation supports cancellation for the following
1481
- * boost::asio::cancellation_type values:
1482
- *
1483
- * @li @c cancellation_type::terminal
1484
- *
1485
- * @li @c cancellation_type::partial
1486
- *
1487
- * if they are also supported by the @c AsyncWriteStream type's
1488
- * @c async_write_some operation.
1489
- */
1490
- template <typename AsyncWriteStream,
1491
- typename DynamicBuffer_v2, typename CompletionCondition,
1492
- BOOST_ASIO_COMPLETION_TOKEN_FOR(void (boost::system::error_code,
1493
- std::size_t)) WriteToken
1494
- = default_completion_token_t<typename AsyncWriteStream::executor_type>>
1495
- inline auto async_write(AsyncWriteStream& s, DynamicBuffer_v2 buffers,
1496
- CompletionCondition completion_condition,
1497
- WriteToken&& token
1498
- = default_completion_token_t<typename AsyncWriteStream::executor_type>(),
1499
- constraint_t<
1500
- is_dynamic_buffer_v2<DynamicBuffer_v2>::value
1501
- > = 0,
1502
- constraint_t<
1503
- is_completion_condition<CompletionCondition>::value
1504
- > = 0)
1505
- -> decltype(
1506
- async_initiate<WriteToken,
1507
- void (boost::system::error_code, std::size_t)>(
1508
- declval<detail::initiate_async_write_dynbuf_v2<AsyncWriteStream>>(),
1509
- token, static_cast<DynamicBuffer_v2&&>(buffers),
1510
- static_cast<CompletionCondition&&>(completion_condition)))
1511
- {
1512
- return async_initiate<WriteToken,
1513
- void (boost::system::error_code, std::size_t)>(
1514
- detail::initiate_async_write_dynbuf_v2<AsyncWriteStream>(s),
1515
- token, static_cast<DynamicBuffer_v2&&>(buffers),
1516
- static_cast<CompletionCondition&&>(completion_condition));
1517
- }
1518
-
1519
- /*@}*/
1520
-
1521
- } // namespace asio
1522
- } // namespace boost
1523
-
1524
- #include <boost/asio/detail/pop_options.hpp>
1525
-
1526
- #include <boost/asio/impl/write.hpp>
1527
-
1528
- #endif // BOOST_ASIO_WRITE_HPP