couchbase 4.2.0 → 4.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1937) hide show
  1. package/CMakeLists.txt +1 -0
  2. package/deps/couchbase-cxx-client/.github/workflows/tests.yml +10 -6
  3. package/deps/couchbase-cxx-client/.github/workflows/windows.yml +3 -0
  4. package/deps/couchbase-cxx-client/.gitmodules +3 -0
  5. package/deps/couchbase-cxx-client/.idea/misc.xml +2 -0
  6. package/deps/couchbase-cxx-client/.idea/vcs.xml +1 -0
  7. package/deps/couchbase-cxx-client/CMakeLists.txt +351 -292
  8. package/deps/couchbase-cxx-client/README.md +3 -3
  9. package/deps/couchbase-cxx-client/bin/build-tests +7 -6
  10. package/deps/couchbase-cxx-client/bin/build-tests.rb +1 -0
  11. package/deps/couchbase-cxx-client/bin/{run-transactions-tests → run-transaction-tests} +2 -1
  12. package/deps/couchbase-cxx-client/bin/run-unit-tests +47 -1
  13. package/deps/couchbase-cxx-client/cmake/CompilerWarnings.cmake +4 -1
  14. package/deps/couchbase-cxx-client/cmake/ThirdPartyDependencies.cmake +1 -0
  15. package/deps/couchbase-cxx-client/cmake/VersionInfo.cmake +13 -1
  16. package/deps/couchbase-cxx-client/cmake/build_version.hxx.in +3 -0
  17. package/deps/couchbase-cxx-client/core/CMakeLists.txt +0 -0
  18. package/deps/couchbase-cxx-client/core/agent.cxx +556 -0
  19. package/deps/couchbase-cxx-client/core/agent.hxx +165 -0
  20. package/deps/couchbase-cxx-client/core/agent_config.cxx +36 -0
  21. package/deps/couchbase-cxx-client/core/agent_config.hxx +44 -0
  22. package/deps/couchbase-cxx-client/core/agent_group.cxx +219 -0
  23. package/deps/couchbase-cxx-client/core/agent_group.hxx +79 -0
  24. package/deps/couchbase-cxx-client/core/agent_group_config.cxx +35 -0
  25. package/deps/couchbase-cxx-client/core/agent_group_config.hxx +45 -0
  26. package/deps/couchbase-cxx-client/core/agent_unit_test_api.hxx +37 -0
  27. package/deps/couchbase-cxx-client/core/analytics_query_options.cxx +72 -0
  28. package/deps/couchbase-cxx-client/core/analytics_query_options.hxx +74 -0
  29. package/deps/couchbase-cxx-client/core/bucket.cxx +891 -0
  30. package/deps/couchbase-cxx-client/core/bucket.hxx +85 -484
  31. package/deps/couchbase-cxx-client/core/cluster.cxx +69 -12
  32. package/deps/couchbase-cxx-client/core/cluster.hxx +67 -45
  33. package/deps/couchbase-cxx-client/core/cluster_agent.cxx +36 -0
  34. package/deps/couchbase-cxx-client/core/cluster_agent.hxx +34 -0
  35. package/deps/couchbase-cxx-client/core/cluster_agent_config.cxx +35 -0
  36. package/deps/couchbase-cxx-client/core/cluster_agent_config.hxx +43 -0
  37. package/deps/couchbase-cxx-client/core/cluster_options.hxx +9 -2
  38. package/deps/couchbase-cxx-client/core/cluster_state.hxx +25 -0
  39. package/deps/couchbase-cxx-client/core/collection_id_cache_entry.hxx +37 -0
  40. package/deps/couchbase-cxx-client/core/collections_component.cxx +439 -0
  41. package/deps/couchbase-cxx-client/core/collections_component.hxx +81 -0
  42. package/deps/couchbase-cxx-client/core/collections_component_unit_test_api.hxx +36 -0
  43. package/deps/couchbase-cxx-client/core/collections_options.hxx +87 -0
  44. package/deps/couchbase-cxx-client/core/core_sdk_shim.cxx +28 -0
  45. package/deps/couchbase-cxx-client/core/core_sdk_shim.hxx +30 -0
  46. package/deps/couchbase-cxx-client/core/crud_component.cxx +367 -0
  47. package/deps/couchbase-cxx-client/core/crud_component.hxx +60 -0
  48. package/deps/couchbase-cxx-client/core/crud_options.hxx +574 -0
  49. package/deps/couchbase-cxx-client/core/diagntostics_options.hxx +55 -0
  50. package/deps/couchbase-cxx-client/core/dispatcher.cxx +37 -0
  51. package/deps/couchbase-cxx-client/core/dispatcher.hxx +43 -0
  52. package/deps/couchbase-cxx-client/core/durability_options.hxx +110 -0
  53. package/deps/couchbase-cxx-client/core/error_context/analytics.hxx +1 -1
  54. package/deps/couchbase-cxx-client/core/error_context/http.hxx +1 -1
  55. package/deps/couchbase-cxx-client/core/error_context/key_value.hxx +2 -2
  56. package/deps/couchbase-cxx-client/core/error_context/query.hxx +1 -1
  57. package/deps/couchbase-cxx-client/core/error_context/search.hxx +1 -1
  58. package/deps/couchbase-cxx-client/core/error_context/view.hxx +1 -1
  59. package/deps/couchbase-cxx-client/core/free_form_http_request.cxx +81 -0
  60. package/deps/couchbase-cxx-client/core/free_form_http_request.hxx +90 -0
  61. package/deps/couchbase-cxx-client/core/impl/append.cxx +4 -1
  62. package/deps/couchbase-cxx-client/core/impl/best_effort_retry_strategy.cxx +109 -0
  63. package/deps/couchbase-cxx-client/core/impl/bootstrap_state_listener.hxx +1 -0
  64. package/deps/couchbase-cxx-client/core/impl/build_deferred_query_indexes.cxx +17 -6
  65. package/deps/couchbase-cxx-client/core/impl/cluster.cxx +21 -3
  66. package/deps/couchbase-cxx-client/core/impl/collection_query_index_manager.cxx +93 -0
  67. package/deps/couchbase-cxx-client/core/impl/configuration_profiles_registry.cxx +11 -0
  68. package/deps/couchbase-cxx-client/core/impl/create_query_index.cxx +119 -0
  69. package/deps/couchbase-cxx-client/core/impl/decrement.cxx +10 -1
  70. package/deps/couchbase-cxx-client/core/impl/dns_srv_tracker.cxx +13 -9
  71. package/deps/couchbase-cxx-client/core/impl/drop_query_index.cxx +108 -0
  72. package/deps/couchbase-cxx-client/core/impl/exists.cxx +1 -0
  73. package/deps/couchbase-cxx-client/core/impl/fail_fast_retry_strategy.cxx +41 -0
  74. package/deps/couchbase-cxx-client/core/impl/get.cxx +3 -1
  75. package/deps/couchbase-cxx-client/core/impl/get_all_query_indexes.cxx +76 -0
  76. package/deps/couchbase-cxx-client/core/impl/get_all_replicas.cxx +6 -0
  77. package/deps/couchbase-cxx-client/core/impl/get_and_lock.cxx +1 -0
  78. package/deps/couchbase-cxx-client/core/impl/get_and_touch.cxx +1 -0
  79. package/deps/couchbase-cxx-client/core/impl/get_replica.hxx +1 -1
  80. package/deps/couchbase-cxx-client/core/impl/increment.cxx +10 -1
  81. package/deps/couchbase-cxx-client/core/impl/insert.cxx +2 -1
  82. package/deps/couchbase-cxx-client/core/impl/key_value_error_category.cxx +6 -0
  83. package/deps/couchbase-cxx-client/core/impl/lookup_in.cxx +1 -0
  84. package/deps/couchbase-cxx-client/core/impl/mutate_in.cxx +2 -2
  85. package/deps/couchbase-cxx-client/core/impl/network_error_category.cxx +14 -0
  86. package/deps/couchbase-cxx-client/core/impl/observe_seqno.hxx +1 -1
  87. package/deps/couchbase-cxx-client/core/impl/prepend.cxx +4 -1
  88. package/deps/couchbase-cxx-client/core/impl/query.cxx +52 -11
  89. package/deps/couchbase-cxx-client/core/impl/remove.cxx +4 -1
  90. package/deps/couchbase-cxx-client/core/impl/replace.cxx +12 -3
  91. package/deps/couchbase-cxx-client/core/impl/retry_action.cxx +39 -0
  92. package/deps/couchbase-cxx-client/core/{io/retry_reason.hxx → impl/retry_reason.cxx} +28 -29
  93. package/deps/couchbase-cxx-client/core/impl/touch.cxx +1 -0
  94. package/deps/couchbase-cxx-client/core/impl/unlock.cxx +1 -0
  95. package/deps/couchbase-cxx-client/core/impl/upsert.cxx +11 -2
  96. package/deps/couchbase-cxx-client/core/impl/watch_query_indexes.cxx +168 -0
  97. package/deps/couchbase-cxx-client/core/io/dns_config.cxx +82 -3
  98. package/deps/couchbase-cxx-client/core/io/http_command.hxx +19 -15
  99. package/deps/couchbase-cxx-client/core/io/http_session.hxx +19 -18
  100. package/deps/couchbase-cxx-client/core/io/http_session_manager.hxx +8 -6
  101. package/deps/couchbase-cxx-client/core/io/mcbp_command.hxx +62 -51
  102. package/deps/couchbase-cxx-client/core/io/mcbp_context.hxx +1 -0
  103. package/deps/couchbase-cxx-client/core/io/mcbp_message.hxx +5 -0
  104. package/deps/couchbase-cxx-client/core/io/mcbp_parser.cxx +18 -18
  105. package/deps/couchbase-cxx-client/core/io/mcbp_parser.hxx +1 -1
  106. package/deps/couchbase-cxx-client/core/io/mcbp_session.cxx +1690 -0
  107. package/deps/couchbase-cxx-client/core/io/mcbp_session.hxx +82 -1325
  108. package/deps/couchbase-cxx-client/core/io/retry_context.hxx +59 -8
  109. package/deps/couchbase-cxx-client/core/io/retry_orchestrator.hxx +27 -42
  110. package/deps/couchbase-cxx-client/core/key_value_config.cxx +35 -0
  111. package/deps/couchbase-cxx-client/core/key_value_config.hxx +40 -0
  112. package/deps/couchbase-cxx-client/core/logger/configuration.hxx +3 -0
  113. package/deps/couchbase-cxx-client/core/logger/level.hxx +21 -0
  114. package/deps/couchbase-cxx-client/core/logger/logger.hxx +16 -18
  115. package/deps/couchbase-cxx-client/core/management/rbac_json.hxx +1 -1
  116. package/deps/couchbase-cxx-client/core/mcbp/barrier_frame.hxx +27 -0
  117. package/deps/couchbase-cxx-client/core/mcbp/big_endian.cxx +73 -0
  118. package/deps/couchbase-cxx-client/core/mcbp/big_endian.hxx +46 -0
  119. package/deps/couchbase-cxx-client/core/mcbp/buffer_writer.cxx +78 -0
  120. package/deps/couchbase-cxx-client/core/mcbp/buffer_writer.hxx +38 -0
  121. package/deps/couchbase-cxx-client/core/mcbp/codec.cxx +501 -0
  122. package/deps/couchbase-cxx-client/core/mcbp/codec.hxx +52 -0
  123. package/deps/couchbase-cxx-client/core/mcbp/command_code.cxx +77 -0
  124. package/deps/couchbase-cxx-client/core/mcbp/command_code.hxx +33 -0
  125. package/deps/couchbase-cxx-client/core/mcbp/completion_token.hxx +69 -0
  126. package/deps/couchbase-cxx-client/core/mcbp/datatype.hxx +40 -0
  127. package/deps/couchbase-cxx-client/core/mcbp/durability_level.hxx +35 -0
  128. package/deps/couchbase-cxx-client/core/mcbp/durability_level_frame.hxx +28 -0
  129. package/deps/couchbase-cxx-client/core/mcbp/durability_timeout_frame.hxx +29 -0
  130. package/deps/couchbase-cxx-client/core/mcbp/frame_type.hxx +41 -0
  131. package/deps/couchbase-cxx-client/core/mcbp/open_tracing_frame.hxx +29 -0
  132. package/deps/couchbase-cxx-client/core/mcbp/operation_consumer.cxx +47 -0
  133. package/deps/couchbase-cxx-client/core/mcbp/operation_consumer.hxx +42 -0
  134. package/deps/couchbase-cxx-client/core/mcbp/operation_queue.cxx +158 -0
  135. package/deps/couchbase-cxx-client/core/mcbp/operation_queue.hxx +57 -0
  136. package/deps/couchbase-cxx-client/core/mcbp/packet.cxx +92 -0
  137. package/deps/couchbase-cxx-client/core/mcbp/packet.hxx +71 -0
  138. package/deps/couchbase-cxx-client/core/mcbp/preserve_expiry_frame.hxx +26 -0
  139. package/deps/couchbase-cxx-client/core/mcbp/queue_callback.hxx +34 -0
  140. package/deps/couchbase-cxx-client/core/mcbp/queue_request.cxx +174 -0
  141. package/deps/couchbase-cxx-client/core/mcbp/queue_request.hxx +120 -0
  142. package/deps/couchbase-cxx-client/core/mcbp/queue_request_connection_info.hxx +29 -0
  143. package/deps/couchbase-cxx-client/core/mcbp/queue_response.hxx +37 -0
  144. package/deps/couchbase-cxx-client/core/mcbp/read_units_frame.hxx +28 -0
  145. package/deps/couchbase-cxx-client/core/mcbp/server_duration.cxx +40 -0
  146. package/deps/couchbase-cxx-client/core/mcbp/server_duration.hxx +32 -0
  147. package/deps/couchbase-cxx-client/core/mcbp/server_duration_frame.hxx +28 -0
  148. package/deps/couchbase-cxx-client/core/mcbp/stream_id_frame.hxx +28 -0
  149. package/deps/couchbase-cxx-client/core/mcbp/unsupported_frame.hxx +32 -0
  150. package/deps/couchbase-cxx-client/core/mcbp/user_impersonation_frame.hxx +30 -0
  151. package/deps/couchbase-cxx-client/core/mcbp/write_units_frame.hxx +29 -0
  152. package/deps/couchbase-cxx-client/core/meta/CMakeLists.txt +4 -2
  153. package/deps/couchbase-cxx-client/core/meta/features.hxx +31 -0
  154. package/deps/couchbase-cxx-client/core/meta/version.cxx +76 -5
  155. package/deps/couchbase-cxx-client/core/meta/version.hxx +12 -1
  156. package/deps/couchbase-cxx-client/core/metrics/CMakeLists.txt +4 -1
  157. package/deps/couchbase-cxx-client/core/metrics/logging_meter.cxx +47 -6
  158. package/deps/couchbase-cxx-client/core/metrics/logging_meter.hxx +10 -26
  159. package/deps/couchbase-cxx-client/core/n1ql_query_options.cxx +94 -0
  160. package/deps/couchbase-cxx-client/core/n1ql_query_options.hxx +78 -0
  161. package/deps/couchbase-cxx-client/core/operation_map.hxx +36 -0
  162. package/deps/couchbase-cxx-client/core/operations/document_analytics.cxx +5 -5
  163. package/deps/couchbase-cxx-client/core/operations/document_append.hxx +1 -1
  164. package/deps/couchbase-cxx-client/core/operations/document_decrement.hxx +1 -1
  165. package/deps/couchbase-cxx-client/core/operations/document_exists.hxx +1 -1
  166. package/deps/couchbase-cxx-client/core/operations/document_get.hxx +1 -1
  167. package/deps/couchbase-cxx-client/core/operations/document_get_and_lock.hxx +1 -1
  168. package/deps/couchbase-cxx-client/core/operations/document_get_and_touch.hxx +1 -1
  169. package/deps/couchbase-cxx-client/core/operations/document_get_projected.cxx +3 -2
  170. package/deps/couchbase-cxx-client/core/operations/document_get_projected.hxx +1 -1
  171. package/deps/couchbase-cxx-client/core/operations/document_increment.hxx +1 -1
  172. package/deps/couchbase-cxx-client/core/operations/document_insert.hxx +1 -1
  173. package/deps/couchbase-cxx-client/core/operations/document_lookup_in.hxx +1 -1
  174. package/deps/couchbase-cxx-client/core/operations/document_mutate_in.hxx +1 -1
  175. package/deps/couchbase-cxx-client/core/operations/document_prepend.hxx +1 -1
  176. package/deps/couchbase-cxx-client/core/operations/document_query.cxx +21 -20
  177. package/deps/couchbase-cxx-client/core/operations/document_query.hxx +1 -3
  178. package/deps/couchbase-cxx-client/core/operations/document_remove.hxx +1 -1
  179. package/deps/couchbase-cxx-client/core/operations/document_replace.hxx +1 -1
  180. package/deps/couchbase-cxx-client/core/operations/document_search.cxx +2 -2
  181. package/deps/couchbase-cxx-client/core/operations/document_touch.hxx +1 -1
  182. package/deps/couchbase-cxx-client/core/operations/document_unlock.hxx +1 -1
  183. package/deps/couchbase-cxx-client/core/operations/document_upsert.hxx +1 -1
  184. package/deps/couchbase-cxx-client/core/operations/management/CMakeLists.txt +1 -0
  185. package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.cxx +32 -0
  186. package/deps/couchbase-cxx-client/core/operations/management/bucket_describe.hxx +3 -0
  187. package/deps/couchbase-cxx-client/core/operations/management/change_password.cxx +55 -0
  188. package/deps/couchbase-cxx-client/core/operations/management/change_password.hxx +50 -0
  189. package/deps/couchbase-cxx-client/core/operations/management/collections_manifest_get.hxx +1 -1
  190. package/deps/couchbase-cxx-client/core/operations/management/query_index_build.cxx +7 -8
  191. package/deps/couchbase-cxx-client/core/operations/management/query_index_build.hxx +3 -1
  192. package/deps/couchbase-cxx-client/core/operations/management/query_index_build_deferred.hxx +17 -8
  193. package/deps/couchbase-cxx-client/core/operations/management/query_index_create.cxx +7 -9
  194. package/deps/couchbase-cxx-client/core/operations/management/query_index_create.hxx +2 -0
  195. package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.cxx +11 -12
  196. package/deps/couchbase-cxx-client/core/operations/management/query_index_drop.hxx +2 -0
  197. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.cxx +7 -3
  198. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all.hxx +5 -3
  199. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.cxx +22 -5
  200. package/deps/couchbase-cxx-client/core/operations/management/query_index_get_all_deferred.hxx +4 -2
  201. package/deps/couchbase-cxx-client/core/operations/management/user.hxx +1 -0
  202. package/deps/couchbase-cxx-client/core/operations/mcbp_noop.hxx +1 -1
  203. package/deps/couchbase-cxx-client/core/origin.hxx +1 -1
  204. package/deps/couchbase-cxx-client/core/pending_operation.hxx +26 -0
  205. package/deps/couchbase-cxx-client/core/ping_collector.hxx +32 -0
  206. package/deps/couchbase-cxx-client/core/ping_options.hxx +86 -0
  207. package/deps/couchbase-cxx-client/core/{io/retry_action.hxx → ping_reporter.hxx} +8 -8
  208. package/deps/couchbase-cxx-client/core/platform/base64.cc +52 -34
  209. package/deps/couchbase-cxx-client/core/platform/base64.h +10 -2
  210. package/deps/couchbase-cxx-client/core/platform/terminate_handler.cc +5 -5
  211. package/deps/couchbase-cxx-client/core/platform/uuid.cc +24 -20
  212. package/deps/couchbase-cxx-client/core/protocol/client_opcode.hxx +10 -1
  213. package/deps/couchbase-cxx-client/core/protocol/client_opcode_fmt.hxx +10 -1
  214. package/deps/couchbase-cxx-client/core/protocol/client_request.hxx +3 -4
  215. package/deps/couchbase-cxx-client/core/protocol/cmd_get_cluster_config.cxx +1 -1
  216. package/deps/couchbase-cxx-client/core/protocol/cmd_get_collections_manifest.cxx +1 -1
  217. package/deps/couchbase-cxx-client/core/protocol/cmd_get_error_map.cxx +1 -1
  218. package/deps/couchbase-cxx-client/core/protocol/cmd_hello.hxx +5 -1
  219. package/deps/couchbase-cxx-client/core/protocol/hello_feature.hxx +8 -1
  220. package/deps/couchbase-cxx-client/core/protocol/hello_feature_fmt.hxx +6 -0
  221. package/deps/couchbase-cxx-client/core/protocol/status.cxx +11 -1
  222. package/deps/couchbase-cxx-client/core/protocol/status.hxx +7 -1
  223. package/deps/couchbase-cxx-client/core/query_context.hxx +79 -0
  224. package/deps/couchbase-cxx-client/core/range_scan_options.cxx +57 -0
  225. package/deps/couchbase-cxx-client/core/range_scan_options.hxx +139 -0
  226. package/deps/couchbase-cxx-client/core/range_scan_orchestrator.cxx +495 -0
  227. package/deps/couchbase-cxx-client/core/range_scan_orchestrator.hxx +54 -0
  228. package/deps/couchbase-cxx-client/core/range_scan_orchestrator_options.hxx +54 -0
  229. package/deps/couchbase-cxx-client/core/resource_units.hxx +26 -0
  230. package/deps/couchbase-cxx-client/core/response_handler.hxx +49 -0
  231. package/deps/couchbase-cxx-client/core/retry_orchestrator.cxx +52 -0
  232. package/deps/couchbase-cxx-client/core/retry_orchestrator.hxx +35 -0
  233. package/deps/couchbase-cxx-client/core/sasl/scram-sha/scram-sha.cc +12 -12
  234. package/deps/couchbase-cxx-client/core/scan_options.hxx +63 -0
  235. package/deps/couchbase-cxx-client/core/scan_result.cxx +71 -0
  236. package/deps/couchbase-cxx-client/core/scan_result.hxx +59 -0
  237. package/deps/couchbase-cxx-client/core/search_query_options.cxx +72 -0
  238. package/deps/couchbase-cxx-client/core/search_query_options.hxx +74 -0
  239. package/deps/couchbase-cxx-client/core/seed_config.cxx +39 -0
  240. package/deps/couchbase-cxx-client/core/seed_config.hxx +39 -0
  241. package/deps/couchbase-cxx-client/core/stats_options.hxx +61 -0
  242. package/deps/couchbase-cxx-client/core/subdoc_options.hxx +124 -0
  243. package/deps/couchbase-cxx-client/core/timeout_defaults.hxx +3 -1
  244. package/deps/couchbase-cxx-client/core/topology/configuration.cxx +10 -9
  245. package/deps/couchbase-cxx-client/core/topology/configuration.hxx +12 -1
  246. package/deps/couchbase-cxx-client/core/topology/error_map_json.hxx +1 -1
  247. package/deps/couchbase-cxx-client/core/tracing/CMakeLists.txt +3 -1
  248. package/deps/couchbase-cxx-client/core/tracing/constants.hxx +13 -1
  249. package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.cxx +21 -6
  250. package/deps/couchbase-cxx-client/core/tracing/threshold_logging_tracer.hxx +2 -2
  251. package/deps/couchbase-cxx-client/core/transactions/active_transaction_record.hxx +2 -2
  252. package/deps/couchbase-cxx-client/core/transactions/async_attempt_context.hxx +14 -7
  253. package/deps/couchbase-cxx-client/core/transactions/atr_cleanup_entry.cxx +60 -71
  254. package/deps/couchbase-cxx-client/core/transactions/attempt_context.hxx +14 -3
  255. package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.cxx +598 -431
  256. package/deps/couchbase-cxx-client/core/transactions/attempt_context_impl.hxx +97 -52
  257. package/deps/couchbase-cxx-client/core/transactions/attempt_context_testing_hooks.hxx +6 -1
  258. package/deps/couchbase-cxx-client/core/transactions/cleanup_testing_hooks.hxx +9 -2
  259. package/deps/couchbase-cxx-client/core/transactions/durability_level.hxx +1 -1
  260. package/deps/couchbase-cxx-client/core/transactions/error_class.hxx +35 -0
  261. package/deps/couchbase-cxx-client/core/transactions/exceptions.cxx +13 -0
  262. package/deps/couchbase-cxx-client/core/transactions/exceptions.hxx +36 -25
  263. package/deps/couchbase-cxx-client/core/transactions/forward_compat.hxx +6 -5
  264. package/deps/couchbase-cxx-client/core/transactions/internal/atr_cleanup_entry.hxx +51 -13
  265. package/deps/couchbase-cxx-client/core/transactions/internal/client_record.hxx +26 -1
  266. package/deps/couchbase-cxx-client/core/transactions/internal/doc_record.hxx +21 -0
  267. package/deps/couchbase-cxx-client/core/transactions/internal/exceptions_internal.hxx +1 -15
  268. package/deps/couchbase-cxx-client/core/transactions/internal/logging.hxx +40 -18
  269. package/deps/couchbase-cxx-client/core/transactions/internal/transaction_context.hxx +13 -11
  270. package/deps/couchbase-cxx-client/core/transactions/internal/transactions_cleanup.hxx +21 -9
  271. package/deps/couchbase-cxx-client/core/transactions/internal/utils.hxx +16 -8
  272. package/deps/couchbase-cxx-client/core/transactions/result.hxx +26 -0
  273. package/deps/couchbase-cxx-client/core/transactions/staged_mutation.cxx +51 -47
  274. package/deps/couchbase-cxx-client/core/transactions/staged_mutation.hxx +6 -6
  275. package/deps/couchbase-cxx-client/core/transactions/transaction_context.cxx +51 -27
  276. package/deps/couchbase-cxx-client/core/transactions/transaction_get_result.hxx +18 -2
  277. package/deps/couchbase-cxx-client/core/transactions/transaction_links.hxx +25 -2
  278. package/deps/couchbase-cxx-client/core/transactions/transaction_options.cxx +38 -0
  279. package/deps/couchbase-cxx-client/core/transactions/transactions.cxx +20 -16
  280. package/deps/couchbase-cxx-client/core/transactions/transactions_cleanup.cxx +158 -164
  281. package/deps/couchbase-cxx-client/core/transactions/transactions_config.cxx +81 -0
  282. package/deps/couchbase-cxx-client/core/transactions/utils.cxx +11 -0
  283. package/deps/couchbase-cxx-client/core/transactions/waitable_op_list.hxx +7 -3
  284. package/deps/couchbase-cxx-client/core/transactions.hxx +15 -26
  285. package/deps/couchbase-cxx-client/core/utils/binary.hxx +1 -1
  286. package/deps/couchbase-cxx-client/core/utils/connection_string.cxx +17 -8
  287. package/deps/couchbase-cxx-client/core/utils/crc32.hxx +6 -0
  288. package/deps/couchbase-cxx-client/core/utils/json.cxx +2 -2
  289. package/deps/couchbase-cxx-client/core/utils/keyspace.hxx +55 -0
  290. package/deps/couchbase-cxx-client/core/utils/unsigned_leb128.hxx +19 -17
  291. package/deps/couchbase-cxx-client/core/utils/url_codec.cxx +1 -1
  292. package/deps/couchbase-cxx-client/core/view_query_options.cxx +72 -0
  293. package/deps/couchbase-cxx-client/core/view_query_options.hxx +78 -0
  294. package/deps/couchbase-cxx-client/core/wait_until_ready_options.hxx +52 -0
  295. package/deps/couchbase-cxx-client/couchbase/append_options.hxx +2 -2
  296. package/deps/couchbase-cxx-client/couchbase/best_effort_retry_strategy.hxx +64 -0
  297. package/deps/couchbase-cxx-client/couchbase/build_query_index_options.hxx +12 -45
  298. package/deps/couchbase-cxx-client/couchbase/cluster.hxx +24 -5
  299. package/deps/couchbase-cxx-client/couchbase/cluster_options.hxx +45 -8
  300. package/deps/couchbase-cxx-client/couchbase/codec/json_transcoder.hxx +1 -1
  301. package/deps/couchbase-cxx-client/couchbase/collection.hxx +8 -0
  302. package/deps/couchbase-cxx-client/couchbase/collection_query_index_manager.hxx +218 -0
  303. package/deps/couchbase-cxx-client/couchbase/common_options.hxx +21 -1
  304. package/deps/couchbase-cxx-client/couchbase/configuration_profile.hxx +13 -1
  305. package/deps/couchbase-cxx-client/couchbase/configuration_profiles_registry.hxx +26 -0
  306. package/deps/couchbase-cxx-client/couchbase/create_primary_query_index_options.hxx +166 -0
  307. package/deps/couchbase-cxx-client/couchbase/create_query_index_options.hxx +172 -0
  308. package/deps/couchbase-cxx-client/couchbase/decrement_options.hxx +2 -1
  309. package/deps/couchbase-cxx-client/couchbase/drop_primary_query_index_options.hxx +129 -0
  310. package/deps/couchbase-cxx-client/couchbase/drop_query_index_options.hxx +116 -0
  311. package/deps/couchbase-cxx-client/couchbase/error_codes.hxx +46 -0
  312. package/deps/couchbase-cxx-client/couchbase/error_context.hxx +3 -3
  313. package/deps/couchbase-cxx-client/couchbase/fail_fast_retry_strategy.hxx +37 -0
  314. package/deps/couchbase-cxx-client/couchbase/fmt/cas.hxx +1 -1
  315. package/deps/couchbase-cxx-client/couchbase/fmt/key_value_status_code.hxx +16 -0
  316. package/deps/couchbase-cxx-client/couchbase/fmt/query_scan_consistency.hxx +46 -0
  317. package/deps/couchbase-cxx-client/couchbase/fmt/query_status.hxx +70 -0
  318. package/deps/couchbase-cxx-client/couchbase/fmt/retry_reason.hxx +7 -7
  319. package/deps/couchbase-cxx-client/couchbase/fmt/tls_verify_mode.hxx +46 -0
  320. package/deps/couchbase-cxx-client/couchbase/get_all_query_indexes_options.hxx +100 -0
  321. package/deps/couchbase-cxx-client/couchbase/increment_options.hxx +2 -1
  322. package/deps/couchbase-cxx-client/couchbase/insert_options.hxx +2 -1
  323. package/deps/couchbase-cxx-client/couchbase/key_value_error_context.hxx +2 -2
  324. package/deps/couchbase-cxx-client/couchbase/key_value_status_code.hxx +15 -1
  325. package/deps/couchbase-cxx-client/couchbase/lookup_in_options.hxx +2 -1
  326. package/deps/couchbase-cxx-client/{core → couchbase}/management/query_index.hxx +2 -2
  327. package/deps/couchbase-cxx-client/couchbase/manager_error_context.hxx +2 -2
  328. package/deps/couchbase-cxx-client/couchbase/metrics/meter.hxx +16 -0
  329. package/deps/couchbase-cxx-client/couchbase/mutate_in_options.hxx +2 -3
  330. package/deps/couchbase-cxx-client/couchbase/prepend_options.hxx +2 -1
  331. package/deps/couchbase-cxx-client/couchbase/query_error_context.hxx +1 -1
  332. package/deps/couchbase-cxx-client/couchbase/query_index_manager.hxx +178 -6
  333. package/deps/couchbase-cxx-client/couchbase/query_options.hxx +21 -18
  334. package/deps/couchbase-cxx-client/couchbase/query_result.hxx +0 -1
  335. package/deps/couchbase-cxx-client/couchbase/remove_options.hxx +2 -1
  336. package/deps/couchbase-cxx-client/couchbase/replace_options.hxx +2 -1
  337. package/deps/couchbase-cxx-client/couchbase/retry_action.hxx +41 -0
  338. package/deps/couchbase-cxx-client/couchbase/retry_reason.hxx +14 -8
  339. package/deps/couchbase-cxx-client/couchbase/retry_request.hxx +39 -0
  340. package/deps/couchbase-cxx-client/couchbase/retry_strategy.hxx +35 -0
  341. package/deps/couchbase-cxx-client/couchbase/scope.hxx +5 -2
  342. package/deps/couchbase-cxx-client/couchbase/subdocument_error_context.hxx +1 -1
  343. package/deps/couchbase-cxx-client/couchbase/tracing/request_tracer.hxx +16 -0
  344. package/deps/couchbase-cxx-client/couchbase/transaction_op_error_context.hxx +33 -7
  345. package/deps/couchbase-cxx-client/couchbase/transactions/async_attempt_context.hxx +24 -6
  346. package/deps/couchbase-cxx-client/couchbase/transactions/attempt_context.hxx +18 -6
  347. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_keyspace.hxx +50 -1
  348. package/deps/couchbase-cxx-client/couchbase/transactions/{per_transaction_config.hxx → transaction_options.hxx} +30 -33
  349. package/deps/couchbase-cxx-client/{core → couchbase}/transactions/transaction_query_options.hxx +51 -35
  350. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_query_result.hxx +55 -0
  351. package/deps/couchbase-cxx-client/couchbase/transactions/transactions_cleanup_config.hxx +140 -0
  352. package/deps/couchbase-cxx-client/couchbase/transactions/transactions_config.hxx +255 -0
  353. package/deps/couchbase-cxx-client/couchbase/transactions/transactions_query_config.hxx +61 -0
  354. package/deps/couchbase-cxx-client/couchbase/transactions.hxx +3 -3
  355. package/deps/couchbase-cxx-client/couchbase/upsert_options.hxx +2 -1
  356. package/deps/couchbase-cxx-client/couchbase/watch_query_indexes_options.hxx +115 -0
  357. package/deps/couchbase-cxx-client/examples/CMakeLists.txt +10 -0
  358. package/deps/couchbase-cxx-client/examples/async_game_server.cxx +314 -0
  359. package/deps/couchbase-cxx-client/examples/channels.cxx +50 -0
  360. package/deps/couchbase-cxx-client/examples/distributed_mutex.cxx +186 -0
  361. package/deps/couchbase-cxx-client/examples/game_server.cxx +81 -102
  362. package/deps/couchbase-cxx-client/examples/minimal.cxx +3 -1
  363. package/deps/couchbase-cxx-client/test/CMakeLists.txt +1 -0
  364. package/deps/couchbase-cxx-client/test/test_helper.hxx +5 -0
  365. package/deps/couchbase-cxx-client/test/test_integration_analytics.cxx +3 -3
  366. package/deps/couchbase-cxx-client/test/test_integration_collections.cxx +2 -2
  367. package/deps/couchbase-cxx-client/test/test_integration_connect.cxx +12 -6
  368. package/deps/couchbase-cxx-client/test/test_integration_crud.cxx +79 -5
  369. package/deps/couchbase-cxx-client/test/test_integration_management.cxx +795 -320
  370. package/deps/couchbase-cxx-client/test/test_integration_query.cxx +89 -8
  371. package/deps/couchbase-cxx-client/test/test_integration_range_scan.cxx +1067 -0
  372. package/deps/couchbase-cxx-client/test/test_integration_transcoders.cxx +14 -0
  373. package/deps/couchbase-cxx-client/test/test_transaction_transaction_context.cxx +236 -110
  374. package/deps/couchbase-cxx-client/test/test_transaction_transaction_public_async_api.cxx +217 -76
  375. package/deps/couchbase-cxx-client/test/test_transaction_transaction_public_blocking_api.cxx +538 -147
  376. package/deps/couchbase-cxx-client/test/test_transaction_transaction_simple.cxx +467 -514
  377. package/deps/couchbase-cxx-client/test/test_transaction_transaction_simple_async.cxx +415 -330
  378. package/deps/couchbase-cxx-client/test/test_unit_connection_string.cxx +4 -0
  379. package/deps/couchbase-cxx-client/test/test_unit_transaction_logging.cxx +66 -29
  380. package/deps/couchbase-cxx-client/test/test_unit_transaction_utils.cxx +0 -2
  381. package/deps/couchbase-cxx-client/test/test_unit_utils.cxx +124 -8
  382. package/deps/couchbase-cxx-client/test/tools/tool_kv_loader.cxx +140 -65
  383. package/deps/couchbase-cxx-client/test/utils/integration_shortcuts.cxx +3 -3
  384. package/deps/couchbase-cxx-client/test/utils/integration_test_guard.cxx +47 -10
  385. package/deps/couchbase-cxx-client/test/utils/integration_test_guard.hxx +13 -3
  386. package/deps/couchbase-cxx-client/test/utils/test_context.cxx +8 -0
  387. package/deps/couchbase-cxx-client/test/utils/test_context.hxx +2 -0
  388. package/deps/couchbase-cxx-client/test/utils/wait_until.cxx +37 -1
  389. package/deps/couchbase-cxx-client/test/utils/wait_until.hxx +8 -1
  390. package/deps/couchbase-cxx-client/third_party/asio/.cirrus.yml +2 -2
  391. package/deps/couchbase-cxx-client/third_party/asio/asio/COPYING +1 -1
  392. package/deps/couchbase-cxx-client/third_party/asio/asio/Makefile.am +2 -0
  393. package/deps/couchbase-cxx-client/third_party/asio/asio/README +2 -2
  394. package/deps/couchbase-cxx-client/third_party/asio/asio/asio.manifest +373 -102
  395. package/deps/couchbase-cxx-client/third_party/asio/asio/asio.pc.in +11 -0
  396. package/deps/couchbase-cxx-client/third_party/asio/asio/boost_asio.manifest +440 -104
  397. package/deps/couchbase-cxx-client/third_party/asio/asio/boostify.pl +37 -3
  398. package/deps/couchbase-cxx-client/third_party/asio/asio/configure.ac +6 -2
  399. package/deps/couchbase-cxx-client/third_party/asio/asio/include/Makefile.am +13 -5
  400. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/any_io_executor.hpp +4 -2
  401. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/append.hpp +78 -0
  402. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/as_tuple.hpp +139 -0
  403. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/associated_allocator.hpp +4 -4
  404. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/associated_cancellation_slot.hpp +4 -3
  405. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/associated_executor.hpp +4 -4
  406. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/associator.hpp +1 -1
  407. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/async_result.hpp +357 -1
  408. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/awaitable.hpp +10 -1
  409. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_datagram_socket.hpp +208 -115
  410. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_deadline_timer.hpp +28 -16
  411. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_file.hpp +2 -2
  412. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_io_object.hpp +1 -1
  413. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_random_access_file.hpp +51 -27
  414. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_raw_socket.hpp +210 -117
  415. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_readable_pipe.hpp +127 -15
  416. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_seq_packet_socket.hpp +84 -47
  417. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_serial_port.hpp +120 -27
  418. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_signal_set.hpp +36 -14
  419. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_socket.hpp +50 -26
  420. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_socket_acceptor.hpp +295 -150
  421. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_socket_iostream.hpp +1 -1
  422. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_socket_streambuf.hpp +1 -1
  423. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_stream_file.hpp +51 -27
  424. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_stream_socket.hpp +153 -84
  425. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_streambuf.hpp +1 -1
  426. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_streambuf_fwd.hpp +1 -1
  427. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_waitable_timer.hpp +28 -16
  428. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/basic_writable_pipe.hpp +127 -15
  429. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/bind_allocator.hpp +722 -0
  430. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/bind_cancellation_slot.hpp +11 -8
  431. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/bind_executor.hpp +36 -20
  432. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffer.hpp +222 -42
  433. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffer_registration.hpp +2 -1
  434. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_read_stream.hpp +38 -6
  435. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_read_stream_fwd.hpp +1 -1
  436. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_stream.hpp +34 -5
  437. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_stream_fwd.hpp +1 -1
  438. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_write_stream.hpp +38 -6
  439. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffered_write_stream_fwd.hpp +1 -1
  440. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/buffers_iterator.hpp +1 -1
  441. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/cancellation_signal.hpp +1 -1
  442. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/cancellation_state.hpp +1 -1
  443. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/cancellation_type.hpp +1 -1
  444. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/co_spawn.hpp +33 -9
  445. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/completion_condition.hpp +1 -1
  446. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/compose.hpp +682 -12
  447. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/connect.hpp +132 -61
  448. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/connect_pipe.hpp +1 -1
  449. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/coroutine.hpp +1 -1
  450. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/deadline_timer.hpp +1 -1
  451. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/defer.hpp +128 -42
  452. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/deferred.hpp +675 -0
  453. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detached.hpp +6 -5
  454. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/array.hpp +1 -1
  455. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/array_fwd.hpp +1 -1
  456. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/assert.hpp +1 -1
  457. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/atomic_count.hpp +1 -1
  458. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/base_from_cancellation_state.hpp +1 -1
  459. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/base_from_completion_cond.hpp +1 -1
  460. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/bind_handler.hpp +1 -1
  461. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/blocking_executor_op.hpp +1 -1
  462. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/buffer_resize_guard.hpp +1 -1
  463. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +1 -1
  464. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/buffered_stream_storage.hpp +1 -1
  465. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/bulk_executor_op.hpp +1 -1
  466. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/call_stack.hpp +1 -1
  467. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/chrono.hpp +1 -1
  468. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/chrono_time_traits.hpp +1 -1
  469. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/completion_handler.hpp +1 -1
  470. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/concurrency_hint.hpp +1 -1
  471. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +1 -1
  472. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/conditionally_enabled_mutex.hpp +1 -1
  473. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/config.hpp +201 -11
  474. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/consuming_buffers.hpp +1 -1
  475. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/cstddef.hpp +1 -1
  476. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/cstdint.hpp +1 -1
  477. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/date_time_fwd.hpp +1 -1
  478. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/deadline_timer_service.hpp +1 -1
  479. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/dependent_type.hpp +1 -1
  480. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/descriptor_ops.hpp +2 -2
  481. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/descriptor_read_op.hpp +3 -1
  482. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/descriptor_write_op.hpp +3 -1
  483. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/dev_poll_reactor.hpp +1 -1
  484. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/epoll_reactor.hpp +1 -1
  485. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/event.hpp +1 -1
  486. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/eventfd_select_interrupter.hpp +1 -1
  487. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/exception.hpp +40 -0
  488. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/executor_function.hpp +1 -1
  489. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/executor_op.hpp +1 -1
  490. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/fd_set_adapter.hpp +1 -1
  491. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/fenced_block.hpp +1 -1
  492. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/functional.hpp +1 -1
  493. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/future.hpp +1 -1
  494. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/gcc_arm_fenced_block.hpp +1 -1
  495. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/gcc_hppa_fenced_block.hpp +1 -1
  496. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/gcc_sync_fenced_block.hpp +1 -1
  497. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/gcc_x86_fenced_block.hpp +2 -2
  498. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/global.hpp +1 -1
  499. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +1 -1
  500. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_cont_helpers.hpp +1 -1
  501. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_invoke_helpers.hpp +1 -1
  502. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_tracking.hpp +1 -1
  503. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_type_requirements.hpp +1 -1
  504. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/handler_work.hpp +1 -1
  505. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/hash_map.hpp +1 -1
  506. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/buffer_sequence_adapter.ipp +1 -1
  507. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +9 -9
  508. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/dev_poll_reactor.hpp +1 -1
  509. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/dev_poll_reactor.ipp +1 -1
  510. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/epoll_reactor.hpp +1 -1
  511. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/epoll_reactor.ipp +1 -1
  512. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp +1 -1
  513. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/handler_tracking.ipp +1 -1
  514. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_descriptor_service.ipp +4 -1
  515. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_file_service.ipp +10 -1
  516. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_service.hpp +1 -1
  517. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_service.ipp +8 -7
  518. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/io_uring_socket_service_base.ipp +1 -1
  519. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/kqueue_reactor.hpp +1 -1
  520. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/kqueue_reactor.ipp +1 -1
  521. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/null_event.ipp +1 -1
  522. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/pipe_select_interrupter.ipp +1 -1
  523. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_event.ipp +1 -1
  524. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_mutex.ipp +1 -1
  525. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_serial_port_service.ipp +21 -2
  526. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_thread.ipp +1 -1
  527. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp +1 -1
  528. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +6 -1
  529. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +3 -3
  530. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +1 -1
  531. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/scheduler.ipp +1 -1
  532. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/select_reactor.hpp +1 -1
  533. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/select_reactor.ipp +36 -1
  534. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/service_registry.hpp +1 -1
  535. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/service_registry.ipp +1 -1
  536. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/signal_set_service.ipp +28 -1
  537. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/socket_ops.ipp +126 -121
  538. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/socket_select_interrupter.ipp +4 -4
  539. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +1 -1
  540. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/strand_executor_service.ipp +1 -1
  541. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/strand_service.hpp +1 -1
  542. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/strand_service.ipp +1 -1
  543. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/thread_context.ipp +1 -1
  544. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/throw_error.ipp +13 -9
  545. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +1 -1
  546. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/timer_queue_set.ipp +1 -1
  547. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_event.ipp +1 -1
  548. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_file_service.ipp +21 -7
  549. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_handle_service.ipp +94 -1
  550. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +1 -1
  551. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +1 -1
  552. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp +9 -1
  553. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +11 -11
  554. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_mutex.ipp +1 -1
  555. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_object_handle_service.ipp +5 -1
  556. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_static_mutex.ipp +1 -1
  557. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_thread.ipp +1 -1
  558. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/win_tss_ptr.ipp +1 -1
  559. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +4 -4
  560. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.hpp +1 -1
  561. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.ipp +1 -1
  562. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/impl/winsock_init.ipp +1 -1
  563. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_control.hpp +1 -1
  564. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_object_impl.hpp +11 -2
  565. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_read_at_op.hpp +3 -1
  566. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_read_op.hpp +3 -1
  567. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_service.hpp +26 -8
  568. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_write_at_op.hpp +3 -1
  569. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_descriptor_write_op.hpp +3 -1
  570. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_file_service.hpp +12 -1
  571. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_null_buffers_op.hpp +3 -1
  572. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_operation.hpp +1 -1
  573. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_service.hpp +2 -2
  574. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_accept_op.hpp +5 -1
  575. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_connect_op.hpp +3 -1
  576. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_recv_op.hpp +3 -1
  577. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_recvfrom_op.hpp +4 -2
  578. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_recvmsg_op.hpp +3 -1
  579. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_send_op.hpp +3 -1
  580. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_sendto_op.hpp +3 -1
  581. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_service.hpp +31 -13
  582. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_socket_service_base.hpp +1 -1
  583. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/io_uring_wait_op.hpp +3 -1
  584. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/is_buffer_sequence.hpp +1 -1
  585. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/is_executor.hpp +1 -1
  586. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/keyword_tss_ptr.hpp +1 -1
  587. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/kqueue_reactor.hpp +1 -1
  588. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/local_free_on_block_exit.hpp +1 -1
  589. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/macos_fenced_block.hpp +1 -1
  590. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/memory.hpp +17 -1
  591. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/mutex.hpp +1 -1
  592. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/non_const_lvalue.hpp +1 -1
  593. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/noncopyable.hpp +1 -1
  594. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_event.hpp +1 -1
  595. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_fenced_block.hpp +1 -1
  596. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_global.hpp +1 -1
  597. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_mutex.hpp +1 -1
  598. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_reactor.hpp +1 -1
  599. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_signal_blocker.hpp +1 -1
  600. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_socket_service.hpp +1 -1
  601. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_static_mutex.hpp +1 -1
  602. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_thread.hpp +1 -1
  603. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/null_tss_ptr.hpp +1 -1
  604. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/object_pool.hpp +1 -1
  605. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/old_win_sdk_compat.hpp +1 -1
  606. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/op_queue.hpp +1 -1
  607. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/operation.hpp +1 -1
  608. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/pipe_select_interrupter.hpp +1 -1
  609. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/pop_options.hpp +5 -1
  610. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_event.hpp +1 -1
  611. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_fd_set_adapter.hpp +1 -1
  612. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_global.hpp +1 -1
  613. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_mutex.hpp +1 -1
  614. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_serial_port_service.hpp +2 -1
  615. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_signal_blocker.hpp +1 -1
  616. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_static_mutex.hpp +1 -1
  617. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_thread.hpp +1 -1
  618. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/posix_tss_ptr.hpp +1 -1
  619. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/push_options.hpp +11 -2
  620. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +26 -7
  621. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +1 -1
  622. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +5 -1
  623. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +3 -1
  624. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +3 -1
  625. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +3 -1
  626. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +3 -1
  627. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +3 -1
  628. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +3 -1
  629. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_service.hpp +38 -12
  630. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +2 -3
  631. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactive_wait_op.hpp +1 -1
  632. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactor.hpp +1 -1
  633. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactor_op.hpp +1 -1
  634. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/reactor_op_queue.hpp +1 -1
  635. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/recycling_allocator.hpp +1 -1
  636. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/regex_fwd.hpp +1 -1
  637. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +1 -1
  638. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolve_op.hpp +1 -1
  639. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolve_query_op.hpp +1 -1
  640. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolver_service.hpp +3 -1
  641. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/resolver_service_base.hpp +1 -1
  642. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler.hpp +1 -1
  643. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler_operation.hpp +1 -1
  644. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler_task.hpp +1 -1
  645. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scheduler_thread_info.hpp +1 -1
  646. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scoped_lock.hpp +1 -1
  647. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/scoped_ptr.hpp +1 -1
  648. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/select_interrupter.hpp +1 -1
  649. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/select_reactor.hpp +23 -1
  650. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/service_registry.hpp +1 -1
  651. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_blocker.hpp +1 -1
  652. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_handler.hpp +1 -1
  653. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_init.hpp +1 -1
  654. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_op.hpp +5 -1
  655. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/signal_set_service.hpp +43 -1
  656. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_holder.hpp +1 -1
  657. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_ops.hpp +37 -45
  658. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_option.hpp +1 -1
  659. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_select_interrupter.hpp +1 -1
  660. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/socket_types.hpp +1 -1
  661. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/solaris_fenced_block.hpp +1 -1
  662. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/source_location.hpp +1 -1
  663. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/static_mutex.hpp +1 -1
  664. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_event.hpp +1 -1
  665. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_fenced_block.hpp +1 -1
  666. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_global.hpp +1 -1
  667. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_mutex.hpp +1 -1
  668. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_static_mutex.hpp +1 -1
  669. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/std_thread.hpp +1 -1
  670. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/strand_executor_service.hpp +1 -1
  671. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/strand_service.hpp +1 -1
  672. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/string_view.hpp +1 -1
  673. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/thread.hpp +1 -1
  674. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/thread_context.hpp +1 -1
  675. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/thread_group.hpp +1 -1
  676. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/thread_info_base.hpp +1 -1
  677. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/throw_error.hpp +18 -9
  678. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/throw_exception.hpp +7 -3
  679. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_queue.hpp +1 -1
  680. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_queue_base.hpp +1 -1
  681. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_queue_ptime.hpp +1 -1
  682. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_queue_set.hpp +1 -1
  683. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_scheduler.hpp +1 -1
  684. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/timer_scheduler_fwd.hpp +1 -1
  685. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/tss_ptr.hpp +1 -1
  686. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/type_traits.hpp +9 -1
  687. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/utility.hpp +84 -0
  688. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/variadic_templates.hpp +1 -1
  689. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wait_handler.hpp +1 -1
  690. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wait_op.hpp +1 -1
  691. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_event.hpp +1 -1
  692. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_fd_set_adapter.hpp +1 -1
  693. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_fenced_block.hpp +1 -1
  694. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_global.hpp +1 -1
  695. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_file_service.hpp +8 -1
  696. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +3 -1
  697. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +29 -1
  698. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +6 -2
  699. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_io_context.hpp +1 -1
  700. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +3 -1
  701. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_operation.hpp +1 -1
  702. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +6 -2
  703. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +1 -1
  704. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_serial_port_service.hpp +2 -1
  705. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +5 -1
  706. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +3 -1
  707. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +3 -1
  708. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +3 -1
  709. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +3 -1
  710. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +3 -1
  711. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +32 -8
  712. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +6 -8
  713. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_thread_info.hpp +1 -1
  714. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +3 -1
  715. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_mutex.hpp +1 -1
  716. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_object_handle_service.hpp +1 -1
  717. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_static_mutex.hpp +1 -1
  718. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_thread.hpp +1 -1
  719. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/win_tss_ptr.hpp +1 -1
  720. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winapp_thread.hpp +1 -1
  721. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wince_thread.hpp +1 -1
  722. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_async_manager.hpp +1 -1
  723. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_async_op.hpp +1 -1
  724. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_resolve_op.hpp +1 -1
  725. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_resolver_service.hpp +1 -1
  726. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +1 -1
  727. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +1 -1
  728. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +1 -1
  729. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +1 -1
  730. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +1 -1
  731. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_timer_scheduler.hpp +1 -1
  732. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winrt_utils.hpp +1 -1
  733. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/winsock_init.hpp +1 -1
  734. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/work_dispatcher.hpp +4 -2
  735. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/detail/wrapped_handler.hpp +1 -1
  736. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/dispatch.hpp +126 -42
  737. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/error.hpp +36 -1
  738. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/error_code.hpp +1 -1
  739. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/allocator.hpp +1 -1
  740. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/any_executor.hpp +1 -1
  741. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/bad_executor.hpp +1 -1
  742. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/blocking.hpp +1 -1
  743. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/blocking_adaptation.hpp +1 -1
  744. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/bulk_execute.hpp +1 -1
  745. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/bulk_guarantee.hpp +1 -1
  746. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/connect.hpp +1 -1
  747. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/context.hpp +1 -1
  748. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/context_as.hpp +1 -1
  749. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/as_invocable.hpp +1 -1
  750. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/as_operation.hpp +1 -1
  751. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/as_receiver.hpp +1 -1
  752. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/bulk_sender.hpp +1 -1
  753. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/submit_receiver.hpp +1 -1
  754. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/detail/void_receiver.hpp +1 -1
  755. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/execute.hpp +1 -1
  756. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/executor.hpp +1 -1
  757. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/impl/bad_executor.ipp +1 -1
  758. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/impl/receiver_invocation_error.ipp +1 -1
  759. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/invocable_archetype.hpp +1 -1
  760. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/mapping.hpp +1 -1
  761. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/occupancy.hpp +1 -1
  762. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/operation_state.hpp +1 -1
  763. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/outstanding_work.hpp +1 -1
  764. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/prefer_only.hpp +1 -1
  765. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/receiver.hpp +1 -1
  766. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/receiver_invocation_error.hpp +1 -1
  767. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/relationship.hpp +1 -1
  768. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/schedule.hpp +1 -1
  769. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/scheduler.hpp +1 -1
  770. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/sender.hpp +1 -1
  771. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/set_done.hpp +1 -1
  772. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/set_error.hpp +1 -1
  773. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/set_value.hpp +1 -1
  774. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/start.hpp +1 -1
  775. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution/submit.hpp +1 -1
  776. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution.hpp +1 -1
  777. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/execution_context.hpp +1 -1
  778. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/executor.hpp +1 -1
  779. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/executor_work_guard.hpp +100 -32
  780. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/append.hpp +6 -41
  781. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/as_single.hpp +6 -5
  782. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/as_tuple.hpp +6 -101
  783. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/awaitable_operators.hpp +14 -14
  784. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/basic_channel.hpp +78 -2
  785. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/basic_concurrent_channel.hpp +69 -2
  786. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/cancellation_condition.hpp +1 -1
  787. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/channel.hpp +1 -1
  788. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/channel_error.hpp +1 -1
  789. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/channel_traits.hpp +1 -1
  790. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/co_spawn.hpp +12 -16
  791. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/concurrent_channel.hpp +1 -1
  792. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/coro.hpp +4 -4
  793. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/coro_traits.hpp +2 -2
  794. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/deferred.hpp +6 -575
  795. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_handler.hpp +1 -1
  796. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_message.hpp +1 -1
  797. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_operation.hpp +1 -1
  798. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_payload.hpp +1 -1
  799. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_receive_op.hpp +1 -1
  800. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_send_functions.hpp +2 -1
  801. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_send_op.hpp +1 -1
  802. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/channel_service.hpp +1 -1
  803. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/completion_handler_erasure.hpp +82 -46
  804. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/coro_promise_allocator.hpp +2 -2
  805. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/has_signature.hpp +1 -1
  806. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/impl/channel_service.hpp +6 -8
  807. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/detail/partial_promise.hpp +2 -2
  808. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/as_single.hpp +1 -1
  809. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/channel_error.ipp +1 -1
  810. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/coro.hpp +47 -56
  811. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/parallel_group.hpp +14 -28
  812. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/promise.hpp +2 -2
  813. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/impl/use_coro.hpp +3 -2
  814. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/parallel_group.hpp +27 -37
  815. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/prepend.hpp +6 -41
  816. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/promise.hpp +23 -405
  817. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/experimental/use_coro.hpp +5 -5
  818. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/file_base.hpp +9 -3
  819. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/basic_endpoint.hpp +1 -1
  820. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/datagram_protocol.hpp +1 -1
  821. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/detail/endpoint.hpp +1 -1
  822. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/detail/impl/endpoint.ipp +1 -1
  823. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/raw_protocol.hpp +1 -1
  824. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/seq_packet_protocol.hpp +1 -1
  825. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/generic/stream_protocol.hpp +1 -1
  826. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/handler_alloc_hook.hpp +1 -1
  827. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/handler_continuation_hook.hpp +1 -1
  828. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/handler_invoke_hook.hpp +1 -1
  829. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/high_resolution_timer.hpp +1 -1
  830. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/any_io_executor.ipp +6 -1
  831. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/{experimental/impl → impl}/append.hpp +18 -19
  832. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/{experimental/impl → impl}/as_tuple.hpp +13 -15
  833. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/awaitable.hpp +400 -5
  834. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/buffered_read_stream.hpp +13 -3
  835. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/buffered_write_stream.hpp +13 -3
  836. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/cancellation_signal.ipp +1 -1
  837. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/co_spawn.hpp +71 -7
  838. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/connect.hpp +63 -31
  839. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/connect_pipe.hpp +1 -1
  840. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/connect_pipe.ipp +2 -2
  841. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/defer.hpp +23 -13
  842. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/{experimental/impl → impl}/deferred.hpp +31 -40
  843. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/detached.hpp +1 -1
  844. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/dispatch.hpp +23 -13
  845. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/error.ipp +1 -1
  846. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/error_code.ipp +1 -1
  847. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/execution_context.hpp +1 -1
  848. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/execution_context.ipp +1 -1
  849. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/executor.hpp +1 -1
  850. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/executor.ipp +1 -1
  851. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/handler_alloc_hook.ipp +1 -1
  852. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/io_context.hpp +9 -3
  853. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/io_context.ipp +1 -1
  854. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/multiple_exceptions.ipp +1 -1
  855. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/post.hpp +23 -13
  856. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/{experimental/impl → impl}/prepend.hpp +16 -17
  857. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/read.hpp +97 -51
  858. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/read_at.hpp +51 -31
  859. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/read_until.hpp +119 -59
  860. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/redirect_error.hpp +1 -1
  861. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/serial_port_base.hpp +1 -1
  862. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/serial_port_base.ipp +1 -1
  863. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/spawn.hpp +1321 -277
  864. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/src.hpp +1 -1
  865. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/system_context.hpp +1 -1
  866. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/system_context.ipp +1 -1
  867. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/system_executor.hpp +1 -1
  868. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/thread_pool.hpp +1 -1
  869. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/thread_pool.ipp +1 -1
  870. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/use_awaitable.hpp +18 -8
  871. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/use_future.hpp +1 -1
  872. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/write.hpp +95 -50
  873. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/write_at.hpp +53 -31
  874. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/io_context.hpp +25 -38
  875. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/io_context_strand.hpp +15 -3
  876. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/io_service.hpp +1 -1
  877. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/io_service_strand.hpp +1 -1
  878. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address.hpp +1 -1
  879. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v4.hpp +75 -1
  880. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v4_iterator.hpp +1 -1
  881. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v4_range.hpp +1 -1
  882. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v6.hpp +35 -1
  883. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v6_iterator.hpp +1 -1
  884. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/address_v6_range.hpp +1 -1
  885. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/bad_address_cast.hpp +1 -1
  886. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_endpoint.hpp +1 -1
  887. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver.hpp +130 -64
  888. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver_entry.hpp +1 -1
  889. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +1 -1
  890. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver_query.hpp +1 -1
  891. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/basic_resolver_results.hpp +1 -1
  892. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/detail/endpoint.hpp +1 -1
  893. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +1 -1
  894. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/detail/socket_option.hpp +1 -1
  895. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/host_name.hpp +1 -1
  896. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/icmp.hpp +1 -1
  897. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address.hpp +1 -1
  898. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address.ipp +1 -1
  899. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address_v4.hpp +1 -1
  900. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address_v4.ipp +1 -1
  901. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address_v6.hpp +1 -1
  902. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/address_v6.ipp +1 -1
  903. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/basic_endpoint.hpp +1 -1
  904. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/host_name.ipp +1 -1
  905. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/network_v4.hpp +1 -1
  906. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/network_v4.ipp +1 -1
  907. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/network_v6.hpp +1 -1
  908. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/impl/network_v6.ipp +1 -1
  909. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/multicast.hpp +1 -1
  910. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/network_v4.hpp +1 -1
  911. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/network_v6.hpp +1 -1
  912. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/resolver_base.hpp +1 -1
  913. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/resolver_query_base.hpp +1 -1
  914. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/tcp.hpp +1 -1
  915. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/udp.hpp +1 -1
  916. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/unicast.hpp +1 -1
  917. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ip/v6_only.hpp +2 -2
  918. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_applicable_property.hpp +1 -1
  919. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_contiguous_iterator.hpp +45 -0
  920. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_executor.hpp +1 -1
  921. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_read_buffered.hpp +1 -1
  922. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/is_write_buffered.hpp +1 -1
  923. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/basic_endpoint.hpp +1 -1
  924. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/connect_pair.hpp +1 -1
  925. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/datagram_protocol.hpp +1 -1
  926. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/detail/endpoint.hpp +1 -1
  927. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/detail/impl/endpoint.ipp +1 -1
  928. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/local/stream_protocol.hpp +1 -1
  929. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/multiple_exceptions.hpp +1 -1
  930. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/packaged_task.hpp +1 -1
  931. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/placeholders.hpp +1 -1
  932. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/basic_descriptor.hpp +74 -13
  933. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +95 -27
  934. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/descriptor.hpp +1 -1
  935. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/descriptor_base.hpp +1 -1
  936. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/posix/stream_descriptor.hpp +1 -1
  937. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/post.hpp +128 -42
  938. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/prefer.hpp +1 -1
  939. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/prepend.hpp +78 -0
  940. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/query.hpp +1 -1
  941. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/random_access_file.hpp +1 -1
  942. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/read.hpp +245 -153
  943. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/read_at.hpp +110 -53
  944. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/read_until.hpp +301 -166
  945. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/readable_pipe.hpp +1 -1
  946. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/recycling_allocator.hpp +138 -0
  947. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/redirect_error.hpp +3 -3
  948. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/registered_buffer.hpp +1 -1
  949. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/require.hpp +1 -1
  950. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/require_concept.hpp +1 -1
  951. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/serial_port.hpp +1 -1
  952. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/serial_port_base.hpp +1 -1
  953. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/signal_set.hpp +1 -1
  954. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/socket_base.hpp +1 -1
  955. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/spawn.hpp +647 -87
  956. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/context.hpp +4 -1
  957. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/context_base.hpp +1 -1
  958. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +1 -1
  959. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/engine.hpp +4 -1
  960. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/handshake_op.hpp +1 -1
  961. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/impl/engine.ipp +19 -1
  962. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +7 -3
  963. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/io.hpp +1 -1
  964. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/openssl_init.hpp +1 -1
  965. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/openssl_types.hpp +1 -1
  966. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/password_callback.hpp +1 -1
  967. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/read_op.hpp +1 -1
  968. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +1 -1
  969. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/stream_core.hpp +16 -1
  970. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/verify_callback.hpp +1 -1
  971. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/detail/write_op.hpp +1 -1
  972. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/error.hpp +1 -1
  973. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/host_name_verification.hpp +1 -1
  974. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/context.hpp +1 -1
  975. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/context.ipp +140 -64
  976. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/error.ipp +25 -3
  977. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/host_name_verification.ipp +1 -1
  978. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/rfc2818_verification.ipp +1 -1
  979. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/impl/src.hpp +1 -1
  980. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/rfc2818_verification.hpp +1 -1
  981. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/stream.hpp +154 -53
  982. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/stream_base.hpp +1 -1
  983. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/verify_context.hpp +1 -1
  984. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl/verify_mode.hpp +1 -1
  985. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ssl.hpp +1 -1
  986. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/static_thread_pool.hpp +1 -1
  987. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/steady_timer.hpp +1 -1
  988. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/strand.hpp +12 -1
  989. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/stream_file.hpp +1 -1
  990. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/streambuf.hpp +1 -1
  991. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/system_context.hpp +1 -1
  992. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/system_error.hpp +1 -1
  993. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/system_executor.hpp +1 -1
  994. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/system_timer.hpp +1 -1
  995. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/this_coro.hpp +4 -4
  996. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/thread.hpp +1 -1
  997. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/thread_pool.hpp +1 -1
  998. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/time_traits.hpp +1 -1
  999. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/bulk_execute_free.hpp +1 -1
  1000. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/bulk_execute_member.hpp +1 -1
  1001. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/connect_free.hpp +1 -1
  1002. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/connect_member.hpp +1 -1
  1003. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/equality_comparable.hpp +1 -1
  1004. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/execute_free.hpp +1 -1
  1005. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/execute_member.hpp +1 -1
  1006. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/prefer_free.hpp +1 -1
  1007. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/prefer_member.hpp +1 -1
  1008. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/query_free.hpp +1 -1
  1009. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/query_member.hpp +1 -1
  1010. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +1 -1
  1011. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/require_concept_free.hpp +1 -1
  1012. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/require_concept_member.hpp +1 -1
  1013. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/require_free.hpp +1 -1
  1014. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/require_member.hpp +1 -1
  1015. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/schedule_free.hpp +1 -1
  1016. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/schedule_member.hpp +1 -1
  1017. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_done_free.hpp +1 -1
  1018. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_done_member.hpp +1 -1
  1019. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_error_free.hpp +1 -1
  1020. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_error_member.hpp +1 -1
  1021. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_value_free.hpp +1 -1
  1022. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/set_value_member.hpp +1 -1
  1023. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/start_free.hpp +1 -1
  1024. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/start_member.hpp +1 -1
  1025. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/static_query.hpp +1 -1
  1026. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/static_require.hpp +1 -1
  1027. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/static_require_concept.hpp +1 -1
  1028. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/submit_free.hpp +1 -1
  1029. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/traits/submit_member.hpp +1 -1
  1030. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/buffer.hpp +1 -1
  1031. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/executor.hpp +1 -1
  1032. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/internet.hpp +1 -1
  1033. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/io_context.hpp +1 -1
  1034. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/net.hpp +1 -1
  1035. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/netfwd.hpp +1 -1
  1036. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/socket.hpp +1 -1
  1037. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/ts/timer.hpp +1 -1
  1038. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/unyield.hpp +1 -1
  1039. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/use_awaitable.hpp +4 -3
  1040. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/use_future.hpp +10 -7
  1041. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/uses_executor.hpp +1 -1
  1042. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/version.hpp +2 -2
  1043. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/wait_traits.hpp +1 -1
  1044. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/basic_object_handle.hpp +70 -12
  1045. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +100 -1
  1046. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/basic_random_access_handle.hpp +98 -29
  1047. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/basic_stream_handle.hpp +95 -28
  1048. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/object_handle.hpp +1 -1
  1049. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/overlapped_handle.hpp +1 -1
  1050. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/overlapped_ptr.hpp +1 -1
  1051. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/random_access_handle.hpp +1 -1
  1052. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/windows/stream_handle.hpp +1 -1
  1053. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/writable_pipe.hpp +1 -1
  1054. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/write.hpp +242 -150
  1055. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/write_at.hpp +112 -53
  1056. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/yield.hpp +1 -1
  1057. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio.hpp +8 -1
  1058. package/deps/couchbase-cxx-client/third_party/asio/asio/src/Makefile.am +18 -2
  1059. package/deps/couchbase-cxx-client/third_party/asio/asio/src/Makefile.msc +6 -0
  1060. package/deps/couchbase-cxx-client/third_party/asio/asio/src/asio.cpp +1 -1
  1061. package/deps/couchbase-cxx-client/third_party/asio/asio/src/asio_ssl.cpp +1 -1
  1062. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/Jamfile.v2 +20 -1
  1063. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/asio.qbk +4 -3
  1064. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/asioref.xsl +1 -1
  1065. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/doxy2qbk.pl +1 -1
  1066. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/examples.qbk +69 -3
  1067. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/history.qbk +398 -17
  1068. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/index.xml +1 -1
  1069. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/makepdf.pl +1 -1
  1070. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/net_ts.qbk +1 -1
  1071. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/allocation.qbk +13 -7
  1072. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/async.qbk +1 -1
  1073. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/basics.qbk +1 -1
  1074. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/bsd_sockets.qbk +1 -1
  1075. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/buffers.qbk +1 -1
  1076. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/cancellation.qbk +5 -3
  1077. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/channels.qbk +56 -0
  1078. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/compose.qbk +101 -0
  1079. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/concurrency_hint.qbk +9 -4
  1080. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/coro.qbk +72 -10
  1081. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/coroutine.qbk +2 -2
  1082. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/cpp2011.qbk +1 -36
  1083. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/cpp20_coroutines.qbk +70 -58
  1084. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/deferred.qbk +54 -0
  1085. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/files.qbk +49 -0
  1086. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/futures.qbk +41 -0
  1087. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/handler_tracking.qbk +1 -1
  1088. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/implementation.qbk +1 -1
  1089. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/iostreams.qbk +1 -1
  1090. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/line_based.qbk +1 -1
  1091. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/allocators.qbk +65 -0
  1092. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/associators.qbk +78 -0
  1093. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_agent_chain.png +0 -0
  1094. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_agent_model.png +0 -0
  1095. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_agents.qbk +35 -0
  1096. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_child_agent_chain.png +0 -0
  1097. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_op_init_complete.png +0 -0
  1098. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_op_model.png +0 -0
  1099. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_op_phases.png +0 -0
  1100. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_op_trivial_chain.png +0 -0
  1101. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/async_ops.qbk +81 -0
  1102. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/cancellation.qbk +33 -0
  1103. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/child_agents.qbk +56 -0
  1104. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/completion_token_model.png +0 -0
  1105. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/completion_token_transform.png +0 -0
  1106. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/completion_tokens.qbk +239 -0
  1107. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/executors.qbk +55 -0
  1108. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/higher_level_model.png +0 -0
  1109. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/higher_levels.qbk +40 -0
  1110. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model/library_elements.qbk +102 -0
  1111. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/model.qbk +40 -0
  1112. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/other_protocols.qbk +1 -1
  1113. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/parallel_group.qbk +65 -0
  1114. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/pipes.qbk +38 -0
  1115. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/posix.qbk +1 -1
  1116. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/promises.qbk +96 -0
  1117. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/protocols.qbk +1 -1
  1118. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/rationale.qbk +1 -1
  1119. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/reactor.qbk +1 -1
  1120. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/serial_ports.qbk +1 -1
  1121. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/signals.qbk +1 -1
  1122. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/spawn.qbk +7 -10
  1123. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/ssl.qbk +1 -1
  1124. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/strands.qbk +1 -1
  1125. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/streams.qbk +1 -1
  1126. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/threads.qbk +1 -1
  1127. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/timers.qbk +14 -13
  1128. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/token_adapters.qbk +210 -0
  1129. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview/windows.qbk +1 -1
  1130. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/overview.qbk +54 -13
  1131. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/platform_macros.pl +6 -3
  1132. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/platform_macros.qbk +100 -9
  1133. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/quickref.xml +29 -10
  1134. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/reference.dox +4 -0
  1135. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/reference.qbk +10930 -3915
  1136. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/reference.xsl +52 -5
  1137. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AcceptHandler.qbk +1 -58
  1138. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AcceptToken.qbk +99 -0
  1139. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AcceptableProtocol.qbk +1 -1
  1140. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AsyncRandomAccessReadDevice.qbk +1 -1
  1141. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AsyncRandomAccessWriteDevice.qbk +1 -1
  1142. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AsyncReadStream.qbk +1 -1
  1143. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/AsyncWriteStream.qbk +1 -1
  1144. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/BufferedHandshakeHandler.qbk +1 -41
  1145. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/BufferedHandshakeToken.qbk +111 -0
  1146. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/CancellationHandler.qbk +1 -1
  1147. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/CancellationSlot.qbk +1 -1
  1148. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/CompletionCondition.qbk +1 -1
  1149. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ConnectCondition.qbk +1 -1
  1150. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ConnectHandler.qbk +1 -58
  1151. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ConnectToken.qbk +99 -0
  1152. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ConstBufferSequence.qbk +1 -1
  1153. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/DynamicBuffer.qbk +1 -1
  1154. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/DynamicBuffer_v1.qbk +1 -1
  1155. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/DynamicBuffer_v2.qbk +1 -1
  1156. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Endpoint.qbk +1 -1
  1157. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/EndpointSequence.qbk +1 -1
  1158. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ExecutionContext.qbk +1 -1
  1159. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Executor.qbk +1 -1
  1160. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/GettableSerialPortOption.qbk +1 -1
  1161. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/GettableSocketOption.qbk +1 -1
  1162. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Handler.qbk +8 -53
  1163. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/HandshakeHandler.qbk +1 -58
  1164. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/HandshakeToken.qbk +99 -0
  1165. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/InternetProtocol.qbk +1 -1
  1166. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/IoControlCommand.qbk +1 -1
  1167. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/IoObjectService.qbk +1 -1
  1168. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/IteratorConnectHandler.qbk +2 -67
  1169. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/IteratorConnectToken.qbk +113 -0
  1170. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/LegacyCompletionHandler.qbk +1 -1
  1171. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/MoveAcceptHandler.qbk +1 -46
  1172. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/MoveAcceptToken.qbk +94 -0
  1173. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/MutableBufferSequence.qbk +1 -1
  1174. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/NullaryToken.qbk +79 -0
  1175. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/OperationState.qbk +1 -1
  1176. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ProtoAllocator.qbk +1 -1
  1177. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Protocol.qbk +1 -1
  1178. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/RangeConnectHandler.qbk +2 -68
  1179. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/RangeConnectToken.qbk +114 -0
  1180. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ReadHandler.qbk +1 -65
  1181. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ReadToken.qbk +110 -0
  1182. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Receiver.qbk +1 -1
  1183. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ResolveHandler.qbk +1 -65
  1184. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ResolveToken.qbk +112 -0
  1185. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Scheduler.qbk +1 -1
  1186. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Sender.qbk +1 -1
  1187. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/Service.qbk +1 -1
  1188. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SettableSerialPortOption.qbk +1 -1
  1189. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SettableSocketOption.qbk +1 -1
  1190. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ShutdownHandler.qbk +1 -58
  1191. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/ShutdownToken.qbk +99 -0
  1192. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SignalHandler.qbk +1 -65
  1193. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SignalToken.qbk +109 -0
  1194. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SyncRandomAccessReadDevice.qbk +1 -1
  1195. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SyncRandomAccessWriteDevice.qbk +1 -1
  1196. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SyncReadStream.qbk +1 -1
  1197. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/SyncWriteStream.qbk +1 -1
  1198. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/TimeTraits.qbk +1 -1
  1199. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WaitHandler.qbk +1 -58
  1200. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WaitToken.qbk +99 -0
  1201. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WaitTraits.qbk +1 -1
  1202. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WriteHandler.qbk +1 -65
  1203. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/WriteToken.qbk +110 -0
  1204. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/asynchronous_operations.qbk +128 -61
  1205. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/asynchronous_socket_operations.qbk +1 -1
  1206. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/read_write_operations.qbk +1 -1
  1207. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/synchronous_socket_operations.qbk +1 -1
  1208. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/std_executors.qbk +1 -1
  1209. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/tutorial.qbk +53 -49
  1210. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/tutorial.xsl +12 -2
  1211. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/using.qbk +1 -6
  1212. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/Makefile.am +1 -1
  1213. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/allocation/server.cpp +7 -50
  1214. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/buffers/reference_counted.cpp +1 -1
  1215. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/chat/chat_client.cpp +1 -1
  1216. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/chat/chat_message.hpp +6 -3
  1217. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/chat/chat_server.cpp +1 -1
  1218. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/chat/posix_chat_client.cpp +1 -1
  1219. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/async_tcp_echo_server.cpp +1 -1
  1220. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/async_udp_echo_server.cpp +1 -1
  1221. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/blocking_tcp_echo_client.cpp +1 -1
  1222. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/blocking_tcp_echo_server.cpp +1 -1
  1223. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/blocking_udp_echo_client.cpp +1 -1
  1224. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/echo/blocking_udp_echo_server.cpp +1 -1
  1225. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/fork/daemon.cpp +1 -1
  1226. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/fork/process_per_connection.cpp +1 -1
  1227. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/client/async_client.cpp +1 -1
  1228. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/client/sync_client.cpp +1 -1
  1229. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/doc_root/data_1K.html +1 -1
  1230. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/doc_root/data_2K.html +1 -1
  1231. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/doc_root/data_4K.html +1 -1
  1232. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/doc_root/data_8K.html +1 -1
  1233. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/connection.cpp +1 -1
  1234. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/connection.hpp +1 -1
  1235. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/connection_manager.cpp +1 -1
  1236. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/connection_manager.hpp +1 -1
  1237. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/header.hpp +1 -1
  1238. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/main.cpp +1 -1
  1239. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/mime_types.cpp +1 -1
  1240. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/mime_types.hpp +1 -1
  1241. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/reply.cpp +1 -1
  1242. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/reply.hpp +1 -1
  1243. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request.hpp +1 -1
  1244. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request_handler.cpp +1 -1
  1245. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request_handler.hpp +1 -1
  1246. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request_parser.cpp +1 -1
  1247. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/request_parser.hpp +1 -1
  1248. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/server.cpp +1 -1
  1249. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server/server.hpp +1 -1
  1250. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/connection.cpp +1 -1
  1251. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/connection.hpp +1 -1
  1252. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/header.hpp +1 -1
  1253. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/io_context_pool.cpp +2 -3
  1254. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/io_context_pool.hpp +5 -3
  1255. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/main.cpp +1 -1
  1256. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/mime_types.cpp +1 -1
  1257. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/mime_types.hpp +1 -1
  1258. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/reply.cpp +1 -1
  1259. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/reply.hpp +1 -1
  1260. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request.hpp +1 -1
  1261. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request_handler.cpp +1 -1
  1262. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request_handler.hpp +1 -1
  1263. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request_parser.cpp +1 -1
  1264. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/request_parser.hpp +1 -1
  1265. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/server.cpp +1 -1
  1266. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server2/server.hpp +1 -1
  1267. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/connection.cpp +1 -1
  1268. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/connection.hpp +1 -1
  1269. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/header.hpp +1 -1
  1270. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/main.cpp +1 -1
  1271. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/mime_types.cpp +1 -1
  1272. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/mime_types.hpp +1 -1
  1273. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/reply.cpp +1 -1
  1274. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/reply.hpp +1 -1
  1275. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request.hpp +1 -1
  1276. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request_handler.cpp +1 -1
  1277. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request_handler.hpp +1 -1
  1278. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request_parser.cpp +1 -1
  1279. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/request_parser.hpp +1 -1
  1280. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/server.cpp +1 -1
  1281. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server3/server.hpp +1 -1
  1282. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/file_handler.cpp +1 -1
  1283. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/file_handler.hpp +1 -1
  1284. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/header.hpp +1 -1
  1285. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/main.cpp +1 -1
  1286. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/mime_types.cpp +1 -1
  1287. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/mime_types.hpp +1 -1
  1288. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/reply.cpp +1 -1
  1289. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/reply.hpp +1 -1
  1290. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/request.hpp +1 -1
  1291. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/request_parser.cpp +1 -1
  1292. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/request_parser.hpp +1 -1
  1293. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/server.cpp +1 -1
  1294. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/http/server4/server.hpp +1 -1
  1295. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/icmp/icmp_header.hpp +1 -1
  1296. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/icmp/ipv4_header.hpp +1 -1
  1297. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/icmp/ping.cpp +1 -1
  1298. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/invocation/prioritised_handlers.cpp +1 -1
  1299. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/iostreams/daytime_client.cpp +1 -1
  1300. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/iostreams/daytime_server.cpp +1 -1
  1301. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/iostreams/http_client.cpp +1 -1
  1302. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/local/connect_pair.cpp +1 -1
  1303. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/local/iostream_client.cpp +1 -1
  1304. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/local/stream_client.cpp +1 -1
  1305. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/local/stream_server.cpp +1 -1
  1306. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/multicast/receiver.cpp +1 -1
  1307. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/multicast/sender.cpp +1 -1
  1308. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/nonblocking/third_party_lib.cpp +1 -1
  1309. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/porthopper/client.cpp +1 -1
  1310. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/porthopper/protocol.hpp +1 -1
  1311. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/porthopper/server.cpp +1 -1
  1312. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/serialization/client.cpp +1 -1
  1313. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/serialization/connection.hpp +1 -1
  1314. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/serialization/server.cpp +1 -1
  1315. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/serialization/stock.hpp +1 -1
  1316. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/basic_logger.hpp +1 -1
  1317. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/daytime_client.cpp +1 -1
  1318. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/logger.hpp +1 -1
  1319. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/logger_service.cpp +1 -1
  1320. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/services/logger_service.hpp +8 -8
  1321. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/socks4/socks4.hpp +1 -1
  1322. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/socks4/sync_client.cpp +1 -1
  1323. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/spawn/echo_server.cpp +9 -5
  1324. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/spawn/parallel_grep.cpp +7 -3
  1325. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/README +1 -1
  1326. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/ca.pem +48 -47
  1327. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/client.cpp +1 -1
  1328. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/dh4096.pem +25 -0
  1329. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/server.cpp +2 -2
  1330. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/server.pem +91 -63
  1331. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/async_tcp_client.cpp +1 -1
  1332. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/blocking_tcp_client.cpp +1 -1
  1333. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/blocking_token_tcp_client.cpp +1 -1
  1334. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/blocking_udp_client.cpp +1 -1
  1335. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timeouts/server.cpp +1 -1
  1336. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/timers/time_t_timer.cpp +1 -1
  1337. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime1/client.cpp +1 -1
  1338. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime2/server.cpp +1 -1
  1339. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime3/server.cpp +1 -1
  1340. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime4/client.cpp +1 -1
  1341. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime5/server.cpp +1 -1
  1342. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime6/server.cpp +1 -1
  1343. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime7/server.cpp +1 -1
  1344. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/daytime_dox.txt +1 -1
  1345. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/index_dox.txt +1 -1
  1346. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer1/timer.cpp +1 -1
  1347. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer2/timer.cpp +1 -1
  1348. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer3/timer.cpp +1 -1
  1349. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer4/timer.cpp +1 -1
  1350. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer5/timer.cpp +1 -1
  1351. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/tutorial/timer_dox.txt +37 -33
  1352. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/windows/transmit_file.cpp +1 -1
  1353. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/Makefile.am +23 -2
  1354. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/allocation/server.cpp +5 -43
  1355. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/buffers/reference_counted.cpp +1 -1
  1356. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/chat/chat_client.cpp +1 -1
  1357. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/chat/chat_message.hpp +3 -3
  1358. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/chat/chat_server.cpp +1 -1
  1359. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/deferred/deferred_1.cpp +35 -0
  1360. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/deferred/deferred_2.cpp +44 -0
  1361. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/async_tcp_echo_server.cpp +1 -1
  1362. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/async_udp_echo_server.cpp +1 -1
  1363. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/blocking_tcp_echo_client.cpp +1 -1
  1364. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/blocking_tcp_echo_server.cpp +1 -1
  1365. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/blocking_udp_echo_client.cpp +1 -1
  1366. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/echo/blocking_udp_echo_server.cpp +1 -1
  1367. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/files/async_file_copy.cpp +1 -1
  1368. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/files/blocking_file_copy.cpp +1 -1
  1369. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/fork/daemon.cpp +1 -1
  1370. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/fork/process_per_connection.cpp +1 -1
  1371. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/futures/daytime_client.cpp +2 -3
  1372. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/handler_tracking/async_tcp_echo_server.cpp +1 -1
  1373. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/handler_tracking/custom_tracking.hpp +1 -1
  1374. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/connection.cpp +1 -1
  1375. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/connection.hpp +1 -1
  1376. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/connection_manager.cpp +1 -1
  1377. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/connection_manager.hpp +1 -1
  1378. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/header.hpp +1 -1
  1379. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/main.cpp +1 -1
  1380. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/mime_types.cpp +1 -1
  1381. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/mime_types.hpp +1 -1
  1382. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/reply.cpp +1 -1
  1383. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/reply.hpp +1 -1
  1384. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request.hpp +1 -1
  1385. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request_handler.cpp +1 -1
  1386. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request_handler.hpp +1 -1
  1387. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request_parser.cpp +1 -1
  1388. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/request_parser.hpp +1 -1
  1389. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/server.cpp +1 -1
  1390. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/http/server/server.hpp +1 -1
  1391. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/invocation/prioritised_handlers.cpp +1 -1
  1392. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/iostreams/http_client.cpp +1 -1
  1393. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/connect_pair.cpp +1 -1
  1394. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/fd_passing_stream_client.cpp +102 -0
  1395. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/fd_passing_stream_server.cpp +160 -0
  1396. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/iostream_client.cpp +1 -1
  1397. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/stream_client.cpp +1 -1
  1398. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/local/stream_server.cpp +1 -1
  1399. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/multicast/receiver.cpp +1 -1
  1400. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/multicast/sender.cpp +1 -1
  1401. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/nonblocking/third_party_lib.cpp +1 -1
  1402. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_1.cpp +55 -9
  1403. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_2.cpp +130 -32
  1404. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_3.cpp +55 -9
  1405. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_4.cpp +54 -9
  1406. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_5.cpp +55 -9
  1407. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_6.cpp +61 -14
  1408. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_7.cpp +55 -9
  1409. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/operations/composed_8.cpp +55 -9
  1410. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/parallel_group/wait_for_all.cpp +62 -0
  1411. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/parallel_group/wait_for_one.cpp +62 -0
  1412. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/parallel_group/wait_for_one_error.cpp +62 -0
  1413. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/parallel_group/wait_for_one_success.cpp +62 -0
  1414. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/socks4/socks4.hpp +1 -1
  1415. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/socks4/sync_client.cpp +1 -1
  1416. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/spawn/echo_server.cpp +5 -4
  1417. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/spawn/parallel_grep.cpp +4 -2
  1418. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/README +1 -1
  1419. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/ca.pem +48 -47
  1420. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/client.cpp +1 -1
  1421. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/dh4096.pem +25 -0
  1422. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/server.cpp +2 -2
  1423. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/server.pem +91 -63
  1424. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/async_tcp_client.cpp +1 -1
  1425. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/blocking_tcp_client.cpp +1 -1
  1426. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/blocking_token_tcp_client.cpp +26 -53
  1427. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/blocking_udp_client.cpp +1 -1
  1428. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timeouts/server.cpp +1 -1
  1429. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/timers/time_t_timer.cpp +1 -1
  1430. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/Makefile.am +5 -0
  1431. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_1.cpp +2 -3
  1432. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_2.cpp +2 -3
  1433. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_3.cpp +2 -3
  1434. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_4.cpp +2 -3
  1435. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_5.cpp +2 -3
  1436. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_6.cpp +3 -5
  1437. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/deferred/deferred_7.cpp +3 -5
  1438. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/async_tcp_echo_server.cpp +1 -1
  1439. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/async_udp_echo_server.cpp +1 -1
  1440. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/blocking_tcp_echo_client.cpp +1 -1
  1441. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/blocking_tcp_echo_server.cpp +1 -1
  1442. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/blocking_udp_echo_client.cpp +1 -1
  1443. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/echo/blocking_udp_echo_server.cpp +1 -1
  1444. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/iostreams/http_client.cpp +1 -1
  1445. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/c_callback_wrapper.cpp +230 -0
  1446. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/callback_wrapper.cpp +152 -0
  1447. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_1.cpp +49 -7
  1448. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_2.cpp +117 -29
  1449. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_3.cpp +48 -6
  1450. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_4.cpp +47 -6
  1451. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_5.cpp +48 -6
  1452. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_6.cpp +53 -11
  1453. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_7.cpp +49 -7
  1454. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/operations/composed_8.cpp +49 -7
  1455. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/parallel_sort.cpp +2 -3
  1456. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/wait_for_all.cpp +1 -1
  1457. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/wait_for_one.cpp +1 -1
  1458. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/wait_for_one_error.cpp +1 -1
  1459. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp14/parallel_group/wait_for_one_success.cpp +1 -1
  1460. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/chat_server.cpp +1 -1
  1461. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/echo_server.cpp +1 -1
  1462. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/echo_server_with_as_single_default.cpp +1 -1
  1463. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/echo_server_with_as_tuple_default.cpp +3 -3
  1464. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/echo_server_with_default.cpp +1 -1
  1465. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/range_based_for.cpp +1 -1
  1466. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp17/coroutines_ts/refactored_echo_server.cpp +1 -1
  1467. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/Makefile.am +66 -0
  1468. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/channels/throttling_proxy.cpp +134 -0
  1469. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/chat_server.cpp +222 -0
  1470. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server.cpp +76 -0
  1471. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_as_single_default.cpp +71 -0
  1472. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_as_tuple_default.cpp +71 -0
  1473. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_default.cpp +73 -0
  1474. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_deferred.cpp +72 -0
  1475. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/echo_server_with_deferred_default.cpp +74 -0
  1476. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/refactored_echo_server.cpp +80 -0
  1477. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/coroutines/timeout.cpp +66 -0
  1478. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/c_callback_wrapper.cpp +232 -0
  1479. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/callback_wrapper.cpp +154 -0
  1480. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_1.cpp +157 -0
  1481. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_2.cpp +225 -0
  1482. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_3.cpp +232 -0
  1483. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_4.cpp +247 -0
  1484. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_5.cpp +284 -0
  1485. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_6.cpp +345 -0
  1486. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_7.cpp +262 -0
  1487. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp20/operations/composed_8.cpp +255 -0
  1488. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/Makefile.am +18 -14
  1489. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/allocator.hpp +1 -1
  1490. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/high_res_clock.hpp +1 -1
  1491. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/tcp_client.cpp +1 -1
  1492. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/tcp_server.cpp +1 -1
  1493. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/udp_client.cpp +1 -1
  1494. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/latency/udp_server.cpp +1 -1
  1495. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/performance/client.cpp +1 -1
  1496. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/performance/handler_allocator.hpp +1 -1
  1497. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/performance/server.cpp +1 -1
  1498. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_free_prefer.cpp +1 -1
  1499. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_free_require.cpp +1 -1
  1500. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_member_prefer.cpp +1 -1
  1501. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_member_require.cpp +1 -1
  1502. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_free_prefer.cpp +1 -1
  1503. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_free_require.cpp +1 -1
  1504. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_member_prefer.cpp +1 -1
  1505. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_member_require.cpp +1 -1
  1506. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_static.cpp +1 -1
  1507. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_applicable_unsupported.cpp +1 -1
  1508. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_free_prefer.cpp +1 -1
  1509. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_free_require.cpp +1 -1
  1510. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_member_prefer.cpp +1 -1
  1511. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_member_require.cpp +1 -1
  1512. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_static.cpp +1 -1
  1513. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_not_preferable_unsupported.cpp +1 -1
  1514. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_static.cpp +1 -1
  1515. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_prefer_unsupported.cpp +1 -1
  1516. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_free.cpp +1 -1
  1517. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_member.cpp +1 -1
  1518. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_not_applicable_free.cpp +1 -1
  1519. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_not_applicable_member.cpp +1 -1
  1520. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_not_applicable_static.cpp +1 -1
  1521. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_not_applicable_unsupported.cpp +1 -1
  1522. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_static.cpp +1 -1
  1523. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_query_unsupported.cpp +1 -1
  1524. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_free.cpp +1 -1
  1525. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_member.cpp +1 -1
  1526. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_not_applicable_free.cpp +1 -1
  1527. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_not_applicable_member.cpp +1 -1
  1528. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_not_applicable_static.cpp +1 -1
  1529. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_not_applicable_unsupported.cpp +1 -1
  1530. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_static.cpp +1 -1
  1531. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_concept_unsupported.cpp +1 -1
  1532. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_free.cpp +1 -1
  1533. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_member.cpp +1 -1
  1534. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_not_applicable_free.cpp +1 -1
  1535. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_not_applicable_member.cpp +1 -1
  1536. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_not_applicable_static.cpp +1 -1
  1537. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_not_applicable_unsupported.cpp +1 -1
  1538. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_static.cpp +1 -1
  1539. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/can_require_unsupported.cpp +1 -1
  1540. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_free_prefer.cpp +1 -1
  1541. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_free_require.cpp +1 -1
  1542. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_member_prefer.cpp +1 -1
  1543. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_member_require.cpp +1 -1
  1544. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_static.cpp +1 -1
  1545. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/prefer_unsupported.cpp +1 -1
  1546. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/query_free.cpp +1 -1
  1547. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/query_member.cpp +1 -1
  1548. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/query_static.cpp +1 -1
  1549. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_concept_free.cpp +1 -1
  1550. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_concept_member.cpp +1 -1
  1551. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_concept_static.cpp +1 -1
  1552. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_free.cpp +1 -1
  1553. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_member.cpp +1 -1
  1554. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp03/require_static.cpp +1 -1
  1555. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_free_prefer.cpp +1 -1
  1556. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_free_require.cpp +1 -1
  1557. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_member_prefer.cpp +1 -1
  1558. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_member_require.cpp +1 -1
  1559. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_free_prefer.cpp +1 -1
  1560. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_free_require.cpp +1 -1
  1561. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_member_prefer.cpp +1 -1
  1562. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_member_require.cpp +1 -1
  1563. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_static.cpp +1 -1
  1564. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_applicable_unsupported.cpp +1 -1
  1565. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_free_prefer.cpp +1 -1
  1566. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_free_require.cpp +1 -1
  1567. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_member_prefer.cpp +1 -1
  1568. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_member_require.cpp +1 -1
  1569. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_static.cpp +1 -1
  1570. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_not_preferable_unsupported.cpp +1 -1
  1571. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_static.cpp +1 -1
  1572. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_prefer_unsupported.cpp +1 -1
  1573. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_free.cpp +1 -1
  1574. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_member.cpp +1 -1
  1575. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_not_applicable_free.cpp +1 -1
  1576. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_not_applicable_member.cpp +1 -1
  1577. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_not_applicable_static.cpp +1 -1
  1578. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_not_applicable_unsupported.cpp +1 -1
  1579. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_static.cpp +1 -1
  1580. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_query_unsupported.cpp +1 -1
  1581. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_free.cpp +1 -1
  1582. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_member.cpp +1 -1
  1583. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_not_applicable_free.cpp +1 -1
  1584. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_not_applicable_member.cpp +1 -1
  1585. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_not_applicable_static.cpp +1 -1
  1586. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_not_applicable_unsupported.cpp +1 -1
  1587. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_static.cpp +1 -1
  1588. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_concept_unsupported.cpp +1 -1
  1589. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_free.cpp +1 -1
  1590. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_member.cpp +1 -1
  1591. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_not_applicable_free.cpp +1 -1
  1592. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_not_applicable_member.cpp +1 -1
  1593. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_not_applicable_static.cpp +1 -1
  1594. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_not_applicable_unsupported.cpp +1 -1
  1595. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_static.cpp +1 -1
  1596. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/can_require_unsupported.cpp +1 -1
  1597. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_free_prefer.cpp +1 -1
  1598. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_free_require.cpp +1 -1
  1599. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_member_prefer.cpp +1 -1
  1600. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_member_require.cpp +1 -1
  1601. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_static.cpp +1 -1
  1602. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/prefer_unsupported.cpp +1 -1
  1603. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/query_free.cpp +1 -1
  1604. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/query_member.cpp +1 -1
  1605. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/query_static.cpp +1 -1
  1606. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_concept_free.cpp +1 -1
  1607. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_concept_member.cpp +1 -1
  1608. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_concept_static.cpp +1 -1
  1609. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_free.cpp +1 -1
  1610. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_member.cpp +1 -1
  1611. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp11/require_static.cpp +1 -1
  1612. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_free_prefer.cpp +1 -1
  1613. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_free_require.cpp +1 -1
  1614. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_member_prefer.cpp +1 -1
  1615. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_member_require.cpp +1 -1
  1616. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_free_prefer.cpp +1 -1
  1617. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_free_require.cpp +1 -1
  1618. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_member_prefer.cpp +1 -1
  1619. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_member_require.cpp +1 -1
  1620. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_static.cpp +1 -1
  1621. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_applicable_unsupported.cpp +1 -1
  1622. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_free_prefer.cpp +1 -1
  1623. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_free_require.cpp +1 -1
  1624. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_member_prefer.cpp +1 -1
  1625. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_member_require.cpp +1 -1
  1626. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_static.cpp +1 -1
  1627. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_not_preferable_unsupported.cpp +1 -1
  1628. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_static.cpp +1 -1
  1629. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_prefer_unsupported.cpp +1 -1
  1630. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_free.cpp +1 -1
  1631. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_member.cpp +1 -1
  1632. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_not_applicable_free.cpp +1 -1
  1633. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_not_applicable_member.cpp +1 -1
  1634. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_not_applicable_static.cpp +1 -1
  1635. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_not_applicable_unsupported.cpp +1 -1
  1636. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_static.cpp +1 -1
  1637. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_query_unsupported.cpp +1 -1
  1638. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_free.cpp +1 -1
  1639. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_member.cpp +1 -1
  1640. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_not_applicable_free.cpp +1 -1
  1641. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_not_applicable_member.cpp +1 -1
  1642. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_not_applicable_static.cpp +1 -1
  1643. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_not_applicable_unsupported.cpp +1 -1
  1644. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_static.cpp +1 -1
  1645. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_concept_unsupported.cpp +1 -1
  1646. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_free.cpp +1 -1
  1647. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_member.cpp +1 -1
  1648. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_not_applicable_free.cpp +1 -1
  1649. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_not_applicable_member.cpp +1 -1
  1650. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_not_applicable_static.cpp +1 -1
  1651. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_not_applicable_unsupported.cpp +1 -1
  1652. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_static.cpp +1 -1
  1653. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/can_require_unsupported.cpp +1 -1
  1654. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_free_prefer.cpp +1 -1
  1655. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_free_require.cpp +1 -1
  1656. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_member_prefer.cpp +1 -1
  1657. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_member_require.cpp +1 -1
  1658. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_static.cpp +1 -1
  1659. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/prefer_unsupported.cpp +1 -1
  1660. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/query_free.cpp +1 -1
  1661. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/query_member.cpp +1 -1
  1662. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/query_static.cpp +1 -1
  1663. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_concept_free.cpp +1 -1
  1664. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_concept_member.cpp +1 -1
  1665. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_concept_static.cpp +1 -1
  1666. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_free.cpp +1 -1
  1667. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_member.cpp +1 -1
  1668. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/properties/cpp14/require_static.cpp +1 -1
  1669. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/append.cpp +62 -0
  1670. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/async_ops.hpp +1 -1
  1671. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/async_result.hpp +1 -1
  1672. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/gettable_socket_option.hpp +1 -1
  1673. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/io_control_command.hpp +1 -1
  1674. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/archetypes/settable_socket_option.hpp +1 -1
  1675. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/as_tuple.cpp +60 -0
  1676. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/associated_allocator.cpp +1 -1
  1677. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/associated_cancellation_slot.cpp +1 -1
  1678. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/associated_executor.cpp +1 -1
  1679. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/associator.cpp +1 -1
  1680. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/async_result.cpp +1 -1
  1681. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/awaitable.cpp +1 -1
  1682. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_datagram_socket.cpp +1 -1
  1683. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_deadline_timer.cpp +1 -1
  1684. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_file.cpp +1 -1
  1685. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_random_access_file.cpp +1 -1
  1686. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_raw_socket.cpp +1 -1
  1687. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_readable_pipe.cpp +1 -1
  1688. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_seq_packet_socket.cpp +1 -1
  1689. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_serial_port.cpp +1 -1
  1690. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_signal_set.cpp +1 -1
  1691. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_socket.cpp +1 -1
  1692. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_socket_acceptor.cpp +1 -1
  1693. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_stream_file.cpp +1 -1
  1694. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_stream_socket.cpp +1 -1
  1695. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_streambuf.cpp +1 -1
  1696. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_waitable_timer.cpp +1 -1
  1697. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/basic_writable_pipe.cpp +1 -1
  1698. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/bind_allocator.cpp +253 -0
  1699. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/bind_cancellation_slot.cpp +66 -10
  1700. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/bind_executor.cpp +60 -10
  1701. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffer.cpp +49 -1
  1702. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffer_registration.cpp +1 -1
  1703. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffered_read_stream.cpp +2 -2
  1704. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffered_stream.cpp +2 -2
  1705. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffered_write_stream.cpp +2 -2
  1706. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/buffers_iterator.cpp +2 -2
  1707. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/cancellation_signal.cpp +1 -1
  1708. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/cancellation_state.cpp +1 -1
  1709. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/cancellation_type.cpp +1 -1
  1710. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/co_spawn.cpp +1 -1
  1711. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/completion_condition.cpp +1 -1
  1712. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/compose.cpp +1 -1
  1713. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/connect.cpp +1 -1
  1714. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/connect_pipe.cpp +2 -2
  1715. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/coroutine.cpp +1 -1
  1716. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/deadline_timer.cpp +1 -1
  1717. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/defer.cpp +1 -1
  1718. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/{experimental/deferred.cpp → deferred.cpp} +5 -5
  1719. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/detached.cpp +1 -1
  1720. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/dispatch.cpp +1 -1
  1721. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/error.cpp +1 -1
  1722. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/any_executor.cpp +1 -1
  1723. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/blocking.cpp +1 -1
  1724. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/blocking_adaptation.cpp +1 -1
  1725. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/bulk_execute.cpp +1 -1
  1726. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/bulk_guarantee.cpp +1 -1
  1727. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/connect.cpp +1 -1
  1728. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/context_as.cpp +1 -1
  1729. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/execute.cpp +1 -1
  1730. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/executor.cpp +1 -1
  1731. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/invocable_archetype.cpp +1 -1
  1732. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/mapping.cpp +1 -1
  1733. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/operation_state.cpp +1 -1
  1734. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/outstanding_work.cpp +1 -1
  1735. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/prefer_only.cpp +1 -1
  1736. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/receiver.cpp +1 -1
  1737. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/relationship.cpp +1 -1
  1738. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/schedule.cpp +1 -1
  1739. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/scheduler.cpp +1 -1
  1740. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/sender.cpp +1 -1
  1741. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/set_done.cpp +1 -1
  1742. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/set_error.cpp +1 -1
  1743. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/set_value.cpp +1 -1
  1744. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/start.cpp +1 -1
  1745. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution/submit.cpp +1 -1
  1746. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/execution_context.cpp +1 -1
  1747. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/executor.cpp +1 -1
  1748. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/executor_work_guard.cpp +1 -1
  1749. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/awaitable_operators.cpp +1 -1
  1750. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/basic_channel.cpp +1 -1
  1751. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/basic_concurrent_channel.cpp +1 -1
  1752. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/channel.cpp +1 -1
  1753. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/channel_traits.cpp +1 -1
  1754. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/concurrent_channel.cpp +1 -1
  1755. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/cancel.cpp +2 -2
  1756. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/co_spawn.cpp +2 -2
  1757. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/exception.cpp +2 -2
  1758. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/executor.cpp +3 -3
  1759. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/partial.cpp +2 -2
  1760. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/simple_test.cpp +2 -2
  1761. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/stack_test.cpp +2 -2
  1762. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/coro/use_coro.cpp +2 -2
  1763. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/experimental/promise.cpp +22 -248
  1764. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/file_base.cpp +1 -1
  1765. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/basic_endpoint.cpp +1 -1
  1766. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/datagram_protocol.cpp +2 -2
  1767. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/raw_protocol.cpp +2 -2
  1768. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/seq_packet_protocol.cpp +2 -2
  1769. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/generic/stream_protocol.cpp +2 -2
  1770. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/high_resolution_timer.cpp +1 -1
  1771. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/io_context.cpp +1 -1
  1772. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/io_context_strand.cpp +1 -1
  1773. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/address.cpp +2 -2
  1774. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_endpoint.cpp +1 -1
  1775. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_resolver.cpp +1 -1
  1776. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_resolver_entry.cpp +1 -1
  1777. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_resolver_iterator.cpp +1 -1
  1778. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/basic_resolver_query.cpp +1 -1
  1779. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/host_name.cpp +2 -2
  1780. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/icmp.cpp +3 -3
  1781. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/multicast.cpp +2 -2
  1782. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/network_v4.cpp +2 -2
  1783. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/network_v6.cpp +2 -2
  1784. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/resolver_query_base.cpp +1 -1
  1785. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/tcp.cpp +7 -7
  1786. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/udp.cpp +3 -3
  1787. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/unicast.cpp +2 -2
  1788. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ip/v6_only.cpp +2 -2
  1789. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/is_read_buffered.cpp +1 -1
  1790. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/is_write_buffered.cpp +1 -1
  1791. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/local/basic_endpoint.cpp +1 -1
  1792. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/local/connect_pair.cpp +2 -2
  1793. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/local/datagram_protocol.cpp +2 -2
  1794. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/local/stream_protocol.cpp +2 -2
  1795. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/packaged_task.cpp +1 -1
  1796. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/placeholders.cpp +1 -1
  1797. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/basic_descriptor.cpp +1 -1
  1798. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/basic_stream_descriptor.cpp +1 -1
  1799. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/descriptor.cpp +1 -1
  1800. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/descriptor_base.cpp +1 -1
  1801. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/posix/stream_descriptor.cpp +8 -4
  1802. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/post.cpp +1 -1
  1803. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/prepend.cpp +62 -0
  1804. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/random_access_file.cpp +10 -1
  1805. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/read.cpp +1 -1
  1806. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/read_at.cpp +1 -1
  1807. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/read_until.cpp +1 -1
  1808. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/readable_pipe.cpp +12 -3
  1809. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/recycling_allocator.cpp +82 -0
  1810. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/redirect_error.cpp +1 -1
  1811. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/registered_buffer.cpp +1 -1
  1812. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/serial_port.cpp +8 -4
  1813. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/serial_port_base.cpp +2 -2
  1814. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/signal_set.cpp +2 -2
  1815. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/socket_base.cpp +2 -2
  1816. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/context.cpp +1 -1
  1817. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/context_base.cpp +1 -1
  1818. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/error.cpp +1 -1
  1819. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/host_name_verification.cpp +1 -1
  1820. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/rfc2818_verification.cpp +1 -1
  1821. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/stream.cpp +2 -2
  1822. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ssl/stream_base.cpp +1 -1
  1823. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/static_thread_pool.cpp +1 -1
  1824. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/steady_timer.cpp +1 -1
  1825. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/strand.cpp +1 -1
  1826. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/stream_file.cpp +10 -1
  1827. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/streambuf.cpp +1 -1
  1828. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/system_context.cpp +1 -1
  1829. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/system_executor.cpp +1 -1
  1830. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/system_timer.cpp +1 -1
  1831. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/this_coro.cpp +1 -1
  1832. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/thread.cpp +1 -1
  1833. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/thread_pool.cpp +1 -1
  1834. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/time_traits.cpp +1 -1
  1835. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/buffer.cpp +1 -1
  1836. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/executor.cpp +1 -1
  1837. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/internet.cpp +1 -1
  1838. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/io_context.cpp +1 -1
  1839. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/net.cpp +1 -1
  1840. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/netfwd.cpp +1 -1
  1841. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/socket.cpp +1 -1
  1842. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/ts/timer.cpp +1 -1
  1843. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/unit_test.hpp +1 -1
  1844. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/use_awaitable.cpp +1 -1
  1845. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/use_future.cpp +1 -1
  1846. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/uses_executor.cpp +1 -1
  1847. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/wait_traits.cpp +1 -1
  1848. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/basic_object_handle.cpp +1 -1
  1849. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/basic_overlapped_handle.cpp +1 -1
  1850. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/basic_random_access_handle.cpp +1 -1
  1851. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/basic_stream_handle.cpp +1 -1
  1852. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/object_handle.cpp +8 -4
  1853. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/overlapped_handle.cpp +1 -1
  1854. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/overlapped_ptr.cpp +2 -2
  1855. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/random_access_handle.cpp +16 -5
  1856. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/windows/stream_handle.cpp +16 -5
  1857. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/writable_pipe.cpp +12 -3
  1858. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/write.cpp +1 -1
  1859. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tests/unit/write_at.cpp +1 -1
  1860. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tools/handlerlive.pl +1 -1
  1861. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tools/handlertree.pl +1 -1
  1862. package/deps/couchbase-cxx-client/third_party/asio/asio/src/tools/handlerviz.pl +1 -1
  1863. package/deps/couchbase-cxx-client/third_party/docopt/.travis.yml +103 -0
  1864. package/deps/couchbase-cxx-client/third_party/docopt/CMakeLists.txt +129 -0
  1865. package/deps/couchbase-cxx-client/third_party/docopt/LICENSE-Boost-1.0 +23 -0
  1866. package/deps/couchbase-cxx-client/third_party/docopt/LICENSE-MIT +23 -0
  1867. package/deps/couchbase-cxx-client/third_party/docopt/README.rst +479 -0
  1868. package/deps/couchbase-cxx-client/third_party/docopt/docopt-config.cmake +1 -0
  1869. package/deps/couchbase-cxx-client/third_party/docopt/docopt.cpp +687 -0
  1870. package/deps/couchbase-cxx-client/third_party/docopt/docopt.h +98 -0
  1871. package/deps/couchbase-cxx-client/third_party/docopt/docopt.pc.in +9 -0
  1872. package/deps/couchbase-cxx-client/third_party/docopt/docopt_private.h +676 -0
  1873. package/deps/couchbase-cxx-client/third_party/docopt/docopt_util.h +122 -0
  1874. package/deps/couchbase-cxx-client/third_party/docopt/docopt_value.h +341 -0
  1875. package/deps/couchbase-cxx-client/third_party/docopt/examples/naval_fate.cpp +36 -0
  1876. package/deps/couchbase-cxx-client/third_party/docopt/main.cpp +16 -0
  1877. package/deps/couchbase-cxx-client/third_party/docopt/run_testcase.cpp +40 -0
  1878. package/deps/couchbase-cxx-client/third_party/docopt/run_tests.py +72 -0
  1879. package/deps/couchbase-cxx-client/third_party/docopt/testcases.docopt +957 -0
  1880. package/deps/couchbase-cxx-client/third_party/expected/COPYING +121 -0
  1881. package/deps/couchbase-cxx-client/third_party/expected/include/tl/expected.hpp +2571 -0
  1882. package/deps/couchbase-cxx-client/tools/CMakeLists.txt +14 -0
  1883. package/deps/couchbase-cxx-client/tools/cbc.cxx +65 -0
  1884. package/deps/couchbase-cxx-client/{core/transactions/internal/get_and_open_buckets.hxx → tools/command.hxx} +11 -10
  1885. package/deps/couchbase-cxx-client/tools/command_registry.cxx +43 -0
  1886. package/deps/couchbase-cxx-client/tools/command_registry.hxx +39 -0
  1887. package/deps/couchbase-cxx-client/tools/get.cxx +267 -0
  1888. package/deps/couchbase-cxx-client/tools/get.hxx +26 -0
  1889. package/deps/couchbase-cxx-client/tools/query.cxx +441 -0
  1890. package/deps/couchbase-cxx-client/tools/query.hxx +26 -0
  1891. package/deps/couchbase-cxx-client/tools/utils.cxx +418 -0
  1892. package/deps/couchbase-cxx-client/tools/utils.hxx +150 -0
  1893. package/deps/couchbase-cxx-client/tools/version.cxx +82 -0
  1894. package/deps/couchbase-cxx-client/tools/version.hxx +26 -0
  1895. package/dist/authenticators.d.ts +2 -2
  1896. package/dist/authenticators.js +1 -2
  1897. package/dist/binding.d.ts +132 -24
  1898. package/dist/binding.js +4 -1
  1899. package/dist/bindingutilities.js +2 -2
  1900. package/dist/cluster.d.ts +7 -12
  1901. package/dist/cluster.js +17 -37
  1902. package/dist/collection.d.ts +6 -0
  1903. package/dist/collection.js +18 -5
  1904. package/dist/configProfile.js +7 -7
  1905. package/dist/crudoptypes.d.ts +4 -0
  1906. package/dist/crudoptypes.js +1 -0
  1907. package/dist/queryexecutor.js +2 -2
  1908. package/dist/queryindexmanager.d.ts +100 -4
  1909. package/dist/queryindexmanager.js +344 -118
  1910. package/dist/searchexecutor.js +5 -1
  1911. package/dist/transactions.js +6 -8
  1912. package/dist/usermanager.d.ts +17 -0
  1913. package/dist/usermanager.js +35 -0
  1914. package/package.json +1 -1
  1915. package/src/connection.cpp +2 -0
  1916. package/src/connection.hpp +1 -0
  1917. package/src/connection_autogen.cpp +16 -0
  1918. package/src/constants.cpp +49 -13
  1919. package/src/jstocbpp_autogen.hpp +510 -23
  1920. package/src/jstocbpp_basic.hpp +25 -2
  1921. package/src/jstocbpp_transactions.hpp +28 -41
  1922. package/src/transaction.cpp +17 -18
  1923. package/src/transactions.cpp +1 -1
  1924. package/tools/gen-bindings-js.js +66 -6
  1925. package/tools/gen-bindings-json.py +43 -7
  1926. package/deps/couchbase-cxx-client/core/io/CMakeLists.txt +0 -12
  1927. package/deps/couchbase-cxx-client/core/io/retry_strategy.hxx +0 -152
  1928. package/deps/couchbase-cxx-client/core/transactions/get_and_open_buckets.cxx +0 -59
  1929. package/deps/couchbase-cxx-client/core/transactions/logging.cxx +0 -107
  1930. package/deps/couchbase-cxx-client/core/transactions/transaction_config.cxx +0 -76
  1931. package/deps/couchbase-cxx-client/core/transactions/transaction_query_options.cxx +0 -39
  1932. package/deps/couchbase-cxx-client/couchbase/transactions/transaction_config.hxx +0 -265
  1933. package/deps/couchbase-cxx-client/test/utils/transactions_env.h +0 -327
  1934. package/deps/couchbase-cxx-client/third_party/asio/asio/include/asio/impl/compose.hpp +0 -707
  1935. package/deps/couchbase-cxx-client/third_party/asio/asio/src/doc/requirements/CompletionHandler.qbk +0 -63
  1936. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp03/ssl/dh2048.pem +0 -8
  1937. package/deps/couchbase-cxx-client/third_party/asio/asio/src/examples/cpp11/ssl/dh2048.pem +0 -8
@@ -0,0 +1,1067 @@
1
+ /* -*- Mode: C++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright 2020-Present Couchbase, Inc.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+
18
+ #include "test_helper_integration.hxx"
19
+
20
+ #include "core/agent_group.hxx"
21
+ #include "core/agent_unit_test_api.hxx"
22
+ #include "core/collections_component_unit_test_api.hxx"
23
+ #include "core/range_scan_orchestrator.hxx"
24
+ #include "core/scan_options.hxx"
25
+ #include "core/topology/configuration.hxx"
26
+
27
+ #include <couchbase/cluster.hxx>
28
+ #include <couchbase/codec/raw_binary_transcoder.hxx>
29
+
30
+ #include <chrono>
31
+
32
+ static auto
33
+ populate_documents_for_range_scan(const couchbase::collection& collection,
34
+ const std::vector<std::string>& ids,
35
+ const std::vector<std::byte>& value,
36
+ std::optional<std::chrono::seconds> expiry = {})
37
+ {
38
+ couchbase::upsert_options options{};
39
+ if (expiry) {
40
+ options.expiry(expiry.value());
41
+ }
42
+
43
+ std::map<std::vector<std::byte>, couchbase::mutation_token> mutations;
44
+ for (const auto& id : ids) {
45
+ auto [ctx, resp] = collection.upsert<couchbase::codec::raw_binary_transcoder>(id, value, options).get();
46
+ REQUIRE_SUCCESS(ctx.ec());
47
+ REQUIRE(resp.mutation_token().has_value());
48
+ mutations[couchbase::core::utils::to_binary(id)] = resp.mutation_token().value();
49
+ }
50
+ return mutations;
51
+ }
52
+
53
+ std::vector<couchbase::core::range_scan_item>
54
+ do_range_scan(couchbase::core::agent agent,
55
+ std::uint16_t vbucket_id,
56
+ const couchbase::core::range_scan_create_options& create_options,
57
+ const couchbase::core::range_scan_continue_options& continue_options)
58
+ {
59
+ std::vector<std::byte> scan_uuid;
60
+
61
+ {
62
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_create_result, std::error_code>>>();
63
+ auto f = barrier->get_future();
64
+
65
+ auto op = agent.range_scan_create(vbucket_id, create_options, [barrier](auto res, auto error) {
66
+ barrier->set_value({ std::move(res), error });
67
+ });
68
+ EXPECT_SUCCESS(op);
69
+
70
+ auto [res, ec] = f.get();
71
+ REQUIRE_SUCCESS(ec);
72
+ REQUIRE_FALSE(res.scan_uuid.empty());
73
+ scan_uuid = res.scan_uuid;
74
+ }
75
+
76
+ std::vector<couchbase::core::range_scan_item> data;
77
+
78
+ auto options = continue_options;
79
+ options.ids_only = create_options.ids_only; // support servers before MB-54267. TODO: remove after server GA
80
+
81
+ do {
82
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_continue_result, std::error_code>>>();
83
+ auto f = barrier->get_future();
84
+
85
+ auto op = agent.range_scan_continue(
86
+ scan_uuid,
87
+ vbucket_id,
88
+ options,
89
+ [&data](auto item) { data.emplace_back(std::move(item)); },
90
+ [barrier](auto res, auto error) {
91
+ barrier->set_value({ std::move(res), error });
92
+ });
93
+ EXPECT_SUCCESS(op);
94
+
95
+ auto [res, ec] = f.get();
96
+ REQUIRE_SUCCESS(ec);
97
+
98
+ if (res.complete) {
99
+ break;
100
+ }
101
+ } while (true);
102
+
103
+ REQUIRE_FALSE(data.empty());
104
+
105
+ return data;
106
+ }
107
+
108
+ static auto
109
+ make_binary_value(std::size_t number_of_bytes)
110
+ {
111
+ std::vector<std::byte> value(number_of_bytes);
112
+ for (std::size_t i = 0; i < value.size(); ++i) {
113
+ value[i] = static_cast<std::byte>(i);
114
+ }
115
+ return value;
116
+ }
117
+
118
+ TEST_CASE("integration: range scan large values", "[integration]")
119
+ {
120
+ test::utils::integration_test_guard integration;
121
+
122
+ if (!integration.has_bucket_capability("range_scan")) {
123
+ return;
124
+ }
125
+
126
+ auto collection = couchbase::cluster(integration.cluster)
127
+ .bucket(integration.ctx.bucket)
128
+ .scope(couchbase::scope::default_name)
129
+ .collection(couchbase::collection::default_name);
130
+
131
+ auto value = make_binary_value(16'384);
132
+
133
+ std::vector<std::string> ids{
134
+ "largevalues-2960", "largevalues-3064", "largevalues-3686", "largevalues-3716", "largevalues-5354",
135
+ "largevalues-5426", "largevalues-6175", "largevalues-6607", "largevalues-6797", "largevalues-7871",
136
+ };
137
+ auto mutations = populate_documents_for_range_scan(collection, ids, value);
138
+
139
+ auto highest_mutation = std::max_element(
140
+ mutations.begin(), mutations.end(), [](auto a, auto b) { return a.second.sequence_number() < b.second.sequence_number(); });
141
+
142
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
143
+ ag.open_bucket(integration.ctx.bucket);
144
+ auto agent = ag.get_agent(integration.ctx.bucket);
145
+ REQUIRE(agent.has_value());
146
+
147
+ couchbase::core::range_scan_create_options create_options{
148
+ couchbase::scope::default_name,
149
+ couchbase::collection::default_name,
150
+ couchbase::core::range_scan{
151
+ { couchbase::core::utils::to_binary("largevalues") },
152
+ { couchbase::core::utils::to_binary("largevalues\xff") },
153
+ },
154
+ };
155
+ create_options.snapshot_requirements = couchbase::core::range_snapshot_requirements{
156
+ highest_mutation->second.partition_uuid(),
157
+ highest_mutation->second.sequence_number(),
158
+ };
159
+
160
+ couchbase::core::range_scan_continue_options continue_options{};
161
+ continue_options.batch_time_limit = std::chrono::seconds{ 10 };
162
+
163
+ auto data = do_range_scan(agent.value(), 12, create_options, continue_options);
164
+ REQUIRE_FALSE(data.empty());
165
+ for (const auto& item : data) {
166
+ REQUIRE(item.body.has_value());
167
+ REQUIRE(item.body->value == value);
168
+ auto it = mutations.find(item.key);
169
+ REQUIRE(it != mutations.end());
170
+ REQUIRE(it->second.sequence_number() == item.body->sequence_number);
171
+ }
172
+ }
173
+
174
+ TEST_CASE("integration: range scan small values", "[integration]")
175
+ {
176
+ test::utils::integration_test_guard integration;
177
+
178
+ if (!integration.has_bucket_capability("range_scan")) {
179
+ return;
180
+ }
181
+
182
+ auto collection = couchbase::cluster(integration.cluster)
183
+ .bucket(integration.ctx.bucket)
184
+ .scope(couchbase::scope::default_name)
185
+ .collection(couchbase::collection::default_name);
186
+
187
+ std::vector<std::byte> value = couchbase::core::utils::to_binary(R"({"barry":"sheen")");
188
+ for (std::size_t i = 0; i < value.size(); ++i) {
189
+ value[i] = static_cast<std::byte>(i);
190
+ }
191
+
192
+ std::vector<std::string> ids{
193
+ "rangesmallvalues-1023", "rangesmallvalues-1751", "rangesmallvalues-2202", "rangesmallvalues-2392", "rangesmallvalues-2570",
194
+ "rangesmallvalues-4132", "rangesmallvalues-4640", "rangesmallvalues-5836", "rangesmallvalues-7283", "rangesmallvalues-7313",
195
+ };
196
+
197
+ auto mutations = populate_documents_for_range_scan(collection, ids, value);
198
+
199
+ auto highest_mutation = std::max_element(
200
+ mutations.begin(), mutations.end(), [](auto a, auto b) { return a.second.sequence_number() < b.second.sequence_number(); });
201
+
202
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
203
+ ag.open_bucket(integration.ctx.bucket);
204
+ auto agent = ag.get_agent(integration.ctx.bucket);
205
+ REQUIRE(agent.has_value());
206
+
207
+ couchbase::core::range_scan_create_options create_options{
208
+ couchbase::scope::default_name,
209
+ couchbase::collection::default_name,
210
+ couchbase::core::range_scan{
211
+ { couchbase::core::utils::to_binary("rangesmallvalues") },
212
+ { couchbase::core::utils::to_binary("rangesmallvalues\xff") },
213
+ },
214
+ };
215
+ create_options.snapshot_requirements = couchbase::core::range_snapshot_requirements{
216
+ highest_mutation->second.partition_uuid(),
217
+ highest_mutation->second.sequence_number(),
218
+ };
219
+
220
+ couchbase::core::range_scan_continue_options continue_options{};
221
+ continue_options.batch_time_limit = std::chrono::seconds{ 10 };
222
+
223
+ auto data = do_range_scan(agent.value(), 12, create_options, continue_options);
224
+ REQUIRE_FALSE(data.empty());
225
+ for (const auto& item : data) {
226
+ REQUIRE(item.body.has_value());
227
+ REQUIRE(item.body->value == value);
228
+ auto it = mutations.find(item.key);
229
+ REQUIRE(it != mutations.end());
230
+ REQUIRE(it->second.sequence_number() == item.body->sequence_number);
231
+ }
232
+ }
233
+
234
+ class collection_guard
235
+ {
236
+ public:
237
+ explicit collection_guard(test::utils::integration_test_guard& integration)
238
+ : integration_{ integration }
239
+ {
240
+ auto resp = test::utils::execute(integration_.cluster,
241
+ couchbase::core::operations::management::collection_create_request{
242
+ integration_.ctx.bucket,
243
+ couchbase::scope::default_name,
244
+ collection_name_,
245
+ });
246
+ REQUIRE_SUCCESS(resp.ctx.ec);
247
+ REQUIRE(test::utils::wait_until_collection_manifest_propagated(integration_.cluster, integration_.ctx.bucket, resp.uid));
248
+ }
249
+
250
+ ~collection_guard()
251
+ {
252
+ auto resp = test::utils::execute(integration_.cluster,
253
+ couchbase::core::operations::management::collection_drop_request{
254
+ integration_.ctx.bucket,
255
+ couchbase::scope::default_name,
256
+ collection_name_,
257
+ });
258
+ REQUIRE_SUCCESS(resp.ctx.ec);
259
+ REQUIRE(test::utils::wait_until_collection_manifest_propagated(integration_.cluster, integration_.ctx.bucket, resp.uid));
260
+ }
261
+
262
+ [[nodiscard]] auto name() const -> const std::string&
263
+ {
264
+ return collection_name_;
265
+ }
266
+
267
+ private:
268
+ test::utils::integration_test_guard& integration_;
269
+ std::string collection_name_{ test::utils::uniq_id("collection") };
270
+ };
271
+
272
+ TEST_CASE("integration: range scan collection retry", "[integration]")
273
+ {
274
+ test::utils::integration_test_guard integration;
275
+
276
+ if (!integration.has_bucket_capability("range_scan")) {
277
+ return;
278
+ }
279
+
280
+ collection_guard new_collection(integration);
281
+
282
+ auto collection = couchbase::cluster(integration.cluster)
283
+ .bucket(integration.ctx.bucket)
284
+ .scope(couchbase::scope::default_name)
285
+ .collection(new_collection.name());
286
+
287
+ std::vector<std::byte> value = couchbase::core::utils::to_binary(R"({"barry":"sheen")");
288
+ for (std::size_t i = 0; i < value.size(); ++i) {
289
+ value[i] = static_cast<std::byte>(i);
290
+ }
291
+
292
+ std::vector<std::string> ids{
293
+ "rangecollectionretry-9695", "rangecollectionretry-24520", "rangecollectionretry-90825", "rangecollectionretry-119677",
294
+ "rangecollectionretry-150939", "rangecollectionretry-170176", "rangecollectionretry-199557", "rangecollectionretry-225568",
295
+ "rangecollectionretry-231302", "rangecollectionretry-245898",
296
+ };
297
+
298
+ auto mutations = populate_documents_for_range_scan(collection, ids, value);
299
+
300
+ auto highest_mutation = std::max_element(
301
+ mutations.begin(), mutations.end(), [](auto a, auto b) { return a.second.sequence_number() < b.second.sequence_number(); });
302
+
303
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
304
+ ag.open_bucket(integration.ctx.bucket);
305
+ auto agent = ag.get_agent(integration.ctx.bucket);
306
+ REQUIRE(agent.has_value());
307
+
308
+ // we're going to force a refresh, so we need to delete the collection from our cache.
309
+ agent->unit_test_api().collections().remove_collection_from_cache(couchbase::scope::default_name, new_collection.name());
310
+
311
+ couchbase::core::range_scan_create_options create_options{
312
+ couchbase::scope::default_name,
313
+ new_collection.name(),
314
+ couchbase::core::range_scan{
315
+ { couchbase::core::utils::to_binary("rangecollectionretry") },
316
+ { couchbase::core::utils::to_binary("rangecollectionretry\xff") },
317
+ },
318
+ };
319
+ create_options.snapshot_requirements = couchbase::core::range_snapshot_requirements{
320
+ highest_mutation->second.partition_uuid(),
321
+ highest_mutation->second.sequence_number(),
322
+ };
323
+
324
+ couchbase::core::range_scan_continue_options continue_options{};
325
+ continue_options.batch_time_limit = std::chrono::seconds{ 10 };
326
+
327
+ auto data = do_range_scan(agent.value(), 12, create_options, continue_options);
328
+ REQUIRE_FALSE(data.empty());
329
+ for (const auto& item : data) {
330
+ REQUIRE(item.body.has_value());
331
+ REQUIRE(item.body->value == value);
332
+ auto it = mutations.find(item.key);
333
+ REQUIRE(it != mutations.end());
334
+ REQUIRE(it->second.sequence_number() == item.body->sequence_number);
335
+ }
336
+ }
337
+
338
+ TEST_CASE("integration: range scan only keys", "[integration]")
339
+ {
340
+ test::utils::integration_test_guard integration;
341
+
342
+ if (!integration.has_bucket_capability("range_scan")) {
343
+ return;
344
+ }
345
+
346
+ auto collection = couchbase::cluster(integration.cluster)
347
+ .bucket(integration.ctx.bucket)
348
+ .scope(couchbase::scope::default_name)
349
+ .collection(couchbase::collection::default_name);
350
+
351
+ std::vector<std::byte> value = couchbase::core::utils::to_binary(R"({"barry":"sheen")");
352
+ for (std::size_t i = 0; i < value.size(); ++i) {
353
+ value[i] = static_cast<std::byte>(i);
354
+ }
355
+
356
+ std::vector<std::string> ids{
357
+ "rangekeysonly-1269", "rangekeysonly-2048", "rangekeysonly-4378", "rangekeysonly-7159", "rangekeysonly-8898",
358
+ "rangekeysonly-8908", "rangekeysonly-19559", "rangekeysonly-20808", "rangekeysonly-20998", "rangekeysonly-25889",
359
+ };
360
+
361
+ auto mutations = populate_documents_for_range_scan(collection, ids, value);
362
+
363
+ auto highest_mutation = std::max_element(
364
+ mutations.begin(), mutations.end(), [](auto a, auto b) { return a.second.sequence_number() < b.second.sequence_number(); });
365
+
366
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
367
+ ag.open_bucket(integration.ctx.bucket);
368
+ auto agent = ag.get_agent(integration.ctx.bucket);
369
+ REQUIRE(agent.has_value());
370
+
371
+ couchbase::core::range_scan_create_options create_options{
372
+ couchbase::scope::default_name,
373
+ couchbase::collection::default_name,
374
+ couchbase::core::range_scan{
375
+ { couchbase::core::utils::to_binary("rangekeysonly") },
376
+ { couchbase::core::utils::to_binary("rangekeysonly\xff") },
377
+ },
378
+ };
379
+ create_options.ids_only = true;
380
+ create_options.snapshot_requirements = couchbase::core::range_snapshot_requirements{
381
+ highest_mutation->second.partition_uuid(),
382
+ highest_mutation->second.sequence_number(),
383
+ };
384
+
385
+ couchbase::core::range_scan_continue_options continue_options{};
386
+ continue_options.batch_time_limit = std::chrono::seconds{ 10 };
387
+
388
+ auto data = do_range_scan(agent.value(), 12, create_options, continue_options);
389
+ REQUIRE_FALSE(data.empty());
390
+ for (const auto& item : data) {
391
+ REQUIRE_FALSE(item.body.has_value());
392
+ auto it = mutations.find(item.key);
393
+ REQUIRE(it != mutations.end());
394
+ }
395
+ }
396
+
397
+ TEST_CASE("integration: range scan cancellation before continue", "[integration]")
398
+ {
399
+ test::utils::integration_test_guard integration;
400
+
401
+ if (!integration.has_bucket_capability("range_scan")) {
402
+ return;
403
+ }
404
+
405
+ auto collection = couchbase::cluster(integration.cluster)
406
+ .bucket(integration.ctx.bucket)
407
+ .scope(couchbase::scope::default_name)
408
+ .collection(couchbase::collection::default_name);
409
+
410
+ std::vector<std::byte> value = couchbase::core::utils::to_binary(R"({"barry":"sheen")");
411
+ for (std::size_t i = 0; i < value.size(); ++i) {
412
+ value[i] = static_cast<std::byte>(i);
413
+ }
414
+
415
+ std::vector<std::string> ids{
416
+ "rangescancancel-2746", "rangescancancel-37795", "rangescancancel-63440", "rangescancancel-116036", "rangescancancel-136879",
417
+ "rangescancancel-156589", "rangescancancel-196316", "rangescancancel-203197", "rangescancancel-243428", "rangescancancel-257242",
418
+ };
419
+
420
+ auto mutations = populate_documents_for_range_scan(collection, ids, value);
421
+
422
+ auto highest_mutation = std::max_element(
423
+ mutations.begin(), mutations.end(), [](auto a, auto b) { return a.second.sequence_number() < b.second.sequence_number(); });
424
+
425
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
426
+ ag.open_bucket(integration.ctx.bucket);
427
+ auto agent = ag.get_agent(integration.ctx.bucket);
428
+ REQUIRE(agent.has_value());
429
+
430
+ const std::uint16_t vbucket_id{ 12 };
431
+ std::vector<std::byte> scan_uuid;
432
+
433
+ {
434
+ couchbase::core::range_scan_create_options options{
435
+ couchbase::scope::default_name,
436
+ couchbase::collection::default_name,
437
+ couchbase::core::range_scan{
438
+ { couchbase::core::utils::to_binary("rangescancancel") },
439
+ { couchbase::core::utils::to_binary("rangescancancel\xff") },
440
+ },
441
+ };
442
+ options.ids_only = true;
443
+ options.snapshot_requirements = couchbase::core::range_snapshot_requirements{
444
+ highest_mutation->second.partition_uuid(),
445
+ highest_mutation->second.sequence_number(),
446
+ };
447
+
448
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_create_result, std::error_code>>>();
449
+ auto f = barrier->get_future();
450
+
451
+ auto op = agent->range_scan_create(vbucket_id, options, [barrier](auto res, auto ec) {
452
+ barrier->set_value({ std::move(res), ec });
453
+ });
454
+ EXPECT_SUCCESS(op);
455
+
456
+ auto [res, ec] = f.get();
457
+ REQUIRE_SUCCESS(ec);
458
+ REQUIRE_FALSE(res.scan_uuid.empty());
459
+ scan_uuid = res.scan_uuid;
460
+ }
461
+
462
+ {
463
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_cancel_result, std::error_code>>>();
464
+ auto f = barrier->get_future();
465
+
466
+ auto op = agent->range_scan_cancel(scan_uuid, vbucket_id, {}, [barrier](auto res, auto ec) {
467
+ barrier->set_value({ std::move(res), ec });
468
+ });
469
+ EXPECT_SUCCESS(op);
470
+
471
+ auto [resp, ec] = f.get();
472
+ REQUIRE_SUCCESS(ec);
473
+ }
474
+
475
+ couchbase::core::range_scan_continue_options options{};
476
+ options.batch_time_limit = std::chrono::seconds{ 10 };
477
+ options.ids_only = true; // support servers before MB-54267. TODO: remove after server GA
478
+
479
+ bool items_callback_invoked{ false };
480
+ {
481
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_continue_result, std::error_code>>>();
482
+ auto f = barrier->get_future();
483
+
484
+ auto op = agent->range_scan_continue(
485
+ scan_uuid,
486
+ vbucket_id,
487
+ options,
488
+ [&items_callback_invoked](auto) { items_callback_invoked = true; },
489
+ [barrier](auto res, auto ec) {
490
+ barrier->set_value({ std::move(res), ec });
491
+ });
492
+ EXPECT_SUCCESS(op);
493
+
494
+ auto [resp, ec] = f.get();
495
+ REQUIRE(ec == couchbase::errc::key_value::document_not_found);
496
+ }
497
+
498
+ REQUIRE_FALSE(items_callback_invoked);
499
+ }
500
+
501
+ TEST_CASE("integration: range scan cancel during streaming using protocol cancel", "[integration]")
502
+ {
503
+ test::utils::integration_test_guard integration;
504
+
505
+ if (!integration.has_bucket_capability("range_scan")) {
506
+ return;
507
+ }
508
+
509
+ auto collection = couchbase::cluster(integration.cluster)
510
+ .bucket(integration.ctx.bucket)
511
+ .scope(couchbase::scope::default_name)
512
+ .collection(couchbase::collection::default_name);
513
+
514
+ std::vector<std::byte> value = couchbase::core::utils::to_binary(R"({"barry":"sheen")");
515
+ for (std::size_t i = 0; i < value.size(); ++i) {
516
+ value[i] = static_cast<std::byte>(i);
517
+ }
518
+
519
+ std::vector<std::string> ids{
520
+ "rangescancancel-2746", "rangescancancel-37795", "rangescancancel-63440", "rangescancancel-116036", "rangescancancel-136879",
521
+ "rangescancancel-156589", "rangescancancel-196316", "rangescancancel-203197", "rangescancancel-243428", "rangescancancel-257242",
522
+ };
523
+
524
+ auto mutations = populate_documents_for_range_scan(collection, ids, value);
525
+
526
+ auto highest_mutation = std::max_element(
527
+ mutations.begin(), mutations.end(), [](auto a, auto b) { return a.second.sequence_number() < b.second.sequence_number(); });
528
+
529
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
530
+ ag.open_bucket(integration.ctx.bucket);
531
+ auto agent = ag.get_agent(integration.ctx.bucket);
532
+ REQUIRE(agent.has_value());
533
+
534
+ const std::uint16_t vbucket_id{ 12 };
535
+ std::vector<std::byte> scan_uuid;
536
+
537
+ {
538
+ couchbase::core::range_scan_create_options options{
539
+ couchbase::scope::default_name,
540
+ couchbase::collection::default_name,
541
+ couchbase::core::range_scan{
542
+ { couchbase::core::utils::to_binary("rangescancancel") },
543
+ { couchbase::core::utils::to_binary("rangescancancel\xff") },
544
+ },
545
+ };
546
+ options.ids_only = true;
547
+ options.snapshot_requirements = couchbase::core::range_snapshot_requirements{
548
+ highest_mutation->second.partition_uuid(),
549
+ highest_mutation->second.sequence_number(),
550
+ };
551
+
552
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_create_result, std::error_code>>>();
553
+ auto f = barrier->get_future();
554
+
555
+ auto op = agent->range_scan_create(vbucket_id, options, [barrier](auto res, auto ec) {
556
+ barrier->set_value({ std::move(res), ec });
557
+ });
558
+ EXPECT_SUCCESS(op);
559
+
560
+ auto [res, ec] = f.get();
561
+ REQUIRE_SUCCESS(ec);
562
+ REQUIRE_FALSE(res.scan_uuid.empty());
563
+ scan_uuid = res.scan_uuid;
564
+ }
565
+
566
+ auto execute_protocol_cancel = [agent, scan_uuid, vbid = vbucket_id]() {
567
+ auto op = agent->range_scan_cancel(scan_uuid, vbid, {}, [](auto /* res */, auto ec) { REQUIRE_SUCCESS(ec); });
568
+ EXPECT_SUCCESS(op);
569
+ };
570
+
571
+ std::vector<couchbase::core::range_scan_item> data;
572
+ std::size_t iteration = 0;
573
+
574
+ do {
575
+ ++iteration;
576
+
577
+ couchbase::core::range_scan_continue_options options{};
578
+ options.batch_time_limit = std::chrono::seconds{ 10 };
579
+ options.batch_item_limit = 3; // limit batch to 3 items, while range expected to be larger
580
+ options.ids_only = true; // support servers before MB-54267. TODO: remove after server GA
581
+
582
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_continue_result, std::error_code>>>();
583
+ auto f = barrier->get_future();
584
+
585
+ auto op = agent->range_scan_continue(
586
+ scan_uuid,
587
+ vbucket_id,
588
+ options,
589
+ [&data, do_cancel = execute_protocol_cancel](auto item) {
590
+ if (data.empty()) {
591
+ do_cancel(); // cancel scan after first document, but continue scanning
592
+ }
593
+ data.emplace_back(std::move(item));
594
+ },
595
+ [barrier](auto res, auto ec) {
596
+ barrier->set_value({ std::move(res), ec });
597
+ });
598
+ EXPECT_SUCCESS(op);
599
+
600
+ auto [res, ec] = f.get();
601
+ if (iteration == 1) {
602
+ REQUIRE(res.complete == false);
603
+ REQUIRE_SUCCESS(ec);
604
+ } else {
605
+ REQUIRE(ec == couchbase::errc::key_value::document_not_found); // scan has been cancelled
606
+ break;
607
+ }
608
+ } while (true);
609
+
610
+ REQUIRE(data.size() == 3);
611
+ }
612
+
613
+ TEST_CASE("integration: range scan cancel during streaming using pending_operation cancel", "[integration]")
614
+ {
615
+ test::utils::integration_test_guard integration;
616
+
617
+ if (!integration.has_bucket_capability("range_scan")) {
618
+ return;
619
+ }
620
+
621
+ auto collection = couchbase::cluster(integration.cluster)
622
+ .bucket(integration.ctx.bucket)
623
+ .scope(couchbase::scope::default_name)
624
+ .collection(couchbase::collection::default_name);
625
+
626
+ std::vector<std::byte> value = couchbase::core::utils::to_binary(R"({"barry":"sheen")");
627
+ for (std::size_t i = 0; i < value.size(); ++i) {
628
+ value[i] = static_cast<std::byte>(i);
629
+ }
630
+
631
+ std::vector<std::string> ids{
632
+ "rangescancancel-2746", "rangescancancel-37795", "rangescancancel-63440", "rangescancancel-116036", "rangescancancel-136879",
633
+ "rangescancancel-156589", "rangescancancel-196316", "rangescancancel-203197", "rangescancancel-243428", "rangescancancel-257242",
634
+ };
635
+
636
+ auto mutations = populate_documents_for_range_scan(collection, ids, value);
637
+
638
+ auto highest_mutation = std::max_element(
639
+ mutations.begin(), mutations.end(), [](auto a, auto b) { return a.second.sequence_number() < b.second.sequence_number(); });
640
+
641
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
642
+ ag.open_bucket(integration.ctx.bucket);
643
+ auto agent = ag.get_agent(integration.ctx.bucket);
644
+ REQUIRE(agent.has_value());
645
+
646
+ const std::uint16_t vbucket_id{ 12 };
647
+ std::vector<std::byte> scan_uuid;
648
+
649
+ {
650
+ couchbase::core::range_scan_create_options options{
651
+ couchbase::scope::default_name,
652
+ couchbase::collection::default_name,
653
+ couchbase::core::range_scan{
654
+ { couchbase::core::utils::to_binary("rangescancancel") },
655
+ { couchbase::core::utils::to_binary("rangescancancel\xff") },
656
+ },
657
+ };
658
+ options.ids_only = true;
659
+ options.snapshot_requirements = couchbase::core::range_snapshot_requirements{
660
+ highest_mutation->second.partition_uuid(),
661
+ highest_mutation->second.sequence_number(),
662
+ };
663
+
664
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_create_result, std::error_code>>>();
665
+ auto f = barrier->get_future();
666
+
667
+ auto op = agent->range_scan_create(vbucket_id, options, [barrier](auto res, auto ec) {
668
+ barrier->set_value({ std::move(res), ec });
669
+ });
670
+ EXPECT_SUCCESS(op);
671
+
672
+ auto [res, ec] = f.get();
673
+ REQUIRE_SUCCESS(ec);
674
+ REQUIRE_FALSE(res.scan_uuid.empty());
675
+ scan_uuid = res.scan_uuid;
676
+ }
677
+
678
+ std::shared_ptr<couchbase::core::pending_operation> operation_holder{};
679
+
680
+ auto execute_operation_cancel = [&operation_holder]() { operation_holder->cancel(); };
681
+
682
+ std::vector<couchbase::core::range_scan_item> data;
683
+
684
+ {
685
+ couchbase::core::range_scan_continue_options options{};
686
+ options.batch_time_limit = std::chrono::seconds{ 10 };
687
+ options.batch_item_limit = 3; // limit batch to 3 items, while range expected to be larger
688
+ options.ids_only = true; // support servers before MB-54267. TODO: remove after server GA
689
+
690
+ auto barrier = std::make_shared<std::promise<std::pair<couchbase::core::range_scan_continue_result, std::error_code>>>();
691
+ auto f = barrier->get_future();
692
+
693
+ auto op = agent->range_scan_continue(
694
+ scan_uuid,
695
+ vbucket_id,
696
+ options,
697
+ [&data, do_cancel = execute_operation_cancel](auto item) {
698
+ data.emplace_back(std::move(item));
699
+ do_cancel(); // cancel operation after first document
700
+ },
701
+ [barrier](auto res, auto ec) {
702
+ barrier->set_value({ std::move(res), ec });
703
+ });
704
+ EXPECT_SUCCESS(op);
705
+ std::swap(operation_holder, op.value()); // store the operation for cancellation
706
+
707
+ auto [res, ec] = f.get();
708
+ REQUIRE(res.complete == false);
709
+ REQUIRE(ec == couchbase::errc::common::request_canceled);
710
+ }
711
+
712
+ REQUIRE(data.size() >= 1);
713
+ }
714
+
715
+ TEST_CASE("integration: sampling scan keys only", "[integration]")
716
+ {
717
+ test::utils::integration_test_guard integration;
718
+
719
+ if (!integration.has_bucket_capability("range_scan")) {
720
+ return;
721
+ }
722
+
723
+ auto collection = couchbase::cluster(integration.cluster)
724
+ .bucket(integration.ctx.bucket)
725
+ .scope(couchbase::scope::default_name)
726
+ .collection(couchbase::collection::default_name);
727
+
728
+ std::vector<std::byte> value = couchbase::core::utils::to_binary(R"({"barry":"sheen")");
729
+ for (std::size_t i = 0; i < value.size(); ++i) {
730
+ value[i] = static_cast<std::byte>(i);
731
+ }
732
+
733
+ std::vector<std::string> ids{
734
+ "samplescankeys-170", "samplescankeys-602", "samplescankeys-792", "samplescankeys-3978", "samplescankeys-6869",
735
+ "samplescankeys-9038", "samplescankeys-10806", "samplescankeys-10996", "samplescankeys-11092", "samplescankeys-11102",
736
+ };
737
+
738
+ auto mutations = populate_documents_for_range_scan(collection, ids, value);
739
+
740
+ auto highest_mutation = std::max_element(
741
+ mutations.begin(), mutations.end(), [](auto a, auto b) { return a.second.sequence_number() < b.second.sequence_number(); });
742
+
743
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
744
+ ag.open_bucket(integration.ctx.bucket);
745
+ auto agent = ag.get_agent(integration.ctx.bucket);
746
+ REQUIRE(agent.has_value());
747
+
748
+ couchbase::core::range_scan_create_options create_options{
749
+ couchbase::scope::default_name,
750
+ couchbase::collection::default_name,
751
+ couchbase::core::sampling_scan{ 10 },
752
+ };
753
+ create_options.ids_only = true;
754
+ create_options.snapshot_requirements = couchbase::core::range_snapshot_requirements{
755
+ highest_mutation->second.partition_uuid(),
756
+ highest_mutation->second.sequence_number(),
757
+ };
758
+
759
+ couchbase::core::range_scan_continue_options continue_options{};
760
+ continue_options.batch_time_limit = std::chrono::seconds{ 10 };
761
+
762
+ auto data = do_range_scan(agent.value(), 12, create_options, continue_options);
763
+ REQUIRE_FALSE(data.empty());
764
+ }
765
+
766
+ static auto
767
+ make_doc_ids(std::size_t number_of_keys, const std::string& prefix)
768
+ {
769
+ std::vector<std::string> keys{ number_of_keys };
770
+ for (std::size_t i = 0; i < number_of_keys; ++i) {
771
+ keys[i] = prefix + std::to_string(i);
772
+ }
773
+ return keys;
774
+ }
775
+
776
+ static auto
777
+ mutations_to_mutation_state(std::map<std::vector<std::byte>, couchbase::mutation_token> mutations)
778
+ {
779
+ couchbase::core::mutation_state state;
780
+ for (const auto& [key, token] : mutations) {
781
+ state.tokens.emplace_back(token);
782
+ }
783
+ return state;
784
+ }
785
+
786
+ TEST_CASE("integration: manager scan range without content", "[integration]")
787
+ {
788
+ test::utils::integration_test_guard integration;
789
+
790
+ if (!integration.has_bucket_capability("range_scan")) {
791
+ return;
792
+ }
793
+
794
+ auto collection = couchbase::cluster(integration.cluster)
795
+ .bucket(integration.ctx.bucket)
796
+ .scope(couchbase::scope::default_name)
797
+ .collection(couchbase::collection::default_name);
798
+
799
+ auto ids = make_doc_ids(100, "rangescanwithoutcontent-");
800
+ auto value = make_binary_value(1);
801
+ auto mutations = populate_documents_for_range_scan(collection, ids, value, std::chrono::seconds{ 30 });
802
+
803
+ auto barrier = std::make_shared<std::promise<tl::expected<std::size_t, std::error_code>>>();
804
+ auto f = barrier->get_future();
805
+ integration.cluster->with_bucket_configuration(
806
+ integration.ctx.bucket, [barrier](std::error_code ec, const couchbase::core::topology::configuration& config) mutable {
807
+ if (ec) {
808
+ return barrier->set_value(tl::unexpected(ec));
809
+ }
810
+ if (!config.vbmap || config.vbmap->empty()) {
811
+ return barrier->set_value(tl::unexpected(couchbase::errc::common::feature_not_available));
812
+ }
813
+ barrier->set_value(config.vbmap->size());
814
+ });
815
+ auto number_of_vbuckets = f.get();
816
+ EXPECT_SUCCESS(number_of_vbuckets);
817
+
818
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
819
+ ag.open_bucket(integration.ctx.bucket);
820
+ auto agent = ag.get_agent(integration.ctx.bucket);
821
+ REQUIRE(agent.has_value());
822
+
823
+ couchbase::core::range_scan scan{ "rangescanwithoutcontent", "rangescanwithoutcontent\xff" };
824
+ couchbase::core::range_scan_orchestrator_options options{};
825
+ options.consistent_with = mutations_to_mutation_state(mutations);
826
+ options.ids_only = true;
827
+ couchbase::core::range_scan_orchestrator orchestrator(integration.io,
828
+ agent.value(),
829
+ number_of_vbuckets.value(),
830
+ couchbase::scope::default_name,
831
+ couchbase::collection::default_name,
832
+ scan,
833
+ options);
834
+
835
+ auto result = orchestrator.scan();
836
+ EXPECT_SUCCESS(result);
837
+
838
+ std::set<std::vector<std::byte>> entry_ids{};
839
+
840
+ do {
841
+ auto entry = result->next();
842
+ if (!entry) {
843
+ break;
844
+ }
845
+
846
+ auto [_, inserted] = entry_ids.insert(entry->key);
847
+ REQUIRE(inserted);
848
+ REQUIRE_FALSE(entry->body.has_value());
849
+ } while (true);
850
+
851
+ for (const auto& id : ids) {
852
+ REQUIRE(entry_ids.count(couchbase::core::utils::to_binary(id)) == 1);
853
+ }
854
+ REQUIRE(ids.size() == entry_ids.size());
855
+ }
856
+
857
+ TEST_CASE("integration: manager scan range with content", "[integration]")
858
+ {
859
+ test::utils::integration_test_guard integration;
860
+
861
+ if (!integration.has_bucket_capability("range_scan")) {
862
+ return;
863
+ }
864
+
865
+ auto collection = couchbase::cluster(integration.cluster)
866
+ .bucket(integration.ctx.bucket)
867
+ .scope(couchbase::scope::default_name)
868
+ .collection(couchbase::collection::default_name);
869
+
870
+ auto ids = make_doc_ids(100, "rangescanwithcontent-");
871
+ auto value = make_binary_value(100);
872
+ auto mutations = populate_documents_for_range_scan(collection, ids, value, std::chrono::seconds{ 30 });
873
+
874
+ auto barrier = std::make_shared<std::promise<tl::expected<std::size_t, std::error_code>>>();
875
+ auto f = barrier->get_future();
876
+ integration.cluster->with_bucket_configuration(
877
+ integration.ctx.bucket, [barrier](std::error_code ec, const couchbase::core::topology::configuration& config) mutable {
878
+ if (ec) {
879
+ return barrier->set_value(tl::unexpected(ec));
880
+ }
881
+ if (!config.vbmap || config.vbmap->empty()) {
882
+ return barrier->set_value(tl::unexpected(couchbase::errc::common::feature_not_available));
883
+ }
884
+ barrier->set_value(config.vbmap->size());
885
+ });
886
+ auto number_of_vbuckets = f.get();
887
+ EXPECT_SUCCESS(number_of_vbuckets);
888
+
889
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
890
+ ag.open_bucket(integration.ctx.bucket);
891
+ auto agent = ag.get_agent(integration.ctx.bucket);
892
+ REQUIRE(agent.has_value());
893
+
894
+ couchbase::core::range_scan scan{ "rangescanwithcontent", "rangescanwithcontent\xff" };
895
+ couchbase::core::range_scan_orchestrator_options options{};
896
+ options.consistent_with = mutations_to_mutation_state(mutations);
897
+ couchbase::core::range_scan_orchestrator orchestrator(integration.io,
898
+ agent.value(),
899
+ number_of_vbuckets.value(),
900
+ couchbase::scope::default_name,
901
+ couchbase::collection::default_name,
902
+ scan,
903
+ options);
904
+
905
+ auto result = orchestrator.scan();
906
+ EXPECT_SUCCESS(result);
907
+
908
+ std::set<std::vector<std::byte>> entry_ids{};
909
+
910
+ do {
911
+ auto entry = result->next();
912
+ if (!entry) {
913
+ break;
914
+ }
915
+
916
+ auto [_, inserted] = entry_ids.insert(entry->key);
917
+ REQUIRE(inserted);
918
+ REQUIRE(entry->body.has_value());
919
+ } while (true);
920
+
921
+ for (const auto& id : ids) {
922
+ INFO(id);
923
+ REQUIRE(entry_ids.count(couchbase::core::utils::to_binary(id)) == 1);
924
+ }
925
+ REQUIRE(ids.size() == entry_ids.size());
926
+ }
927
+
928
+ TEST_CASE("integration: manager sampling scan with custom collection", "[integration]")
929
+ {
930
+ test::utils::integration_test_guard integration;
931
+
932
+ if (!integration.has_bucket_capability("range_scan")) {
933
+ return;
934
+ }
935
+
936
+ collection_guard new_collection(integration);
937
+
938
+ auto collection = couchbase::cluster(integration.cluster)
939
+ .bucket(integration.ctx.bucket)
940
+ .scope(couchbase::scope::default_name)
941
+ .collection(new_collection.name());
942
+
943
+ auto ids = make_doc_ids(100, "samplingscan-");
944
+ auto value = make_binary_value(100);
945
+ auto mutations = populate_documents_for_range_scan(collection, ids, value, std::chrono::seconds{ 300 });
946
+
947
+ auto barrier = std::make_shared<std::promise<tl::expected<std::size_t, std::error_code>>>();
948
+ auto f = barrier->get_future();
949
+ integration.cluster->with_bucket_configuration(
950
+ integration.ctx.bucket, [barrier](std::error_code ec, const couchbase::core::topology::configuration& config) mutable {
951
+ if (ec) {
952
+ return barrier->set_value(tl::unexpected(ec));
953
+ }
954
+ if (!config.vbmap || config.vbmap->empty()) {
955
+ return barrier->set_value(tl::unexpected(couchbase::errc::common::feature_not_available));
956
+ }
957
+ barrier->set_value(config.vbmap->size());
958
+ });
959
+ auto number_of_vbuckets = f.get();
960
+ EXPECT_SUCCESS(number_of_vbuckets);
961
+
962
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
963
+ ag.open_bucket(integration.ctx.bucket);
964
+ auto agent = ag.get_agent(integration.ctx.bucket);
965
+ REQUIRE(agent.has_value());
966
+
967
+ couchbase::core::sampling_scan scan{ 10, 50 };
968
+ couchbase::core::range_scan_orchestrator_options options{};
969
+ options.consistent_with = mutations_to_mutation_state(mutations);
970
+ couchbase::core::range_scan_orchestrator orchestrator(
971
+ integration.io, agent.value(), number_of_vbuckets.value(), couchbase::scope::default_name, new_collection.name(), scan, options);
972
+
973
+ auto result = orchestrator.scan();
974
+ EXPECT_SUCCESS(result);
975
+
976
+ std::set<std::vector<std::byte>> entry_ids{};
977
+
978
+ auto now = std::chrono::system_clock::now();
979
+ do {
980
+ auto entry = result->next();
981
+ if (!entry) {
982
+ break;
983
+ }
984
+
985
+ REQUIRE(entry->body);
986
+ REQUIRE_FALSE(entry->body->cas.empty());
987
+ REQUIRE(entry->body->value == value);
988
+ REQUIRE(entry->body->expiry_time() > now);
989
+
990
+ auto [_, inserted] = entry_ids.insert(entry->key);
991
+ REQUIRE(inserted);
992
+ } while (true);
993
+
994
+ REQUIRE(ids.size() >= 10);
995
+
996
+ for (const auto& id : entry_ids) {
997
+ REQUIRE(std::find(ids.begin(), ids.end(), std::string(reinterpret_cast<const char*>(id.data()), id.size())) != ids.end());
998
+ }
999
+ }
1000
+
1001
+ TEST_CASE("integration: manager range scan with sort", "[integration]")
1002
+ {
1003
+ test::utils::integration_test_guard integration;
1004
+
1005
+ if (!integration.has_bucket_capability("range_scan")) {
1006
+ return;
1007
+ }
1008
+
1009
+ collection_guard new_collection(integration);
1010
+
1011
+ auto collection = couchbase::cluster(integration.cluster)
1012
+ .bucket(integration.ctx.bucket)
1013
+ .scope(couchbase::scope::default_name)
1014
+ .collection(new_collection.name());
1015
+
1016
+ auto ids = make_doc_ids(100, "rangescansort-");
1017
+ auto value = make_binary_value(100);
1018
+ auto mutations = populate_documents_for_range_scan(collection, ids, value, std::chrono::seconds{ 300 });
1019
+
1020
+ auto barrier = std::make_shared<std::promise<tl::expected<std::size_t, std::error_code>>>();
1021
+ auto f = barrier->get_future();
1022
+ integration.cluster->with_bucket_configuration(
1023
+ integration.ctx.bucket, [barrier](std::error_code ec, const couchbase::core::topology::configuration& config) mutable {
1024
+ if (ec) {
1025
+ return barrier->set_value(tl::unexpected(ec));
1026
+ }
1027
+ if (!config.vbmap || config.vbmap->empty()) {
1028
+ return barrier->set_value(tl::unexpected(couchbase::errc::common::feature_not_available));
1029
+ }
1030
+ barrier->set_value(config.vbmap->size());
1031
+ });
1032
+ auto number_of_vbuckets = f.get();
1033
+ EXPECT_SUCCESS(number_of_vbuckets);
1034
+
1035
+ auto ag = couchbase::core::agent_group(integration.io, { { integration.cluster } });
1036
+ ag.open_bucket(integration.ctx.bucket);
1037
+ auto agent = ag.get_agent(integration.ctx.bucket);
1038
+ REQUIRE(agent.has_value());
1039
+
1040
+ couchbase::core::range_scan scan{ "rangescansort", "rangescansort\xff" };
1041
+ couchbase::core::range_scan_orchestrator_options options{};
1042
+ options.consistent_with = mutations_to_mutation_state(mutations);
1043
+ options.ids_only = true;
1044
+ options.sort = couchbase::core::scan_sort::ascending;
1045
+ couchbase::core::range_scan_orchestrator orchestrator(
1046
+ integration.io, agent.value(), number_of_vbuckets.value(), couchbase::scope::default_name, new_collection.name(), scan, options);
1047
+
1048
+ auto result = orchestrator.scan();
1049
+ EXPECT_SUCCESS(result);
1050
+
1051
+ std::vector<std::string> entry_ids{};
1052
+ entry_ids.reserve(ids.size());
1053
+
1054
+ do {
1055
+ auto entry = result->next();
1056
+ if (!entry) {
1057
+ break;
1058
+ }
1059
+
1060
+ entry_ids.emplace_back(reinterpret_cast<const char*>(entry->key.data()), entry->key.size());
1061
+ REQUIRE_FALSE(entry->body.has_value());
1062
+ } while (true);
1063
+
1064
+ REQUIRE(ids.size() == entry_ids.size());
1065
+ std::sort(ids.begin(), ids.end());
1066
+ REQUIRE(ids == entry_ids);
1067
+ }