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