couchbase 3.5.1 → 3.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2759) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/ext/0001-fix-build-for-mingw-w64-ucrt-x86_64-toolchain.patch +40 -0
  4. data/ext/CMakeLists.txt +22 -2
  5. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/any_completion_executor.hpp +336 -0
  6. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/any_completion_handler.hpp +822 -0
  7. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/any_io_executor.hpp +351 -0
  8. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/append.hpp +65 -0
  9. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/as_tuple.hpp +126 -0
  10. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associated_allocator.hpp +214 -0
  11. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associated_cancellation_slot.hpp +221 -0
  12. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associated_executor.hpp +235 -0
  13. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associated_immediate_executor.hpp +280 -0
  14. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associator.hpp +35 -0
  15. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/async_result.hpp +942 -0
  16. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/awaitable.hpp +142 -0
  17. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_datagram_socket.hpp +1362 -0
  18. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_deadline_timer.hpp +710 -0
  19. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_file.hpp +824 -0
  20. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_io_object.hpp +286 -0
  21. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_random_access_file.hpp +689 -0
  22. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_raw_socket.hpp +1356 -0
  23. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_readable_pipe.hpp +626 -0
  24. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_seq_packet_socket.hpp +823 -0
  25. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_serial_port.hpp +987 -0
  26. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_signal_set.hpp +648 -0
  27. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_socket.hpp +1936 -0
  28. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_socket_acceptor.hpp +2708 -0
  29. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_socket_iostream.hpp +331 -0
  30. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_socket_streambuf.hpp +642 -0
  31. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_stream_file.hpp +744 -0
  32. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_stream_socket.hpp +1163 -0
  33. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_streambuf.hpp +450 -0
  34. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_streambuf_fwd.hpp +36 -0
  35. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_waitable_timer.hpp +824 -0
  36. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_writable_pipe.hpp +622 -0
  37. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/bind_allocator.hpp +530 -0
  38. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/bind_cancellation_slot.hpp +544 -0
  39. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/bind_executor.hpp +582 -0
  40. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/bind_immediate_executor.hpp +549 -0
  41. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffer.hpp +2751 -0
  42. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffer_registration.hpp +318 -0
  43. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_read_stream.hpp +273 -0
  44. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_read_stream_fwd.hpp +25 -0
  45. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_stream.hpp +292 -0
  46. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_stream_fwd.hpp +25 -0
  47. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_write_stream.hpp +265 -0
  48. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_write_stream_fwd.hpp +25 -0
  49. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffers_iterator.hpp +521 -0
  50. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/cancellation_signal.hpp +245 -0
  51. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/cancellation_state.hpp +235 -0
  52. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/cancellation_type.hpp +157 -0
  53. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/co_spawn.hpp +523 -0
  54. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/completion_condition.hpp +218 -0
  55. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/compose.hpp +319 -0
  56. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/connect.hpp +1180 -0
  57. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/connect_pipe.hpp +83 -0
  58. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/consign.hpp +75 -0
  59. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/coroutine.hpp +329 -0
  60. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/deadline_timer.hpp +38 -0
  61. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/defer.hpp +218 -0
  62. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/deferred.hpp +715 -0
  63. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detached.hpp +105 -0
  64. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/array.hpp +30 -0
  65. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/array_fwd.hpp +32 -0
  66. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/assert.hpp +32 -0
  67. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/atomic_count.hpp +59 -0
  68. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/base_from_cancellation_state.hpp +164 -0
  69. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/base_from_completion_cond.hpp +69 -0
  70. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/bind_handler.hpp +711 -0
  71. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/blocking_executor_op.hpp +107 -0
  72. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/buffer_resize_guard.hpp +66 -0
  73. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +837 -0
  74. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/buffered_stream_storage.hpp +126 -0
  75. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/call_stack.hpp +125 -0
  76. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/chrono.hpp +45 -0
  77. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/chrono_time_traits.hpp +190 -0
  78. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/completion_handler.hpp +88 -0
  79. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/composed_work.hpp +252 -0
  80. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/concurrency_hint.hpp +94 -0
  81. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +120 -0
  82. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/conditionally_enabled_mutex.hpp +149 -0
  83. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/config.hpp +1422 -0
  84. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/consuming_buffers.hpp +443 -0
  85. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/cstddef.hpp +27 -0
  86. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/cstdint.hpp +40 -0
  87. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/date_time_fwd.hpp +34 -0
  88. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/deadline_timer_service.hpp +335 -0
  89. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/dependent_type.hpp +36 -0
  90. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/descriptor_ops.hpp +179 -0
  91. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/descriptor_read_op.hpp +188 -0
  92. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/descriptor_write_op.hpp +187 -0
  93. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/dev_poll_reactor.hpp +247 -0
  94. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/epoll_reactor.hpp +295 -0
  95. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/event.hpp +46 -0
  96. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/eventfd_select_interrupter.hpp +83 -0
  97. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/exception.hpp +29 -0
  98. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/executor_function.hpp +152 -0
  99. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/executor_op.hpp +84 -0
  100. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/fd_set_adapter.hpp +39 -0
  101. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/fenced_block.hpp +40 -0
  102. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/functional.hpp +33 -0
  103. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/future.hpp +32 -0
  104. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/global.hpp +50 -0
  105. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +225 -0
  106. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_cont_helpers.hpp +45 -0
  107. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_tracking.hpp +264 -0
  108. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_type_requirements.hpp +553 -0
  109. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_work.hpp +511 -0
  110. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/hash_map.hpp +331 -0
  111. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/buffer_sequence_adapter.ipp +118 -0
  112. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +991 -0
  113. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/dev_poll_reactor.hpp +111 -0
  114. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/dev_poll_reactor.ipp +469 -0
  115. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/epoll_reactor.hpp +109 -0
  116. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/epoll_reactor.ipp +826 -0
  117. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp +171 -0
  118. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/handler_tracking.ipp +398 -0
  119. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_descriptor_service.ipp +205 -0
  120. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_file_service.ipp +140 -0
  121. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_service.hpp +112 -0
  122. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_service.ipp +914 -0
  123. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_socket_service_base.ipp +249 -0
  124. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/kqueue_reactor.hpp +113 -0
  125. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/kqueue_reactor.ipp +608 -0
  126. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/null_event.ipp +74 -0
  127. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/pipe_select_interrupter.ipp +129 -0
  128. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_event.ipp +63 -0
  129. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_mutex.ipp +46 -0
  130. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_serial_port_service.ipp +168 -0
  131. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_thread.ipp +84 -0
  132. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp +46 -0
  133. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +230 -0
  134. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +310 -0
  135. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +158 -0
  136. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/scheduler.ipp +675 -0
  137. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/select_reactor.hpp +124 -0
  138. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/select_reactor.ipp +400 -0
  139. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/service_registry.hpp +93 -0
  140. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/service_registry.ipp +197 -0
  141. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/signal_set_service.ipp +826 -0
  142. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/socket_ops.ipp +4035 -0
  143. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/socket_select_interrupter.ipp +185 -0
  144. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +346 -0
  145. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/strand_executor_service.ipp +158 -0
  146. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/strand_service.hpp +86 -0
  147. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/strand_service.ipp +202 -0
  148. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/thread_context.ipp +35 -0
  149. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/throw_error.ipp +49 -0
  150. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +97 -0
  151. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/timer_queue_set.ipp +101 -0
  152. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_event.ipp +76 -0
  153. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_file_service.ipp +280 -0
  154. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_handle_service.ipp +619 -0
  155. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +119 -0
  156. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +614 -0
  157. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp +200 -0
  158. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +821 -0
  159. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_mutex.ipp +84 -0
  160. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_object_handle_service.ipp +452 -0
  161. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_static_mutex.ipp +136 -0
  162. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_thread.ipp +150 -0
  163. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_tss_ptr.ipp +57 -0
  164. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +626 -0
  165. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.hpp +92 -0
  166. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.ipp +121 -0
  167. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/winsock_init.ipp +82 -0
  168. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/initiate_defer.hpp +207 -0
  169. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/initiate_dispatch.hpp +193 -0
  170. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/initiate_post.hpp +207 -0
  171. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_control.hpp +84 -0
  172. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_object_impl.hpp +177 -0
  173. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_read_at_op.hpp +195 -0
  174. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_read_op.hpp +190 -0
  175. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_service.hpp +687 -0
  176. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_write_at_op.hpp +189 -0
  177. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_write_op.hpp +185 -0
  178. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_file_service.hpp +261 -0
  179. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_null_buffers_op.hpp +114 -0
  180. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_operation.hpp +84 -0
  181. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_service.hpp +319 -0
  182. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_accept_op.hpp +280 -0
  183. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_connect_op.hpp +140 -0
  184. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_recv_op.hpp +205 -0
  185. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_recvfrom_op.hpp +206 -0
  186. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_recvmsg_op.hpp +192 -0
  187. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_send_op.hpp +191 -0
  188. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_sendto_op.hpp +194 -0
  189. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_service.hpp +629 -0
  190. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_service_base.hpp +663 -0
  191. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_wait_op.hpp +112 -0
  192. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/is_buffer_sequence.hpp +296 -0
  193. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/is_executor.hpp +126 -0
  194. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/keyword_tss_ptr.hpp +70 -0
  195. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/kqueue_reactor.hpp +271 -0
  196. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/local_free_on_block_exit.hpp +59 -0
  197. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/memory.hpp +126 -0
  198. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/mutex.hpp +46 -0
  199. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/non_const_lvalue.hpp +43 -0
  200. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/noncopyable.hpp +43 -0
  201. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_event.hpp +106 -0
  202. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_fenced_block.hpp +47 -0
  203. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_global.hpp +59 -0
  204. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_mutex.hpp +60 -0
  205. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_reactor.hpp +83 -0
  206. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_signal_blocker.hpp +69 -0
  207. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_socket_service.hpp +519 -0
  208. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_static_mutex.hpp +60 -0
  209. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_thread.hpp +67 -0
  210. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_tss_ptr.hpp +68 -0
  211. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/object_pool.hpp +171 -0
  212. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/old_win_sdk_compat.hpp +214 -0
  213. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/op_queue.hpp +162 -0
  214. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/operation.hpp +38 -0
  215. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/pipe_select_interrupter.hpp +89 -0
  216. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/pop_options.hpp +157 -0
  217. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_event.hpp +175 -0
  218. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_fd_set_adapter.hpp +118 -0
  219. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_global.hpp +80 -0
  220. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_mutex.hpp +76 -0
  221. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_serial_port_service.hpp +249 -0
  222. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_signal_blocker.hpp +85 -0
  223. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_static_mutex.hpp +64 -0
  224. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_thread.hpp +109 -0
  225. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_tss_ptr.hpp +79 -0
  226. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/push_options.hpp +228 -0
  227. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +566 -0
  228. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +131 -0
  229. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +323 -0
  230. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +162 -0
  231. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +197 -0
  232. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +203 -0
  233. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +184 -0
  234. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +201 -0
  235. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +194 -0
  236. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_service.hpp +633 -0
  237. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +750 -0
  238. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_wait_op.hpp +131 -0
  239. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactor.hpp +54 -0
  240. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactor_op.hpp +71 -0
  241. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactor_op_queue.hpp +212 -0
  242. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/recycling_allocator.hpp +105 -0
  243. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/regex_fwd.hpp +35 -0
  244. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +140 -0
  245. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolve_op.hpp +45 -0
  246. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolve_query_op.hpp +150 -0
  247. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolver_service.hpp +147 -0
  248. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolver_service_base.hpp +158 -0
  249. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scheduler.hpp +241 -0
  250. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scheduler_operation.hpp +78 -0
  251. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scheduler_task.hpp +49 -0
  252. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scheduler_thread_info.hpp +40 -0
  253. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scoped_lock.hpp +101 -0
  254. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scoped_ptr.hpp +87 -0
  255. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/select_interrupter.hpp +46 -0
  256. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/select_reactor.hpp +291 -0
  257. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/service_registry.hpp +163 -0
  258. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_blocker.hpp +44 -0
  259. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_handler.hpp +90 -0
  260. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_init.hpp +47 -0
  261. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_op.hpp +53 -0
  262. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_set_service.hpp +292 -0
  263. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_holder.hpp +98 -0
  264. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_ops.hpp +375 -0
  265. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_option.hpp +316 -0
  266. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_select_interrupter.hpp +91 -0
  267. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_types.hpp +427 -0
  268. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/source_location.hpp +45 -0
  269. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/static_mutex.hpp +50 -0
  270. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_event.hpp +183 -0
  271. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_fenced_block.hpp +57 -0
  272. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_global.hpp +65 -0
  273. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_mutex.hpp +68 -0
  274. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_static_mutex.hpp +76 -0
  275. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_thread.hpp +66 -0
  276. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/strand_executor_service.hpp +173 -0
  277. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/strand_service.hpp +144 -0
  278. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/string_view.hpp +47 -0
  279. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/thread.hpp +58 -0
  280. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/thread_context.hpp +51 -0
  281. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/thread_group.hpp +99 -0
  282. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/thread_info_base.hpp +250 -0
  283. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/throw_error.hpp +62 -0
  284. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/throw_exception.hpp +55 -0
  285. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_queue.hpp +389 -0
  286. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_queue_base.hpp +68 -0
  287. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_queue_ptime.hpp +103 -0
  288. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_queue_set.hpp +66 -0
  289. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_scheduler.hpp +37 -0
  290. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_scheduler_fwd.hpp +42 -0
  291. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/tss_ptr.hpp +69 -0
  292. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/type_traits.hpp +178 -0
  293. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/utility.hpp +83 -0
  294. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/wait_handler.hpp +90 -0
  295. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/wait_op.hpp +49 -0
  296. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_event.hpp +164 -0
  297. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_fd_set_adapter.hpp +149 -0
  298. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_global.hpp +71 -0
  299. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_file_service.hpp +287 -0
  300. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +119 -0
  301. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +431 -0
  302. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +114 -0
  303. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_io_context.hpp +347 -0
  304. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +129 -0
  305. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_operation.hpp +96 -0
  306. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +100 -0
  307. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +171 -0
  308. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_serial_port_service.hpp +233 -0
  309. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +339 -0
  310. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +138 -0
  311. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +126 -0
  312. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +135 -0
  313. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +127 -0
  314. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +120 -0
  315. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +680 -0
  316. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +829 -0
  317. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_thread_info.hpp +34 -0
  318. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +130 -0
  319. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_mutex.hpp +78 -0
  320. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_object_handle_service.hpp +194 -0
  321. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_static_mutex.hpp +74 -0
  322. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_thread.hpp +147 -0
  323. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_tss_ptr.hpp +79 -0
  324. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winapp_thread.hpp +124 -0
  325. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/wince_thread.hpp +124 -0
  326. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_async_manager.hpp +305 -0
  327. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_async_op.hpp +65 -0
  328. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_resolve_op.hpp +125 -0
  329. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_resolver_service.hpp +212 -0
  330. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +98 -0
  331. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +119 -0
  332. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +110 -0
  333. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +250 -0
  334. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +362 -0
  335. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_timer_scheduler.hpp +147 -0
  336. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_utils.hpp +106 -0
  337. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winsock_init.hpp +128 -0
  338. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/work_dispatcher.hpp +143 -0
  339. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/wrapped_handler.hpp +217 -0
  340. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/dispatch.hpp +197 -0
  341. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/error.hpp +389 -0
  342. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/error_code.hpp +39 -0
  343. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/allocator.hpp +278 -0
  344. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/any_executor.hpp +1933 -0
  345. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/bad_executor.hpp +46 -0
  346. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/blocking.hpp +1360 -0
  347. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/blocking_adaptation.hpp +1080 -0
  348. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/context.hpp +191 -0
  349. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/context_as.hpp +190 -0
  350. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/executor.hpp +116 -0
  351. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/impl/bad_executor.ipp +40 -0
  352. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/invocable_archetype.hpp +43 -0
  353. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/mapping.hpp +1002 -0
  354. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/occupancy.hpp +184 -0
  355. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/outstanding_work.hpp +753 -0
  356. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/prefer_only.hpp +328 -0
  357. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/relationship.hpp +751 -0
  358. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution.hpp +33 -0
  359. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution_context.hpp +388 -0
  360. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/executor.hpp +363 -0
  361. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/executor_work_guard.hpp +362 -0
  362. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/append.hpp +36 -0
  363. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/as_single.hpp +132 -0
  364. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/as_tuple.hpp +36 -0
  365. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/awaitable_operators.hpp +536 -0
  366. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/basic_channel.hpp +513 -0
  367. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/basic_concurrent_channel.hpp +513 -0
  368. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/cancellation_condition.hpp +152 -0
  369. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/channel.hpp +70 -0
  370. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/channel_error.hpp +82 -0
  371. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/channel_traits.hpp +301 -0
  372. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/co_composed.hpp +145 -0
  373. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/concurrent_channel.hpp +70 -0
  374. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/deferred.hpp +36 -0
  375. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_handler.hpp +77 -0
  376. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_message.hpp +129 -0
  377. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_operation.hpp +361 -0
  378. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_payload.hpp +222 -0
  379. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_receive_op.hpp +127 -0
  380. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_send_functions.hpp +192 -0
  381. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_send_op.hpp +148 -0
  382. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_service.hpp +677 -0
  383. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/has_signature.hpp +54 -0
  384. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/impl/channel_service.hpp +621 -0
  385. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/impl/as_single.hpp +176 -0
  386. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/impl/channel_error.ipp +61 -0
  387. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/impl/co_composed.hpp +1174 -0
  388. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/impl/parallel_group.hpp +788 -0
  389. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/parallel_group.hpp +457 -0
  390. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/prepend.hpp +36 -0
  391. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/file_base.hpp +166 -0
  392. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/basic_endpoint.hpp +189 -0
  393. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/datagram_protocol.hpp +123 -0
  394. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/detail/endpoint.hpp +133 -0
  395. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/detail/impl/endpoint.ipp +110 -0
  396. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/raw_protocol.hpp +121 -0
  397. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/seq_packet_protocol.hpp +122 -0
  398. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/stream_protocol.hpp +127 -0
  399. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/handler_continuation_hook.hpp +54 -0
  400. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/high_resolution_timer.hpp +39 -0
  401. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/any_completion_executor.ipp +126 -0
  402. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/any_io_executor.ipp +134 -0
  403. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/append.hpp +162 -0
  404. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/as_tuple.hpp +245 -0
  405. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/awaitable.hpp +1196 -0
  406. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/buffered_read_stream.hpp +404 -0
  407. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/buffered_write_stream.hpp +384 -0
  408. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/cancellation_signal.ipp +96 -0
  409. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/co_spawn.hpp +449 -0
  410. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/connect.hpp +809 -0
  411. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/connect_pipe.hpp +73 -0
  412. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/connect_pipe.ipp +149 -0
  413. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/consign.hpp +137 -0
  414. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/deferred.hpp +147 -0
  415. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/detached.hpp +77 -0
  416. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/error.ipp +128 -0
  417. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/error_code.ipp +206 -0
  418. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/execution_context.hpp +77 -0
  419. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/execution_context.ipp +82 -0
  420. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/executor.hpp +317 -0
  421. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/executor.ipp +43 -0
  422. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/io_context.hpp +433 -0
  423. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/io_context.ipp +176 -0
  424. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/multiple_exceptions.ipp +45 -0
  425. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/prepend.hpp +163 -0
  426. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/read.hpp +1053 -0
  427. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/read_at.hpp +628 -0
  428. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/read_until.hpp +2941 -0
  429. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/redirect_error.hpp +250 -0
  430. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/serial_port_base.hpp +59 -0
  431. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/serial_port_base.ipp +554 -0
  432. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/spawn.hpp +1400 -0
  433. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/src.hpp +94 -0
  434. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/system_context.hpp +34 -0
  435. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/system_context.ipp +92 -0
  436. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/system_executor.hpp +179 -0
  437. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/thread_pool.hpp +277 -0
  438. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/thread_pool.ipp +142 -0
  439. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/use_awaitable.hpp +301 -0
  440. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/use_future.hpp +707 -0
  441. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/write.hpp +939 -0
  442. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/write_at.hpp +551 -0
  443. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/io_context.hpp +1505 -0
  444. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/io_context_strand.hpp +396 -0
  445. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/io_service.hpp +33 -0
  446. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/io_service_strand.hpp +20 -0
  447. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address.hpp +281 -0
  448. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v4.hpp +421 -0
  449. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v4_iterator.hpp +156 -0
  450. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v4_range.hpp +128 -0
  451. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v6.hpp +407 -0
  452. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v6_iterator.hpp +178 -0
  453. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v6_range.hpp +124 -0
  454. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/bad_address_cast.hpp +63 -0
  455. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_endpoint.hpp +282 -0
  456. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver.hpp +1112 -0
  457. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver_entry.hpp +113 -0
  458. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +188 -0
  459. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver_query.hpp +260 -0
  460. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver_results.hpp +307 -0
  461. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/detail/endpoint.hpp +141 -0
  462. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +195 -0
  463. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/detail/socket_option.hpp +566 -0
  464. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/host_name.hpp +42 -0
  465. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/icmp.hpp +115 -0
  466. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address.hpp +67 -0
  467. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address.ipp +235 -0
  468. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address_v4.hpp +67 -0
  469. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address_v4.ipp +206 -0
  470. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address_v6.hpp +67 -0
  471. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address_v6.ipp +342 -0
  472. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/basic_endpoint.hpp +43 -0
  473. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/host_name.ipp +54 -0
  474. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/network_v4.hpp +54 -0
  475. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/network_v4.ipp +218 -0
  476. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/network_v6.hpp +53 -0
  477. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/network_v6.ipp +187 -0
  478. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/multicast.hpp +191 -0
  479. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/network_v4.hpp +257 -0
  480. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/network_v6.hpp +231 -0
  481. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/resolver_base.hpp +129 -0
  482. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/resolver_query_base.hpp +43 -0
  483. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/tcp.hpp +155 -0
  484. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/udp.hpp +111 -0
  485. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/unicast.hpp +70 -0
  486. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/v6_only.hpp +69 -0
  487. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_applicable_property.hpp +61 -0
  488. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_contiguous_iterator.hpp +45 -0
  489. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_executor.hpp +46 -0
  490. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_read_buffered.hpp +59 -0
  491. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_write_buffered.hpp +59 -0
  492. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/basic_endpoint.hpp +243 -0
  493. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/connect_pair.hpp +101 -0
  494. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/datagram_protocol.hpp +80 -0
  495. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/detail/endpoint.hpp +139 -0
  496. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/detail/impl/endpoint.ipp +131 -0
  497. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/seq_packet_protocol.hpp +84 -0
  498. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/stream_protocol.hpp +90 -0
  499. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/multiple_exceptions.hpp +52 -0
  500. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/packaged_task.hpp +66 -0
  501. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/placeholders.hpp +75 -0
  502. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/basic_descriptor.hpp +773 -0
  503. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +559 -0
  504. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/descriptor.hpp +37 -0
  505. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/descriptor_base.hpp +90 -0
  506. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/stream_descriptor.hpp +37 -0
  507. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/post.hpp +213 -0
  508. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/prefer.hpp +577 -0
  509. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/prepend.hpp +66 -0
  510. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/query.hpp +311 -0
  511. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/random_access_file.hpp +35 -0
  512. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/read.hpp +1448 -0
  513. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/read_at.hpp +778 -0
  514. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/read_until.hpp +3124 -0
  515. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/readable_pipe.hpp +35 -0
  516. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/recycling_allocator.hpp +138 -0
  517. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/redirect_error.hpp +64 -0
  518. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/registered_buffer.hpp +344 -0
  519. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/require.hpp +433 -0
  520. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/require_concept.hpp +343 -0
  521. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/serial_port.hpp +36 -0
  522. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/serial_port_base.hpp +167 -0
  523. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/signal_set.hpp +28 -0
  524. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/signal_set_base.hpp +171 -0
  525. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/socket_base.hpp +559 -0
  526. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/spawn.hpp +872 -0
  527. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/context.hpp +762 -0
  528. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/context_base.hpp +209 -0
  529. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +119 -0
  530. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/engine.hpp +169 -0
  531. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/handshake_op.hpp +67 -0
  532. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/impl/engine.ipp +377 -0
  533. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +169 -0
  534. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/io.hpp +376 -0
  535. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/openssl_init.hpp +101 -0
  536. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/openssl_types.hpp +34 -0
  537. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/password_callback.hpp +66 -0
  538. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/read_op.hpp +72 -0
  539. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +69 -0
  540. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/stream_core.hpp +217 -0
  541. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/verify_callback.hpp +62 -0
  542. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/write_op.hpp +76 -0
  543. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/error.hpp +123 -0
  544. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/host_name_verification.hpp +90 -0
  545. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/context.hpp +67 -0
  546. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/context.ipp +1319 -0
  547. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/error.ipp +124 -0
  548. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/host_name_verification.ipp +73 -0
  549. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/rfc2818_verification.ipp +164 -0
  550. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/src.hpp +29 -0
  551. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/rfc2818_verification.hpp +98 -0
  552. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/stream.hpp +1042 -0
  553. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/stream_base.hpp +52 -0
  554. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/verify_context.hpp +67 -0
  555. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/verify_mode.hpp +63 -0
  556. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl.hpp +28 -0
  557. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/static_thread_pool.hpp +31 -0
  558. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/steady_timer.hpp +37 -0
  559. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/strand.hpp +557 -0
  560. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/stream_file.hpp +35 -0
  561. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/streambuf.hpp +33 -0
  562. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/system_context.hpp +90 -0
  563. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/system_error.hpp +31 -0
  564. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/system_executor.hpp +671 -0
  565. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/system_timer.hpp +37 -0
  566. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/this_coro.hpp +267 -0
  567. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/thread.hpp +92 -0
  568. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/thread_pool.hpp +963 -0
  569. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/time_traits.hpp +86 -0
  570. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/equality_comparable.hpp +100 -0
  571. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/execute_member.hpp +104 -0
  572. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/prefer_free.hpp +104 -0
  573. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/prefer_member.hpp +104 -0
  574. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/query_free.hpp +104 -0
  575. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/query_member.hpp +104 -0
  576. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +101 -0
  577. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/require_concept_free.hpp +104 -0
  578. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/require_concept_member.hpp +104 -0
  579. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/require_free.hpp +104 -0
  580. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/require_member.hpp +104 -0
  581. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/static_query.hpp +102 -0
  582. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/static_require.hpp +115 -0
  583. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/static_require_concept.hpp +116 -0
  584. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/buffer.hpp +24 -0
  585. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/executor.hpp +35 -0
  586. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/internet.hpp +40 -0
  587. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/io_context.hpp +20 -0
  588. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/net.hpp +26 -0
  589. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/netfwd.hpp +236 -0
  590. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/socket.hpp +27 -0
  591. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/timer.hpp +26 -0
  592. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/unyield.hpp +21 -0
  593. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/use_awaitable.hpp +161 -0
  594. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/use_future.hpp +159 -0
  595. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/uses_executor.hpp +67 -0
  596. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/version.hpp +23 -0
  597. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/wait_traits.hpp +56 -0
  598. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/basic_object_handle.hpp +485 -0
  599. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +455 -0
  600. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/basic_random_access_handle.hpp +567 -0
  601. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/basic_stream_handle.hpp +551 -0
  602. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/object_handle.hpp +38 -0
  603. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/overlapped_handle.hpp +39 -0
  604. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/overlapped_ptr.hpp +145 -0
  605. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/random_access_handle.hpp +37 -0
  606. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/stream_handle.hpp +37 -0
  607. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/writable_pipe.hpp +35 -0
  608. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/write.hpp +1414 -0
  609. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/write_at.hpp +789 -0
  610. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/yield.hpp +23 -0
  611. data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio.hpp +199 -0
  612. data/ext/cache/extconf_include.rb +3 -3
  613. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/CMakeLists.txt +520 -0
  614. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/ChangeLog.md +2598 -0
  615. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/README.md +484 -0
  616. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/args.h +228 -0
  617. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/base.h +3061 -0
  618. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/chrono.h +2432 -0
  619. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/color.h +612 -0
  620. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/compile.h +529 -0
  621. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/core.h +5 -0
  622. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/format-inl.h +1904 -0
  623. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/format.h +4419 -0
  624. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/os.h +439 -0
  625. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/ostream.h +211 -0
  626. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/printf.h +656 -0
  627. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/ranges.h +882 -0
  628. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/std.h +699 -0
  629. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/xchar.h +322 -0
  630. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/src/fmt.cc +135 -0
  631. data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/src/os.cc +403 -0
  632. data/ext/cache/llhttp/c67596e14f24b689a867a26fa36e02bdba733b9b/llhttp/CMakeLists.txt +117 -0
  633. data/ext/cache/llhttp/c67596e14f24b689a867a26fa36e02bdba733b9b/llhttp/include/llhttp.h +903 -0
  634. data/ext/cache/llhttp/c67596e14f24b689a867a26fa36e02bdba733b9b/llhttp/src/llhttp.c +10168 -0
  635. data/ext/cache/mozilla-ca-bundle.crt +19 -32
  636. data/ext/cache/mozilla-ca-bundle.sha256 +1 -1
  637. data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/CMakeLists.txt +438 -0
  638. data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/cmake/config.h.in +69 -0
  639. data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/snappy-internal.h +424 -0
  640. data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/snappy-stubs-internal.h +531 -0
  641. data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/snappy.cc +2645 -0
  642. data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/snappy.h +257 -0
  643. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/CMakeLists.txt +359 -0
  644. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/async_logger-inl.h +86 -0
  645. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/common.h +411 -0
  646. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/circular_q.h +115 -0
  647. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/file_helper-inl.h +152 -0
  648. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/os-inl.h +594 -0
  649. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/periodic_worker.h +58 -0
  650. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/registry-inl.h +261 -0
  651. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/registry.h +129 -0
  652. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/thread_pool-inl.h +132 -0
  653. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/thread_pool.h +128 -0
  654. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/fmt.h +30 -0
  655. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/mdc.h +46 -0
  656. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/pattern_formatter-inl.h +1324 -0
  657. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/sinks/qt_sinks.h +304 -0
  658. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/stopwatch.h +66 -0
  659. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/version.h +11 -0
  660. data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/src/bundled_fmtlib_format.cpp +46 -0
  661. data/ext/couchbase/CMakeLists.txt +42 -12
  662. data/ext/couchbase/cmake/CompilerWarnings.cmake +3 -1
  663. data/ext/couchbase/cmake/OpenSSL.cmake +15 -8
  664. data/ext/couchbase/cmake/Packaging.cmake +41 -0
  665. data/ext/couchbase/cmake/Sanitizers.cmake +1 -0
  666. data/ext/couchbase/cmake/StandardProjectSettings.cmake +1 -1
  667. data/ext/couchbase/cmake/StaticAnalyzers.cmake +28 -6
  668. data/ext/couchbase/cmake/Testing.cmake +27 -5
  669. data/ext/couchbase/cmake/ThirdPartyDependencies.cmake +14 -10
  670. data/ext/couchbase/cmake/VersionInfo.cmake +8 -8
  671. data/ext/couchbase/cmake/build_config.hxx.in +1 -0
  672. data/ext/couchbase/cmake/build_version.hxx.in +1 -0
  673. data/ext/couchbase/cmake/couchbase-cxx-client.pc.in +10 -0
  674. data/ext/couchbase/cmake/test_boringssl.cxx +1 -1
  675. data/ext/couchbase/cmake/test_openssl.cxx +1 -1
  676. data/ext/couchbase/core/agent.cxx +400 -324
  677. data/ext/couchbase/core/agent.hxx +97 -76
  678. data/ext/couchbase/core/agent_config.cxx +11 -10
  679. data/ext/couchbase/core/agent_config.hxx +7 -7
  680. data/ext/couchbase/core/agent_group.cxx +157 -124
  681. data/ext/couchbase/core/agent_group.hxx +27 -22
  682. data/ext/couchbase/core/agent_group_config.cxx +10 -9
  683. data/ext/couchbase/core/agent_group_config.hxx +6 -6
  684. data/ext/couchbase/core/agent_unit_test_api.hxx +6 -6
  685. data/ext/couchbase/core/analytics_query_options.cxx +27 -21
  686. data/ext/couchbase/core/analytics_query_options.hxx +19 -18
  687. data/ext/couchbase/core/analytics_scan_consistency.hxx +2 -2
  688. data/ext/couchbase/core/bucket.cxx +903 -785
  689. data/ext/couchbase/core/bucket.hxx +152 -139
  690. data/ext/couchbase/core/capella_ca.hxx +20 -19
  691. data/ext/couchbase/core/cluster.cxx +1661 -939
  692. data/ext/couchbase/core/cluster.hxx +265 -167
  693. data/ext/couchbase/core/cluster_agent.cxx +42 -10
  694. data/ext/couchbase/core/cluster_agent.hxx +18 -4
  695. data/ext/couchbase/core/cluster_agent_config.cxx +10 -9
  696. data/ext/couchbase/core/cluster_agent_config.hxx +6 -6
  697. data/ext/couchbase/core/cluster_options.cxx +22 -21
  698. data/ext/couchbase/core/cluster_options.hxx +53 -47
  699. data/ext/couchbase/core/cluster_state.hxx +3 -3
  700. data/ext/couchbase/core/collection_id_cache_entry.hxx +5 -4
  701. data/ext/couchbase/core/collections_component.cxx +403 -336
  702. data/ext/couchbase/core/collections_component.hxx +17 -13
  703. data/ext/couchbase/core/collections_component_unit_test_api.hxx +6 -6
  704. data/ext/couchbase/core/collections_options.hxx +29 -27
  705. data/ext/couchbase/core/columnar/agent.cxx +86 -0
  706. data/ext/couchbase/core/columnar/agent.hxx +56 -0
  707. data/ext/couchbase/core/columnar/agent_config.cxx +47 -0
  708. data/ext/couchbase/core/columnar/agent_config.hxx +57 -0
  709. data/ext/couchbase/core/columnar/background_bootstrap_listener.hxx +42 -0
  710. data/ext/couchbase/core/columnar/backoff_calculator.cxx +62 -0
  711. data/ext/couchbase/core/columnar/backoff_calculator.hxx +34 -0
  712. data/ext/couchbase/core/columnar/bootstrap_notification_subscriber.hxx +32 -0
  713. data/ext/couchbase/core/columnar/error.cxx +50 -0
  714. data/ext/couchbase/core/columnar/error.hxx +52 -0
  715. data/ext/couchbase/core/columnar/error_codes.cxx +68 -0
  716. data/ext/couchbase/core/columnar/error_codes.hxx +47 -0
  717. data/ext/couchbase/core/columnar/query_component.cxx +442 -0
  718. data/ext/couchbase/core/columnar/query_component.hxx +56 -0
  719. data/ext/couchbase/core/columnar/query_options.hxx +64 -0
  720. data/ext/couchbase/core/columnar/query_result.cxx +133 -0
  721. data/ext/couchbase/core/columnar/query_result.hxx +78 -0
  722. data/ext/couchbase/core/columnar/retry_info.hxx +31 -0
  723. data/ext/couchbase/core/columnar/security_options.hxx +34 -0
  724. data/ext/couchbase/core/config_listener.hxx +3 -3
  725. data/ext/couchbase/core/config_profile.hxx +3 -3
  726. data/ext/couchbase/core/config_profiles.cxx +37 -34
  727. data/ext/couchbase/core/config_profiles.hxx +19 -19
  728. data/ext/couchbase/core/core_sdk_shim.cxx +5 -2
  729. data/ext/couchbase/core/core_sdk_shim.hxx +2 -2
  730. data/ext/couchbase/core/crud_component.cxx +338 -287
  731. data/ext/couchbase/core/crud_component.hxx +21 -15
  732. data/ext/couchbase/core/crud_options.hxx +361 -354
  733. data/ext/couchbase/core/crypto/cbcrypto.cc +732 -627
  734. data/ext/couchbase/core/crypto/cbcrypto.h +12 -3
  735. data/ext/couchbase/core/design_document_namespace.hxx +2 -2
  736. data/ext/couchbase/core/design_document_namespace_fmt.hxx +18 -18
  737. data/ext/couchbase/core/diagnostics.hxx +44 -44
  738. data/ext/couchbase/core/diagnostics_fmt.hxx +76 -76
  739. data/ext/couchbase/core/diagnostics_json.hxx +61 -60
  740. data/ext/couchbase/core/diagntostics_options.hxx +14 -14
  741. data/ext/couchbase/core/dispatcher.cxx +12 -3
  742. data/ext/couchbase/core/dispatcher.hxx +8 -7
  743. data/ext/couchbase/core/document_id.cxx +61 -46
  744. data/ext/couchbase/core/document_id.hxx +87 -86
  745. data/ext/couchbase/core/document_id_fmt.hxx +10 -10
  746. data/ext/couchbase/core/durability_options.hxx +50 -49
  747. data/ext/couchbase/core/error_context/analytics.hxx +18 -18
  748. data/ext/couchbase/core/error_context/analytics_json.hxx +115 -0
  749. data/ext/couchbase/core/error_context/base_error_context.hxx +184 -0
  750. data/ext/couchbase/core/error_context/http.hxx +14 -14
  751. data/ext/couchbase/core/error_context/http_json.hxx +89 -0
  752. data/ext/couchbase/core/error_context/internal_tof_metadata_json.hxx +36 -0
  753. data/ext/couchbase/core/error_context/key_value.cxx +36 -27
  754. data/ext/couchbase/core/error_context/key_value.hxx +41 -38
  755. data/ext/couchbase/core/error_context/key_value_error_context.hxx +235 -0
  756. data/ext/couchbase/core/error_context/key_value_error_map_attribute.hxx +142 -0
  757. data/ext/couchbase/core/error_context/key_value_error_map_info.hxx +139 -0
  758. data/ext/couchbase/core/error_context/key_value_extended_error_info.hxx +86 -0
  759. data/ext/couchbase/core/error_context/key_value_json.hxx +83 -0
  760. data/ext/couchbase/core/error_context/key_value_status_code.hxx +109 -0
  761. data/ext/couchbase/core/error_context/query.hxx +18 -18
  762. data/ext/couchbase/core/error_context/query_error_context.hxx +150 -0
  763. data/ext/couchbase/core/error_context/query_json.hxx +114 -0
  764. data/ext/couchbase/core/error_context/query_public_json.hxx +85 -0
  765. data/ext/couchbase/core/error_context/search.hxx +17 -17
  766. data/ext/couchbase/core/error_context/search_json.hxx +101 -0
  767. data/ext/couchbase/core/error_context/subdocument_error_context.hxx +147 -0
  768. data/ext/couchbase/core/error_context/subdocument_json.hxx +47 -0
  769. data/ext/couchbase/core/error_context/transaction_error_context.hxx +49 -0
  770. data/ext/couchbase/core/error_context/transaction_op_error_context.hxx +79 -0
  771. data/ext/couchbase/core/error_context/view.hxx +17 -17
  772. data/ext/couchbase/core/fmt/key_value_error_map_attribute.hxx +100 -0
  773. data/ext/couchbase/core/fmt/key_value_extended_error_info.hxx +52 -0
  774. data/ext/couchbase/core/fmt/key_value_status_code.hxx +269 -0
  775. data/ext/couchbase/core/free_form_http_request.cxx +73 -33
  776. data/ext/couchbase/core/free_form_http_request.hxx +53 -37
  777. data/ext/couchbase/core/http_component.cxx +404 -0
  778. data/ext/couchbase/core/http_component.hxx +57 -0
  779. data/ext/couchbase/core/impl/analytics.cxx +124 -135
  780. data/ext/couchbase/core/impl/analytics.hxx +5 -7
  781. data/ext/couchbase/core/impl/analytics_error_category.cxx +30 -28
  782. data/ext/couchbase/core/impl/analytics_index_manager.cxx +656 -533
  783. data/ext/couchbase/core/impl/best_effort_retry_strategy.cxx +62 -53
  784. data/ext/couchbase/core/impl/binary_collection.cxx +369 -289
  785. data/ext/couchbase/core/impl/boolean_field_query.cxx +13 -11
  786. data/ext/couchbase/core/impl/boolean_query.cxx +31 -29
  787. data/ext/couchbase/core/impl/bootstrap_error.hxx +34 -0
  788. data/ext/couchbase/core/impl/bootstrap_state_listener.hxx +6 -6
  789. data/ext/couchbase/core/impl/bucket.cxx +54 -39
  790. data/ext/couchbase/core/impl/bucket_manager.cxx +355 -315
  791. data/ext/couchbase/core/impl/cluster.cxx +472 -330
  792. data/ext/couchbase/core/impl/collection.cxx +1092 -1198
  793. data/ext/couchbase/core/impl/collection_manager.cxx +216 -170
  794. data/ext/couchbase/core/impl/common_error_category.cxx +59 -55
  795. data/ext/couchbase/core/impl/configuration_profiles_registry.cxx +54 -33
  796. data/ext/couchbase/core/impl/conjunction_query.cxx +19 -18
  797. data/ext/couchbase/core/impl/date_range.cxx +31 -20
  798. data/ext/couchbase/core/impl/date_range_facet.cxx +24 -22
  799. data/ext/couchbase/core/impl/date_range_facet_result.cxx +15 -7
  800. data/ext/couchbase/core/impl/date_range_query.cxx +57 -50
  801. data/ext/couchbase/core/impl/diagnostics.cxx +215 -198
  802. data/ext/couchbase/core/impl/diagnostics.hxx +7 -6
  803. data/ext/couchbase/core/impl/disjunction_query.cxx +22 -19
  804. data/ext/couchbase/core/impl/dns_srv_tracker.cxx +107 -76
  805. data/ext/couchbase/core/impl/dns_srv_tracker.hxx +26 -22
  806. data/ext/couchbase/core/impl/doc_id_query.cxx +10 -9
  807. data/ext/couchbase/core/impl/encoded_search_facet.hxx +2 -2
  808. data/ext/couchbase/core/impl/encoded_search_query.hxx +3 -2
  809. data/ext/couchbase/core/impl/encoded_search_sort.hxx +2 -2
  810. data/ext/couchbase/core/impl/error.cxx +186 -0
  811. data/ext/couchbase/core/impl/error.hxx +64 -0
  812. data/ext/couchbase/core/impl/error_context.cxx +57 -0
  813. data/ext/couchbase/core/impl/expiry.cxx +75 -54
  814. data/ext/couchbase/core/impl/fail_fast_retry_strategy.cxx +12 -4
  815. data/ext/couchbase/core/impl/field_level_encryption_error_category.cxx +31 -28
  816. data/ext/couchbase/core/impl/geo_bounding_box_query.cxx +18 -17
  817. data/ext/couchbase/core/impl/geo_distance_query.cxx +15 -14
  818. data/ext/couchbase/core/impl/geo_polygon_query.cxx +18 -17
  819. data/ext/couchbase/core/impl/get_all_replicas.hxx +26 -22
  820. data/ext/couchbase/core/impl/get_any_replica.hxx +25 -23
  821. data/ext/couchbase/core/impl/get_replica.cxx +23 -16
  822. data/ext/couchbase/core/impl/get_replica.hxx +23 -18
  823. data/ext/couchbase/core/impl/internal_date_range_facet_result.cxx +26 -14
  824. data/ext/couchbase/core/impl/internal_date_range_facet_result.hxx +16 -15
  825. data/ext/couchbase/core/impl/internal_error_context.cxx +79 -0
  826. data/ext/couchbase/core/impl/internal_error_context.hxx +53 -0
  827. data/ext/couchbase/core/impl/internal_numeric_range_facet_result.cxx +28 -15
  828. data/ext/couchbase/core/impl/internal_numeric_range_facet_result.hxx +16 -15
  829. data/ext/couchbase/core/impl/internal_scan_result.hxx +13 -7
  830. data/ext/couchbase/core/impl/internal_search_error_context.cxx +36 -22
  831. data/ext/couchbase/core/impl/internal_search_error_context.hxx +32 -31
  832. data/ext/couchbase/core/impl/internal_search_meta_data.cxx +24 -13
  833. data/ext/couchbase/core/impl/internal_search_meta_data.hxx +10 -9
  834. data/ext/couchbase/core/impl/internal_search_result.cxx +46 -26
  835. data/ext/couchbase/core/impl/internal_search_result.hxx +10 -9
  836. data/ext/couchbase/core/impl/internal_search_row.cxx +16 -10
  837. data/ext/couchbase/core/impl/internal_search_row.hxx +18 -16
  838. data/ext/couchbase/core/impl/internal_search_row_location.hxx +2 -2
  839. data/ext/couchbase/core/impl/internal_search_row_locations.cxx +68 -65
  840. data/ext/couchbase/core/impl/internal_search_row_locations.hxx +16 -13
  841. data/ext/couchbase/core/impl/internal_term_facet_result.cxx +19 -14
  842. data/ext/couchbase/core/impl/internal_term_facet_result.hxx +15 -15
  843. data/ext/couchbase/core/impl/key_value_error_category.cxx +73 -72
  844. data/ext/couchbase/core/impl/key_value_error_context.cxx +65 -65
  845. data/ext/couchbase/core/impl/logger.cxx +91 -0
  846. data/ext/couchbase/core/impl/lookup_in_all_replicas.hxx +32 -29
  847. data/ext/couchbase/core/impl/lookup_in_any_replica.hxx +33 -29
  848. data/ext/couchbase/core/impl/lookup_in_replica.cxx +75 -68
  849. data/ext/couchbase/core/impl/lookup_in_replica.hxx +30 -26
  850. data/ext/couchbase/core/impl/management_error_category.cxx +41 -40
  851. data/ext/couchbase/core/impl/match_all_query.cxx +6 -6
  852. data/ext/couchbase/core/impl/match_none_query.cxx +6 -6
  853. data/ext/couchbase/core/impl/match_phrase_query.cxx +13 -13
  854. data/ext/couchbase/core/impl/match_query.cxx +28 -28
  855. data/ext/couchbase/core/impl/network_error_category.cxx +39 -38
  856. data/ext/couchbase/core/impl/numeric_range.cxx +6 -6
  857. data/ext/couchbase/core/impl/numeric_range_facet.cxx +22 -22
  858. data/ext/couchbase/core/impl/numeric_range_facet_result.cxx +6 -6
  859. data/ext/couchbase/core/impl/numeric_range_query.cxx +22 -22
  860. data/ext/couchbase/core/impl/observe_poll.cxx +297 -280
  861. data/ext/couchbase/core/impl/observe_poll.hxx +2 -2
  862. data/ext/couchbase/core/impl/observe_seqno.cxx +21 -18
  863. data/ext/couchbase/core/impl/observe_seqno.hxx +31 -26
  864. data/ext/couchbase/core/impl/phrase_query.cxx +10 -10
  865. data/ext/couchbase/core/impl/prefix_query.cxx +10 -10
  866. data/ext/couchbase/core/impl/query.cxx +169 -156
  867. data/ext/couchbase/core/impl/query.hxx +6 -7
  868. data/ext/couchbase/core/impl/query_error_category.cxx +22 -21
  869. data/ext/couchbase/core/impl/query_error_context.cxx +45 -45
  870. data/ext/couchbase/core/impl/query_index_manager.cxx +505 -420
  871. data/ext/couchbase/core/impl/query_string_query.cxx +7 -7
  872. data/ext/couchbase/core/impl/regexp_query.cxx +10 -10
  873. data/ext/couchbase/core/impl/replica_utils.cxx +66 -0
  874. data/ext/couchbase/core/impl/replica_utils.hxx +48 -0
  875. data/ext/couchbase/core/impl/retry_action.cxx +3 -3
  876. data/ext/couchbase/core/impl/retry_reason.cxx +129 -56
  877. data/ext/couchbase/core/impl/retry_reason.hxx +28 -0
  878. data/ext/couchbase/core/impl/scan_result.cxx +53 -49
  879. data/ext/couchbase/core/impl/scope.cxx +105 -94
  880. data/ext/couchbase/core/impl/search.cxx +137 -130
  881. data/ext/couchbase/core/impl/search.hxx +4 -4
  882. data/ext/couchbase/core/impl/search_error_category.cxx +18 -17
  883. data/ext/couchbase/core/impl/search_index_manager.cxx +492 -390
  884. data/ext/couchbase/core/impl/search_meta_data.cxx +10 -3
  885. data/ext/couchbase/core/impl/search_request.cxx +78 -78
  886. data/ext/couchbase/core/impl/search_result.cxx +5 -5
  887. data/ext/couchbase/core/impl/search_row.cxx +12 -7
  888. data/ext/couchbase/core/impl/search_row_location.cxx +9 -8
  889. data/ext/couchbase/core/impl/search_row_locations.cxx +14 -7
  890. data/ext/couchbase/core/impl/search_sort_field.cxx +53 -53
  891. data/ext/couchbase/core/impl/search_sort_geo_distance.cxx +49 -48
  892. data/ext/couchbase/core/impl/search_sort_id.cxx +10 -10
  893. data/ext/couchbase/core/impl/search_sort_score.cxx +10 -10
  894. data/ext/couchbase/core/impl/streaming_json_lexer_error_category.cxx +70 -68
  895. data/ext/couchbase/core/impl/subdoc/array_add_unique.cxx +6 -6
  896. data/ext/couchbase/core/impl/subdoc/array_append.cxx +6 -6
  897. data/ext/couchbase/core/impl/subdoc/array_insert.cxx +6 -6
  898. data/ext/couchbase/core/impl/subdoc/array_prepend.cxx +6 -6
  899. data/ext/couchbase/core/impl/subdoc/command.hxx +5 -5
  900. data/ext/couchbase/core/impl/subdoc/command_bundle.hxx +11 -11
  901. data/ext/couchbase/core/impl/subdoc/count.cxx +6 -6
  902. data/ext/couchbase/core/impl/subdoc/counter.cxx +6 -6
  903. data/ext/couchbase/core/impl/subdoc/exists.cxx +6 -6
  904. data/ext/couchbase/core/impl/subdoc/get.cxx +6 -6
  905. data/ext/couchbase/core/impl/subdoc/insert.cxx +6 -6
  906. data/ext/couchbase/core/impl/subdoc/join_values.cxx +27 -27
  907. data/ext/couchbase/core/impl/subdoc/lookup_in_macro.cxx +76 -72
  908. data/ext/couchbase/core/impl/subdoc/lookup_in_specs.cxx +9 -9
  909. data/ext/couchbase/core/impl/subdoc/mutate_in_macro.cxx +48 -39
  910. data/ext/couchbase/core/impl/subdoc/mutate_in_specs.cxx +9 -9
  911. data/ext/couchbase/core/impl/subdoc/opcode.hxx +16 -16
  912. data/ext/couchbase/core/impl/subdoc/path_flags.hxx +40 -17
  913. data/ext/couchbase/core/impl/subdoc/remove.cxx +6 -6
  914. data/ext/couchbase/core/impl/subdoc/replace.cxx +6 -6
  915. data/ext/couchbase/core/impl/subdoc/upsert.cxx +6 -6
  916. data/ext/couchbase/core/impl/term_facet.cxx +8 -8
  917. data/ext/couchbase/core/impl/term_facet_result.cxx +6 -6
  918. data/ext/couchbase/core/impl/term_query.cxx +25 -25
  919. data/ext/couchbase/core/impl/term_range_query.cxx +22 -22
  920. data/ext/couchbase/core/impl/transaction_error_category.cxx +21 -20
  921. data/ext/couchbase/core/impl/transaction_get_result.cxx +47 -30
  922. data/ext/couchbase/core/impl/transaction_op_error_category.cxx +55 -56
  923. data/ext/couchbase/core/impl/vector_query.cxx +15 -10
  924. data/ext/couchbase/core/impl/vector_search.cxx +9 -9
  925. data/ext/couchbase/core/impl/view_error_category.cxx +17 -16
  926. data/ext/couchbase/core/impl/wildcard_query.cxx +10 -10
  927. data/ext/couchbase/core/impl/with_legacy_durability.hxx +30 -29
  928. data/ext/couchbase/core/io/config_tracker.cxx +685 -0
  929. data/ext/couchbase/core/io/config_tracker.hxx +122 -0
  930. data/ext/couchbase/core/io/dns_client.cxx +263 -231
  931. data/ext/couchbase/core/io/dns_client.hxx +19 -18
  932. data/ext/couchbase/core/io/dns_codec.hxx +156 -154
  933. data/ext/couchbase/core/io/dns_config.cxx +119 -112
  934. data/ext/couchbase/core/io/dns_config.hxx +15 -13
  935. data/ext/couchbase/core/io/dns_message.hxx +365 -342
  936. data/ext/couchbase/core/io/http_command.hxx +212 -134
  937. data/ext/couchbase/core/io/http_context.hxx +5 -5
  938. data/ext/couchbase/core/io/http_message.hxx +78 -71
  939. data/ext/couchbase/core/io/http_parser.cxx +70 -67
  940. data/ext/couchbase/core/io/http_parser.hxx +18 -18
  941. data/ext/couchbase/core/io/http_session.cxx +792 -0
  942. data/ext/couchbase/core/io/http_session.hxx +181 -546
  943. data/ext/couchbase/core/io/http_session_manager.hxx +763 -306
  944. data/ext/couchbase/core/io/http_streaming_parser.cxx +166 -0
  945. data/ext/couchbase/core/io/http_streaming_parser.hxx +62 -0
  946. data/ext/couchbase/core/io/http_streaming_response.cxx +226 -0
  947. data/ext/couchbase/core/io/http_streaming_response.hxx +73 -0
  948. data/ext/couchbase/core/io/http_traits.hxx +7 -0
  949. data/ext/couchbase/core/io/ip_protocol.hxx +3 -3
  950. data/ext/couchbase/core/io/mcbp_command.hxx +298 -278
  951. data/ext/couchbase/core/io/mcbp_context.hxx +7 -6
  952. data/ext/couchbase/core/io/mcbp_message.cxx +8 -8
  953. data/ext/couchbase/core/io/mcbp_message.hxx +20 -20
  954. data/ext/couchbase/core/io/mcbp_parser.cxx +60 -51
  955. data/ext/couchbase/core/io/mcbp_parser.hxx +21 -17
  956. data/ext/couchbase/core/io/mcbp_session.cxx +1976 -1615
  957. data/ext/couchbase/core/io/mcbp_session.hxx +83 -61
  958. data/ext/couchbase/core/io/query_cache.hxx +34 -34
  959. data/ext/couchbase/core/io/retry_context.hxx +45 -45
  960. data/ext/couchbase/core/io/retry_orchestrator.hxx +52 -42
  961. data/ext/couchbase/core/io/streams.hxx +215 -192
  962. data/ext/couchbase/core/json_string.hxx +47 -47
  963. data/ext/couchbase/core/key_value_config.cxx +8 -8
  964. data/ext/couchbase/core/key_value_config.hxx +12 -11
  965. data/ext/couchbase/core/logger/configuration.hxx +35 -35
  966. data/ext/couchbase/core/logger/custom_rotating_file_sink.cxx +73 -72
  967. data/ext/couchbase/core/logger/custom_rotating_file_sink.hxx +20 -18
  968. data/ext/couchbase/core/logger/level.hxx +9 -1
  969. data/ext/couchbase/core/logger/logger.cxx +291 -254
  970. data/ext/couchbase/core/logger/logger.hxx +111 -59
  971. data/ext/couchbase/core/management/analytics_dataset.hxx +4 -4
  972. data/ext/couchbase/core/management/analytics_index.hxx +4 -4
  973. data/ext/couchbase/core/management/analytics_link_azure_blob_external.cxx +35 -33
  974. data/ext/couchbase/core/management/analytics_link_azure_blob_external.hxx +36 -35
  975. data/ext/couchbase/core/management/analytics_link_azure_blob_external_json.hxx +24 -20
  976. data/ext/couchbase/core/management/analytics_link_couchbase_remote.cxx +66 -65
  977. data/ext/couchbase/core/management/analytics_link_couchbase_remote.hxx +77 -70
  978. data/ext/couchbase/core/management/analytics_link_couchbase_remote_json.hxx +38 -32
  979. data/ext/couchbase/core/management/analytics_link_s3_external.cxx +26 -25
  980. data/ext/couchbase/core/management/analytics_link_s3_external.hxx +30 -30
  981. data/ext/couchbase/core/management/analytics_link_s3_external_json.hxx +18 -16
  982. data/ext/couchbase/core/management/bucket_settings.hxx +109 -91
  983. data/ext/couchbase/core/management/bucket_settings_json.hxx +112 -94
  984. data/ext/couchbase/core/management/design_document.hxx +9 -9
  985. data/ext/couchbase/core/management/eventing_function.hxx +124 -121
  986. data/ext/couchbase/core/management/eventing_function_json.hxx +228 -184
  987. data/ext/couchbase/core/management/eventing_status.hxx +41 -41
  988. data/ext/couchbase/core/management/eventing_status_json.hxx +53 -45
  989. data/ext/couchbase/core/management/rbac.hxx +33 -28
  990. data/ext/couchbase/core/management/rbac_fmt.hxx +21 -21
  991. data/ext/couchbase/core/management/rbac_json.hxx +132 -125
  992. data/ext/couchbase/core/management/search_index.cxx +78 -0
  993. data/ext/couchbase/core/management/search_index.hxx +11 -10
  994. data/ext/couchbase/core/management/search_index_json.hxx +27 -26
  995. data/ext/couchbase/core/mcbp/barrier_frame.hxx +4 -3
  996. data/ext/couchbase/core/mcbp/big_endian.cxx +22 -22
  997. data/ext/couchbase/core/mcbp/buffer_writer.cxx +22 -19
  998. data/ext/couchbase/core/mcbp/buffer_writer.hxx +9 -9
  999. data/ext/couchbase/core/mcbp/codec.cxx +421 -397
  1000. data/ext/couchbase/core/mcbp/codec.hxx +15 -12
  1001. data/ext/couchbase/core/mcbp/command_code.cxx +48 -48
  1002. data/ext/couchbase/core/mcbp/completion_token.hxx +33 -33
  1003. data/ext/couchbase/core/mcbp/datatype.hxx +3 -3
  1004. data/ext/couchbase/core/mcbp/durability_level.hxx +8 -7
  1005. data/ext/couchbase/core/mcbp/durability_level_frame.hxx +3 -2
  1006. data/ext/couchbase/core/mcbp/durability_timeout_frame.hxx +4 -3
  1007. data/ext/couchbase/core/mcbp/open_tracing_frame.hxx +3 -2
  1008. data/ext/couchbase/core/mcbp/operation_consumer.cxx +3 -3
  1009. data/ext/couchbase/core/mcbp/operation_consumer.hxx +9 -9
  1010. data/ext/couchbase/core/mcbp/operation_queue.cxx +82 -74
  1011. data/ext/couchbase/core/mcbp/operation_queue.hxx +18 -17
  1012. data/ext/couchbase/core/mcbp/packet.cxx +67 -51
  1013. data/ext/couchbase/core/mcbp/packet.hxx +25 -25
  1014. data/ext/couchbase/core/mcbp/preserve_expiry_frame.hxx +4 -2
  1015. data/ext/couchbase/core/mcbp/queue_callback.hxx +3 -2
  1016. data/ext/couchbase/core/mcbp/queue_request.cxx +69 -63
  1017. data/ext/couchbase/core/mcbp/queue_request.hxx +54 -52
  1018. data/ext/couchbase/core/mcbp/queue_request_connection_info.hxx +3 -3
  1019. data/ext/couchbase/core/mcbp/queue_response.hxx +7 -7
  1020. data/ext/couchbase/core/mcbp/read_units_frame.hxx +3 -2
  1021. data/ext/couchbase/core/mcbp/server_duration.cxx +7 -7
  1022. data/ext/couchbase/core/mcbp/server_duration_frame.hxx +3 -2
  1023. data/ext/couchbase/core/mcbp/stream_id_frame.hxx +3 -2
  1024. data/ext/couchbase/core/mcbp/unsupported_frame.hxx +4 -3
  1025. data/ext/couchbase/core/mcbp/user_impersonation_frame.hxx +1 -1
  1026. data/ext/couchbase/core/mcbp/write_units_frame.hxx +3 -2
  1027. data/ext/couchbase/core/meta/CMakeLists.txt +3 -1
  1028. data/ext/couchbase/core/meta/features.hxx +58 -0
  1029. data/ext/couchbase/core/meta/version.cxx +262 -204
  1030. data/ext/couchbase/core/meta/version.hxx +31 -20
  1031. data/ext/couchbase/core/metrics/CMakeLists.txt +3 -1
  1032. data/ext/couchbase/core/metrics/logging_meter.cxx +162 -156
  1033. data/ext/couchbase/core/metrics/logging_meter.hxx +16 -15
  1034. data/ext/couchbase/core/metrics/logging_meter_options.hxx +1 -1
  1035. data/ext/couchbase/core/metrics/noop_meter.hxx +14 -13
  1036. data/ext/couchbase/core/mozilla_ca_bundle.hxx +4 -3
  1037. data/ext/couchbase/core/n1ql_query_options.cxx +31 -31
  1038. data/ext/couchbase/core/n1ql_query_options.hxx +22 -21
  1039. data/ext/couchbase/core/operation_map.hxx +3 -3
  1040. data/ext/couchbase/core/operations/document_analytics.cxx +189 -176
  1041. data/ext/couchbase/core/operations/document_analytics.hxx +79 -71
  1042. data/ext/couchbase/core/operations/document_append.cxx +18 -15
  1043. data/ext/couchbase/core/operations/document_append.hxx +18 -16
  1044. data/ext/couchbase/core/operations/document_decrement.cxx +26 -23
  1045. data/ext/couchbase/core/operations/document_decrement.hxx +24 -20
  1046. data/ext/couchbase/core/operations/document_exists.cxx +23 -21
  1047. data/ext/couchbase/core/operations/document_exists.hxx +25 -23
  1048. data/ext/couchbase/core/operations/document_get.cxx +17 -15
  1049. data/ext/couchbase/core/operations/document_get.hxx +17 -15
  1050. data/ext/couchbase/core/operations/document_get_all_replicas.hxx +121 -92
  1051. data/ext/couchbase/core/operations/document_get_and_lock.cxx +19 -16
  1052. data/ext/couchbase/core/operations/document_get_and_lock.hxx +21 -17
  1053. data/ext/couchbase/core/operations/document_get_and_touch.cxx +19 -16
  1054. data/ext/couchbase/core/operations/document_get_and_touch.hxx +22 -18
  1055. data/ext/couchbase/core/operations/document_get_any_replica.hxx +111 -82
  1056. data/ext/couchbase/core/operations/document_get_projected.cxx +198 -185
  1057. data/ext/couchbase/core/operations/document_get_projected.hxx +25 -21
  1058. data/ext/couchbase/core/operations/document_increment.cxx +26 -23
  1059. data/ext/couchbase/core/operations/document_increment.hxx +24 -20
  1060. data/ext/couchbase/core/operations/document_insert.cxx +23 -20
  1061. data/ext/couchbase/core/operations/document_insert.hxx +20 -18
  1062. data/ext/couchbase/core/operations/document_lookup_in.cxx +80 -67
  1063. data/ext/couchbase/core/operations/document_lookup_in.hxx +31 -27
  1064. data/ext/couchbase/core/operations/document_lookup_in_all_replicas.hxx +187 -149
  1065. data/ext/couchbase/core/operations/document_lookup_in_any_replica.hxx +179 -145
  1066. data/ext/couchbase/core/operations/document_mutate_in.cxx +98 -80
  1067. data/ext/couchbase/core/operations/document_mutate_in.hxx +38 -33
  1068. data/ext/couchbase/core/operations/document_prepend.cxx +18 -15
  1069. data/ext/couchbase/core/operations/document_prepend.hxx +18 -16
  1070. data/ext/couchbase/core/operations/document_query.cxx +373 -353
  1071. data/ext/couchbase/core/operations/document_query.hxx +83 -79
  1072. data/ext/couchbase/core/operations/document_remove.cxx +18 -15
  1073. data/ext/couchbase/core/operations/document_remove.hxx +18 -16
  1074. data/ext/couchbase/core/operations/document_replace.cxx +27 -24
  1075. data/ext/couchbase/core/operations/document_replace.hxx +22 -20
  1076. data/ext/couchbase/core/operations/document_search.cxx +322 -308
  1077. data/ext/couchbase/core/operations/document_search.hxx +125 -121
  1078. data/ext/couchbase/core/operations/document_touch.cxx +16 -14
  1079. data/ext/couchbase/core/operations/document_touch.hxx +19 -17
  1080. data/ext/couchbase/core/operations/document_unlock.cxx +16 -14
  1081. data/ext/couchbase/core/operations/document_unlock.hxx +19 -17
  1082. data/ext/couchbase/core/operations/document_upsert.cxx +26 -23
  1083. data/ext/couchbase/core/operations/document_upsert.hxx +21 -19
  1084. data/ext/couchbase/core/operations/document_view.cxx +171 -159
  1085. data/ext/couchbase/core/operations/document_view.hxx +68 -65
  1086. data/ext/couchbase/core/operations/http_noop.cxx +38 -35
  1087. data/ext/couchbase/core/operations/http_noop.hxx +12 -10
  1088. data/ext/couchbase/core/operations/management/analytics_dataset_create.cxx +64 -58
  1089. data/ext/couchbase/core/operations/management/analytics_dataset_create.hxx +20 -17
  1090. data/ext/couchbase/core/operations/management/analytics_dataset_drop.cxx +55 -46
  1091. data/ext/couchbase/core/operations/management/analytics_dataset_drop.hxx +18 -15
  1092. data/ext/couchbase/core/operations/management/analytics_dataset_get_all.cxx +51 -45
  1093. data/ext/couchbase/core/operations/management/analytics_dataset_get_all.hxx +16 -13
  1094. data/ext/couchbase/core/operations/management/analytics_dataverse_create.cxx +54 -45
  1095. data/ext/couchbase/core/operations/management/analytics_dataverse_create.hxx +17 -14
  1096. data/ext/couchbase/core/operations/management/analytics_dataverse_drop.cxx +54 -45
  1097. data/ext/couchbase/core/operations/management/analytics_dataverse_drop.hxx +17 -14
  1098. data/ext/couchbase/core/operations/management/analytics_get_pending_mutations.cxx +43 -37
  1099. data/ext/couchbase/core/operations/management/analytics_get_pending_mutations.hxx +16 -14
  1100. data/ext/couchbase/core/operations/management/analytics_index_create.cxx +75 -68
  1101. data/ext/couchbase/core/operations/management/analytics_index_create.hxx +20 -17
  1102. data/ext/couchbase/core/operations/management/analytics_index_drop.cxx +62 -53
  1103. data/ext/couchbase/core/operations/management/analytics_index_drop.hxx +19 -16
  1104. data/ext/couchbase/core/operations/management/analytics_index_get_all.cxx +49 -44
  1105. data/ext/couchbase/core/operations/management/analytics_index_get_all.hxx +16 -13
  1106. data/ext/couchbase/core/operations/management/analytics_link_connect.cxx +55 -45
  1107. data/ext/couchbase/core/operations/management/analytics_link_connect.hxx +23 -20
  1108. data/ext/couchbase/core/operations/management/analytics_link_create.cxx +60 -57
  1109. data/ext/couchbase/core/operations/management/analytics_link_create.hxx +33 -30
  1110. data/ext/couchbase/core/operations/management/analytics_link_disconnect.cxx +52 -44
  1111. data/ext/couchbase/core/operations/management/analytics_link_disconnect.hxx +22 -19
  1112. data/ext/couchbase/core/operations/management/analytics_link_drop.cxx +76 -69
  1113. data/ext/couchbase/core/operations/management/analytics_link_drop.hxx +22 -19
  1114. data/ext/couchbase/core/operations/management/analytics_link_get_all.cxx +98 -87
  1115. data/ext/couchbase/core/operations/management/analytics_link_get_all.hxx +27 -24
  1116. data/ext/couchbase/core/operations/management/analytics_link_replace.cxx +60 -57
  1117. data/ext/couchbase/core/operations/management/analytics_link_replace.hxx +33 -30
  1118. data/ext/couchbase/core/operations/management/analytics_link_utils.hxx +6 -4
  1119. data/ext/couchbase/core/operations/management/analytics_problem.hxx +2 -2
  1120. data/ext/couchbase/core/operations/management/bucket_create.cxx +165 -152
  1121. data/ext/couchbase/core/operations/management/bucket_create.hxx +14 -12
  1122. data/ext/couchbase/core/operations/management/bucket_describe.cxx +127 -48
  1123. data/ext/couchbase/core/operations/management/bucket_describe.hxx +47 -22
  1124. data/ext/couchbase/core/operations/management/bucket_drop.cxx +23 -21
  1125. data/ext/couchbase/core/operations/management/bucket_drop.hxx +13 -11
  1126. data/ext/couchbase/core/operations/management/bucket_flush.cxx +29 -27
  1127. data/ext/couchbase/core/operations/management/bucket_flush.hxx +13 -11
  1128. data/ext/couchbase/core/operations/management/bucket_get.cxx +29 -25
  1129. data/ext/couchbase/core/operations/management/bucket_get.hxx +14 -12
  1130. data/ext/couchbase/core/operations/management/bucket_get_all.cxx +32 -26
  1131. data/ext/couchbase/core/operations/management/bucket_get_all.hxx +13 -11
  1132. data/ext/couchbase/core/operations/management/bucket_update.cxx +119 -110
  1133. data/ext/couchbase/core/operations/management/bucket_update.hxx +15 -13
  1134. data/ext/couchbase/core/operations/management/change_password.cxx +27 -23
  1135. data/ext/couchbase/core/operations/management/change_password.hxx +13 -11
  1136. data/ext/couchbase/core/operations/management/cluster_describe.cxx +57 -52
  1137. data/ext/couchbase/core/operations/management/cluster_describe.hxx +31 -29
  1138. data/ext/couchbase/core/operations/management/cluster_developer_preview_enable.cxx +18 -14
  1139. data/ext/couchbase/core/operations/management/cluster_developer_preview_enable.hxx +13 -11
  1140. data/ext/couchbase/core/operations/management/collection_create.cxx +56 -51
  1141. data/ext/couchbase/core/operations/management/collection_create.hxx +19 -16
  1142. data/ext/couchbase/core/operations/management/collection_drop.cxx +45 -40
  1143. data/ext/couchbase/core/operations/management/collection_drop.hxx +16 -14
  1144. data/ext/couchbase/core/operations/management/collection_update.cxx +55 -50
  1145. data/ext/couchbase/core/operations/management/collection_update.hxx +19 -16
  1146. data/ext/couchbase/core/operations/management/collections_manifest_get.cxx +14 -11
  1147. data/ext/couchbase/core/operations/management/collections_manifest_get.hxx +17 -13
  1148. data/ext/couchbase/core/operations/management/error_utils.cxx +230 -209
  1149. data/ext/couchbase/core/operations/management/error_utils.hxx +3 -1
  1150. data/ext/couchbase/core/operations/management/eventing_deploy_function.cxx +34 -30
  1151. data/ext/couchbase/core/operations/management/eventing_deploy_function.hxx +17 -14
  1152. data/ext/couchbase/core/operations/management/eventing_drop_function.cxx +35 -31
  1153. data/ext/couchbase/core/operations/management/eventing_drop_function.hxx +17 -14
  1154. data/ext/couchbase/core/operations/management/eventing_get_all_functions.cxx +54 -45
  1155. data/ext/couchbase/core/operations/management/eventing_get_all_functions.hxx +17 -14
  1156. data/ext/couchbase/core/operations/management/eventing_get_function.cxx +33 -29
  1157. data/ext/couchbase/core/operations/management/eventing_get_function.hxx +18 -15
  1158. data/ext/couchbase/core/operations/management/eventing_get_status.cxx +50 -41
  1159. data/ext/couchbase/core/operations/management/eventing_get_status.hxx +17 -14
  1160. data/ext/couchbase/core/operations/management/eventing_pause_function.cxx +34 -30
  1161. data/ext/couchbase/core/operations/management/eventing_pause_function.hxx +17 -14
  1162. data/ext/couchbase/core/operations/management/eventing_problem.hxx +3 -3
  1163. data/ext/couchbase/core/operations/management/eventing_resume_function.cxx +34 -30
  1164. data/ext/couchbase/core/operations/management/eventing_resume_function.hxx +17 -14
  1165. data/ext/couchbase/core/operations/management/eventing_undeploy_function.cxx +34 -30
  1166. data/ext/couchbase/core/operations/management/eventing_undeploy_function.hxx +17 -14
  1167. data/ext/couchbase/core/operations/management/eventing_upsert_function.cxx +335 -320
  1168. data/ext/couchbase/core/operations/management/eventing_upsert_function.hxx +17 -14
  1169. data/ext/couchbase/core/operations/management/freeform.cxx +27 -25
  1170. data/ext/couchbase/core/operations/management/freeform.hxx +19 -17
  1171. data/ext/couchbase/core/operations/management/group_drop.cxx +22 -20
  1172. data/ext/couchbase/core/operations/management/group_drop.hxx +13 -11
  1173. data/ext/couchbase/core/operations/management/group_get.cxx +30 -26
  1174. data/ext/couchbase/core/operations/management/group_get.hxx +14 -12
  1175. data/ext/couchbase/core/operations/management/group_get_all.cxx +30 -25
  1176. data/ext/couchbase/core/operations/management/group_get_all.hxx +13 -11
  1177. data/ext/couchbase/core/operations/management/group_upsert.cxx +64 -58
  1178. data/ext/couchbase/core/operations/management/group_upsert.hxx +14 -12
  1179. data/ext/couchbase/core/operations/management/query_index_build.cxx +60 -52
  1180. data/ext/couchbase/core/operations/management/query_index_build.hxx +25 -22
  1181. data/ext/couchbase/core/operations/management/query_index_build_deferred.hxx +75 -67
  1182. data/ext/couchbase/core/operations/management/query_index_create.cxx +133 -124
  1183. data/ext/couchbase/core/operations/management/query_index_create.hxx +31 -28
  1184. data/ext/couchbase/core/operations/management/query_index_drop.cxx +102 -96
  1185. data/ext/couchbase/core/operations/management/query_index_drop.hxx +26 -24
  1186. data/ext/couchbase/core/operations/management/query_index_get_all.cxx +106 -95
  1187. data/ext/couchbase/core/operations/management/query_index_get_all.hxx +24 -21
  1188. data/ext/couchbase/core/operations/management/query_index_get_all_deferred.cxx +73 -64
  1189. data/ext/couchbase/core/operations/management/query_index_get_all_deferred.hxx +24 -22
  1190. data/ext/couchbase/core/operations/management/role_get_all.cxx +30 -25
  1191. data/ext/couchbase/core/operations/management/role_get_all.hxx +13 -11
  1192. data/ext/couchbase/core/operations/management/scope_create.cxx +43 -39
  1193. data/ext/couchbase/core/operations/management/scope_create.hxx +15 -13
  1194. data/ext/couchbase/core/operations/management/scope_drop.cxx +40 -37
  1195. data/ext/couchbase/core/operations/management/scope_drop.hxx +15 -13
  1196. data/ext/couchbase/core/operations/management/scope_get_all.cxx +33 -28
  1197. data/ext/couchbase/core/operations/management/scope_get_all.hxx +14 -12
  1198. data/ext/couchbase/core/operations/management/search_get_stats.cxx +15 -12
  1199. data/ext/couchbase/core/operations/management/search_get_stats.hxx +13 -11
  1200. data/ext/couchbase/core/operations/management/search_index_analyze_document.cxx +77 -69
  1201. data/ext/couchbase/core/operations/management/search_index_analyze_document.hxx +20 -18
  1202. data/ext/couchbase/core/operations/management/search_index_control_ingest.cxx +66 -61
  1203. data/ext/couchbase/core/operations/management/search_index_control_ingest.hxx +19 -16
  1204. data/ext/couchbase/core/operations/management/search_index_control_plan_freeze.cxx +67 -61
  1205. data/ext/couchbase/core/operations/management/search_index_control_plan_freeze.hxx +19 -17
  1206. data/ext/couchbase/core/operations/management/search_index_control_query.cxx +66 -61
  1207. data/ext/couchbase/core/operations/management/search_index_control_query.hxx +19 -16
  1208. data/ext/couchbase/core/operations/management/search_index_drop.cxx +62 -57
  1209. data/ext/couchbase/core/operations/management/search_index_drop.hxx +18 -15
  1210. data/ext/couchbase/core/operations/management/search_index_get.cxx +63 -58
  1211. data/ext/couchbase/core/operations/management/search_index_get.hxx +18 -16
  1212. data/ext/couchbase/core/operations/management/search_index_get_all.cxx +55 -48
  1213. data/ext/couchbase/core/operations/management/search_index_get_all.hxx +18 -15
  1214. data/ext/couchbase/core/operations/management/search_index_get_documents_count.cxx +73 -63
  1215. data/ext/couchbase/core/operations/management/search_index_get_documents_count.hxx +19 -17
  1216. data/ext/couchbase/core/operations/management/search_index_get_stats.cxx +44 -38
  1217. data/ext/couchbase/core/operations/management/search_index_get_stats.hxx +17 -14
  1218. data/ext/couchbase/core/operations/management/search_index_upsert.cxx +102 -97
  1219. data/ext/couchbase/core/operations/management/search_index_upsert.hxx +20 -17
  1220. data/ext/couchbase/core/operations/management/user_drop.cxx +22 -20
  1221. data/ext/couchbase/core/operations/management/user_drop.hxx +16 -12
  1222. data/ext/couchbase/core/operations/management/user_get.cxx +31 -26
  1223. data/ext/couchbase/core/operations/management/user_get.hxx +17 -13
  1224. data/ext/couchbase/core/operations/management/user_get_all.cxx +30 -25
  1225. data/ext/couchbase/core/operations/management/user_get_all.hxx +16 -12
  1226. data/ext/couchbase/core/operations/management/user_upsert.cxx +69 -63
  1227. data/ext/couchbase/core/operations/management/user_upsert.hxx +17 -13
  1228. data/ext/couchbase/core/operations/management/view_index_drop.cxx +22 -15
  1229. data/ext/couchbase/core/operations/management/view_index_drop.hxx +15 -13
  1230. data/ext/couchbase/core/operations/management/view_index_get.cxx +46 -38
  1231. data/ext/couchbase/core/operations/management/view_index_get.hxx +16 -14
  1232. data/ext/couchbase/core/operations/management/view_index_get_all.cxx +77 -71
  1233. data/ext/couchbase/core/operations/management/view_index_get_all.hxx +16 -13
  1234. data/ext/couchbase/core/operations/management/view_index_upsert.cxx +43 -37
  1235. data/ext/couchbase/core/operations/management/view_index_upsert.hxx +15 -12
  1236. data/ext/couchbase/core/origin.cxx +292 -277
  1237. data/ext/couchbase/core/origin.hxx +55 -49
  1238. data/ext/couchbase/core/pending_operation.hxx +3 -3
  1239. data/ext/couchbase/core/pending_operation_connection_info.hxx +32 -0
  1240. data/ext/couchbase/core/ping_collector.hxx +3 -3
  1241. data/ext/couchbase/core/ping_options.hxx +30 -30
  1242. data/ext/couchbase/core/ping_reporter.hxx +3 -3
  1243. data/ext/couchbase/core/platform/backtrace.c +100 -91
  1244. data/ext/couchbase/core/platform/base64.cc +135 -131
  1245. data/ext/couchbase/core/platform/dirutils.cc +69 -63
  1246. data/ext/couchbase/core/platform/random.cc +47 -44
  1247. data/ext/couchbase/core/platform/random.h +4 -4
  1248. data/ext/couchbase/core/platform/string_hex.cc +47 -40
  1249. data/ext/couchbase/core/platform/terminate_handler.cc +55 -52
  1250. data/ext/couchbase/core/platform/uuid.cc +53 -48
  1251. data/ext/couchbase/core/protocol/client_opcode.hxx +336 -327
  1252. data/ext/couchbase/core/protocol/client_opcode_fmt.hxx +291 -291
  1253. data/ext/couchbase/core/protocol/client_request.cxx +13 -10
  1254. data/ext/couchbase/core/protocol/client_request.hxx +133 -132
  1255. data/ext/couchbase/core/protocol/client_response.cxx +41 -40
  1256. data/ext/couchbase/core/protocol/client_response.hxx +153 -150
  1257. data/ext/couchbase/core/protocol/cmd_append.cxx +24 -23
  1258. data/ext/couchbase/core/protocol/cmd_append.hxx +65 -65
  1259. data/ext/couchbase/core/protocol/cmd_cluster_map_change_notification.cxx +28 -22
  1260. data/ext/couchbase/core/protocol/cmd_cluster_map_change_notification.hxx +33 -25
  1261. data/ext/couchbase/core/protocol/cmd_decrement.cxx +38 -38
  1262. data/ext/couchbase/core/protocol/cmd_decrement.hxx +87 -87
  1263. data/ext/couchbase/core/protocol/cmd_get.cxx +17 -17
  1264. data/ext/couchbase/core/protocol/cmd_get.hxx +59 -59
  1265. data/ext/couchbase/core/protocol/cmd_get_and_lock.cxx +20 -20
  1266. data/ext/couchbase/core/protocol/cmd_get_and_lock.hxx +72 -72
  1267. data/ext/couchbase/core/protocol/cmd_get_and_touch.cxx +20 -20
  1268. data/ext/couchbase/core/protocol/cmd_get_and_touch.hxx +72 -72
  1269. data/ext/couchbase/core/protocol/cmd_get_cluster_config.cxx +47 -39
  1270. data/ext/couchbase/core/protocol/cmd_get_cluster_config.hxx +57 -49
  1271. data/ext/couchbase/core/protocol/cmd_get_collection_id.cxx +17 -17
  1272. data/ext/couchbase/core/protocol/cmd_get_collection_id.hxx +59 -59
  1273. data/ext/couchbase/core/protocol/cmd_get_collections_manifest.cxx +17 -14
  1274. data/ext/couchbase/core/protocol/cmd_get_collections_manifest.hxx +39 -39
  1275. data/ext/couchbase/core/protocol/cmd_get_error_map.cxx +19 -17
  1276. data/ext/couchbase/core/protocol/cmd_get_error_map.hxx +62 -62
  1277. data/ext/couchbase/core/protocol/cmd_get_meta.cxx +24 -23
  1278. data/ext/couchbase/core/protocol/cmd_get_meta.hxx +81 -79
  1279. data/ext/couchbase/core/protocol/cmd_get_replica.cxx +23 -23
  1280. data/ext/couchbase/core/protocol/cmd_get_replica.hxx +44 -44
  1281. data/ext/couchbase/core/protocol/cmd_hello.cxx +28 -27
  1282. data/ext/couchbase/core/protocol/cmd_hello.hxx +106 -105
  1283. data/ext/couchbase/core/protocol/cmd_increment.cxx +38 -38
  1284. data/ext/couchbase/core/protocol/cmd_increment.hxx +87 -87
  1285. data/ext/couchbase/core/protocol/cmd_info.hxx +3 -3
  1286. data/ext/couchbase/core/protocol/cmd_insert.cxx +27 -27
  1287. data/ext/couchbase/core/protocol/cmd_insert.hxx +81 -81
  1288. data/ext/couchbase/core/protocol/cmd_lookup_in.cxx +54 -51
  1289. data/ext/couchbase/core/protocol/cmd_lookup_in.hxx +90 -90
  1290. data/ext/couchbase/core/protocol/cmd_lookup_in_replica.cxx +54 -51
  1291. data/ext/couchbase/core/protocol/cmd_lookup_in_replica.hxx +88 -88
  1292. data/ext/couchbase/core/protocol/cmd_mutate_in.cxx +105 -97
  1293. data/ext/couchbase/core/protocol/cmd_mutate_in.hxx +161 -153
  1294. data/ext/couchbase/core/protocol/cmd_noop.cxx +4 -4
  1295. data/ext/couchbase/core/protocol/cmd_noop.hxx +32 -32
  1296. data/ext/couchbase/core/protocol/cmd_observe_seqno.cxx +45 -42
  1297. data/ext/couchbase/core/protocol/cmd_observe_seqno.hxx +89 -89
  1298. data/ext/couchbase/core/protocol/cmd_prepend.cxx +22 -22
  1299. data/ext/couchbase/core/protocol/cmd_prepend.hxx +63 -63
  1300. data/ext/couchbase/core/protocol/cmd_remove.cxx +23 -23
  1301. data/ext/couchbase/core/protocol/cmd_remove.hxx +54 -54
  1302. data/ext/couchbase/core/protocol/cmd_replace.cxx +28 -28
  1303. data/ext/couchbase/core/protocol/cmd_replace.hxx +88 -88
  1304. data/ext/couchbase/core/protocol/cmd_sasl_auth.cxx +17 -15
  1305. data/ext/couchbase/core/protocol/cmd_sasl_auth.hxx +56 -56
  1306. data/ext/couchbase/core/protocol/cmd_sasl_list_mechs.cxx +24 -19
  1307. data/ext/couchbase/core/protocol/cmd_sasl_list_mechs.hxx +39 -39
  1308. data/ext/couchbase/core/protocol/cmd_sasl_step.cxx +17 -15
  1309. data/ext/couchbase/core/protocol/cmd_sasl_step.hxx +56 -56
  1310. data/ext/couchbase/core/protocol/cmd_select_bucket.cxx +6 -6
  1311. data/ext/couchbase/core/protocol/cmd_select_bucket.hxx +36 -36
  1312. data/ext/couchbase/core/protocol/cmd_touch.cxx +8 -8
  1313. data/ext/couchbase/core/protocol/cmd_touch.hxx +38 -38
  1314. data/ext/couchbase/core/protocol/cmd_unlock.cxx +5 -5
  1315. data/ext/couchbase/core/protocol/cmd_unlock.hxx +36 -36
  1316. data/ext/couchbase/core/protocol/cmd_upsert.cxx +28 -28
  1317. data/ext/couchbase/core/protocol/cmd_upsert.hxx +83 -83
  1318. data/ext/couchbase/core/protocol/datatype.hxx +19 -18
  1319. data/ext/couchbase/core/protocol/frame_info_id.hxx +108 -103
  1320. data/ext/couchbase/core/protocol/frame_info_id_fmt.hxx +45 -45
  1321. data/ext/couchbase/core/protocol/frame_info_utils.cxx +24 -21
  1322. data/ext/couchbase/core/protocol/frame_info_utils.hxx +3 -1
  1323. data/ext/couchbase/core/protocol/hello_feature.hxx +211 -175
  1324. data/ext/couchbase/core/protocol/hello_feature_fmt.hxx +93 -90
  1325. data/ext/couchbase/core/protocol/magic.hxx +24 -24
  1326. data/ext/couchbase/core/protocol/magic_fmt.hxx +30 -30
  1327. data/ext/couchbase/core/protocol/server_opcode.hxx +11 -11
  1328. data/ext/couchbase/core/protocol/server_opcode_fmt.hxx +18 -18
  1329. data/ext/couchbase/core/protocol/server_request.hxx +90 -86
  1330. data/ext/couchbase/core/protocol/status.cxx +137 -138
  1331. data/ext/couchbase/core/protocol/status.hxx +86 -86
  1332. data/ext/couchbase/core/query_context.hxx +44 -43
  1333. data/ext/couchbase/core/range_scan_load_balancer.cxx +52 -50
  1334. data/ext/couchbase/core/range_scan_load_balancer.hxx +26 -26
  1335. data/ext/couchbase/core/range_scan_options.cxx +2 -2
  1336. data/ext/couchbase/core/range_scan_options.hxx +62 -59
  1337. data/ext/couchbase/core/range_scan_orchestrator.cxx +530 -468
  1338. data/ext/couchbase/core/range_scan_orchestrator.hxx +23 -18
  1339. data/ext/couchbase/core/range_scan_orchestrator_options.hxx +10 -10
  1340. data/ext/couchbase/core/resource_units.hxx +2 -2
  1341. data/ext/couchbase/core/response_handler.hxx +8 -8
  1342. data/ext/couchbase/core/retry_orchestrator.cxx +27 -19
  1343. data/ext/couchbase/core/retry_orchestrator.hxx +3 -2
  1344. data/ext/couchbase/core/row_streamer.cxx +239 -0
  1345. data/ext/couchbase/core/row_streamer.hxx +68 -0
  1346. data/ext/couchbase/core/sasl/client.cc +22 -18
  1347. data/ext/couchbase/core/sasl/client.h +66 -62
  1348. data/ext/couchbase/core/sasl/context.cc +4 -4
  1349. data/ext/couchbase/core/sasl/context.h +19 -19
  1350. data/ext/couchbase/core/sasl/error.h +12 -1
  1351. data/ext/couchbase/core/sasl/error_fmt.h +42 -42
  1352. data/ext/couchbase/core/sasl/mechanism.cc +13 -10
  1353. data/ext/couchbase/core/sasl/mechanism.h +8 -3
  1354. data/ext/couchbase/core/sasl/plain/plain.cc +8 -8
  1355. data/ext/couchbase/core/sasl/plain/plain.h +25 -24
  1356. data/ext/couchbase/core/sasl/scram-sha/scram-sha.cc +225 -218
  1357. data/ext/couchbase/core/sasl/scram-sha/scram-sha.h +133 -115
  1358. data/ext/couchbase/core/sasl/scram-sha/stringutils.cc +20 -20
  1359. data/ext/couchbase/core/scan_result.cxx +38 -38
  1360. data/ext/couchbase/core/scan_result.hxx +16 -16
  1361. data/ext/couchbase/core/search_highlight_style.hxx +4 -1
  1362. data/ext/couchbase/core/search_query_options.cxx +21 -21
  1363. data/ext/couchbase/core/search_query_options.hxx +19 -18
  1364. data/ext/couchbase/core/search_scan_consistency.hxx +3 -1
  1365. data/ext/couchbase/core/seed_config.cxx +10 -7
  1366. data/ext/couchbase/core/seed_config.hxx +8 -8
  1367. data/ext/couchbase/core/service_type.hxx +7 -7
  1368. data/ext/couchbase/core/service_type_fmt.hxx +33 -33
  1369. data/ext/couchbase/core/stats_options.hxx +13 -13
  1370. data/ext/couchbase/core/subdoc_options.hxx +60 -58
  1371. data/ext/couchbase/core/timeout_defaults.hxx +1 -0
  1372. data/ext/couchbase/core/tls_verify_mode.hxx +2 -2
  1373. data/ext/couchbase/core/topology/capabilities.hxx +83 -83
  1374. data/ext/couchbase/core/topology/capabilities_fmt.hxx +111 -111
  1375. data/ext/couchbase/core/topology/collections_manifest.hxx +14 -14
  1376. data/ext/couchbase/core/topology/collections_manifest_fmt.hxx +23 -21
  1377. data/ext/couchbase/core/topology/collections_manifest_json.hxx +26 -25
  1378. data/ext/couchbase/core/topology/configuration.cxx +213 -192
  1379. data/ext/couchbase/core/topology/configuration.hxx +104 -91
  1380. data/ext/couchbase/core/topology/configuration_fmt.hxx +131 -128
  1381. data/ext/couchbase/core/topology/configuration_json.hxx +276 -242
  1382. data/ext/couchbase/core/topology/error_map.hxx +5 -5
  1383. data/ext/couchbase/core/topology/error_map_json.hxx +65 -60
  1384. data/ext/couchbase/core/tracing/CMakeLists.txt +3 -1
  1385. data/ext/couchbase/core/tracing/constants.hxx +153 -153
  1386. data/ext/couchbase/core/tracing/noop_tracer.hxx +29 -28
  1387. data/ext/couchbase/core/tracing/threshold_logging_options.hxx +30 -30
  1388. data/ext/couchbase/core/tracing/threshold_logging_tracer.cxx +354 -344
  1389. data/ext/couchbase/core/tracing/threshold_logging_tracer.hxx +12 -12
  1390. data/ext/couchbase/core/transactions/active_transaction_record.cxx +152 -33
  1391. data/ext/couchbase/core/transactions/active_transaction_record.hxx +30 -118
  1392. data/ext/couchbase/core/transactions/async_attempt_context.cxx +8 -2
  1393. data/ext/couchbase/core/transactions/async_attempt_context.hxx +166 -130
  1394. data/ext/couchbase/core/transactions/atr_cleanup_entry.cxx +376 -340
  1395. data/ext/couchbase/core/transactions/atr_ids.cxx +272 -186
  1396. data/ext/couchbase/core/transactions/atr_ids.hxx +4 -4
  1397. data/ext/couchbase/core/transactions/attempt_context.cxx +9 -5
  1398. data/ext/couchbase/core/transactions/attempt_context.hxx +194 -154
  1399. data/ext/couchbase/core/transactions/attempt_context_impl.cxx +3356 -2134
  1400. data/ext/couchbase/core/transactions/attempt_context_impl.hxx +408 -562
  1401. data/ext/couchbase/core/transactions/attempt_context_testing_hooks.cxx +18 -10
  1402. data/ext/couchbase/core/transactions/attempt_context_testing_hooks.hxx +58 -49
  1403. data/ext/couchbase/core/transactions/attempt_state.hxx +72 -72
  1404. data/ext/couchbase/core/transactions/binary.cxx +3 -3
  1405. data/ext/couchbase/core/transactions/cleanup_testing_hooks.cxx +4 -3
  1406. data/ext/couchbase/core/transactions/cleanup_testing_hooks.hxx +28 -24
  1407. data/ext/couchbase/core/transactions/document_metadata.hxx +68 -68
  1408. data/ext/couchbase/core/transactions/durability_level.hxx +53 -53
  1409. data/ext/couchbase/core/transactions/error_class.hxx +12 -12
  1410. data/ext/couchbase/core/transactions/error_list.hxx +22 -22
  1411. data/ext/couchbase/core/transactions/exceptions.cxx +167 -115
  1412. data/ext/couchbase/core/transactions/exceptions.hxx +170 -139
  1413. data/ext/couchbase/core/transactions/exceptions_fmt.hxx +105 -0
  1414. data/ext/couchbase/core/transactions/forward_compat.cxx +231 -0
  1415. data/ext/couchbase/core/transactions/forward_compat.hxx +63 -207
  1416. data/ext/couchbase/core/transactions/internal/atr_cleanup_entry.hxx +111 -102
  1417. data/ext/couchbase/core/transactions/internal/atr_entry.hxx +144 -144
  1418. data/ext/couchbase/core/transactions/internal/client_record.hxx +53 -50
  1419. data/ext/couchbase/core/transactions/internal/doc_record.cxx +7 -7
  1420. data/ext/couchbase/core/transactions/internal/doc_record.hxx +38 -35
  1421. data/ext/couchbase/core/transactions/internal/doc_record_fmt.hxx +17 -16
  1422. data/ext/couchbase/core/transactions/internal/exceptions_internal.hxx +238 -281
  1423. data/ext/couchbase/core/transactions/internal/exceptions_internal_fmt.hxx +103 -0
  1424. data/ext/couchbase/core/transactions/internal/logging.hxx +52 -29
  1425. data/ext/couchbase/core/transactions/internal/transaction_attempt.hxx +3 -3
  1426. data/ext/couchbase/core/transactions/internal/transaction_context.hxx +113 -147
  1427. data/ext/couchbase/core/transactions/internal/transaction_fields.hxx +2 -1
  1428. data/ext/couchbase/core/transactions/internal/transactions_cleanup.hxx +129 -123
  1429. data/ext/couchbase/core/transactions/internal/utils.hxx +247 -221
  1430. data/ext/couchbase/core/transactions/result.cxx +41 -40
  1431. data/ext/couchbase/core/transactions/result.hxx +143 -141
  1432. data/ext/couchbase/core/transactions/result_fmt.hxx +21 -20
  1433. data/ext/couchbase/core/transactions/staged_mutation.cxx +772 -632
  1434. data/ext/couchbase/core/transactions/staged_mutation.hxx +177 -156
  1435. data/ext/couchbase/core/transactions/transaction_context.cxx +343 -181
  1436. data/ext/couchbase/core/transactions/transaction_get_result.cxx +189 -198
  1437. data/ext/couchbase/core/transactions/transaction_get_result.hxx +202 -225
  1438. data/ext/couchbase/core/transactions/transaction_keyspace.cxx +15 -11
  1439. data/ext/couchbase/core/transactions/transaction_links.cxx +96 -7
  1440. data/ext/couchbase/core/transactions/transaction_links.hxx +192 -230
  1441. data/ext/couchbase/core/transactions/transaction_options.cxx +45 -41
  1442. data/ext/couchbase/core/transactions/transactions.cxx +171 -126
  1443. data/ext/couchbase/core/transactions/transactions_cleanup.cxx +497 -439
  1444. data/ext/couchbase/core/transactions/transactions_config.cxx +26 -22
  1445. data/ext/couchbase/core/transactions/uid_generator.cxx +6 -4
  1446. data/ext/couchbase/core/transactions/uid_generator.hxx +2 -2
  1447. data/ext/couchbase/core/transactions/utils.cxx +79 -66
  1448. data/ext/couchbase/core/transactions/waitable_op_list.hxx +154 -140
  1449. data/ext/couchbase/core/transactions.hxx +183 -180
  1450. data/ext/couchbase/core/utils/binary.cxx +3 -3
  1451. data/ext/couchbase/core/utils/binary.hxx +19 -15
  1452. data/ext/couchbase/core/utils/byteswap.hxx +17 -17
  1453. data/ext/couchbase/core/utils/connection_string.cxx +408 -329
  1454. data/ext/couchbase/core/utils/connection_string.hxx +37 -36
  1455. data/ext/couchbase/core/utils/crc32.hxx +42 -34
  1456. data/ext/couchbase/core/utils/duration_parser.cxx +146 -135
  1457. data/ext/couchbase/core/utils/duration_parser.hxx +9 -9
  1458. data/ext/couchbase/core/utils/join_strings.hxx +24 -24
  1459. data/ext/couchbase/core/utils/json.cxx +244 -228
  1460. data/ext/couchbase/core/utils/json.hxx +13 -13
  1461. data/ext/couchbase/core/utils/json_stream_control.hxx +8 -8
  1462. data/ext/couchbase/core/utils/json_streaming_lexer.cxx +328 -268
  1463. data/ext/couchbase/core/utils/json_streaming_lexer.hxx +24 -17
  1464. data/ext/couchbase/core/utils/keyspace.hxx +22 -21
  1465. data/ext/couchbase/core/utils/movable_function.hxx +78 -76
  1466. data/ext/couchbase/core/utils/mutation_token.cxx +7 -3
  1467. data/ext/couchbase/core/utils/mutation_token.hxx +3 -1
  1468. data/ext/couchbase/core/utils/name_codec.hxx +13 -13
  1469. data/ext/couchbase/core/utils/split_string.cxx +9 -9
  1470. data/ext/couchbase/core/utils/split_string.hxx +2 -2
  1471. data/ext/couchbase/core/utils/unsigned_leb128.hxx +92 -88
  1472. data/ext/couchbase/core/utils/url_codec.cxx +304 -297
  1473. data/ext/couchbase/core/utils/url_codec.hxx +35 -35
  1474. data/ext/couchbase/core/vector_query_combination.hxx +4 -1
  1475. data/ext/couchbase/core/view_on_error.hxx +4 -3
  1476. data/ext/couchbase/core/view_query_options.cxx +21 -21
  1477. data/ext/couchbase/core/view_query_options.hxx +23 -22
  1478. data/ext/couchbase/core/view_scan_consistency.hxx +3 -3
  1479. data/ext/couchbase/core/view_sort_order.hxx +4 -1
  1480. data/ext/couchbase/core/wait_until_ready_options.hxx +11 -10
  1481. data/ext/couchbase/couchbase/allow_querying_search_index_options.hxx +11 -11
  1482. data/ext/couchbase/couchbase/analytics_index_manager.hxx +424 -406
  1483. data/ext/couchbase/couchbase/analytics_meta_data.hxx +105 -105
  1484. data/ext/couchbase/couchbase/analytics_metrics.hxx +120 -118
  1485. data/ext/couchbase/couchbase/analytics_options.hxx +318 -292
  1486. data/ext/couchbase/couchbase/analytics_result.hxx +56 -55
  1487. data/ext/couchbase/couchbase/analytics_scan_consistency.hxx +24 -21
  1488. data/ext/couchbase/couchbase/analytics_status.hxx +10 -10
  1489. data/ext/couchbase/couchbase/analytics_warning.hxx +44 -43
  1490. data/ext/couchbase/couchbase/analyze_document_options.hxx +9 -9
  1491. data/ext/couchbase/couchbase/append_options.hxx +51 -47
  1492. data/ext/couchbase/couchbase/behavior_options.hxx +75 -69
  1493. data/ext/couchbase/couchbase/best_effort_retry_strategy.hxx +12 -10
  1494. data/ext/couchbase/couchbase/binary_collection.hxx +213 -183
  1495. data/ext/couchbase/couchbase/boolean_field_query.hxx +38 -38
  1496. data/ext/couchbase/couchbase/boolean_query.hxx +166 -157
  1497. data/ext/couchbase/couchbase/bucket.hxx +69 -68
  1498. data/ext/couchbase/couchbase/bucket_manager.hxx +98 -88
  1499. data/ext/couchbase/couchbase/build_query_index_options.hxx +22 -21
  1500. data/ext/couchbase/couchbase/cas.hxx +74 -73
  1501. data/ext/couchbase/couchbase/certificate_authenticator.hxx +10 -10
  1502. data/ext/couchbase/couchbase/cluster.hxx +266 -310
  1503. data/ext/couchbase/couchbase/cluster_options.hxx +235 -241
  1504. data/ext/couchbase/couchbase/codec/binary_noop_serializer.hxx +11 -11
  1505. data/ext/couchbase/couchbase/codec/codec_flags.hxx +39 -35
  1506. data/ext/couchbase/couchbase/codec/encoded_value.hxx +15 -2
  1507. data/ext/couchbase/couchbase/codec/json_transcoder.hxx +17 -15
  1508. data/ext/couchbase/couchbase/codec/raw_binary_transcoder.hxx +19 -17
  1509. data/ext/couchbase/couchbase/codec/raw_json_transcoder.hxx +31 -24
  1510. data/ext/couchbase/couchbase/codec/raw_string_transcoder.hxx +20 -18
  1511. data/ext/couchbase/couchbase/codec/tao_json_serializer.hxx +38 -30
  1512. data/ext/couchbase/couchbase/collection.hxx +1007 -902
  1513. data/ext/couchbase/couchbase/collection_manager.hxx +115 -107
  1514. data/ext/couchbase/couchbase/collection_query_index_manager.hxx +200 -188
  1515. data/ext/couchbase/couchbase/common_durability_options.hxx +68 -62
  1516. data/ext/couchbase/couchbase/common_options.hxx +67 -67
  1517. data/ext/couchbase/couchbase/compression_options.hxx +33 -33
  1518. data/ext/couchbase/couchbase/configuration_profile.hxx +12 -11
  1519. data/ext/couchbase/couchbase/configuration_profiles_registry.hxx +24 -22
  1520. data/ext/couchbase/couchbase/conjunction_query.hxx +47 -45
  1521. data/ext/couchbase/couchbase/connect_link_analytics_options.hxx +74 -72
  1522. data/ext/couchbase/couchbase/counter_result.hxx +32 -32
  1523. data/ext/couchbase/couchbase/create_bucket_options.hxx +10 -10
  1524. data/ext/couchbase/couchbase/create_collection_options.hxx +35 -34
  1525. data/ext/couchbase/couchbase/create_dataset_analytics_options.hxx +76 -76
  1526. data/ext/couchbase/couchbase/create_dataverse_analytics_options.hxx +44 -44
  1527. data/ext/couchbase/couchbase/create_index_analytics_options.hxx +60 -60
  1528. data/ext/couchbase/couchbase/create_link_analytics_options.hxx +25 -25
  1529. data/ext/couchbase/couchbase/create_primary_query_index_options.hxx +95 -94
  1530. data/ext/couchbase/couchbase/create_query_index_options.hxx +97 -96
  1531. data/ext/couchbase/couchbase/create_scope_options.hxx +9 -9
  1532. data/ext/couchbase/couchbase/date_range.hxx +29 -27
  1533. data/ext/couchbase/couchbase/date_range_facet.hxx +20 -20
  1534. data/ext/couchbase/couchbase/date_range_facet_result.hxx +15 -14
  1535. data/ext/couchbase/couchbase/date_range_query.hxx +219 -205
  1536. data/ext/couchbase/couchbase/decrement_options.hxx +93 -91
  1537. data/ext/couchbase/couchbase/diagnostics_options.hxx +42 -41
  1538. data/ext/couchbase/couchbase/diagnostics_result.hxx +82 -83
  1539. data/ext/couchbase/couchbase/disallow_querying_search_index_options.hxx +11 -10
  1540. data/ext/couchbase/couchbase/disconnect_link_analytics_options.hxx +62 -62
  1541. data/ext/couchbase/couchbase/disjunction_query.hxx +61 -60
  1542. data/ext/couchbase/couchbase/dns_options.hxx +30 -30
  1543. data/ext/couchbase/couchbase/doc_id_query.hxx +69 -69
  1544. data/ext/couchbase/couchbase/drop_bucket_options.hxx +12 -12
  1545. data/ext/couchbase/couchbase/drop_collection_options.hxx +9 -9
  1546. data/ext/couchbase/couchbase/drop_dataset_analytics_options.hxx +60 -60
  1547. data/ext/couchbase/couchbase/drop_dataverse_analytics_options.hxx +44 -44
  1548. data/ext/couchbase/couchbase/drop_index_analytics_options.hxx +60 -60
  1549. data/ext/couchbase/couchbase/drop_link_analytics_options.hxx +25 -25
  1550. data/ext/couchbase/couchbase/drop_primary_query_index_options.hxx +58 -58
  1551. data/ext/couchbase/couchbase/drop_query_index_options.hxx +44 -44
  1552. data/ext/couchbase/couchbase/drop_scope_options.hxx +9 -9
  1553. data/ext/couchbase/couchbase/drop_search_index_options.hxx +9 -9
  1554. data/ext/couchbase/couchbase/durability_level.hxx +32 -29
  1555. data/ext/couchbase/couchbase/endpoint_diagnostics.hxx +171 -171
  1556. data/ext/couchbase/couchbase/endpoint_ping_report.hxx +166 -169
  1557. data/ext/couchbase/couchbase/error.hxx +51 -0
  1558. data/ext/couchbase/couchbase/error_codes.hxx +975 -940
  1559. data/ext/couchbase/couchbase/error_context.hxx +19 -152
  1560. data/ext/couchbase/couchbase/exists_options.hxx +25 -24
  1561. data/ext/couchbase/couchbase/exists_result.hxx +32 -32
  1562. data/ext/couchbase/couchbase/expiry.hxx +2 -2
  1563. data/ext/couchbase/couchbase/fail_fast_retry_strategy.hxx +4 -4
  1564. data/ext/couchbase/couchbase/flush_bucket_options.hxx +11 -13
  1565. data/ext/couchbase/couchbase/fmt/analytics_scan_consistency.hxx +18 -18
  1566. data/ext/couchbase/couchbase/fmt/analytics_status.hxx +42 -42
  1567. data/ext/couchbase/couchbase/fmt/cas.hxx +10 -10
  1568. data/ext/couchbase/couchbase/fmt/durability_level.hxx +24 -24
  1569. data/ext/couchbase/couchbase/fmt/error.hxx +53 -0
  1570. data/ext/couchbase/couchbase/fmt/error_context.hxx +43 -0
  1571. data/ext/couchbase/couchbase/fmt/mutation_token.hxx +15 -11
  1572. data/ext/couchbase/couchbase/fmt/query_profile.hxx +21 -21
  1573. data/ext/couchbase/couchbase/fmt/query_scan_consistency.hxx +18 -18
  1574. data/ext/couchbase/couchbase/fmt/query_status.hxx +42 -42
  1575. data/ext/couchbase/couchbase/fmt/retry_reason.hxx +75 -75
  1576. data/ext/couchbase/couchbase/fmt/search_scan_consistency.hxx +15 -15
  1577. data/ext/couchbase/couchbase/fmt/tls_verify_mode.hxx +18 -18
  1578. data/ext/couchbase/couchbase/fmt/transaction_keyspace.hxx +15 -11
  1579. data/ext/couchbase/couchbase/fork_event.hxx +12 -12
  1580. data/ext/couchbase/couchbase/freeze_plan_search_index_options.hxx +9 -9
  1581. data/ext/couchbase/couchbase/geo_bounding_box_query.hxx +71 -64
  1582. data/ext/couchbase/couchbase/geo_distance_query.hxx +73 -66
  1583. data/ext/couchbase/couchbase/geo_point.hxx +2 -2
  1584. data/ext/couchbase/couchbase/geo_polygon_query.hxx +40 -39
  1585. data/ext/couchbase/couchbase/get_all_buckets_options.hxx +11 -12
  1586. data/ext/couchbase/couchbase/get_all_datasets_analytics_options.hxx +25 -25
  1587. data/ext/couchbase/couchbase/get_all_indexes_analytics_options.hxx +26 -25
  1588. data/ext/couchbase/couchbase/get_all_query_indexes_options.hxx +27 -25
  1589. data/ext/couchbase/couchbase/get_all_replicas_options.hxx +49 -26
  1590. data/ext/couchbase/couchbase/get_all_scopes_options.hxx +9 -9
  1591. data/ext/couchbase/couchbase/get_all_search_indexes_options.hxx +9 -9
  1592. data/ext/couchbase/couchbase/get_and_lock_options.hxx +25 -24
  1593. data/ext/couchbase/couchbase/get_and_touch_options.hxx +25 -24
  1594. data/ext/couchbase/couchbase/get_any_replica_options.hxx +49 -26
  1595. data/ext/couchbase/couchbase/get_bucket_options.hxx +11 -12
  1596. data/ext/couchbase/couchbase/get_indexed_search_index_options.hxx +9 -9
  1597. data/ext/couchbase/couchbase/get_links_analytics_options.hxx +74 -74
  1598. data/ext/couchbase/couchbase/get_options.hxx +63 -60
  1599. data/ext/couchbase/couchbase/get_pending_mutations_analytics_options.hxx +30 -28
  1600. data/ext/couchbase/couchbase/get_replica_result.hxx +79 -75
  1601. data/ext/couchbase/couchbase/get_result.hxx +86 -80
  1602. data/ext/couchbase/couchbase/get_search_index_options.hxx +9 -9
  1603. data/ext/couchbase/couchbase/highlight_style.hxx +14 -14
  1604. data/ext/couchbase/couchbase/increment_options.hxx +94 -91
  1605. data/ext/couchbase/couchbase/insert_options.hxx +62 -59
  1606. data/ext/couchbase/couchbase/ip_protocol.hxx +3 -3
  1607. data/ext/couchbase/couchbase/logger.hxx +51 -0
  1608. data/ext/couchbase/couchbase/lookup_in_all_replicas_options.hxx +54 -43
  1609. data/ext/couchbase/couchbase/lookup_in_any_replica_options.hxx +54 -44
  1610. data/ext/couchbase/couchbase/lookup_in_options.hxx +40 -40
  1611. data/ext/couchbase/couchbase/lookup_in_replica_result.hxx +38 -35
  1612. data/ext/couchbase/couchbase/lookup_in_result.hxx +222 -216
  1613. data/ext/couchbase/couchbase/lookup_in_specs.hxx +101 -101
  1614. data/ext/couchbase/couchbase/management/analytics_dataset.hxx +16 -16
  1615. data/ext/couchbase/couchbase/management/analytics_index.hxx +16 -16
  1616. data/ext/couchbase/couchbase/management/analytics_link.hxx +193 -189
  1617. data/ext/couchbase/couchbase/management/bucket_settings.hxx +91 -75
  1618. data/ext/couchbase/couchbase/management/collection_spec.hxx +4 -4
  1619. data/ext/couchbase/couchbase/management/query_index.hxx +10 -10
  1620. data/ext/couchbase/couchbase/management/scope_spec.hxx +2 -2
  1621. data/ext/couchbase/couchbase/management/search_index.hxx +9 -9
  1622. data/ext/couchbase/couchbase/match_all_query.hxx +10 -9
  1623. data/ext/couchbase/couchbase/match_none_query.hxx +10 -9
  1624. data/ext/couchbase/couchbase/match_operator.hxx +15 -14
  1625. data/ext/couchbase/couchbase/match_phrase_query.hxx +70 -65
  1626. data/ext/couchbase/couchbase/match_query.hxx +115 -114
  1627. data/ext/couchbase/couchbase/metrics/meter.hxx +33 -30
  1628. data/ext/couchbase/couchbase/metrics/otel_meter.hxx +86 -74
  1629. data/ext/couchbase/couchbase/metrics_options.hxx +34 -34
  1630. data/ext/couchbase/couchbase/mutate_in_options.hxx +160 -149
  1631. data/ext/couchbase/couchbase/mutate_in_result.hxx +130 -123
  1632. data/ext/couchbase/couchbase/mutate_in_specs.hxx +473 -454
  1633. data/ext/couchbase/couchbase/mutation_result.hxx +32 -32
  1634. data/ext/couchbase/couchbase/mutation_state.hxx +35 -34
  1635. data/ext/couchbase/couchbase/mutation_token.hxx +78 -78
  1636. data/ext/couchbase/couchbase/network_options.hxx +101 -72
  1637. data/ext/couchbase/couchbase/numeric_range.hxx +26 -26
  1638. data/ext/couchbase/couchbase/numeric_range_facet.hxx +20 -20
  1639. data/ext/couchbase/couchbase/numeric_range_facet_result.hxx +14 -14
  1640. data/ext/couchbase/couchbase/numeric_range_query.hxx +97 -95
  1641. data/ext/couchbase/couchbase/password_authenticator.hxx +17 -17
  1642. data/ext/couchbase/couchbase/pause_ingest_search_index_options.hxx +11 -10
  1643. data/ext/couchbase/couchbase/persist_to.hxx +45 -44
  1644. data/ext/couchbase/couchbase/phrase_query.hxx +69 -65
  1645. data/ext/couchbase/couchbase/ping_options.hxx +55 -54
  1646. data/ext/couchbase/couchbase/ping_result.hxx +79 -77
  1647. data/ext/couchbase/couchbase/prefix_query.hxx +43 -40
  1648. data/ext/couchbase/couchbase/prepend_options.hxx +51 -47
  1649. data/ext/couchbase/couchbase/query_index_manager.hxx +207 -199
  1650. data/ext/couchbase/couchbase/query_meta_data.hxx +120 -120
  1651. data/ext/couchbase/couchbase/query_metrics.hxx +135 -133
  1652. data/ext/couchbase/couchbase/query_options.hxx +518 -493
  1653. data/ext/couchbase/couchbase/query_profile.hxx +29 -26
  1654. data/ext/couchbase/couchbase/query_result.hxx +56 -58
  1655. data/ext/couchbase/couchbase/query_scan_consistency.hxx +24 -21
  1656. data/ext/couchbase/couchbase/query_status.hxx +10 -10
  1657. data/ext/couchbase/couchbase/query_string_query.hxx +34 -29
  1658. data/ext/couchbase/couchbase/query_warning.hxx +75 -71
  1659. data/ext/couchbase/couchbase/read_preference.hxx +58 -0
  1660. data/ext/couchbase/couchbase/regexp_query.hxx +40 -39
  1661. data/ext/couchbase/couchbase/remove_options.hxx +51 -47
  1662. data/ext/couchbase/couchbase/replace_link_analytics_options.hxx +25 -25
  1663. data/ext/couchbase/couchbase/replace_options.hxx +112 -104
  1664. data/ext/couchbase/couchbase/replicate_to.hxx +28 -28
  1665. data/ext/couchbase/couchbase/result.hxx +28 -28
  1666. data/ext/couchbase/couchbase/resume_ingest_search_index_options.hxx +11 -10
  1667. data/ext/couchbase/couchbase/retry_action.hxx +10 -10
  1668. data/ext/couchbase/couchbase/retry_reason.hxx +53 -51
  1669. data/ext/couchbase/couchbase/retry_request.hxx +7 -7
  1670. data/ext/couchbase/couchbase/retry_strategy.hxx +4 -4
  1671. data/ext/couchbase/couchbase/scan_options.hxx +114 -108
  1672. data/ext/couchbase/couchbase/scan_result.hxx +97 -96
  1673. data/ext/couchbase/couchbase/scan_result_item.hxx +120 -118
  1674. data/ext/couchbase/couchbase/scan_type.hxx +237 -232
  1675. data/ext/couchbase/couchbase/scope.hxx +164 -157
  1676. data/ext/couchbase/couchbase/scope_search_index_manager.hxx +263 -238
  1677. data/ext/couchbase/couchbase/search_date_range.hxx +32 -29
  1678. data/ext/couchbase/couchbase/search_facet.hxx +25 -25
  1679. data/ext/couchbase/couchbase/search_facet_result.hxx +11 -11
  1680. data/ext/couchbase/couchbase/search_geo_distance_units.hxx +11 -1
  1681. data/ext/couchbase/couchbase/search_index_manager.hxx +261 -238
  1682. data/ext/couchbase/couchbase/search_meta_data.hxx +40 -37
  1683. data/ext/couchbase/couchbase/search_metrics.hxx +84 -83
  1684. data/ext/couchbase/couchbase/search_numeric_range.hxx +32 -32
  1685. data/ext/couchbase/couchbase/search_options.hxx +449 -435
  1686. data/ext/couchbase/couchbase/search_query.hxx +32 -30
  1687. data/ext/couchbase/couchbase/search_request.hxx +69 -68
  1688. data/ext/couchbase/couchbase/search_result.hxx +29 -26
  1689. data/ext/couchbase/couchbase/search_row.hxx +55 -52
  1690. data/ext/couchbase/couchbase/search_row_location.hxx +21 -20
  1691. data/ext/couchbase/couchbase/search_row_locations.hxx +43 -38
  1692. data/ext/couchbase/couchbase/search_scan_consistency.hxx +11 -10
  1693. data/ext/couchbase/couchbase/search_sort.hxx +20 -20
  1694. data/ext/couchbase/couchbase/search_sort_field.hxx +77 -71
  1695. data/ext/couchbase/couchbase/search_sort_field_missing.hxx +2 -2
  1696. data/ext/couchbase/couchbase/search_sort_field_mode.hxx +3 -3
  1697. data/ext/couchbase/couchbase/search_sort_field_type.hxx +4 -4
  1698. data/ext/couchbase/couchbase/search_sort_geo_distance.hxx +41 -41
  1699. data/ext/couchbase/couchbase/search_sort_id.hxx +23 -23
  1700. data/ext/couchbase/couchbase/search_sort_score.hxx +23 -23
  1701. data/ext/couchbase/couchbase/search_term_range.hxx +17 -17
  1702. data/ext/couchbase/couchbase/security_options.hxx +50 -50
  1703. data/ext/couchbase/couchbase/service_type.hxx +34 -34
  1704. data/ext/couchbase/couchbase/store_semantics.hxx +28 -28
  1705. data/ext/couchbase/couchbase/subdoc/array_add_unique.hxx +54 -54
  1706. data/ext/couchbase/couchbase/subdoc/array_append.hxx +40 -40
  1707. data/ext/couchbase/couchbase/subdoc/array_insert.hxx +41 -41
  1708. data/ext/couchbase/couchbase/subdoc/array_prepend.hxx +41 -41
  1709. data/ext/couchbase/couchbase/subdoc/count.hxx +24 -24
  1710. data/ext/couchbase/couchbase/subdoc/counter.hxx +41 -41
  1711. data/ext/couchbase/couchbase/subdoc/exists.hxx +24 -24
  1712. data/ext/couchbase/couchbase/subdoc/get.hxx +45 -29
  1713. data/ext/couchbase/couchbase/subdoc/insert.hxx +70 -54
  1714. data/ext/couchbase/couchbase/subdoc/lookup_in_macro.hxx +14 -13
  1715. data/ext/couchbase/couchbase/subdoc/mutate_in_macro.hxx +7 -2
  1716. data/ext/couchbase/couchbase/subdoc/remove.hxx +24 -24
  1717. data/ext/couchbase/couchbase/subdoc/replace.hxx +55 -39
  1718. data/ext/couchbase/couchbase/subdoc/upsert.hxx +70 -54
  1719. data/ext/couchbase/couchbase/term_facet.hxx +16 -16
  1720. data/ext/couchbase/couchbase/term_facet_result.hxx +14 -14
  1721. data/ext/couchbase/couchbase/term_query.hxx +107 -104
  1722. data/ext/couchbase/couchbase/term_range_query.hxx +99 -96
  1723. data/ext/couchbase/couchbase/timeout_options.hxx +118 -112
  1724. data/ext/couchbase/couchbase/tls_verify_mode.hxx +2 -2
  1725. data/ext/couchbase/couchbase/touch_options.hxx +25 -24
  1726. data/ext/couchbase/couchbase/tracing/otel_tracer.hxx +45 -44
  1727. data/ext/couchbase/couchbase/tracing/request_span.hxx +34 -34
  1728. data/ext/couchbase/couchbase/tracing/request_tracer.hxx +27 -25
  1729. data/ext/couchbase/couchbase/tracing_options.hxx +147 -142
  1730. data/ext/couchbase/couchbase/transactions/async_attempt_context.hxx +149 -115
  1731. data/ext/couchbase/couchbase/transactions/attempt_context.hxx +146 -95
  1732. data/ext/couchbase/couchbase/transactions/transaction_get_result.hxx +52 -80
  1733. data/ext/couchbase/couchbase/transactions/transaction_keyspace.hxx +33 -29
  1734. data/ext/couchbase/couchbase/transactions/transaction_options.hxx +101 -96
  1735. data/ext/couchbase/couchbase/transactions/transaction_query_options.hxx +228 -223
  1736. data/ext/couchbase/couchbase/transactions/transaction_query_result.hxx +11 -12
  1737. data/ext/couchbase/couchbase/transactions/transaction_result.hxx +2 -3
  1738. data/ext/couchbase/couchbase/transactions/transactions_cleanup_config.hxx +105 -104
  1739. data/ext/couchbase/couchbase/transactions/transactions_config.hxx +191 -187
  1740. data/ext/couchbase/couchbase/transactions/transactions_query_config.hxx +32 -32
  1741. data/ext/couchbase/couchbase/transactions.hxx +56 -37
  1742. data/ext/couchbase/couchbase/unfreeze_plan_search_index_options.hxx +11 -10
  1743. data/ext/couchbase/couchbase/unlock_options.hxx +25 -24
  1744. data/ext/couchbase/couchbase/update_bucket_options.hxx +12 -12
  1745. data/ext/couchbase/couchbase/update_collection_options.hxx +35 -34
  1746. data/ext/couchbase/couchbase/upsert_options.hxx +85 -80
  1747. data/ext/couchbase/couchbase/upsert_search_index_options.hxx +9 -9
  1748. data/ext/couchbase/couchbase/vector_query.hxx +82 -62
  1749. data/ext/couchbase/couchbase/vector_search.hxx +51 -47
  1750. data/ext/couchbase/couchbase/vector_search_options.hxx +45 -41
  1751. data/ext/couchbase/couchbase/wan_development_configuration_profile.hxx +13 -13
  1752. data/ext/couchbase/couchbase/watch_query_indexes_options.hxx +41 -41
  1753. data/ext/couchbase/couchbase/wildcard_query.hxx +42 -41
  1754. data/ext/couchbase/third_party/expected/include/tl/expected.hpp +1746 -1584
  1755. data/ext/couchbase/third_party/jsonsl/jsonsl.c +2664 -2638
  1756. data/ext/couchbase/third_party/jsonsl/jsonsl.h +359 -342
  1757. data/ext/couchbase.cxx +43 -9568
  1758. data/ext/extconf.rb +5 -0
  1759. data/ext/rcb_analytics.cxx +1195 -0
  1760. data/ext/rcb_analytics.hxx +29 -0
  1761. data/ext/rcb_backend.cxx +530 -0
  1762. data/ext/rcb_backend.hxx +46 -0
  1763. data/ext/rcb_buckets.cxx +624 -0
  1764. data/ext/rcb_buckets.hxx +29 -0
  1765. data/ext/rcb_collections.cxx +377 -0
  1766. data/ext/rcb_collections.hxx +29 -0
  1767. data/ext/rcb_crud.cxx +1544 -0
  1768. data/ext/rcb_crud.hxx +29 -0
  1769. data/ext/rcb_diagnostics.cxx +264 -0
  1770. data/ext/rcb_diagnostics.hxx +29 -0
  1771. data/ext/rcb_exceptions.cxx +963 -0
  1772. data/ext/rcb_exceptions.hxx +111 -0
  1773. data/ext/rcb_extras.cxx +394 -0
  1774. data/ext/rcb_extras.hxx +29 -0
  1775. data/ext/rcb_logger.cxx +319 -0
  1776. data/ext/rcb_logger.hxx +36 -0
  1777. data/ext/rcb_multi.cxx +343 -0
  1778. data/ext/rcb_multi.hxx +29 -0
  1779. data/ext/rcb_query.cxx +1316 -0
  1780. data/ext/rcb_query.hxx +29 -0
  1781. data/ext/rcb_range_scan.cxx +358 -0
  1782. data/ext/rcb_range_scan.hxx +29 -0
  1783. data/ext/rcb_search.cxx +1216 -0
  1784. data/ext/rcb_search.hxx +29 -0
  1785. data/ext/rcb_users.cxx +636 -0
  1786. data/ext/rcb_users.hxx +29 -0
  1787. data/ext/rcb_utils.cxx +590 -0
  1788. data/ext/rcb_utils.hxx +564 -0
  1789. data/ext/rcb_version.cxx +139 -0
  1790. data/ext/rcb_version.hxx +34 -0
  1791. data/ext/rcb_views.cxx +485 -0
  1792. data/ext/rcb_views.hxx +29 -0
  1793. data/lib/active_support/cache/couchbase_store.rb +4 -1
  1794. data/lib/couchbase/analytics_options.rb +2 -0
  1795. data/lib/couchbase/authenticator.rb +2 -0
  1796. data/lib/couchbase/binary_collection.rb +2 -0
  1797. data/lib/couchbase/binary_collection_options.rb +2 -0
  1798. data/lib/couchbase/bucket.rb +2 -0
  1799. data/lib/couchbase/cluster.rb +2 -0
  1800. data/lib/couchbase/collection.rb +3 -1
  1801. data/lib/couchbase/collection_options.rb +2 -0
  1802. data/lib/couchbase/config_profiles.rb +2 -0
  1803. data/lib/couchbase/configuration.rb +2 -0
  1804. data/lib/couchbase/datastructures/couchbase_list.rb +4 -4
  1805. data/lib/couchbase/datastructures/couchbase_map.rb +4 -4
  1806. data/lib/couchbase/datastructures/couchbase_queue.rb +4 -4
  1807. data/lib/couchbase/datastructures/couchbase_set.rb +4 -4
  1808. data/lib/couchbase/datastructures.rb +2 -0
  1809. data/lib/couchbase/diagnostics.rb +2 -0
  1810. data/lib/couchbase/errors.rb +46 -8
  1811. data/lib/couchbase/json_transcoder.rb +2 -0
  1812. data/lib/couchbase/key_value_scan.rb +2 -0
  1813. data/lib/couchbase/logger.rb +2 -0
  1814. data/lib/couchbase/management/analytics_index_manager.rb +2 -0
  1815. data/lib/couchbase/management/bucket_manager.rb +2 -0
  1816. data/lib/couchbase/management/collection_manager.rb +2 -0
  1817. data/lib/couchbase/management/collection_query_index_manager.rb +2 -0
  1818. data/lib/couchbase/management/query_index_manager.rb +2 -0
  1819. data/lib/couchbase/management/scope_search_index_manager.rb +2 -0
  1820. data/lib/couchbase/management/search_index_manager.rb +2 -0
  1821. data/lib/couchbase/management/user_manager.rb +2 -0
  1822. data/lib/couchbase/management/view_index_manager.rb +2 -0
  1823. data/lib/couchbase/management.rb +2 -0
  1824. data/lib/couchbase/mutation_state.rb +2 -0
  1825. data/lib/couchbase/options.rb +2 -0
  1826. data/lib/couchbase/protostellar/request_generator/kv.rb +1 -1
  1827. data/lib/couchbase/query_options.rb +2 -0
  1828. data/lib/couchbase/railtie.rb +2 -0
  1829. data/lib/couchbase/raw_binary_transcoder.rb +2 -0
  1830. data/lib/couchbase/raw_json_transcoder.rb +2 -0
  1831. data/lib/couchbase/raw_string_transcoder.rb +2 -0
  1832. data/lib/couchbase/scope.rb +2 -0
  1833. data/lib/couchbase/search_options.rb +91 -63
  1834. data/lib/couchbase/subdoc.rb +5 -3
  1835. data/lib/couchbase/transcoder_flags.rb +2 -0
  1836. data/lib/couchbase/utils/generic_logger_adapter.rb +3 -1
  1837. data/lib/couchbase/utils/stdlib_logger_adapter.rb +2 -0
  1838. data/lib/couchbase/utils/time.rb +3 -1
  1839. data/lib/couchbase/utils.rb +2 -0
  1840. data/lib/couchbase/version.rb +3 -1
  1841. data/lib/couchbase/view_options.rb +2 -0
  1842. data/lib/couchbase.rb +2 -0
  1843. data/lib/rails/generators/couchbase/config/config_generator.rb +2 -0
  1844. metadata +906 -925
  1845. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_completion_executor.hpp +0 -336
  1846. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_completion_handler.hpp +0 -812
  1847. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_io_executor.hpp +0 -351
  1848. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/append.hpp +0 -65
  1849. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/as_tuple.hpp +0 -126
  1850. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_allocator.hpp +0 -214
  1851. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_cancellation_slot.hpp +0 -221
  1852. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_executor.hpp +0 -235
  1853. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_immediate_executor.hpp +0 -280
  1854. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associator.hpp +0 -35
  1855. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/async_result.hpp +0 -893
  1856. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/awaitable.hpp +0 -142
  1857. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_datagram_socket.hpp +0 -1362
  1858. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_deadline_timer.hpp +0 -710
  1859. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_file.hpp +0 -824
  1860. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_io_object.hpp +0 -286
  1861. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_random_access_file.hpp +0 -689
  1862. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_raw_socket.hpp +0 -1356
  1863. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_readable_pipe.hpp +0 -626
  1864. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_seq_packet_socket.hpp +0 -823
  1865. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_serial_port.hpp +0 -987
  1866. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_signal_set.hpp +0 -648
  1867. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket.hpp +0 -1936
  1868. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_acceptor.hpp +0 -2708
  1869. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_iostream.hpp +0 -331
  1870. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_streambuf.hpp +0 -642
  1871. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_stream_file.hpp +0 -744
  1872. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_stream_socket.hpp +0 -1163
  1873. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_streambuf.hpp +0 -450
  1874. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_streambuf_fwd.hpp +0 -36
  1875. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_waitable_timer.hpp +0 -824
  1876. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_writable_pipe.hpp +0 -622
  1877. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_allocator.hpp +0 -524
  1878. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_cancellation_slot.hpp +0 -536
  1879. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_executor.hpp +0 -576
  1880. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_immediate_executor.hpp +0 -543
  1881. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffer.hpp +0 -2751
  1882. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffer_registration.hpp +0 -318
  1883. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_read_stream.hpp +0 -273
  1884. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_read_stream_fwd.hpp +0 -25
  1885. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_stream.hpp +0 -292
  1886. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_stream_fwd.hpp +0 -25
  1887. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_write_stream.hpp +0 -265
  1888. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_write_stream_fwd.hpp +0 -25
  1889. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffers_iterator.hpp +0 -521
  1890. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_signal.hpp +0 -245
  1891. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_state.hpp +0 -235
  1892. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_type.hpp +0 -157
  1893. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/co_spawn.hpp +0 -523
  1894. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/completion_condition.hpp +0 -218
  1895. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/compose.hpp +0 -319
  1896. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/connect.hpp +0 -1180
  1897. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/connect_pipe.hpp +0 -83
  1898. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/consign.hpp +0 -75
  1899. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/coroutine.hpp +0 -328
  1900. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/deadline_timer.hpp +0 -38
  1901. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/defer.hpp +0 -218
  1902. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/deferred.hpp +0 -715
  1903. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detached.hpp +0 -105
  1904. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/array.hpp +0 -30
  1905. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/array_fwd.hpp +0 -32
  1906. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/assert.hpp +0 -32
  1907. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/atomic_count.hpp +0 -59
  1908. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/base_from_cancellation_state.hpp +0 -164
  1909. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/base_from_completion_cond.hpp +0 -69
  1910. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/bind_handler.hpp +0 -711
  1911. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/blocking_executor_op.hpp +0 -107
  1912. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/buffer_resize_guard.hpp +0 -66
  1913. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +0 -837
  1914. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/buffered_stream_storage.hpp +0 -126
  1915. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/call_stack.hpp +0 -125
  1916. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/chrono.hpp +0 -45
  1917. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/chrono_time_traits.hpp +0 -190
  1918. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/completion_handler.hpp +0 -88
  1919. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/composed_work.hpp +0 -252
  1920. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/concurrency_hint.hpp +0 -94
  1921. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +0 -120
  1922. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/conditionally_enabled_mutex.hpp +0 -149
  1923. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/config.hpp +0 -1422
  1924. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/consuming_buffers.hpp +0 -443
  1925. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/cstddef.hpp +0 -27
  1926. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/cstdint.hpp +0 -40
  1927. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/date_time_fwd.hpp +0 -34
  1928. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/deadline_timer_service.hpp +0 -335
  1929. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/dependent_type.hpp +0 -36
  1930. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/descriptor_ops.hpp +0 -179
  1931. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/descriptor_read_op.hpp +0 -188
  1932. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/descriptor_write_op.hpp +0 -187
  1933. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/dev_poll_reactor.hpp +0 -247
  1934. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/epoll_reactor.hpp +0 -295
  1935. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/event.hpp +0 -46
  1936. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/eventfd_select_interrupter.hpp +0 -83
  1937. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/exception.hpp +0 -29
  1938. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/executor_function.hpp +0 -152
  1939. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/executor_op.hpp +0 -84
  1940. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/fd_set_adapter.hpp +0 -39
  1941. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/fenced_block.hpp +0 -40
  1942. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/functional.hpp +0 -33
  1943. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/future.hpp +0 -32
  1944. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/global.hpp +0 -50
  1945. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +0 -225
  1946. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_cont_helpers.hpp +0 -45
  1947. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_tracking.hpp +0 -264
  1948. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_type_requirements.hpp +0 -553
  1949. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_work.hpp +0 -511
  1950. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/hash_map.hpp +0 -331
  1951. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/buffer_sequence_adapter.ipp +0 -118
  1952. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +0 -970
  1953. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/dev_poll_reactor.hpp +0 -111
  1954. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/dev_poll_reactor.ipp +0 -469
  1955. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/epoll_reactor.hpp +0 -109
  1956. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/epoll_reactor.ipp +0 -826
  1957. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp +0 -171
  1958. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/handler_tracking.ipp +0 -398
  1959. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_descriptor_service.ipp +0 -205
  1960. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_file_service.ipp +0 -140
  1961. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_service.hpp +0 -112
  1962. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_service.ipp +0 -914
  1963. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_socket_service_base.ipp +0 -249
  1964. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/kqueue_reactor.hpp +0 -113
  1965. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/kqueue_reactor.ipp +0 -608
  1966. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/null_event.ipp +0 -74
  1967. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/pipe_select_interrupter.ipp +0 -129
  1968. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_event.ipp +0 -63
  1969. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_mutex.ipp +0 -46
  1970. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_serial_port_service.ipp +0 -168
  1971. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_thread.ipp +0 -84
  1972. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp +0 -46
  1973. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +0 -230
  1974. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +0 -310
  1975. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +0 -158
  1976. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/scheduler.ipp +0 -675
  1977. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/select_reactor.hpp +0 -124
  1978. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/select_reactor.ipp +0 -400
  1979. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/service_registry.hpp +0 -93
  1980. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/service_registry.ipp +0 -197
  1981. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/signal_set_service.ipp +0 -826
  1982. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/socket_ops.ipp +0 -3977
  1983. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/socket_select_interrupter.ipp +0 -185
  1984. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +0 -346
  1985. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_executor_service.ipp +0 -158
  1986. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_service.hpp +0 -86
  1987. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_service.ipp +0 -202
  1988. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/thread_context.ipp +0 -35
  1989. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/throw_error.ipp +0 -49
  1990. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +0 -97
  1991. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/timer_queue_set.ipp +0 -101
  1992. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_event.ipp +0 -76
  1993. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_file_service.ipp +0 -265
  1994. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_handle_service.ipp +0 -619
  1995. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +0 -119
  1996. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +0 -614
  1997. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp +0 -200
  1998. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +0 -821
  1999. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_mutex.ipp +0 -84
  2000. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_object_handle_service.ipp +0 -452
  2001. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_static_mutex.ipp +0 -136
  2002. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_thread.ipp +0 -150
  2003. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_tss_ptr.ipp +0 -57
  2004. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +0 -626
  2005. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.hpp +0 -92
  2006. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.ipp +0 -121
  2007. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winsock_init.ipp +0 -82
  2008. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_defer.hpp +0 -207
  2009. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_dispatch.hpp +0 -193
  2010. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_post.hpp +0 -207
  2011. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_control.hpp +0 -84
  2012. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_object_impl.hpp +0 -177
  2013. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_read_at_op.hpp +0 -195
  2014. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_read_op.hpp +0 -190
  2015. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_service.hpp +0 -687
  2016. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_write_at_op.hpp +0 -189
  2017. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_write_op.hpp +0 -185
  2018. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_file_service.hpp +0 -261
  2019. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_null_buffers_op.hpp +0 -114
  2020. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_operation.hpp +0 -84
  2021. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_service.hpp +0 -319
  2022. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_accept_op.hpp +0 -280
  2023. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_connect_op.hpp +0 -140
  2024. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recv_op.hpp +0 -205
  2025. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recvfrom_op.hpp +0 -206
  2026. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recvmsg_op.hpp +0 -192
  2027. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_send_op.hpp +0 -191
  2028. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_sendto_op.hpp +0 -194
  2029. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_service.hpp +0 -629
  2030. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_service_base.hpp +0 -663
  2031. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_wait_op.hpp +0 -112
  2032. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/is_buffer_sequence.hpp +0 -296
  2033. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/is_executor.hpp +0 -126
  2034. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/keyword_tss_ptr.hpp +0 -70
  2035. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/kqueue_reactor.hpp +0 -271
  2036. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/local_free_on_block_exit.hpp +0 -59
  2037. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/memory.hpp +0 -126
  2038. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/mutex.hpp +0 -46
  2039. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/non_const_lvalue.hpp +0 -43
  2040. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/noncopyable.hpp +0 -43
  2041. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_event.hpp +0 -106
  2042. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_fenced_block.hpp +0 -47
  2043. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_global.hpp +0 -59
  2044. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_mutex.hpp +0 -60
  2045. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_reactor.hpp +0 -83
  2046. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_signal_blocker.hpp +0 -69
  2047. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_socket_service.hpp +0 -519
  2048. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_static_mutex.hpp +0 -60
  2049. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_thread.hpp +0 -67
  2050. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_tss_ptr.hpp +0 -68
  2051. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/object_pool.hpp +0 -171
  2052. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/old_win_sdk_compat.hpp +0 -214
  2053. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/op_queue.hpp +0 -162
  2054. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/operation.hpp +0 -38
  2055. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/pipe_select_interrupter.hpp +0 -89
  2056. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/pop_options.hpp +0 -157
  2057. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_event.hpp +0 -175
  2058. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_fd_set_adapter.hpp +0 -118
  2059. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_global.hpp +0 -80
  2060. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_mutex.hpp +0 -76
  2061. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_serial_port_service.hpp +0 -249
  2062. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_signal_blocker.hpp +0 -85
  2063. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_static_mutex.hpp +0 -64
  2064. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_thread.hpp +0 -109
  2065. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_tss_ptr.hpp +0 -79
  2066. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/push_options.hpp +0 -228
  2067. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +0 -566
  2068. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +0 -131
  2069. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +0 -323
  2070. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +0 -162
  2071. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +0 -197
  2072. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +0 -203
  2073. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +0 -184
  2074. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +0 -201
  2075. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +0 -194
  2076. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_service.hpp +0 -633
  2077. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +0 -750
  2078. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_wait_op.hpp +0 -131
  2079. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactor.hpp +0 -54
  2080. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactor_op.hpp +0 -71
  2081. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactor_op_queue.hpp +0 -212
  2082. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/recycling_allocator.hpp +0 -105
  2083. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/regex_fwd.hpp +0 -35
  2084. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +0 -140
  2085. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolve_op.hpp +0 -45
  2086. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolve_query_op.hpp +0 -150
  2087. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolver_service.hpp +0 -147
  2088. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolver_service_base.hpp +0 -158
  2089. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scheduler.hpp +0 -241
  2090. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scheduler_operation.hpp +0 -78
  2091. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scheduler_task.hpp +0 -49
  2092. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scheduler_thread_info.hpp +0 -40
  2093. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scoped_lock.hpp +0 -101
  2094. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scoped_ptr.hpp +0 -87
  2095. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/select_interrupter.hpp +0 -46
  2096. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/select_reactor.hpp +0 -291
  2097. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/service_registry.hpp +0 -163
  2098. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_blocker.hpp +0 -44
  2099. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_handler.hpp +0 -90
  2100. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_init.hpp +0 -47
  2101. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_op.hpp +0 -53
  2102. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_set_service.hpp +0 -292
  2103. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_holder.hpp +0 -98
  2104. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_ops.hpp +0 -375
  2105. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_option.hpp +0 -316
  2106. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_select_interrupter.hpp +0 -91
  2107. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_types.hpp +0 -427
  2108. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/source_location.hpp +0 -45
  2109. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/static_mutex.hpp +0 -50
  2110. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_event.hpp +0 -183
  2111. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_fenced_block.hpp +0 -57
  2112. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_global.hpp +0 -65
  2113. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_mutex.hpp +0 -68
  2114. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_static_mutex.hpp +0 -76
  2115. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_thread.hpp +0 -66
  2116. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/strand_executor_service.hpp +0 -173
  2117. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/strand_service.hpp +0 -144
  2118. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/string_view.hpp +0 -47
  2119. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread.hpp +0 -58
  2120. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread_context.hpp +0 -51
  2121. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread_group.hpp +0 -99
  2122. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread_info_base.hpp +0 -250
  2123. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/throw_error.hpp +0 -62
  2124. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/throw_exception.hpp +0 -55
  2125. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue.hpp +0 -389
  2126. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue_base.hpp +0 -68
  2127. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue_ptime.hpp +0 -103
  2128. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue_set.hpp +0 -66
  2129. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_scheduler.hpp +0 -37
  2130. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_scheduler_fwd.hpp +0 -42
  2131. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/tss_ptr.hpp +0 -69
  2132. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/type_traits.hpp +0 -178
  2133. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/utility.hpp +0 -83
  2134. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wait_handler.hpp +0 -90
  2135. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wait_op.hpp +0 -49
  2136. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_event.hpp +0 -164
  2137. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_fd_set_adapter.hpp +0 -149
  2138. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_global.hpp +0 -71
  2139. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_file_service.hpp +0 -287
  2140. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +0 -119
  2141. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +0 -431
  2142. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +0 -114
  2143. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_io_context.hpp +0 -347
  2144. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +0 -129
  2145. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_operation.hpp +0 -96
  2146. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +0 -100
  2147. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +0 -171
  2148. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_serial_port_service.hpp +0 -233
  2149. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +0 -339
  2150. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +0 -138
  2151. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +0 -126
  2152. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +0 -135
  2153. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +0 -127
  2154. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +0 -120
  2155. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +0 -680
  2156. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +0 -829
  2157. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_thread_info.hpp +0 -34
  2158. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +0 -130
  2159. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_mutex.hpp +0 -78
  2160. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_object_handle_service.hpp +0 -194
  2161. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_static_mutex.hpp +0 -74
  2162. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_thread.hpp +0 -147
  2163. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_tss_ptr.hpp +0 -79
  2164. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winapp_thread.hpp +0 -124
  2165. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wince_thread.hpp +0 -124
  2166. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_async_manager.hpp +0 -305
  2167. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_async_op.hpp +0 -65
  2168. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_resolve_op.hpp +0 -125
  2169. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_resolver_service.hpp +0 -212
  2170. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +0 -98
  2171. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +0 -119
  2172. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +0 -110
  2173. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +0 -250
  2174. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +0 -362
  2175. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_timer_scheduler.hpp +0 -147
  2176. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_utils.hpp +0 -106
  2177. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winsock_init.hpp +0 -128
  2178. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/work_dispatcher.hpp +0 -143
  2179. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wrapped_handler.hpp +0 -217
  2180. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/dispatch.hpp +0 -197
  2181. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/error.hpp +0 -389
  2182. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/error_code.hpp +0 -39
  2183. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/allocator.hpp +0 -278
  2184. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/any_executor.hpp +0 -1933
  2185. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/bad_executor.hpp +0 -46
  2186. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/blocking.hpp +0 -1360
  2187. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/blocking_adaptation.hpp +0 -1080
  2188. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/context.hpp +0 -191
  2189. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/context_as.hpp +0 -190
  2190. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/executor.hpp +0 -116
  2191. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/impl/bad_executor.ipp +0 -40
  2192. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/invocable_archetype.hpp +0 -43
  2193. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/mapping.hpp +0 -1002
  2194. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/occupancy.hpp +0 -184
  2195. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/outstanding_work.hpp +0 -753
  2196. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/prefer_only.hpp +0 -328
  2197. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/relationship.hpp +0 -751
  2198. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution.hpp +0 -33
  2199. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution_context.hpp +0 -388
  2200. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/executor.hpp +0 -343
  2201. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/executor_work_guard.hpp +0 -362
  2202. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/append.hpp +0 -36
  2203. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/as_single.hpp +0 -132
  2204. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/as_tuple.hpp +0 -36
  2205. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/awaitable_operators.hpp +0 -536
  2206. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/basic_channel.hpp +0 -513
  2207. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/basic_concurrent_channel.hpp +0 -513
  2208. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/cancellation_condition.hpp +0 -152
  2209. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel.hpp +0 -70
  2210. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel_error.hpp +0 -82
  2211. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel_traits.hpp +0 -301
  2212. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/co_composed.hpp +0 -145
  2213. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/concurrent_channel.hpp +0 -70
  2214. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/deferred.hpp +0 -36
  2215. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_handler.hpp +0 -77
  2216. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_message.hpp +0 -129
  2217. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_operation.hpp +0 -361
  2218. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_payload.hpp +0 -222
  2219. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_receive_op.hpp +0 -127
  2220. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_send_functions.hpp +0 -192
  2221. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_send_op.hpp +0 -148
  2222. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_service.hpp +0 -677
  2223. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/has_signature.hpp +0 -54
  2224. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/impl/channel_service.hpp +0 -620
  2225. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/as_single.hpp +0 -176
  2226. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/channel_error.ipp +0 -61
  2227. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/co_composed.hpp +0 -1174
  2228. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/parallel_group.hpp +0 -787
  2229. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/parallel_group.hpp +0 -456
  2230. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/prepend.hpp +0 -36
  2231. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/file_base.hpp +0 -166
  2232. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/basic_endpoint.hpp +0 -189
  2233. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/datagram_protocol.hpp +0 -123
  2234. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/detail/endpoint.hpp +0 -133
  2235. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/detail/impl/endpoint.ipp +0 -110
  2236. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/raw_protocol.hpp +0 -121
  2237. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/seq_packet_protocol.hpp +0 -122
  2238. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/stream_protocol.hpp +0 -127
  2239. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/handler_continuation_hook.hpp +0 -54
  2240. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/high_resolution_timer.hpp +0 -39
  2241. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/any_completion_executor.ipp +0 -126
  2242. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/any_io_executor.ipp +0 -134
  2243. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/append.hpp +0 -162
  2244. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/as_tuple.hpp +0 -245
  2245. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/awaitable.hpp +0 -1195
  2246. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/buffered_read_stream.hpp +0 -404
  2247. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/buffered_write_stream.hpp +0 -384
  2248. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/cancellation_signal.ipp +0 -96
  2249. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/co_spawn.hpp +0 -440
  2250. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/connect.hpp +0 -809
  2251. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/connect_pipe.hpp +0 -73
  2252. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/connect_pipe.ipp +0 -149
  2253. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/consign.hpp +0 -137
  2254. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/deferred.hpp +0 -147
  2255. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/detached.hpp +0 -77
  2256. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/error.ipp +0 -128
  2257. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/error_code.ipp +0 -206
  2258. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/execution_context.hpp +0 -77
  2259. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/execution_context.ipp +0 -82
  2260. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/executor.hpp +0 -300
  2261. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/executor.ipp +0 -43
  2262. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/io_context.hpp +0 -433
  2263. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/io_context.ipp +0 -176
  2264. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/multiple_exceptions.ipp +0 -45
  2265. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/prepend.hpp +0 -163
  2266. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read.hpp +0 -1053
  2267. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read_at.hpp +0 -628
  2268. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read_until.hpp +0 -2941
  2269. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/redirect_error.hpp +0 -250
  2270. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/serial_port_base.hpp +0 -59
  2271. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/serial_port_base.ipp +0 -554
  2272. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/spawn.hpp +0 -1400
  2273. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/src.hpp +0 -94
  2274. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_context.hpp +0 -34
  2275. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_context.ipp +0 -92
  2276. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_executor.hpp +0 -179
  2277. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/thread_pool.hpp +0 -277
  2278. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/thread_pool.ipp +0 -142
  2279. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/use_awaitable.hpp +0 -301
  2280. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/use_future.hpp +0 -707
  2281. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/write.hpp +0 -939
  2282. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/write_at.hpp +0 -551
  2283. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_context.hpp +0 -1509
  2284. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_context_strand.hpp +0 -385
  2285. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_service.hpp +0 -33
  2286. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_service_strand.hpp +0 -20
  2287. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address.hpp +0 -281
  2288. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4.hpp +0 -421
  2289. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4_iterator.hpp +0 -156
  2290. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4_range.hpp +0 -128
  2291. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6.hpp +0 -407
  2292. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6_iterator.hpp +0 -178
  2293. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6_range.hpp +0 -124
  2294. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/bad_address_cast.hpp +0 -63
  2295. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_endpoint.hpp +0 -282
  2296. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver.hpp +0 -1112
  2297. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_entry.hpp +0 -113
  2298. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +0 -188
  2299. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_query.hpp +0 -244
  2300. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_results.hpp +0 -307
  2301. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/detail/endpoint.hpp +0 -141
  2302. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +0 -195
  2303. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/detail/socket_option.hpp +0 -566
  2304. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/host_name.hpp +0 -42
  2305. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/icmp.hpp +0 -115
  2306. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address.hpp +0 -67
  2307. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address.ipp +0 -235
  2308. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v4.hpp +0 -67
  2309. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v4.ipp +0 -206
  2310. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v6.hpp +0 -67
  2311. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v6.ipp +0 -342
  2312. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/basic_endpoint.hpp +0 -43
  2313. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/host_name.ipp +0 -54
  2314. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v4.hpp +0 -54
  2315. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v4.ipp +0 -218
  2316. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v6.hpp +0 -53
  2317. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v6.ipp +0 -187
  2318. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/multicast.hpp +0 -191
  2319. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/network_v4.hpp +0 -257
  2320. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/network_v6.hpp +0 -231
  2321. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/resolver_base.hpp +0 -129
  2322. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/resolver_query_base.hpp +0 -43
  2323. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/tcp.hpp +0 -155
  2324. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/udp.hpp +0 -111
  2325. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/unicast.hpp +0 -70
  2326. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/v6_only.hpp +0 -69
  2327. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_applicable_property.hpp +0 -61
  2328. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_contiguous_iterator.hpp +0 -45
  2329. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_executor.hpp +0 -46
  2330. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_read_buffered.hpp +0 -59
  2331. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_write_buffered.hpp +0 -59
  2332. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/basic_endpoint.hpp +0 -243
  2333. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/connect_pair.hpp +0 -101
  2334. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/datagram_protocol.hpp +0 -80
  2335. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/detail/endpoint.hpp +0 -139
  2336. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/detail/impl/endpoint.ipp +0 -131
  2337. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/seq_packet_protocol.hpp +0 -84
  2338. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/stream_protocol.hpp +0 -90
  2339. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/multiple_exceptions.hpp +0 -52
  2340. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/packaged_task.hpp +0 -66
  2341. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/placeholders.hpp +0 -75
  2342. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/basic_descriptor.hpp +0 -773
  2343. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +0 -559
  2344. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/descriptor.hpp +0 -37
  2345. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/descriptor_base.hpp +0 -90
  2346. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/stream_descriptor.hpp +0 -37
  2347. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/post.hpp +0 -213
  2348. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/prefer.hpp +0 -577
  2349. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/prepend.hpp +0 -66
  2350. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/query.hpp +0 -311
  2351. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/random_access_file.hpp +0 -35
  2352. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read.hpp +0 -1448
  2353. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read_at.hpp +0 -778
  2354. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read_until.hpp +0 -3124
  2355. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/readable_pipe.hpp +0 -35
  2356. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/recycling_allocator.hpp +0 -138
  2357. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/redirect_error.hpp +0 -64
  2358. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/registered_buffer.hpp +0 -344
  2359. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/require.hpp +0 -433
  2360. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/require_concept.hpp +0 -343
  2361. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/serial_port.hpp +0 -36
  2362. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/serial_port_base.hpp +0 -167
  2363. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/signal_set.hpp +0 -28
  2364. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/signal_set_base.hpp +0 -171
  2365. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/socket_base.hpp +0 -559
  2366. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/spawn.hpp +0 -872
  2367. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/context.hpp +0 -762
  2368. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/context_base.hpp +0 -209
  2369. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +0 -119
  2370. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/engine.hpp +0 -169
  2371. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/handshake_op.hpp +0 -67
  2372. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/impl/engine.ipp +0 -377
  2373. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +0 -169
  2374. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/io.hpp +0 -376
  2375. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/openssl_init.hpp +0 -101
  2376. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/openssl_types.hpp +0 -34
  2377. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/password_callback.hpp +0 -66
  2378. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/read_op.hpp +0 -72
  2379. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +0 -69
  2380. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/stream_core.hpp +0 -217
  2381. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/verify_callback.hpp +0 -62
  2382. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/write_op.hpp +0 -76
  2383. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/error.hpp +0 -123
  2384. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/host_name_verification.hpp +0 -90
  2385. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/context.hpp +0 -67
  2386. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/context.ipp +0 -1319
  2387. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/error.ipp +0 -124
  2388. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/host_name_verification.ipp +0 -73
  2389. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/rfc2818_verification.ipp +0 -164
  2390. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/src.hpp +0 -29
  2391. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/rfc2818_verification.hpp +0 -98
  2392. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/stream.hpp +0 -1038
  2393. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/stream_base.hpp +0 -52
  2394. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/verify_context.hpp +0 -67
  2395. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/verify_mode.hpp +0 -63
  2396. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl.hpp +0 -28
  2397. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/static_thread_pool.hpp +0 -31
  2398. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/steady_timer.hpp +0 -37
  2399. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/strand.hpp +0 -557
  2400. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/stream_file.hpp +0 -35
  2401. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/streambuf.hpp +0 -33
  2402. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_context.hpp +0 -90
  2403. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_error.hpp +0 -31
  2404. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_executor.hpp +0 -671
  2405. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_timer.hpp +0 -37
  2406. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/this_coro.hpp +0 -267
  2407. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/thread.hpp +0 -92
  2408. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/thread_pool.hpp +0 -963
  2409. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/time_traits.hpp +0 -86
  2410. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/equality_comparable.hpp +0 -100
  2411. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/execute_member.hpp +0 -104
  2412. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/prefer_free.hpp +0 -104
  2413. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/prefer_member.hpp +0 -104
  2414. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_free.hpp +0 -104
  2415. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_member.hpp +0 -104
  2416. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +0 -101
  2417. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_concept_free.hpp +0 -104
  2418. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_concept_member.hpp +0 -104
  2419. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_free.hpp +0 -104
  2420. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_member.hpp +0 -104
  2421. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_query.hpp +0 -102
  2422. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_require.hpp +0 -115
  2423. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_require_concept.hpp +0 -116
  2424. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/buffer.hpp +0 -24
  2425. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/executor.hpp +0 -35
  2426. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/internet.hpp +0 -40
  2427. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/io_context.hpp +0 -20
  2428. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/net.hpp +0 -26
  2429. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/netfwd.hpp +0 -236
  2430. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/socket.hpp +0 -27
  2431. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/timer.hpp +0 -26
  2432. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/unyield.hpp +0 -21
  2433. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/use_awaitable.hpp +0 -161
  2434. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/use_future.hpp +0 -159
  2435. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/uses_executor.hpp +0 -67
  2436. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/version.hpp +0 -23
  2437. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/wait_traits.hpp +0 -56
  2438. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_object_handle.hpp +0 -485
  2439. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +0 -455
  2440. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_random_access_handle.hpp +0 -567
  2441. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_stream_handle.hpp +0 -551
  2442. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/object_handle.hpp +0 -38
  2443. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/overlapped_handle.hpp +0 -39
  2444. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/overlapped_ptr.hpp +0 -145
  2445. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/random_access_handle.hpp +0 -37
  2446. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/stream_handle.hpp +0 -37
  2447. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/writable_pipe.hpp +0 -35
  2448. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/write.hpp +0 -1414
  2449. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/write_at.hpp +0 -789
  2450. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/yield.hpp +0 -23
  2451. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio.hpp +0 -199
  2452. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/CMakeLists.txt +0 -338
  2453. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-assertion-result.h +0 -237
  2454. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-death-test.h +0 -345
  2455. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-matchers.h +0 -923
  2456. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-message.h +0 -220
  2457. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-param-test.h +0 -546
  2458. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-printers.h +0 -1139
  2459. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-spi.h +0 -250
  2460. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-test-part.h +0 -192
  2461. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-typed-test.h +0 -331
  2462. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest.h +0 -2318
  2463. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest_pred_impl.h +0 -279
  2464. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest_prod.h +0 -60
  2465. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/custom/gtest-port.h +0 -37
  2466. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/custom/gtest-printers.h +0 -42
  2467. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/custom/gtest.h +0 -37
  2468. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-death-test-internal.h +0 -307
  2469. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-filepath.h +0 -227
  2470. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-internal.h +0 -1559
  2471. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-param-util.h +0 -1026
  2472. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-port-arch.h +0 -118
  2473. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-port.h +0 -2529
  2474. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-string.h +0 -178
  2475. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-type-util.h +0 -220
  2476. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/prime_tables.h +0 -125
  2477. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample1.cc +0 -66
  2478. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample1.h +0 -41
  2479. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample10_unittest.cc +0 -138
  2480. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample1_unittest.cc +0 -148
  2481. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample2.cc +0 -54
  2482. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample2.h +0 -79
  2483. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample2_unittest.cc +0 -107
  2484. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample3-inl.h +0 -171
  2485. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample3_unittest.cc +0 -146
  2486. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample4.cc +0 -50
  2487. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample4.h +0 -53
  2488. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample4_unittest.cc +0 -53
  2489. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample5_unittest.cc +0 -189
  2490. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample6_unittest.cc +0 -214
  2491. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample7_unittest.cc +0 -113
  2492. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample8_unittest.cc +0 -154
  2493. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample9_unittest.cc +0 -148
  2494. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-all.cc +0 -49
  2495. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-assertion-result.cc +0 -77
  2496. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-death-test.cc +0 -1585
  2497. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-filepath.cc +0 -412
  2498. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-internal-inl.h +0 -1218
  2499. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-matchers.cc +0 -98
  2500. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-port.cc +0 -1392
  2501. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-printers.cc +0 -555
  2502. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-test-part.cc +0 -106
  2503. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-typed-test.cc +0 -108
  2504. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest.cc +0 -6919
  2505. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest_main.cc +0 -65
  2506. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-break-on-failure-unittest_.cc +0 -83
  2507. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-catch-exceptions-test_.cc +0 -289
  2508. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-color-test_.cc +0 -60
  2509. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-death-test-test.cc +0 -1508
  2510. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-death-test_ex_test.cc +0 -91
  2511. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-env-var-test_.cc +0 -130
  2512. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-failfast-unittest_.cc +0 -166
  2513. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-filepath-test.cc +0 -671
  2514. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-filter-unittest_.cc +0 -106
  2515. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-global-environment-unittest_.cc +0 -58
  2516. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-list-tests-unittest_.cc +0 -143
  2517. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-listener-test.cc +0 -509
  2518. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-message-test.cc +0 -161
  2519. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-options-test.cc +0 -222
  2520. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-output-test_.cc +0 -1052
  2521. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test-invalid-name1-test_.cc +0 -46
  2522. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test-invalid-name2-test_.cc +0 -52
  2523. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test-test.cc +0 -1173
  2524. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test-test.h +0 -49
  2525. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test2-test.cc +0 -58
  2526. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-port-test.cc +0 -1301
  2527. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-printers-test.cc +0 -1990
  2528. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-setuptestsuite-test_.cc +0 -44
  2529. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-shuffle-test_.cc +0 -99
  2530. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-test-part-test.cc +0 -220
  2531. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-throw-on-failure-test_.cc +0 -71
  2532. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-uninitialized-test_.cc +0 -39
  2533. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest-typed-test2_test.cc +0 -39
  2534. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest-typed-test_test.cc +0 -423
  2535. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest-typed-test_test.h +0 -57
  2536. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest-unittest-api_test.cc +0 -328
  2537. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_all_test.cc +0 -46
  2538. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_assert_by_exception_test.cc +0 -112
  2539. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_dirs_test.cc +0 -101
  2540. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_environment_test.cc +0 -179
  2541. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_help_test_.cc +0 -44
  2542. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_list_output_unittest_.cc +0 -77
  2543. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_main_unittest.cc +0 -42
  2544. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_no_test_unittest.cc +0 -54
  2545. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_pred_impl_unittest.cc +0 -2070
  2546. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_premature_exit_test.cc +0 -128
  2547. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_prod_test.cc +0 -56
  2548. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_repeat_test.cc +0 -222
  2549. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_skip_in_environment_setup_test.cc +0 -50
  2550. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_skip_test.cc +0 -51
  2551. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_sole_header_test.cc +0 -54
  2552. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_stress_test.cc +0 -245
  2553. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_test_macro_stack_footprint_test.cc +0 -89
  2554. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_testbridge_test_.cc +0 -42
  2555. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_throw_on_failure_ex_test.cc +0 -90
  2556. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_unittest.cc +0 -7767
  2557. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_xml_outfile1_test_.cc +0 -43
  2558. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_xml_outfile2_test_.cc +0 -77
  2559. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_xml_output_unittest_.cc +0 -197
  2560. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/production.cc +0 -35
  2561. data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/production.h +0 -55
  2562. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/CMakeLists.txt +0 -453
  2563. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/ChangeLog.md +0 -5533
  2564. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/README.md +0 -490
  2565. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/src/fmt.cc +0 -108
  2566. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/src/os.cc +0 -402
  2567. data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/CMakeLists.txt +0 -117
  2568. data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/include/llhttp.h +0 -903
  2569. data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/src/llhttp.c +0 -10149
  2570. data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/CMakeLists.txt +0 -420
  2571. data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/cmake/config.h.in +0 -66
  2572. data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/snappy-internal.h +0 -395
  2573. data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/snappy-stubs-internal.h +0 -525
  2574. data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/snappy.cc +0 -2427
  2575. data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/snappy.h +0 -222
  2576. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/CMakeLists.txt +0 -359
  2577. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/async_logger-inl.h +0 -84
  2578. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/common.h +0 -411
  2579. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/circular_q.h +0 -113
  2580. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/file_helper-inl.h +0 -152
  2581. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/os-inl.h +0 -585
  2582. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/periodic_worker.h +0 -57
  2583. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/registry-inl.h +0 -265
  2584. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/registry.h +0 -122
  2585. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/thread_pool-inl.h +0 -127
  2586. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/thread_pool.h +0 -117
  2587. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/args.h +0 -234
  2588. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/chrono.h +0 -2069
  2589. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/color.h +0 -651
  2590. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/compile.h +0 -611
  2591. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/core.h +0 -3323
  2592. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/format-inl.h +0 -1723
  2593. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/format.h +0 -4217
  2594. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/os.h +0 -478
  2595. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/ostream.h +0 -237
  2596. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/printf.h +0 -640
  2597. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/ranges.h +0 -722
  2598. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/std.h +0 -171
  2599. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/xchar.h +0 -229
  2600. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/fmt.h +0 -34
  2601. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/pattern_formatter-inl.h +0 -1268
  2602. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/qt_sinks.h +0 -304
  2603. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/stopwatch.h +0 -62
  2604. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/version.h +0 -11
  2605. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/bundled_fmtlib_format.cpp +0 -49
  2606. data/ext/couchbase/core/impl/internal_manager_error_context.cxx +0 -113
  2607. data/ext/couchbase/core/impl/internal_manager_error_context.hxx +0 -60
  2608. data/ext/couchbase/core/impl/manager_error_context.cxx +0 -100
  2609. data/ext/couchbase/core/impl/search_error_context.cxx +0 -147
  2610. data/ext/couchbase/couchbase/analytics_error_context.hxx +0 -143
  2611. data/ext/couchbase/couchbase/fmt/key_value_error_map_attribute.hxx +0 -100
  2612. data/ext/couchbase/couchbase/fmt/key_value_extended_error_info.hxx +0 -52
  2613. data/ext/couchbase/couchbase/fmt/key_value_status_code.hxx +0 -269
  2614. data/ext/couchbase/couchbase/key_value_error_context.hxx +0 -229
  2615. data/ext/couchbase/couchbase/key_value_error_map_attribute.hxx +0 -136
  2616. data/ext/couchbase/couchbase/key_value_error_map_info.hxx +0 -138
  2617. data/ext/couchbase/couchbase/key_value_extended_error_info.hxx +0 -86
  2618. data/ext/couchbase/couchbase/key_value_status_code.hxx +0 -109
  2619. data/ext/couchbase/couchbase/manager_error_context.hxx +0 -111
  2620. data/ext/couchbase/couchbase/query_error_context.hxx +0 -145
  2621. data/ext/couchbase/couchbase/search_error_context.hxx +0 -138
  2622. data/ext/couchbase/couchbase/subdocument_error_context.hxx +0 -147
  2623. data/ext/couchbase/couchbase/transaction_error_context.hxx +0 -49
  2624. data/ext/couchbase/couchbase/transaction_op_error_context.hxx +0 -76
  2625. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/detail/limits.hpp +0 -0
  2626. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/co_spawn.hpp +0 -0
  2627. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/coro.hpp +0 -0
  2628. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/coro_traits.hpp +0 -0
  2629. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/detail/coro_completion_handler.hpp +0 -0
  2630. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/detail/coro_promise_allocator.hpp +0 -0
  2631. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/detail/partial_promise.hpp +0 -0
  2632. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/impl/coro.hpp +0 -0
  2633. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/impl/promise.hpp +0 -0
  2634. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/impl/use_coro.hpp +0 -0
  2635. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/impl/use_promise.hpp +0 -0
  2636. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/promise.hpp +0 -0
  2637. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/use_coro.hpp +0 -0
  2638. /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/use_promise.hpp +0 -0
  2639. /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/LICENSE +0 -0
  2640. /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/src/format.cc +0 -0
  2641. /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/support/cmake/FindSetEnv.cmake +0 -0
  2642. /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/support/cmake/JoinPaths.cmake +0 -0
  2643. /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/support/cmake/fmt-config.cmake.in +0 -0
  2644. /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/support/cmake/fmt.pc.in +0 -0
  2645. /data/ext/cache/llhttp/{b74a6759ffeff2e9b72f62f790afbc73362a526b → c67596e14f24b689a867a26fa36e02bdba733b9b}/llhttp/LICENSE-MIT +0 -0
  2646. /data/ext/cache/llhttp/{b74a6759ffeff2e9b72f62f790afbc73362a526b → c67596e14f24b689a867a26fa36e02bdba733b9b}/llhttp/libllhttp.pc.in +0 -0
  2647. /data/ext/cache/llhttp/{b74a6759ffeff2e9b72f62f790afbc73362a526b → c67596e14f24b689a867a26fa36e02bdba733b9b}/llhttp/src/api.c +0 -0
  2648. /data/ext/cache/llhttp/{b74a6759ffeff2e9b72f62f790afbc73362a526b → c67596e14f24b689a867a26fa36e02bdba733b9b}/llhttp/src/http.c +0 -0
  2649. /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/COPYING +0 -0
  2650. /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/cmake/SnappyConfig.cmake.in +0 -0
  2651. /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-c.cc +0 -0
  2652. /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-c.h +0 -0
  2653. /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-sinksource.cc +0 -0
  2654. /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-sinksource.h +0 -0
  2655. /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-stubs-internal.cc +0 -0
  2656. /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-stubs-public.h.in +0 -0
  2657. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/LICENSE +0 -0
  2658. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/ide.cmake +0 -0
  2659. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/pch.h.in +0 -0
  2660. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/spdlog.pc.in +0 -0
  2661. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/spdlogCPack.cmake +0 -0
  2662. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/spdlogConfig.cmake.in +0 -0
  2663. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/utils.cmake +0 -0
  2664. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/version.rc.in +0 -0
  2665. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/async.h +0 -0
  2666. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/async_logger.h +0 -0
  2667. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/cfg/argv.h +0 -0
  2668. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/cfg/env.h +0 -0
  2669. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/cfg/helpers-inl.h +0 -0
  2670. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/cfg/helpers.h +0 -0
  2671. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/common-inl.h +0 -0
  2672. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/backtracer-inl.h +0 -0
  2673. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/backtracer.h +0 -0
  2674. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/console_globals.h +0 -0
  2675. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/file_helper.h +0 -0
  2676. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/fmt_helper.h +0 -0
  2677. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/log_msg-inl.h +0 -0
  2678. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/log_msg.h +0 -0
  2679. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/log_msg_buffer-inl.h +0 -0
  2680. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/log_msg_buffer.h +0 -0
  2681. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/mpmc_blocking_q.h +0 -0
  2682. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/null_mutex.h +0 -0
  2683. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/os.h +0 -0
  2684. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/periodic_worker-inl.h +0 -0
  2685. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/synchronous_factory.h +0 -0
  2686. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/tcp_client-windows.h +0 -0
  2687. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/tcp_client.h +0 -0
  2688. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/udp_client-windows.h +0 -0
  2689. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/udp_client.h +0 -0
  2690. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/windows_include.h +0 -0
  2691. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/bin_to_hex.h +0 -0
  2692. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/args.h +0 -0
  2693. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/chrono.h +0 -0
  2694. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/color.h +0 -0
  2695. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/compile.h +0 -0
  2696. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/core.h +0 -0
  2697. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/bundled/fmt.license.rst +0 -0
  2698. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/format-inl.h +0 -0
  2699. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/format.h +0 -0
  2700. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/bundled/locale.h +0 -0
  2701. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/os.h +0 -0
  2702. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/ostream.h +0 -0
  2703. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/printf.h +0 -0
  2704. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/ranges.h +0 -0
  2705. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/std.h +0 -0
  2706. /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/xchar.h +0 -0
  2707. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/chrono.h +0 -0
  2708. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/compile.h +0 -0
  2709. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/ostr.h +0 -0
  2710. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/ranges.h +0 -0
  2711. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/std.h +0 -0
  2712. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/xchar.h +0 -0
  2713. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/formatter.h +0 -0
  2714. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fwd.h +0 -0
  2715. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/logger-inl.h +0 -0
  2716. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/logger.h +0 -0
  2717. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/pattern_formatter.h +0 -0
  2718. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/android_sink.h +0 -0
  2719. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h +0 -0
  2720. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/ansicolor_sink.h +0 -0
  2721. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/base_sink-inl.h +0 -0
  2722. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/base_sink.h +0 -0
  2723. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/basic_file_sink-inl.h +0 -0
  2724. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/basic_file_sink.h +0 -0
  2725. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/callback_sink.h +0 -0
  2726. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/daily_file_sink.h +0 -0
  2727. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/dist_sink.h +0 -0
  2728. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/dup_filter_sink.h +0 -0
  2729. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/hourly_file_sink.h +0 -0
  2730. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/kafka_sink.h +0 -0
  2731. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/mongo_sink.h +0 -0
  2732. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/msvc_sink.h +0 -0
  2733. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/null_sink.h +0 -0
  2734. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/ostream_sink.h +0 -0
  2735. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/ringbuffer_sink.h +0 -0
  2736. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h +0 -0
  2737. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/rotating_file_sink.h +0 -0
  2738. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/sink-inl.h +0 -0
  2739. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/sink.h +0 -0
  2740. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -0
  2741. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/stdout_color_sinks.h +0 -0
  2742. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/stdout_sinks-inl.h +0 -0
  2743. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/stdout_sinks.h +0 -0
  2744. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/syslog_sink.h +0 -0
  2745. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/systemd_sink.h +0 -0
  2746. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/tcp_sink.h +0 -0
  2747. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/udp_sink.h +0 -0
  2748. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/win_eventlog_sink.h +0 -0
  2749. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/wincolor_sink-inl.h +0 -0
  2750. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/wincolor_sink.h +0 -0
  2751. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/spdlog-inl.h +0 -0
  2752. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/spdlog.h +0 -0
  2753. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/tweakme.h +0 -0
  2754. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/async.cpp +0 -0
  2755. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/cfg.cpp +0 -0
  2756. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/color_sinks.cpp +0 -0
  2757. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/file_sinks.cpp +0 -0
  2758. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/spdlog.cpp +0 -0
  2759. /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/stdout_sinks.cpp +0 -0
@@ -17,8 +17,14 @@
17
17
 
18
18
  #include "mcbp_session.hxx"
19
19
 
20
+ #include <couchbase/build_config.hxx>
21
+
22
+ #ifdef COUCHBASE_CXX_CLIENT_COLUMNAR
23
+ #include "core/columnar/background_bootstrap_listener.hxx"
24
+ #endif
20
25
  #include "core/config_listener.hxx"
21
26
  #include "core/diagnostics.hxx"
27
+ #include "core/impl/bootstrap_error.hxx"
22
28
  #include "core/impl/bootstrap_state_listener.hxx"
23
29
  #include "core/logger/logger.hxx"
24
30
  #include "core/mcbp/codec.hxx"
@@ -50,7 +56,6 @@
50
56
  #include "retry_orchestrator.hxx"
51
57
  #include "streams.hxx"
52
58
 
53
- #include <couchbase/build_config.hxx>
54
59
  #include <couchbase/error_codes.hxx>
55
60
  #include <couchbase/fmt/retry_reason.hxx>
56
61
 
@@ -64,1691 +69,2020 @@ namespace
64
69
  {
65
70
  template<typename Container>
66
71
  struct mcbp_header_view {
67
- const Container& buf_;
72
+ const Container& buf_;
68
73
 
69
- mcbp_header_view(const Container& buf)
70
- : buf_{ buf }
71
- {
72
- }
74
+ explicit mcbp_header_view(const Container& buf)
75
+ : buf_{ buf }
76
+ {
77
+ }
73
78
  };
74
79
 
75
80
  struct mcbp_header_layout {
76
- std::uint8_t magic;
77
- std::uint8_t opcode;
78
- union {
79
- std::uint16_t normal;
80
- struct {
81
- std::uint8_t framing_extras;
82
- std::uint8_t key;
83
- } alt;
84
- } keylen;
85
- std::uint8_t extlen;
86
- std::uint8_t datatype;
87
- std::uint16_t specific;
88
- std::uint32_t bodylen;
89
- std::uint32_t opaque;
90
- std::uint64_t cas;
91
-
92
- [[nodiscard]] constexpr auto specific_name() const -> std::string_view
93
- {
94
- if (magic == 0x18 || magic == 0x81) {
95
- return "status";
96
- }
97
- return "vbucket";
81
+ std::uint8_t magic;
82
+ std::uint8_t opcode;
83
+ union {
84
+ std::uint16_t normal;
85
+ struct {
86
+ std::uint8_t framing_extras;
87
+ std::uint8_t key;
88
+ } alt;
89
+ } keylen;
90
+ std::uint8_t extlen;
91
+ std::uint8_t datatype;
92
+ std::uint16_t specific;
93
+ std::uint32_t bodylen;
94
+ std::uint32_t opaque;
95
+ std::uint64_t cas;
96
+
97
+ [[nodiscard]] constexpr auto specific_name() const -> std::string_view
98
+ {
99
+ if (magic == 0x18 || magic == 0x81) {
100
+ return "status";
98
101
  }
102
+ return "vbucket";
103
+ }
99
104
 
100
- [[nodiscard]] constexpr auto key_length() const -> std::uint16_t
101
- {
102
- if (magic == 0x18 || magic == 0x08) {
103
- return keylen.alt.key;
104
- }
105
- return couchbase::core::utils::byte_swap(keylen.normal);
105
+ [[nodiscard]] constexpr auto key_length() const -> std::uint16_t
106
+ {
107
+ if (magic == 0x18 || magic == 0x08) {
108
+ return keylen.alt.key;
106
109
  }
110
+ return couchbase::core::utils::byte_swap(keylen.normal);
111
+ }
107
112
 
108
- [[nodiscard]] constexpr auto framing_extras_length() const -> std::uint8_t
109
- {
110
- if (magic == 0x18 || magic == 0x08) {
111
- return keylen.alt.framing_extras;
112
- }
113
- return 0;
113
+ [[nodiscard]] constexpr auto framing_extras_length() const -> std::uint8_t
114
+ {
115
+ if (magic == 0x18 || magic == 0x08) {
116
+ return keylen.alt.framing_extras;
114
117
  }
118
+ return 0;
119
+ }
115
120
  };
116
121
  } // namespace
117
122
 
118
123
  template<typename Container>
119
124
  struct fmt::formatter<mcbp_header_view<Container>> {
120
- template<typename ParseContext>
121
- constexpr auto parse(ParseContext& ctx)
122
- {
123
- return ctx.begin();
125
+ template<typename ParseContext>
126
+ constexpr auto parse(ParseContext& ctx)
127
+ {
128
+ return ctx.begin();
129
+ }
130
+
131
+ template<typename FormatContext>
132
+ auto format(const mcbp_header_view<Container>& view, FormatContext& ctx) const
133
+ {
134
+ if (view.buf_.size() < sizeof(couchbase::core::io::binary_header)) {
135
+ return format_to(ctx.out(), "{:n}", spdlog::to_hex(view.buf_));
124
136
  }
125
137
 
126
- template<typename FormatContext>
127
- auto format(const mcbp_header_view<Container>& view, FormatContext& ctx) const
128
- {
129
- if (view.buf_.size() < sizeof(couchbase::core::io::binary_header)) {
130
- return format_to(ctx.out(), "{:n}", spdlog::to_hex(view.buf_));
131
- }
132
-
133
- const auto* header = reinterpret_cast<const mcbp_header_layout*>(view.buf_.data());
134
- return format_to(
135
- ctx.out(),
136
- "{{magic=0x{:x}, opcode=0x{:x}, fextlen={}, keylen={}, extlen={}, datatype={}, {}={}, bodylen={}, opaque={}, cas={}}}",
137
- header->magic,
138
- header->opcode,
139
- header->framing_extras_length(),
140
- header->key_length(),
141
- header->extlen,
142
- header->datatype,
143
- header->specific_name(),
144
- couchbase::core::utils::byte_swap(header->specific),
145
- couchbase::core::utils::byte_swap(header->bodylen),
146
- couchbase::core::utils::byte_swap(header->opaque),
147
- couchbase::core::utils::byte_swap(header->cas));
148
- }
138
+ const auto* header = reinterpret_cast<const mcbp_header_layout*>(view.buf_.data());
139
+ return format_to(ctx.out(),
140
+ "{{magic=0x{:x}, opcode=0x{:x}, fextlen={}, keylen={}, extlen={}, "
141
+ "datatype={}, {}={}, bodylen={}, "
142
+ "opaque={}, cas={}}}",
143
+ header->magic,
144
+ header->opcode,
145
+ header->framing_extras_length(),
146
+ header->key_length(),
147
+ header->extlen,
148
+ header->datatype,
149
+ header->specific_name(),
150
+ couchbase::core::utils::byte_swap(header->specific),
151
+ couchbase::core::utils::byte_swap(header->bodylen),
152
+ couchbase::core::utils::byte_swap(header->opaque),
153
+ couchbase::core::utils::byte_swap(header->cas));
154
+ }
149
155
  };
150
156
 
151
157
  namespace couchbase::core::io
152
158
  {
153
159
  struct connection_endpoints {
154
- connection_endpoints(asio::ip::tcp::endpoint remote_endpoint, asio::ip::tcp::endpoint local_endpoint)
155
- : remote{ std::move(remote_endpoint) }
156
- , remote_address{ remote.address().to_string() }
157
- , remote_address_with_port{ remote.protocol() == asio::ip::tcp::v6() ? fmt::format("[{}]:{}", remote_address, remote.port())
158
- : fmt::format("{}:{}", remote_address, remote.port()) }
159
- , local{ std::move(local_endpoint) }
160
- , local_address{ local.address().to_string() }
161
- , local_address_with_port{ local.protocol() == asio::ip::tcp::v6() ? fmt::format("[{}]:{}", local_address, local.port())
162
- : fmt::format("{}:{}", local_address, local.port()) }
163
- {
164
- }
165
-
166
- asio::ip::tcp::endpoint remote;
167
- std::string remote_address{};
168
- std::string remote_address_with_port{};
169
-
170
- asio::ip::tcp::endpoint local;
171
- std::string local_address{};
172
- std::string local_address_with_port{};
160
+ connection_endpoints(asio::ip::tcp::endpoint remote_endpoint,
161
+ asio::ip::tcp::endpoint local_endpoint)
162
+ : remote{ std::move(remote_endpoint) }
163
+ , remote_address{ remote.address().to_string() }
164
+ , remote_address_with_port{ remote.protocol() == asio::ip::tcp::v6()
165
+ ? fmt::format("[{}]:{}", remote_address, remote.port())
166
+ : fmt::format("{}:{}", remote_address, remote.port()) }
167
+ , local{ std::move(local_endpoint) }
168
+ , local_address{ local.address().to_string() }
169
+ , local_address_with_port{ local.protocol() == asio::ip::tcp::v6()
170
+ ? fmt::format("[{}]:{}", local_address, local.port())
171
+ : fmt::format("{}:{}", local_address, local.port()) }
172
+ {
173
+ }
174
+
175
+ asio::ip::tcp::endpoint remote;
176
+ std::string remote_address{};
177
+ std::string remote_address_with_port{};
178
+
179
+ asio::ip::tcp::endpoint local;
180
+ std::string local_address{};
181
+ std::string local_address_with_port{};
173
182
  };
174
183
 
175
184
  class collection_cache
176
185
  {
177
- private:
178
- std::map<std::string, std::uint32_t> cid_map_{ { "_default._default", 0 } };
179
-
180
- public:
181
- [[nodiscard]] std::optional<std::uint32_t> get(const std::string& path)
182
- {
183
- Expects(!path.empty());
184
- if (auto ptr = cid_map_.find(path); ptr != cid_map_.end()) {
185
- return ptr->second;
186
- }
187
- return std::nullopt;
188
- }
189
-
190
- void update(const std::string& path, std::uint32_t id)
191
- {
192
- Expects(!path.empty());
193
- cid_map_[path] = id;
194
- }
195
-
196
- void reset()
197
- {
198
- cid_map_.clear();
199
- cid_map_["_default._default"] = 0;
186
+ private:
187
+ std::map<std::string, std::uint32_t> cid_map_{ { "_default._default", 0 } };
188
+
189
+ public:
190
+ [[nodiscard]] auto get(const std::string& path) -> std::optional<std::uint32_t>
191
+ {
192
+ Expects(!path.empty());
193
+ if (auto ptr = cid_map_.find(path); ptr != cid_map_.end()) {
194
+ return ptr->second;
200
195
  }
196
+ return std::nullopt;
197
+ }
198
+
199
+ void update(const std::string& path, std::uint32_t id)
200
+ {
201
+ Expects(!path.empty());
202
+ cid_map_[path] = id;
203
+ }
204
+
205
+ void reset()
206
+ {
207
+ cid_map_.clear();
208
+ cid_map_["_default._default"] = 0;
209
+ }
201
210
  };
202
211
 
203
212
  class mcbp_session_impl
204
213
  : public std::enable_shared_from_this<mcbp_session_impl>
205
214
  , public operation_map
206
215
  {
207
- class bootstrap_handler : public std::enable_shared_from_this<bootstrap_handler>
208
- {
209
- private:
210
- std::shared_ptr<mcbp_session_impl> session_;
211
- sasl::ClientContext sasl_;
212
- std::atomic_bool stopped_{ false };
213
- std::string last_error_message_;
214
-
215
- public:
216
- ~bootstrap_handler()
217
- {
218
- stop();
219
- }
220
-
221
- void stop()
222
- {
223
- bool expected_state{ false };
224
- stopped_.compare_exchange_strong(expected_state, true);
225
- }
226
-
227
- static auto sasl_mechanisms(const std::shared_ptr<mcbp_session_impl>& session) -> std::vector<std::string>
228
- {
229
- if (const auto user_mechanisms = session->origin_.credentials().allowed_sasl_mechanisms; user_mechanisms.has_value()) {
230
- return user_mechanisms.value();
231
- }
232
- if (session->is_tls_) {
233
- return { "PLAIN" };
234
- }
235
- return { "SCRAM-SHA512", "SCRAM-SHA256", "SCRAM-SHA1" };
236
- }
237
-
238
- std::string last_error_message() &&
239
- {
240
- return std::move(last_error_message_);
241
- }
242
-
243
- [[nodiscard]] const std::string& last_error_message() const&
244
- {
245
- return last_error_message_;
246
- }
247
-
248
- explicit bootstrap_handler(std::shared_ptr<mcbp_session_impl> session)
249
- : session_(std::move(session))
250
- , sasl_([origin = session_->origin_]() { return origin.username(); },
251
- [origin = session_->origin_]() { return origin.password(); },
252
- sasl_mechanisms(session_))
253
- {
254
- protocol::client_request<protocol::hello_request_body> hello_req;
255
- if (session_->origin_.options().enable_unordered_execution) {
256
- hello_req.body().enable_unordered_execution();
257
- }
258
- if (session_->origin_.options().enable_clustermap_notification) {
259
- hello_req.body().enable_clustermap_change_notification();
260
- hello_req.body().enable_deduplicate_not_my_vbucket_clustermap();
261
- }
262
- if (session_->origin_.options().enable_compression) {
263
- hello_req.body().enable_compression();
264
- }
265
- if (session_->origin_.options().enable_mutation_tokens) {
266
- hello_req.body().enable_mutation_tokens();
267
- }
268
- hello_req.opaque(session_->next_opaque());
269
- auto user_agent =
270
- meta::user_agent_for_mcbp(session_->client_id_, session_->id_, session_->origin_.options().user_agent_extra, 250);
271
- hello_req.body().user_agent(user_agent);
272
- CB_LOG_DEBUG("{} user_agent={}, requested_features=[{}]",
273
- session_->log_prefix_,
274
- user_agent,
275
- utils::join_strings_fmt(hello_req.body().features(), ", "));
276
- session_->write(hello_req.data());
277
-
278
- if (!session_->origin_.credentials().uses_certificate()) {
279
- protocol::client_request<protocol::sasl_list_mechs_request_body> list_req;
280
- list_req.opaque(session_->next_opaque());
281
- session_->write(list_req.data());
282
-
283
- protocol::client_request<protocol::sasl_auth_request_body> auth_req;
284
- auto [sasl_code, sasl_payload] = sasl_.start();
285
- auth_req.opaque(session_->next_opaque());
286
- auth_req.body().mechanism(sasl_.get_name());
287
- auth_req.body().sasl_data(sasl_payload);
288
- session_->write(auth_req.data());
289
- }
290
-
291
- session_->flush();
292
- }
293
-
294
- void complete(std::error_code ec)
295
- {
296
- if (bool expected_state{ false }; stopped_.compare_exchange_strong(expected_state, true)) {
297
- session_->invoke_bootstrap_handler(ec);
298
- }
299
- }
300
-
301
- void auth_success()
302
- {
303
- session_->authenticated_ = true;
304
- if (session_->supports_feature(protocol::hello_feature::xerror)) {
305
- protocol::client_request<protocol::get_error_map_request_body> errmap_req;
306
- errmap_req.opaque(session_->next_opaque());
307
- session_->write(errmap_req.data());
308
- }
309
- if (session_->bucket_name_) {
310
- protocol::client_request<protocol::select_bucket_request_body> sb_req;
311
- sb_req.opaque(session_->next_opaque());
312
- sb_req.body().bucket_name(session_->bucket_name_.value());
313
- session_->write(sb_req.data());
314
- }
315
- protocol::client_request<protocol::get_cluster_config_request_body> cfg_req;
316
- cfg_req.opaque(session_->next_opaque());
317
- session_->write(cfg_req.data());
318
- session_->flush();
319
- }
216
+ class bootstrap_handler : public std::enable_shared_from_this<bootstrap_handler>
217
+ {
218
+ private:
219
+ std::shared_ptr<mcbp_session_impl> session_;
220
+ sasl::ClientContext sasl_;
221
+ std::atomic_bool stopped_{ false };
222
+ impl::bootstrap_error last_bootstrap_error_;
320
223
 
321
- void handle(mcbp_message&& msg)
322
- {
323
- if (stopped_ || !session_) {
324
- return;
325
- }
326
- Expects(protocol::is_valid_magic(msg.header.magic));
327
- switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
328
- case protocol::magic::client_response:
329
- case protocol::magic::alt_client_response:
330
- Expects(protocol::is_valid_client_opcode(msg.header.opcode));
331
- switch (auto status = static_cast<key_value_status_code>(msg.header.status())) {
332
- case key_value_status_code::rate_limited_max_commands:
333
- case key_value_status_code::rate_limited_max_connections:
334
- case key_value_status_code::rate_limited_network_egress:
335
- case key_value_status_code::rate_limited_network_ingress:
336
- last_error_message_ = fmt::format(
337
- "unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), the user has reached rate limit",
338
- session_->bucket_name_.value_or(""),
339
- protocol::client_opcode(msg.header.opcode),
340
- status);
341
- CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
342
- return complete(errc::common::rate_limited);
343
-
344
- case key_value_status_code::scope_size_limit_exceeded:
345
- last_error_message_ = fmt::format(
346
- "unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), the user has reached quota limit",
347
- session_->bucket_name_.value_or(""),
348
- protocol::client_opcode(msg.header.opcode),
349
- status);
350
- CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
351
- return complete(errc::common::quota_limited);
352
-
353
- default:
354
- break;
355
- }
356
- switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
357
- case protocol::client_opcode::hello: {
358
- protocol::client_response<protocol::hello_response_body> resp(std::move(msg));
359
- if (resp.status() == key_value_status_code::success) {
360
- session_->supported_features_ = resp.body().supported_features();
361
- CB_LOG_DEBUG("{} supported_features=[{}]",
362
- session_->log_prefix_,
363
- utils::join_strings_fmt(session_->supported_features_, ", "));
364
- if (session_->origin_.credentials().uses_certificate()) {
365
- CB_LOG_DEBUG("{} skip SASL authentication, because TLS certificate was specified",
366
- session_->log_prefix_);
367
- return auth_success();
368
- }
369
- } else {
370
- last_error_message_ = fmt::format(
371
- "unexpected message status during bootstrap: {} (opaque={})", resp.error_message(), resp.opaque());
372
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
373
- return complete(errc::network::handshake_failure);
374
- }
375
- } break;
376
- case protocol::client_opcode::sasl_list_mechs: {
377
- protocol::client_response<protocol::sasl_list_mechs_response_body> resp(std::move(msg));
378
- if (resp.status() != key_value_status_code::success) {
379
- last_error_message_ = fmt::format(
380
- "unexpected message status during bootstrap: {} (opaque={})", resp.error_message(), resp.opaque());
381
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
382
- return complete(errc::common::authentication_failure);
383
- }
384
- } break;
385
- case protocol::client_opcode::sasl_auth: {
386
- protocol::client_response<protocol::sasl_auth_response_body> resp(std::move(msg));
387
- if (resp.status() == key_value_status_code::success) {
388
- return auth_success();
389
- }
390
- if (resp.status() == key_value_status_code::auth_continue) {
391
- auto [sasl_code, sasl_payload] = sasl_.step(resp.body().value());
392
- if (sasl_code == sasl::error::OK) {
393
- return auth_success();
394
- }
395
- if (sasl_code == sasl::error::CONTINUE) {
396
- protocol::client_request<protocol::sasl_step_request_body> req;
397
- req.opaque(session_->next_opaque());
398
- req.body().mechanism(sasl_.get_name());
399
- req.body().sasl_data(sasl_payload);
400
- session_->write_and_flush(req.data());
401
- } else {
402
- last_error_message_ =
403
- fmt::format("unable to authenticate: (sasl_code={}, opaque={})", sasl_code, resp.opaque());
404
- CB_LOG_ERROR("{} {}", session_->log_prefix_, last_error_message_);
405
- return complete(errc::common::authentication_failure);
406
- }
407
- } else {
408
- last_error_message_ = fmt::format("{} unexpected message status during bootstrap: {} (opaque={})",
409
- session_->log_prefix_,
410
- resp.error_message(),
411
- resp.opaque());
412
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
413
- return complete(errc::common::authentication_failure);
414
- }
415
- } break;
416
- case protocol::client_opcode::sasl_step: {
417
- protocol::client_response<protocol::sasl_step_response_body> resp(std::move(msg));
418
- if (resp.status() == key_value_status_code::success) {
419
- return auth_success();
420
- }
421
- last_error_message_ =
422
- fmt::format("unable to authenticate (opcode={}, status={}, opaque={})", opcode, resp.status(), resp.opaque());
423
- CB_LOG_ERROR("{} {}", session_->log_prefix_, last_error_message_);
424
- return complete(errc::common::authentication_failure);
425
- }
426
- case protocol::client_opcode::get_error_map: {
427
- protocol::client_response<protocol::get_error_map_response_body> resp(std::move(msg));
428
- if (resp.status() == key_value_status_code::success) {
429
- session_->error_map_.emplace(resp.body().errmap());
430
- } else {
431
- last_error_message_ = fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
432
- resp.error_message(),
433
- resp.opaque(),
434
- spdlog::to_hex(resp.header()));
435
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
436
- return complete(errc::network::protocol_error);
437
- }
438
- } break;
439
- case protocol::client_opcode::select_bucket: {
440
- protocol::client_response<protocol::select_bucket_response_body> resp(std::move(msg));
441
- if (resp.status() == key_value_status_code::success) {
442
- CB_LOG_DEBUG("{} selected bucket: {}", session_->log_prefix_, session_->bucket_name_.value_or(""));
443
- session_->bucket_selected_ = true;
444
- } else if (resp.status() == key_value_status_code::not_found) {
445
- last_error_message_ =
446
- fmt::format("kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
447
- opcode,
448
- resp.status(),
449
- resp.opaque());
450
- CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
451
- return complete(errc::network::configuration_not_available);
452
- } else if (resp.status() == key_value_status_code::no_access) {
453
- last_error_message_ = fmt::format("unable to select bucket: {}, probably the bucket does not exist",
454
- session_->bucket_name_.value_or(""));
455
- CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
456
- session_->bucket_selected_ = false;
457
- return complete(errc::common::bucket_not_found);
458
- } else {
459
- last_error_message_ = fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
460
- resp.error_message(),
461
- resp.opaque(),
462
- spdlog::to_hex(resp.header()));
463
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
464
- return complete(errc::common::bucket_not_found);
465
- }
466
- } break;
467
- case protocol::client_opcode::get_cluster_config: {
468
- protocol::cmd_info info{ session_->connection_endpoints_.remote_address,
469
- session_->connection_endpoints_.remote.port() };
470
- if (session_->origin_.options().dump_configuration) {
471
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()), msg.body.size() };
472
- CB_LOG_TRACE(
473
- "{} configuration from get_cluster_config request (bootstrap, size={}, endpoint=\"{}:{}\"), {}",
474
- session_->log_prefix_,
475
- config_text.size(),
476
- info.endpoint_address,
477
- info.endpoint_port,
478
- config_text);
479
- }
480
- protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
481
- if (resp.status() == key_value_status_code::success) {
482
- // MB-60405 fixes this for 7.6.2, but for earlier versions we need to protect against using a
483
- // config that has an empty vbucket map. Ideally we don't timeout if we retry here, but a timeout
484
- // would be more acceptable than a crash and if we do timeout, we have a clear indication of the
485
- // problem (i.e. it is a server bug and we cannot use a config w/ an empty vbucket map).
486
- if (resp.body().config().vbmap && resp.body().config().vbmap->size() == 0) {
487
- CB_LOG_WARNING("{} received a configuration with an empty vbucket map, retrying",
488
- session_->log_prefix_);
489
- return complete(errc::network::configuration_not_available);
490
- }
491
- session_->update_configuration(resp.body().config());
492
- complete({});
493
- } else if (resp.status() == key_value_status_code::not_found) {
494
- last_error_message_ =
495
- fmt::format("kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
496
- opcode,
497
- resp.status(),
498
- resp.opaque());
499
- CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
500
- return complete(errc::network::configuration_not_available);
501
- } else if (resp.status() == key_value_status_code::no_bucket && !session_->bucket_name_) {
502
- // bucket-less session, but the server wants bucket
503
- session_->supports_gcccp_ = false;
504
- CB_LOG_WARNING("{} this server does not support GCCCP, open bucket before making any cluster-level command",
505
- session_->log_prefix_);
506
- session_->update_configuration(topology::make_blank_configuration(
507
- session_->connection_endpoints_.remote_address, session_->connection_endpoints_.remote.port(), 0));
508
- complete({});
509
- } else {
510
- last_error_message_ = fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
511
- resp.error_message(),
512
- resp.opaque(),
513
- spdlog::to_hex(resp.header()));
514
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
515
- return complete(errc::network::protocol_error);
516
- }
517
- } break;
518
- default:
519
- last_error_message_ = fmt::format("unexpected message during bootstrap: {}", opcode);
520
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
521
- return complete(errc::network::protocol_error);
522
- }
523
- break;
524
- case protocol::magic::server_request:
525
- Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
526
- switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
527
- case protocol::server_opcode::cluster_map_change_notification: {
528
- protocol::cmd_info info{ session_->bootstrap_hostname_, session_->bootstrap_port_number_ };
529
- if (session_->origin_.options().dump_configuration) {
530
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()), msg.body.size() };
531
- CB_LOG_TRACE(
532
- "{} configuration from cluster_map_change_notification request (size={}, endpoint=\"{}:{}\"), {}",
533
- session_->log_prefix_,
534
- config_text.size(),
535
- info.endpoint_address,
536
- info.endpoint_port,
537
- config_text);
538
- }
539
- protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg), info);
540
- std::optional<topology::configuration> config = req.body().config();
541
- if (session_ && config.has_value()) {
542
- if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
543
- (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
544
- session_->bucket_name_.value() == req.body().bucket())) {
545
- session_->update_configuration(std::move(config.value()));
546
- }
547
- }
548
- } break;
549
- default:
550
- CB_LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
551
- session_->log_prefix_,
552
- msg.header.opcode,
553
- utils::byte_swap(msg.header.opaque),
554
- spdlog::to_hex(msg.header_data()),
555
- spdlog::to_hex(msg.body));
556
- }
557
- break;
558
- case protocol::magic::client_request:
559
- case protocol::magic::alt_client_request:
560
- case protocol::magic::server_response:
561
- CB_LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
562
- session_->log_prefix_,
563
- magic,
564
- msg.header.opcode,
565
- utils::byte_swap(msg.header.opaque),
566
- spdlog::to_hex(msg.header_data()),
567
- spdlog::to_hex(msg.body));
568
- break;
569
- }
570
- }
571
- };
224
+ public:
225
+ bootstrap_handler(const bootstrap_handler&) = delete;
226
+ auto operator=(const bootstrap_handler&) -> bootstrap_handler& = delete;
227
+ bootstrap_handler(bootstrap_handler&&) = delete;
228
+ auto operator=(bootstrap_handler&&) -> bootstrap_handler& = delete;
572
229
 
573
- class message_handler : public std::enable_shared_from_this<message_handler>
230
+ ~bootstrap_handler()
574
231
  {
575
- private:
576
- std::shared_ptr<mcbp_session_impl> session_;
577
- std::atomic_bool stopped_{ false };
578
-
579
- public:
580
- explicit message_handler(std::shared_ptr<mcbp_session_impl> session)
581
- : session_(std::move(session))
582
- {
583
- }
584
-
585
- ~message_handler()
586
- {
587
- stop();
588
- }
589
-
590
- void start()
591
- {
592
- }
593
-
594
- void stop()
595
- {
596
- }
597
-
598
- void handle(mcbp_message&& msg)
599
- {
600
- if (stopped_ || !session_) {
601
- return;
602
- }
603
- Expects(protocol::is_valid_magic(msg.header.magic));
604
- switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
605
- case protocol::magic::client_response:
606
- case protocol::magic::alt_client_response:
607
- Expects(protocol::is_valid_client_opcode(msg.header.opcode));
608
- switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
609
- case protocol::client_opcode::get_cluster_config: {
610
- protocol::cmd_info info{ session_->bootstrap_hostname_, session_->bootstrap_port_number_ };
611
- if (session_->origin_.options().dump_configuration) {
612
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()), msg.body.size() };
613
- CB_LOG_TRACE("{} configuration from get_cluster_config response (size={}, endpoint=\"{}:{}\"), {}",
614
- session_->log_prefix_,
615
- config_text.size(),
616
- info.endpoint_address,
617
- info.endpoint_port,
618
- config_text);
619
- }
620
- protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
621
- if (resp.status() == key_value_status_code::success) {
622
- if (session_) {
623
- session_->update_configuration(resp.body().config());
624
- }
625
- } else {
626
- CB_LOG_WARNING("{} unexpected message status: {} (opaque={})",
627
- session_->log_prefix_,
628
- resp.error_message(),
629
- resp.opaque());
630
- }
631
- } break;
632
- case protocol::client_opcode::noop:
633
- case protocol::client_opcode::get_collections_manifest:
634
- case protocol::client_opcode::get_collection_id:
635
- case protocol::client_opcode::get:
636
- case protocol::client_opcode::get_and_lock:
637
- case protocol::client_opcode::get_and_touch:
638
- case protocol::client_opcode::get_meta:
639
- case protocol::client_opcode::get_replica:
640
- case protocol::client_opcode::touch:
641
- case protocol::client_opcode::insert:
642
- case protocol::client_opcode::replace:
643
- case protocol::client_opcode::upsert:
644
- case protocol::client_opcode::append:
645
- case protocol::client_opcode::prepend:
646
- case protocol::client_opcode::remove:
647
- case protocol::client_opcode::observe_seqno:
648
- case protocol::client_opcode::unlock:
649
- case protocol::client_opcode::increment:
650
- case protocol::client_opcode::range_scan_create:
651
- case protocol::client_opcode::range_scan_continue:
652
- case protocol::client_opcode::range_scan_cancel:
653
- case protocol::client_opcode::decrement:
654
- case protocol::client_opcode::subdoc_multi_lookup:
655
- case protocol::client_opcode::subdoc_multi_mutation: {
656
- std::uint16_t status = utils::byte_swap(msg.header.specific);
657
- if (status == static_cast<std::uint16_t>(key_value_status_code::not_my_vbucket)) {
658
- session_->handle_not_my_vbucket(msg);
659
- }
660
-
661
- std::uint32_t opaque = utils::byte_swap(msg.header.opaque);
662
- if (session_->handle_request(opcode, status, opaque, std::move(msg))) {
663
- CB_LOG_TRACE("{} MCBP invoked operation handler: opcode={}, opaque={}, status={}",
664
- session_->log_prefix_,
665
- opcode,
666
- opaque,
667
- protocol::status_to_string(status));
668
- } else {
669
- CB_LOG_DEBUG("{} unexpected orphan response: opcode={}, opaque={}, status={}",
670
- session_->log_prefix_,
671
- opcode,
672
- opaque,
673
- protocol::status_to_string(status));
674
- }
675
- } break;
676
- default:
677
- CB_LOG_WARNING("{} unexpected client response: opcode={}, opaque={}{:a}{:a})",
678
- session_->log_prefix_,
679
- opcode,
680
- msg.header.opaque,
681
- spdlog::to_hex(msg.header_data()),
682
- spdlog::to_hex(msg.body));
683
- }
684
- break;
685
- case protocol::magic::server_request:
686
- Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
687
- switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
688
- case protocol::server_opcode::cluster_map_change_notification: {
689
- protocol::cmd_info info{ session_->bootstrap_hostname_, session_->bootstrap_port_number_ };
690
- if (session_->origin_.options().dump_configuration) {
691
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()), msg.body.size() };
692
- CB_LOG_TRACE(
693
- "{} configuration from cluster_map_change_notification request (size={}, endpoint=\"{}:{}\"), {}",
694
- session_->log_prefix_,
695
- config_text.size(),
696
- info.endpoint_address,
697
- info.endpoint_port,
698
- config_text);
699
- }
700
- protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg), info);
701
- std::optional<topology::configuration> config = req.body().config();
702
- if (session_ && config.has_value()) {
703
- if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
704
- (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
705
- session_->bucket_name_.value() == req.body().bucket())) {
706
- session_->update_configuration(std::move(config.value()));
707
- }
708
- }
709
- } break;
710
- default:
711
- CB_LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
712
- session_->log_prefix_,
713
- msg.header.opcode,
714
- msg.header.opaque,
715
- spdlog::to_hex(msg.header_data()),
716
- spdlog::to_hex(msg.body));
717
- }
718
- break;
719
- case protocol::magic::client_request:
720
- case protocol::magic::alt_client_request:
721
- case protocol::magic::server_response:
722
- CB_LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
723
- session_->log_prefix_,
724
- magic,
725
- msg.header.opcode,
726
- msg.header.opaque,
727
- spdlog::to_hex(msg.header_data()),
728
- spdlog::to_hex(msg.body));
729
- break;
730
- }
731
- }
732
- };
232
+ stop();
233
+ }
733
234
 
734
- public:
735
- mcbp_session_impl() = delete;
736
- mcbp_session_impl(std::string_view client_id,
737
- asio::io_context& ctx,
738
- couchbase::core::origin origin,
739
- std::shared_ptr<impl::bootstrap_state_listener> state_listener,
740
- std::optional<std::string> bucket_name = {},
741
- std::vector<protocol::hello_feature> known_features = {})
742
- : client_id_(client_id)
743
- , ctx_(ctx)
744
- , resolver_(ctx_)
745
- , stream_(std::make_unique<plain_stream_impl>(ctx_))
746
- , bootstrap_deadline_(ctx_)
747
- , connection_deadline_(ctx_)
748
- , retry_backoff_(ctx_)
749
- , ping_deadline_(ctx_)
750
- , origin_{ std::move(origin) }
751
- , bucket_name_{ std::move(bucket_name) }
752
- , supported_features_{ std::move(known_features) }
753
- , is_tls_{ false }
754
- , state_listener_{ std::move(state_listener) }
755
- , codec_{ { supported_features_.begin(), supported_features_.end() } }
756
- {
757
- log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
758
- }
759
-
760
- mcbp_session_impl(std::string_view client_id,
761
- asio::io_context& ctx,
762
- asio::ssl::context& tls,
763
- couchbase::core::origin origin,
764
- std::shared_ptr<impl::bootstrap_state_listener> state_listener,
765
- std::optional<std::string> bucket_name = {},
766
- std::vector<protocol::hello_feature> known_features = {})
767
- : client_id_(client_id)
768
- , ctx_(ctx)
769
- , resolver_(ctx_)
770
- , stream_(std::make_unique<tls_stream_impl>(ctx_, tls))
771
- , bootstrap_deadline_(ctx_)
772
- , connection_deadline_(ctx_)
773
- , retry_backoff_(ctx_)
774
- , ping_deadline_(ctx_)
775
- , origin_(std::move(origin))
776
- , bucket_name_(std::move(bucket_name))
777
- , supported_features_(std::move(known_features))
778
- , is_tls_{ true }
779
- , state_listener_{ std::move(state_listener) }
780
- , codec_{ { supported_features_.begin(), supported_features_.end() } }
235
+ void stop()
781
236
  {
782
- log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
237
+ bool expected_state{ false };
238
+ stopped_.compare_exchange_strong(expected_state, true);
783
239
  }
784
240
 
785
- ~mcbp_session_impl()
241
+ static auto sasl_mechanisms(const std::shared_ptr<mcbp_session_impl>& session)
242
+ -> std::vector<std::string>
786
243
  {
787
- CB_LOG_DEBUG("{} destroy MCBP connection", log_prefix_);
788
- stop(retry_reason::do_not_retry);
244
+ if (const auto user_mechanisms = session->origin_.credentials().allowed_sasl_mechanisms;
245
+ user_mechanisms.has_value()) {
246
+ return user_mechanisms.value();
247
+ }
248
+ if (session->is_tls_) {
249
+ return { "PLAIN" };
250
+ }
251
+ return { "SCRAM-SHA512", "SCRAM-SHA256", "SCRAM-SHA1" };
789
252
  }
790
253
 
791
- [[nodiscard]] const std::string& log_prefix() const
254
+ auto last_bootstrap_error() && -> impl::bootstrap_error
792
255
  {
793
- return log_prefix_;
256
+ return std::move(last_bootstrap_error_);
794
257
  }
795
258
 
796
- std::string remote_address() const
259
+ [[nodiscard]] auto last_bootstrap_error() const& -> const impl::bootstrap_error&
797
260
  {
798
- return connection_endpoints_.remote_address_with_port;
261
+ return last_bootstrap_error_;
799
262
  }
800
263
 
801
- std::string local_address() const
264
+ explicit bootstrap_handler(std::shared_ptr<mcbp_session_impl> session)
265
+ : session_(std::move(session))
266
+ , sasl_(
267
+ [origin = session_->origin_]() {
268
+ return origin.username();
269
+ },
270
+ [origin = session_->origin_]() {
271
+ return origin.password();
272
+ },
273
+ sasl_mechanisms(session_))
802
274
  {
803
- return connection_endpoints_.local_address_with_port;
275
+ protocol::client_request<protocol::hello_request_body> hello_req;
276
+ if (session_->origin_.options().enable_unordered_execution) {
277
+ hello_req.body().enable_unordered_execution();
278
+ }
279
+ if (session_->origin_.options().enable_clustermap_notification) {
280
+ hello_req.body().enable_clustermap_change_notification();
281
+ hello_req.body().enable_deduplicate_not_my_vbucket_clustermap();
282
+ }
283
+ if (session_->origin_.options().enable_compression) {
284
+ hello_req.body().enable_compression();
285
+ }
286
+ if (session_->origin_.options().enable_mutation_tokens) {
287
+ hello_req.body().enable_mutation_tokens();
288
+ }
289
+ hello_req.opaque(session_->next_opaque());
290
+ auto user_agent = meta::user_agent_for_mcbp(
291
+ session_->client_id_, session_->id_, session_->origin_.options().user_agent_extra, 250);
292
+ hello_req.body().user_agent(user_agent);
293
+ CB_LOG_DEBUG("{} user_agent={}, requested_features=[{}]",
294
+ session_->log_prefix_,
295
+ user_agent,
296
+ utils::join_strings_fmt(hello_req.body().features(), ", "));
297
+ session_->write(hello_req.data());
298
+
299
+ if (!session_->origin_.credentials().uses_certificate()) {
300
+ protocol::client_request<protocol::sasl_list_mechs_request_body> list_req;
301
+ list_req.opaque(session_->next_opaque());
302
+ session_->write(list_req.data());
303
+
304
+ protocol::client_request<protocol::sasl_auth_request_body> auth_req;
305
+ auto [sasl_code, sasl_payload] = sasl_.start();
306
+ auth_req.opaque(session_->next_opaque());
307
+ auth_req.body().mechanism(sasl_.get_name());
308
+ auth_req.body().sasl_data(sasl_payload);
309
+ session_->write(auth_req.data());
310
+ }
311
+
312
+ session_->flush();
804
313
  }
805
314
 
806
- [[nodiscard]] diag::endpoint_diag_info diag_info() const
807
- {
808
- return { service_type::key_value,
809
- id_,
810
- last_active_.time_since_epoch().count() == 0 ? std::nullopt
811
- : std::make_optional(std::chrono::duration_cast<std::chrono::microseconds>(
812
- std::chrono::steady_clock::now() - last_active_)),
813
- remote_address(),
814
- local_address(),
815
- state_,
816
- bucket_name_ };
817
- }
818
-
819
- void ping(std::shared_ptr<diag::ping_reporter> handler, std::optional<std::chrono::milliseconds> timeout)
315
+ void complete(std::error_code ec)
820
316
  {
821
- if (!bootstrapped_) {
822
- handler->report({
823
- service_type::key_value,
824
- id_,
825
- std::chrono::microseconds(0),
826
- remote_address(),
827
- local_address(),
828
- diag::ping_state::error,
829
- bucket_name_,
830
- last_bootstrap_error_message_.has_value() ? last_bootstrap_error_message_.value()
831
- : "Bootstrap incomplete, cannot perform ping.",
832
- });
833
- return;
834
- }
835
- protocol::client_request<protocol::mcbp_noop_request_body> req;
836
- req.opaque(next_opaque());
837
- write_and_subscribe(req.opaque(),
838
- req.data(false),
839
- [start = std::chrono::steady_clock::now(), self = shared_from_this(), handler](
840
- std::error_code ec,
841
- retry_reason reason,
842
- io::mcbp_message&& /* msg */,
843
- std::optional<key_value_error_map_info> /* error_info */) {
844
- diag::ping_state state = diag::ping_state::ok;
845
- std::optional<std::string> error{};
846
- if (ec) {
847
- if (ec == errc::common::unambiguous_timeout || ec == errc::common::ambiguous_timeout) {
848
- state = diag::ping_state::timeout;
849
- } else {
850
- state = diag::ping_state::error;
851
- }
852
- error.emplace(fmt::format("code={}, message={}, reason={}", ec.value(), ec.message(), reason));
853
- }
854
- handler->report({
855
- service_type::key_value,
856
- self->id_,
857
- std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - start),
858
- self->remote_address(),
859
- self->local_address(),
860
- state,
861
- self->bucket_name_,
862
- error,
863
- });
864
- });
865
- ping_deadline_.expires_after(timeout.value_or(origin_.options().key_value_timeout));
866
- ping_deadline_.async_wait([self = this->shared_from_this(), opaque = req.opaque()](std::error_code ec) {
867
- if (ec == asio::error::operation_aborted) {
868
- return;
869
- }
870
- static_cast<void>(self->cancel(opaque, errc::common::unambiguous_timeout, retry_reason::do_not_retry));
871
- });
317
+ if (bool expected_state{ false }; stopped_.compare_exchange_strong(expected_state, true)) {
318
+ session_->invoke_bootstrap_handler(ec);
319
+ }
872
320
  }
873
321
 
874
- [[nodiscard]] mcbp_context context() const
322
+ void auth_success()
875
323
  {
876
- return { config_, supported_features_ };
324
+ session_->authenticated_ = true;
325
+ if (session_->supports_feature(protocol::hello_feature::xerror)) {
326
+ protocol::client_request<protocol::get_error_map_request_body> errmap_req;
327
+ errmap_req.opaque(session_->next_opaque());
328
+ session_->write(errmap_req.data());
329
+ }
330
+ if (auto val = session_->bucket_name_; val) {
331
+ protocol::client_request<protocol::select_bucket_request_body> sb_req;
332
+ sb_req.opaque(session_->next_opaque());
333
+ sb_req.body().bucket_name(val.value());
334
+ session_->write(sb_req.data());
335
+ }
336
+ protocol::client_request<protocol::get_cluster_config_request_body> cfg_req;
337
+ cfg_req.opaque(session_->next_opaque());
338
+ session_->write(cfg_req.data());
339
+ session_->flush();
877
340
  }
878
341
 
879
- void bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& callback,
880
- bool retry_on_bucket_not_found = false)
342
+ void handle(mcbp_message&& msg)
881
343
  {
882
- retry_bootstrap_on_bucket_not_found_ = retry_on_bucket_not_found;
883
- bootstrap_callback_ = std::move(callback);
884
- bootstrap_deadline_.expires_after(origin_.options().bootstrap_timeout);
885
- bootstrap_deadline_.async_wait([self = shared_from_this()](std::error_code ec) {
886
- if (ec == asio::error::operation_aborted || self->stopped_) {
887
- return;
888
- }
889
- if (!ec) {
890
- ec = errc::common::unambiguous_timeout;
344
+ if (stopped_ || !session_) {
345
+ return;
346
+ }
347
+ Expects(protocol::is_valid_magic(msg.header.magic));
348
+ switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
349
+ case protocol::magic::client_response:
350
+ case protocol::magic::alt_client_response:
351
+ Expects(protocol::is_valid_client_opcode(msg.header.opcode));
352
+ switch (auto status = static_cast<key_value_status_code>(msg.header.status())) {
353
+ case key_value_status_code::rate_limited_max_commands:
354
+ case key_value_status_code::rate_limited_max_connections:
355
+ case key_value_status_code::rate_limited_network_egress:
356
+ case key_value_status_code::rate_limited_network_ingress: {
357
+ auto error_msg =
358
+ fmt::format("unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), "
359
+ "the user has reached rate limit",
360
+ session_->bucket_name_.value_or(""),
361
+ protocol::client_opcode(msg.header.opcode),
362
+ status);
363
+ last_bootstrap_error_ = { errc::common::rate_limited,
364
+ std::move(error_msg),
365
+ session_->bootstrap_hostname(),
366
+ session_->bootstrap_port() };
367
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
368
+ return complete(errc::common::rate_limited);
891
369
  }
892
- if (self->state_listener_) {
893
- self->state_listener_->report_bootstrap_error(fmt::format("{}:{}", self->bootstrap_hostname_, self->bootstrap_port_), ec);
370
+ case key_value_status_code::scope_size_limit_exceeded: {
371
+ auto error_msg =
372
+ fmt::format("unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), "
373
+ "the user has reached quota limit",
374
+ session_->bucket_name_.value_or(""),
375
+ protocol::client_opcode(msg.header.opcode),
376
+ status);
377
+ last_bootstrap_error_ = { errc::common::quota_limited,
378
+ std::move(error_msg),
379
+ session_->bootstrap_hostname(),
380
+ session_->bootstrap_port() };
381
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
382
+ return complete(errc::common::quota_limited);
894
383
  }
895
- CB_LOG_WARNING("{} unable to bootstrap in time", self->log_prefix_);
896
- if (auto h = std::move(self->bootstrap_callback_); h) {
897
- h(ec, {});
384
+ default:
385
+ break;
386
+ }
387
+ switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
388
+ case protocol::client_opcode::hello: {
389
+ protocol::client_response<protocol::hello_response_body> resp(std::move(msg));
390
+ if (resp.status() == key_value_status_code::success) {
391
+ session_->supported_features_ = resp.body().supported_features();
392
+ CB_LOG_DEBUG("{} supported_features=[{}]",
393
+ session_->log_prefix_,
394
+ utils::join_strings_fmt(session_->supported_features_, ", "));
395
+ if (session_->origin_.credentials().uses_certificate()) {
396
+ CB_LOG_DEBUG("{} skip SASL authentication, because TLS certificate was specified",
397
+ session_->log_prefix_);
398
+ return auth_success();
399
+ }
400
+ } else {
401
+ auto error_msg =
402
+ fmt::format("unexpected message status during bootstrap: {} (opaque={})",
403
+ resp.error_message(),
404
+ resp.opaque());
405
+ last_bootstrap_error_ = { errc::network::handshake_failure,
406
+ std::move(error_msg),
407
+ session_->bootstrap_hostname(),
408
+ session_->bootstrap_port() };
409
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
410
+ return complete(errc::network::handshake_failure);
411
+ }
412
+ } break;
413
+ case protocol::client_opcode::sasl_list_mechs: {
414
+ const protocol::client_response<protocol::sasl_list_mechs_response_body> resp(
415
+ std::move(msg));
416
+ if (resp.status() != key_value_status_code::success) {
417
+ auto error_msg =
418
+ fmt::format("unexpected message status during bootstrap: {} (opaque={})",
419
+ resp.error_message(),
420
+ resp.opaque());
421
+ last_bootstrap_error_ = { errc::common::authentication_failure,
422
+ std::move(error_msg),
423
+ session_->bootstrap_hostname(),
424
+ session_->bootstrap_port() };
425
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
426
+ return complete(errc::common::authentication_failure);
427
+ }
428
+ } break;
429
+ case protocol::client_opcode::sasl_auth: {
430
+ protocol::client_response<protocol::sasl_auth_response_body> resp(std::move(msg));
431
+ if (resp.status() == key_value_status_code::success) {
432
+ return auth_success();
433
+ }
434
+ if (resp.status() == key_value_status_code::auth_continue) {
435
+ auto [sasl_code, sasl_payload] = sasl_.step(resp.body().value());
436
+ if (sasl_code == sasl::error::OK) {
437
+ return auth_success();
438
+ }
439
+ if (sasl_code == sasl::error::CONTINUE) {
440
+ protocol::client_request<protocol::sasl_step_request_body> req;
441
+ req.opaque(session_->next_opaque());
442
+ req.body().mechanism(sasl_.get_name());
443
+ req.body().sasl_data(sasl_payload);
444
+ session_->write_and_flush(req.data());
445
+ } else {
446
+ auto error_msg = fmt::format(
447
+ "unable to authenticate: (sasl_code={}, opaque={})", sasl_code, resp.opaque());
448
+ last_bootstrap_error_ = { errc::common::authentication_failure,
449
+ std::move(error_msg),
450
+ session_->bootstrap_hostname(),
451
+ session_->bootstrap_port() };
452
+ CB_LOG_ERROR("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
453
+ return complete(errc::common::authentication_failure);
454
+ }
455
+ } else {
456
+ auto error_msg =
457
+ fmt::format("{} unexpected message status during bootstrap: {} (opaque={})",
458
+ session_->log_prefix_,
459
+ resp.error_message(),
460
+ resp.opaque());
461
+ last_bootstrap_error_ = { errc::common::authentication_failure,
462
+ std::move(error_msg),
463
+ session_->bootstrap_hostname(),
464
+ session_->bootstrap_port() };
465
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
466
+ return complete(errc::common::authentication_failure);
467
+ }
468
+ } break;
469
+ case protocol::client_opcode::sasl_step: {
470
+ const protocol::client_response<protocol::sasl_step_response_body> resp(
471
+ std::move(msg));
472
+ if (resp.status() == key_value_status_code::success) {
473
+ return auth_success();
474
+ }
475
+ auto error_msg =
476
+ fmt::format("unable to authenticate (opcode={}, status={}, opaque={})",
477
+ opcode,
478
+ resp.status(),
479
+ resp.opaque());
480
+ last_bootstrap_error_ = { errc::common::authentication_failure,
481
+ std::move(error_msg),
482
+ session_->bootstrap_hostname(),
483
+ session_->bootstrap_port() };
484
+ CB_LOG_ERROR("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
485
+ return complete(errc::common::authentication_failure);
898
486
  }
899
- self->stop(retry_reason::do_not_retry);
900
- });
901
- initiate_bootstrap();
902
- }
903
-
904
- void initiate_bootstrap()
905
- {
906
- if (stopped_) {
907
- return;
908
- }
909
- bootstrapped_ = false;
910
- if (bootstrap_handler_) {
911
- last_bootstrap_error_message_ = std::move(bootstrap_handler_)->last_error_message();
912
- }
913
- bootstrap_handler_ = nullptr;
914
- state_ = diag::endpoint_state::connecting;
915
- if (stream_->is_open()) {
916
- std::string old_id = stream_->id();
917
- stream_->reopen();
918
- CB_LOG_TRACE(R"({} reopen socket connection "{}" -> "{}", host="{}", port={})",
919
- log_prefix_,
920
- old_id,
921
- stream_->id(),
922
- bootstrap_hostname_,
923
- bootstrap_port_);
924
- }
925
- if (origin_.exhausted()) {
926
- auto backoff = std::chrono::milliseconds(500);
927
- CB_LOG_DEBUG("{} reached the end of list of bootstrap nodes, waiting for {}ms before restart", log_prefix_, backoff.count());
928
- retry_backoff_.expires_after(backoff);
929
- retry_backoff_.async_wait([self = shared_from_this()](std::error_code ec) mutable {
930
- if (ec == asio::error::operation_aborted || self->stopped_) {
931
- return;
487
+ case protocol::client_opcode::get_error_map: {
488
+ protocol::client_response<protocol::get_error_map_response_body> resp(std::move(msg));
489
+ if (resp.status() == key_value_status_code::success) {
490
+ session_->error_map_.emplace(resp.body().errmap());
491
+ } else {
492
+ auto error_msg =
493
+ fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
494
+ resp.error_message(),
495
+ resp.opaque(),
496
+ spdlog::to_hex(resp.header()));
497
+ last_bootstrap_error_ = { errc::network::protocol_error,
498
+ std::move(error_msg),
499
+ session_->bootstrap_hostname(),
500
+ session_->bootstrap_port() };
501
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
502
+ return complete(errc::network::protocol_error);
503
+ }
504
+ } break;
505
+ case protocol::client_opcode::select_bucket: {
506
+ protocol::client_response<protocol::select_bucket_response_body> resp(std::move(msg));
507
+ if (resp.status() == key_value_status_code::success) {
508
+ CB_LOG_DEBUG("{} selected bucket: {}",
509
+ session_->log_prefix_,
510
+ session_->bucket_name_.value_or(""));
511
+ session_->bucket_selected_ = true;
512
+ } else if (resp.status() == key_value_status_code::not_found) {
513
+ auto error_msg =
514
+ fmt::format("kv_engine node does not have configuration propagated yet "
515
+ "(opcode={}, status={}, opaque={})",
516
+ opcode,
517
+ resp.status(),
518
+ resp.opaque());
519
+ last_bootstrap_error_ = { errc::network::configuration_not_available,
520
+ std::move(error_msg),
521
+ session_->bootstrap_hostname(),
522
+ session_->bootstrap_port() };
523
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
524
+ return complete(errc::network::configuration_not_available);
525
+ } else if (resp.status() == key_value_status_code::no_access) {
526
+ auto error_msg =
527
+ fmt::format("unable to select bucket: {}, probably the bucket does not exist",
528
+ session_->bucket_name_.value_or(""));
529
+ last_bootstrap_error_ = { errc::common::bucket_not_found,
530
+ std::move(error_msg),
531
+ session_->bootstrap_hostname(),
532
+ session_->bootstrap_port() };
533
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
534
+ session_->bucket_selected_ = false;
535
+ return complete(errc::common::bucket_not_found);
536
+ } else {
537
+ auto error_msg =
538
+ fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
539
+ resp.error_message(),
540
+ resp.opaque(),
541
+ spdlog::to_hex(resp.header()));
542
+ last_bootstrap_error_ = { errc::common::bucket_not_found,
543
+ std::move(error_msg),
544
+ session_->bootstrap_hostname(),
545
+ session_->bootstrap_port() };
546
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
547
+ return complete(errc::common::bucket_not_found);
548
+ }
549
+ } break;
550
+ case protocol::client_opcode::get_cluster_config: {
551
+ protocol::cmd_info info{ session_->connection_endpoints_.remote_address,
552
+ session_->connection_endpoints_.remote.port() };
553
+ protocol::client_response<protocol::get_cluster_config_response_body> resp(
554
+ std::move(msg), info);
555
+ if (session_->origin_.options().dump_configuration) {
556
+ if (const auto& text = resp.body().config_text(); text.has_value()) {
557
+ CB_LOG_TRACE("{} configuration from get_cluster_config request (bootstrap, "
558
+ "size={}, endpoint=\"{}:{}\"), {}",
559
+ session_->log_prefix_,
560
+ text.value().size(),
561
+ info.endpoint_address,
562
+ info.endpoint_port,
563
+ text.value());
932
564
  }
933
- self->origin_.restart();
934
- self->initiate_bootstrap();
935
- });
936
- return;
937
- }
938
- std::tie(bootstrap_hostname_, bootstrap_port_) = origin_.next_address();
939
- bootstrap_port_number_ = gsl::narrow_cast<std::uint16_t>(std::stoul(bootstrap_port_, nullptr, 10));
940
- bootstrap_address_ = fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_);
941
- log_prefix_ =
942
- fmt::format("[{}/{}/{}/{}] <{}>", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"), bootstrap_address_);
943
- CB_LOG_DEBUG("{} attempt to establish MCBP connection", log_prefix_);
944
-
945
- async_resolve(origin_.options().use_ip_protocol,
946
- resolver_,
947
- bootstrap_hostname_,
948
- bootstrap_port_,
949
- std::bind(&mcbp_session_impl::on_resolve, shared_from_this(), std::placeholders::_1, std::placeholders::_2));
565
+ }
566
+ if (resp.status() == key_value_status_code::success) {
567
+ // MB-60405 fixes this for 7.6.2, but for earlier versions we need to protect
568
+ // against using a config that has an empty vbucket map. Ideally we don't timeout
569
+ // if we retry here, but a timeout would be more acceptable than a crash and if we
570
+ // do timeout, we have a clear indication of the problem (i.e. it is a server bug
571
+ // and we cannot use a config w/ an empty vbucket map).
572
+ if (const auto vbmap = resp.body().config().vbmap;
573
+ vbmap.has_value() && vbmap->empty()) {
574
+ CB_LOG_WARNING("{} received a configuration with an empty vbucket map, retrying",
575
+ session_->log_prefix_);
576
+ return complete(errc::network::configuration_not_available);
577
+ }
578
+ session_->update_configuration(resp.body().config());
579
+ complete({});
580
+ } else if (resp.status() == key_value_status_code::not_found) {
581
+ auto error_msg =
582
+ fmt::format("kv_engine node does not have configuration propagated yet "
583
+ "(opcode={}, status={}, opaque={})",
584
+ opcode,
585
+ resp.status(),
586
+ resp.opaque());
587
+ last_bootstrap_error_ = { errc::network::configuration_not_available,
588
+ std::move(error_msg),
589
+ session_->bootstrap_hostname(),
590
+ session_->bootstrap_port() };
591
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
592
+ return complete(errc::network::configuration_not_available);
593
+ } else if (resp.status() == key_value_status_code::no_bucket &&
594
+ !session_->bucket_name_) {
595
+ // bucket-less session, but the server wants bucket
596
+ session_->supports_gcccp_ = false;
597
+ CB_LOG_WARNING("{} this server does not support GCCCP, open bucket before making "
598
+ "any cluster-level command",
599
+ session_->log_prefix_);
600
+ session_->update_configuration(
601
+ topology::make_blank_configuration(session_->connection_endpoints_.remote_address,
602
+ session_->connection_endpoints_.remote.port(),
603
+ 0));
604
+ complete({});
605
+ } else {
606
+ auto error_msg =
607
+ fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
608
+ resp.error_message(),
609
+ resp.opaque(),
610
+ spdlog::to_hex(resp.header()));
611
+ last_bootstrap_error_ = { errc::network::protocol_error,
612
+ std::move(error_msg),
613
+ session_->bootstrap_hostname(),
614
+ session_->bootstrap_port() };
615
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
616
+ return complete(errc::network::protocol_error);
617
+ }
618
+ } break;
619
+ default:
620
+ auto error_msg = fmt::format("unexpected message during bootstrap: {}", opcode);
621
+ last_bootstrap_error_ = { errc::network::protocol_error,
622
+ std::move(error_msg),
623
+ session_->bootstrap_hostname(),
624
+ session_->bootstrap_port() };
625
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_bootstrap_error_.error_message);
626
+ return complete(errc::network::protocol_error);
627
+ }
628
+ break;
629
+ case protocol::magic::server_request:
630
+ Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
631
+ switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
632
+ case protocol::server_opcode::cluster_map_change_notification: {
633
+ protocol::cmd_info info{ session_->bootstrap_hostname_,
634
+ session_->bootstrap_port_number_ };
635
+ protocol::server_request<protocol::cluster_map_change_notification_request_body> req(
636
+ std::move(msg), info);
637
+ if (session_->origin_.options().dump_configuration) {
638
+ if (const auto& text = req.body().config_text(); text.has_value()) {
639
+ CB_LOG_TRACE("{} configuration from cluster_map_change_notification request "
640
+ "(size={}, endpoint=\"{}:{}\"), {}",
641
+ session_->log_prefix_,
642
+ text.value().size(),
643
+ info.endpoint_address,
644
+ info.endpoint_port,
645
+ text.value());
646
+ }
647
+ }
648
+ std::optional<topology::configuration> config = req.body().config();
649
+ if (session_ && config.has_value()) {
650
+ if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
651
+ (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
652
+ // TODO(CXXCBC-549)
653
+ // NOLINTNEXTLINE(bugprone-unchecked-optional-access)
654
+ session_->bucket_name_.value() == req.body().bucket())) {
655
+ session_->update_configuration(std::move(config.value()));
656
+ }
657
+ }
658
+ } break;
659
+ default:
660
+ CB_LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
661
+ session_->log_prefix_,
662
+ msg.header.opcode,
663
+ utils::byte_swap(msg.header.opaque),
664
+ spdlog::to_hex(msg.header_data()),
665
+ spdlog::to_hex(msg.body));
666
+ }
667
+ break;
668
+ case protocol::magic::client_request:
669
+ case protocol::magic::alt_client_request:
670
+ case protocol::magic::server_response:
671
+ CB_LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
672
+ session_->log_prefix_,
673
+ magic,
674
+ msg.header.opcode,
675
+ utils::byte_swap(msg.header.opaque),
676
+ spdlog::to_hex(msg.header_data()),
677
+ spdlog::to_hex(msg.body));
678
+ break;
679
+ }
950
680
  }
681
+ };
682
+
683
+ class message_handler : public std::enable_shared_from_this<message_handler>
684
+ {
685
+ private:
686
+ std::shared_ptr<mcbp_session_impl> session_;
687
+ std::atomic_bool stopped_{ false };
951
688
 
952
- [[nodiscard]] const std::string& id() const
689
+ public:
690
+ explicit message_handler(std::shared_ptr<mcbp_session_impl> session)
691
+ : session_(std::move(session))
953
692
  {
954
- return id_;
955
693
  }
956
694
 
957
- [[nodiscard]] bool is_stopped() const
695
+ message_handler(const message_handler&) = delete;
696
+ auto operator=(const message_handler&) -> message_handler& = delete;
697
+ message_handler(message_handler&&) = delete;
698
+ auto operator=(message_handler&&) -> message_handler& = delete;
699
+
700
+ ~message_handler()
958
701
  {
959
- return stopped_;
702
+ stop();
960
703
  }
961
704
 
962
- [[nodiscard]] bool is_bootstrapped() const
705
+ void start()
963
706
  {
964
- return bootstrapped_;
965
707
  }
966
708
 
967
- void on_stop(utils::movable_function<void()> handler)
709
+ void stop()
968
710
  {
969
- on_stop_handler_ = std::move(handler);
970
711
  }
971
712
 
972
- void stop(retry_reason reason)
713
+ void handle(mcbp_message&& msg)
973
714
  {
974
- if (stopped_) {
975
- return;
976
- }
977
- state_ = diag::endpoint_state::disconnecting;
978
- CB_LOG_DEBUG("{} stop MCBP connection, reason={}", log_prefix_, reason);
979
- stopped_ = true;
980
- bootstrap_deadline_.cancel();
981
- connection_deadline_.cancel();
982
- retry_backoff_.cancel();
983
- ping_deadline_.cancel();
984
- resolver_.cancel();
985
- stream_->close([](std::error_code) {});
986
- if (auto h = std::move(bootstrap_handler_); h) {
987
- h->stop();
988
- }
989
- if (auto h = std::move(handler_); h) {
990
- h->stop();
991
- }
992
- std::error_code ec = errc::common::request_canceled;
993
- if (!bootstrapped_) {
994
- if (auto h = std::move(bootstrap_callback_); h) {
995
- h(ec, {});
996
- }
997
- }
998
- {
999
- std::scoped_lock lock(command_handlers_mutex_);
1000
- for (auto& [opaque, handler] : command_handlers_) {
1001
- if (handler) {
1002
- CB_LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}", log_prefix_, opaque, ec.message());
1003
- auto fun = std::move(handler);
1004
- fun(ec, reason, {}, {});
715
+ if (stopped_ || !session_) {
716
+ return;
717
+ }
718
+ Expects(protocol::is_valid_magic(msg.header.magic));
719
+ switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
720
+ case protocol::magic::client_response:
721
+ case protocol::magic::alt_client_response:
722
+ Expects(protocol::is_valid_client_opcode(msg.header.opcode));
723
+ switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
724
+ case protocol::client_opcode::get_cluster_config: {
725
+ protocol::cmd_info info{ session_->bootstrap_hostname_,
726
+ session_->bootstrap_port_number_ };
727
+ protocol::client_response<protocol::get_cluster_config_response_body> resp(
728
+ std::move(msg), info);
729
+ if (session_->origin_.options().dump_configuration) {
730
+ if (const auto& text = resp.body().config_text(); text.has_value()) {
731
+ CB_LOG_TRACE("{} configuration from get_cluster_config response (size={}, "
732
+ "endpoint=\"{}:{}\"), {}",
733
+ session_->log_prefix_,
734
+ text.value().size(),
735
+ info.endpoint_address,
736
+ info.endpoint_port,
737
+ text.value());
1005
738
  }
1006
- }
1007
- command_handlers_.clear();
1008
- }
1009
- {
1010
- std::scoped_lock lock(operations_mutex_);
1011
- auto operations = std::move(operations_);
1012
- for (auto& [opaque, operation] : operations) {
1013
- auto& [request, handler] = operation;
1014
- if (handler) {
1015
- CB_LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}", log_prefix_, opaque, ec.message());
1016
- handler->handle_response(std::move(request), {}, reason, {}, {});
739
+ }
740
+ if (resp.status() == key_value_status_code::success) {
741
+ if (session_) {
742
+ session_->update_configuration(resp.body().config());
1017
743
  }
1018
- }
1019
- operations_.clear();
1020
- }
1021
- config_listeners_.clear();
1022
- state_ = diag::endpoint_state::disconnected;
1023
- if (auto on_stop = std::move(on_stop_handler_); on_stop) {
1024
- on_stop();
1025
- }
1026
- }
744
+ } else {
745
+ CB_LOG_WARNING("{} unexpected message status: {} (opaque={})",
746
+ session_->log_prefix_,
747
+ resp.error_message(),
748
+ resp.opaque());
749
+ }
750
+ } break;
751
+ case protocol::client_opcode::noop:
752
+ case protocol::client_opcode::get_collections_manifest:
753
+ case protocol::client_opcode::get_collection_id:
754
+ case protocol::client_opcode::get:
755
+ case protocol::client_opcode::get_and_lock:
756
+ case protocol::client_opcode::get_and_touch:
757
+ case protocol::client_opcode::get_meta:
758
+ case protocol::client_opcode::get_replica:
759
+ case protocol::client_opcode::touch:
760
+ case protocol::client_opcode::insert:
761
+ case protocol::client_opcode::replace:
762
+ case protocol::client_opcode::upsert:
763
+ case protocol::client_opcode::append:
764
+ case protocol::client_opcode::prepend:
765
+ case protocol::client_opcode::remove:
766
+ case protocol::client_opcode::observe_seqno:
767
+ case protocol::client_opcode::unlock:
768
+ case protocol::client_opcode::increment:
769
+ case protocol::client_opcode::range_scan_create:
770
+ case protocol::client_opcode::range_scan_continue:
771
+ case protocol::client_opcode::range_scan_cancel:
772
+ case protocol::client_opcode::decrement:
773
+ case protocol::client_opcode::subdoc_multi_lookup:
774
+ case protocol::client_opcode::subdoc_multi_mutation: {
775
+ const std::uint16_t status = utils::byte_swap(msg.header.specific);
776
+ if (status == static_cast<std::uint16_t>(key_value_status_code::not_my_vbucket)) {
777
+ session_->handle_not_my_vbucket(msg);
778
+ }
1027
779
 
1028
- void write(std::vector<std::byte>&& buf)
1029
- {
1030
- if (stopped_) {
1031
- return;
1032
- }
1033
- CB_LOG_TRACE("{} MCBP send {}", log_prefix_, mcbp_header_view(buf));
1034
- std::scoped_lock lock(output_buffer_mutex_);
1035
- output_buffer_.emplace_back(std::move(buf));
780
+ std::uint32_t opaque = utils::byte_swap(msg.header.opaque);
781
+ if (session_->handle_request(opcode, status, opaque, std::move(msg))) {
782
+ CB_LOG_TRACE("{} MCBP invoked operation handler: opcode={}, opaque={}, status={}",
783
+ session_->log_prefix_,
784
+ opcode,
785
+ opaque,
786
+ protocol::status_to_string(status));
787
+ } else {
788
+ CB_LOG_DEBUG("{} unexpected orphan response: opcode={}, opaque={}, status={}",
789
+ session_->log_prefix_,
790
+ opcode,
791
+ opaque,
792
+ protocol::status_to_string(status));
793
+ }
794
+ } break;
795
+ default:
796
+ CB_LOG_WARNING("{} unexpected client response: opcode={}, opaque={}{:a}{:a})",
797
+ session_->log_prefix_,
798
+ opcode,
799
+ msg.header.opaque,
800
+ spdlog::to_hex(msg.header_data()),
801
+ spdlog::to_hex(msg.body));
802
+ }
803
+ break;
804
+ case protocol::magic::server_request:
805
+ Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
806
+ switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
807
+ case protocol::server_opcode::cluster_map_change_notification: {
808
+ protocol::cmd_info info{ session_->bootstrap_hostname_,
809
+ session_->bootstrap_port_number_ };
810
+ protocol::server_request<protocol::cluster_map_change_notification_request_body> req(
811
+ std::move(msg), info);
812
+ if (session_->origin_.options().dump_configuration) {
813
+ if (const auto& text = req.body().config_text(); text.has_value()) {
814
+ CB_LOG_TRACE("{} configuration from cluster_map_change_notification request "
815
+ "(size={}, endpoint=\"{}:{}\"), {}",
816
+ session_->log_prefix_,
817
+ text.value().size(),
818
+ info.endpoint_address,
819
+ info.endpoint_port,
820
+ text.value());
821
+ }
822
+ }
823
+ std::optional<topology::configuration> config = req.body().config();
824
+ if (session_ && config.has_value()) {
825
+ if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
826
+ (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
827
+ // TODO(CXXCBC-549)
828
+ // NOLINTNEXTLINE(bugprone-unchecked-optional-access)
829
+ session_->bucket_name_.value() == req.body().bucket())) {
830
+ session_->update_configuration(std::move(config.value()));
831
+ }
832
+ }
833
+ } break;
834
+ default:
835
+ CB_LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
836
+ session_->log_prefix_,
837
+ msg.header.opcode,
838
+ msg.header.opaque,
839
+ spdlog::to_hex(msg.header_data()),
840
+ spdlog::to_hex(msg.body));
841
+ }
842
+ break;
843
+ case protocol::magic::client_request:
844
+ case protocol::magic::alt_client_request:
845
+ case protocol::magic::server_response:
846
+ CB_LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
847
+ session_->log_prefix_,
848
+ magic,
849
+ msg.header.opcode,
850
+ msg.header.opaque,
851
+ spdlog::to_hex(msg.header_data()),
852
+ spdlog::to_hex(msg.body));
853
+ break;
854
+ }
1036
855
  }
1037
-
1038
- void flush()
1039
- {
1040
- if (stopped_) {
1041
- return;
1042
- }
1043
- asio::post(asio::bind_executor(ctx_, [self = shared_from_this()]() { self->do_write(); }));
856
+ };
857
+
858
+ public:
859
+ mcbp_session_impl() = delete;
860
+ mcbp_session_impl(std::string_view client_id,
861
+ asio::io_context& ctx,
862
+ couchbase::core::origin origin,
863
+ std::shared_ptr<impl::bootstrap_state_listener> state_listener,
864
+ std::optional<std::string> bucket_name = {},
865
+ std::vector<protocol::hello_feature> known_features = {})
866
+ : client_id_(client_id)
867
+ , ctx_(ctx)
868
+ , resolver_(ctx_)
869
+ , stream_(std::make_unique<plain_stream_impl>(ctx_))
870
+ , bootstrap_deadline_(ctx_)
871
+ , connection_deadline_(ctx_)
872
+ , retry_backoff_(ctx_)
873
+ , ping_deadline_(ctx_)
874
+ , origin_{ std::move(origin) }
875
+ , bucket_name_{ std::move(bucket_name) }
876
+ , supported_features_{ std::move(known_features) }
877
+ , is_tls_{ false }
878
+ , state_listener_{ std::move(state_listener) }
879
+ , codec_{ { supported_features_.begin(), supported_features_.end() } }
880
+ {
881
+ log_prefix_ = fmt::format(
882
+ "[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
883
+ }
884
+
885
+ mcbp_session_impl(std::string_view client_id,
886
+ asio::io_context& ctx,
887
+ asio::ssl::context& tls,
888
+ couchbase::core::origin origin,
889
+ std::shared_ptr<impl::bootstrap_state_listener> state_listener,
890
+ std::optional<std::string> bucket_name = {},
891
+ std::vector<protocol::hello_feature> known_features = {})
892
+ : client_id_(client_id)
893
+ , ctx_(ctx)
894
+ , resolver_(ctx_)
895
+ , stream_(std::make_unique<tls_stream_impl>(ctx_, tls))
896
+ , bootstrap_deadline_(ctx_)
897
+ , connection_deadline_(ctx_)
898
+ , retry_backoff_(ctx_)
899
+ , ping_deadline_(ctx_)
900
+ , origin_(std::move(origin))
901
+ , bucket_name_(std::move(bucket_name))
902
+ , supported_features_(std::move(known_features))
903
+ , is_tls_{ true }
904
+ , state_listener_{ std::move(state_listener) }
905
+ , codec_{ { supported_features_.begin(), supported_features_.end() } }
906
+ {
907
+ log_prefix_ = fmt::format(
908
+ "[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
909
+ }
910
+
911
+ mcbp_session_impl(const mcbp_session_impl&) = delete;
912
+ auto operator=(const mcbp_session_impl&) -> mcbp_session_impl& = delete;
913
+ mcbp_session_impl(mcbp_session_impl&&) = delete;
914
+ auto operator=(mcbp_session_impl&&) -> mcbp_session_impl& = delete;
915
+
916
+ ~mcbp_session_impl() override
917
+ {
918
+ CB_LOG_DEBUG("{} destroy MCBP connection", log_prefix_);
919
+ stop(retry_reason::do_not_retry);
920
+ }
921
+
922
+ [[nodiscard]] auto log_prefix() const -> const std::string&
923
+ {
924
+ return log_prefix_;
925
+ }
926
+
927
+ auto remote_address() const -> std::string
928
+ {
929
+ return connection_endpoints_.remote_address_with_port;
930
+ }
931
+
932
+ auto local_address() const -> std::string
933
+ {
934
+ return connection_endpoints_.local_address_with_port;
935
+ }
936
+
937
+ [[nodiscard]] auto diag_info() const -> diag::endpoint_diag_info
938
+ {
939
+ return { service_type::key_value,
940
+ id_,
941
+ last_active_.time_since_epoch().count() == 0
942
+ ? std::nullopt
943
+ : std::make_optional(std::chrono::duration_cast<std::chrono::microseconds>(
944
+ std::chrono::steady_clock::now() - last_active_)),
945
+ remote_address(),
946
+ local_address(),
947
+ state_,
948
+ bucket_name_ };
949
+ }
950
+
951
+ void ping(const std::shared_ptr<diag::ping_reporter>& handler,
952
+ std::optional<std::chrono::milliseconds> timeout)
953
+ {
954
+ if (!bootstrapped_) {
955
+ handler->report({
956
+ service_type::key_value,
957
+ id_,
958
+ std::chrono::microseconds(0),
959
+ remote_address(),
960
+ local_address(),
961
+ diag::ping_state::error,
962
+ bucket_name_,
963
+ last_bootstrap_error_.has_value() ? last_bootstrap_error_.value().error_message
964
+ : "Bootstrap incomplete, cannot perform ping.",
965
+ });
966
+ return;
1044
967
  }
1045
-
1046
- void write_and_flush(std::vector<std::byte>&& buf)
1047
- {
1048
- if (stopped_) {
968
+ protocol::client_request<protocol::mcbp_noop_request_body> req;
969
+ req.opaque(next_opaque());
970
+ write_and_subscribe(
971
+ req.opaque(),
972
+ req.data(false),
973
+ [start = std::chrono::steady_clock::now(), self = shared_from_this(), handler](
974
+ std::error_code ec,
975
+ retry_reason reason,
976
+ io::mcbp_message&& /* msg */,
977
+ const std::optional<key_value_error_map_info>& /* error_info */) {
978
+ diag::ping_state state = diag::ping_state::ok;
979
+ std::optional<std::string> error{};
980
+ if (ec) {
981
+ if (ec == errc::common::unambiguous_timeout || ec == errc::common::ambiguous_timeout) {
982
+ state = diag::ping_state::timeout;
983
+ } else {
984
+ state = diag::ping_state::error;
985
+ }
986
+ error.emplace(
987
+ fmt::format("code={}, message={}, reason={}", ec.value(), ec.message(), reason));
988
+ }
989
+ handler->report({
990
+ service_type::key_value,
991
+ self->id_,
992
+ std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() -
993
+ start),
994
+ self->remote_address(),
995
+ self->local_address(),
996
+ state,
997
+ self->bucket_name_,
998
+ error,
999
+ });
1000
+ });
1001
+ ping_deadline_.expires_after(timeout.value_or(origin_.options().key_value_timeout));
1002
+ ping_deadline_.async_wait(
1003
+ [self = this->shared_from_this(), opaque = req.opaque()](std::error_code ec) {
1004
+ if (ec == asio::error::operation_aborted) {
1005
+ return;
1006
+ }
1007
+ static_cast<void>(
1008
+ self->cancel(opaque, errc::common::unambiguous_timeout, retry_reason::do_not_retry));
1009
+ });
1010
+ }
1011
+
1012
+ [[nodiscard]] auto context() const -> mcbp_context
1013
+ {
1014
+ return { config_, supported_features_ };
1015
+ }
1016
+
1017
+ void bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& callback,
1018
+ bool retry_on_bucket_not_found = false)
1019
+ {
1020
+ retry_bootstrap_on_bucket_not_found_ = retry_on_bucket_not_found;
1021
+ bootstrap_callback_ = std::move(callback);
1022
+ bootstrap_deadline_.expires_after(origin_.options().bootstrap_timeout);
1023
+ bootstrap_deadline_.async_wait([self = shared_from_this()](std::error_code ec) {
1024
+ if (ec == asio::error::operation_aborted || self->stopped_) {
1025
+ return;
1026
+ }
1027
+ if (self->state_listener_) {
1028
+ self->state_listener_->report_bootstrap_error(
1029
+ fmt::format("{}:{}", self->bootstrap_hostname_, self->bootstrap_port_), ec);
1030
+ }
1031
+ #ifdef COUCHBASE_CXX_CLIENT_COLUMNAR
1032
+ // an existing background bootstrap listener means we want to infinitely
1033
+ // attempt to connect.
1034
+ if (self->background_bootstrap_listener_) {
1035
+ if (self->last_bootstrap_error_.has_value()) {
1036
+ self->background_bootstrap_listener_->notify_bootstrap_error(
1037
+ self->last_bootstrap_error_.value());
1038
+ } else {
1039
+ self->background_bootstrap_listener_->notify_bootstrap_error(
1040
+ { make_error_code(errc::common::unambiguous_timeout),
1041
+ "Unable to connect in time.",
1042
+ self->bootstrap_hostname_,
1043
+ self->bootstrap_port_ });
1044
+ }
1045
+ auto backoff = std::chrono::milliseconds(500);
1046
+ CB_LOG_DEBUG("{} unable to connect in time, waiting for {}ms before retry",
1047
+ self->log_prefix_,
1048
+ backoff.count());
1049
+ self->retry_backoff_.expires_after(backoff);
1050
+ self->retry_backoff_.async_wait([self](std::error_code ec) mutable {
1051
+ if (ec == asio::error::operation_aborted || self->stopped_) {
1049
1052
  return;
1053
+ }
1054
+ self->origin_.restart();
1055
+ self->initiate_bootstrap();
1056
+ });
1057
+ } else {
1058
+ if (!ec) {
1059
+ ec = errc::common::unambiguous_timeout;
1050
1060
  }
1051
- write(std::move(buf));
1052
- flush();
1053
- }
1054
-
1055
- void remove_request(std::shared_ptr<mcbp::queue_request> request) override
1056
- {
1057
- std::scoped_lock lock(operations_mutex_);
1058
- if (auto iter = operations_.find(request->opaque_); iter != operations_.end()) {
1059
- operations_.erase(iter);
1061
+ CB_LOG_WARNING("{} unable to bootstrap in time", self->log_prefix_);
1062
+ if (auto h = std::move(self->bootstrap_callback_); h) {
1063
+ h(ec, {});
1060
1064
  }
1065
+ self->stop(retry_reason::do_not_retry);
1066
+ }
1067
+ #else
1068
+ if (!ec) {
1069
+ ec = errc::common::unambiguous_timeout;
1070
+ }
1071
+ CB_LOG_WARNING("{} unable to bootstrap in time", self->log_prefix_);
1072
+ if (auto h = std::move(self->bootstrap_callback_); h) {
1073
+ h(ec, {});
1074
+ }
1075
+ self->stop(retry_reason::do_not_retry);
1076
+ #endif
1077
+ });
1078
+ initiate_bootstrap();
1079
+ }
1080
+
1081
+ void initiate_bootstrap()
1082
+ {
1083
+ if (stopped_) {
1084
+ return;
1061
1085
  }
1062
-
1063
- void enqueue_request(std::uint32_t opaque, std::shared_ptr<mcbp::queue_request> request, std::shared_ptr<response_handler> handler)
1064
- {
1065
- std::scoped_lock lock(operations_mutex_);
1066
- request->waiting_in_ = this;
1067
- operations_.try_emplace(opaque, std::move(request), std::move(handler));
1086
+ bootstrapped_ = false;
1087
+ if (bootstrap_handler_) {
1088
+ last_bootstrap_error_ = std::move(bootstrap_handler_)->last_bootstrap_error();
1068
1089
  }
1069
-
1070
- auto handle_request(protocol::client_opcode opcode, std::uint16_t status, std::uint32_t opaque, mcbp_message&& msg) -> bool
1071
- {
1072
- // handle request old style
1073
- command_handler fun{};
1074
- {
1075
- std::scoped_lock lock(command_handlers_mutex_);
1076
- if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end() && handler->second) {
1077
- fun = std::move(handler->second);
1078
- command_handlers_.erase(handler);
1079
- }
1080
- }
1081
-
1082
- auto reason = status == static_cast<std::uint16_t>(key_value_status_code::not_my_vbucket) ? retry_reason::key_value_not_my_vbucket
1083
- : retry_reason::do_not_retry;
1084
- if (fun) {
1085
- fun(protocol::map_status_code(opcode, status), reason, std::move(msg), decode_error_code(status));
1086
- return true;
1087
- }
1088
-
1089
- // handle request new style
1090
- std::shared_ptr<mcbp::queue_request> request{};
1091
- std::shared_ptr<response_handler> handler{};
1092
- std::scoped_lock lock(operations_mutex_);
1093
- {
1094
- if (auto pair = operations_.find(opaque); pair != operations_.end() && pair->second.first) {
1095
- request = pair->second.first;
1096
- handler = pair->second.second;
1097
- if (!request->persistent_) {
1098
- operations_.erase(pair);
1099
- }
1100
- }
1101
- }
1102
- if (request) {
1103
- handler->handle_response(
1104
- std::move(request), protocol::map_status_code(opcode, status), reason, std::move(msg), decode_error_code(status));
1105
- return true;
1106
- }
1107
- return false;
1090
+ bootstrap_handler_ = nullptr;
1091
+ state_ = diag::endpoint_state::connecting;
1092
+ if (stream_->is_open()) {
1093
+ std::string old_id = stream_->id();
1094
+ stream_->reopen();
1095
+ CB_LOG_TRACE(R"({} reopen socket connection "{}" -> "{}", host="{}", port={})",
1096
+ log_prefix_,
1097
+ old_id,
1098
+ stream_->id(),
1099
+ bootstrap_hostname_,
1100
+ bootstrap_port_);
1108
1101
  }
1109
-
1110
- void write_and_subscribe(std::shared_ptr<mcbp::queue_request> request, std::shared_ptr<response_handler> handler)
1111
- {
1112
- auto opaque = request->opaque_;
1113
- auto data = codec_.encode_packet(*request);
1114
- if (!data) {
1115
- CB_LOG_DEBUG("unable to encode packet. opaque={}, ec={}", opaque, data.error().message());
1116
- request->try_callback({}, data.error());
1117
- return;
1118
- }
1119
-
1120
- if (stopped_) {
1121
- CB_LOG_WARNING("cancel operation while trying to write to closed mcbp session, opaque={}", opaque);
1122
- handler->handle_response(request, errc::common::request_canceled, retry_reason::socket_closed_while_in_flight, {}, {});
1123
- return;
1124
- }
1125
- enqueue_request(opaque, std::move(request), std::move(handler));
1126
- if (bootstrapped_ && stream_->is_open()) {
1127
- write_and_flush(std::move(data.value()));
1102
+ if (origin_.exhausted()) {
1103
+ #ifdef COUCHBASE_CXX_CLIENT_COLUMNAR
1104
+ if (background_bootstrap_listener_) {
1105
+ if (last_bootstrap_error_.has_value()) {
1106
+ background_bootstrap_listener_->notify_bootstrap_error(last_bootstrap_error_.value());
1128
1107
  } else {
1129
- CB_LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}", log_prefix_, opaque);
1130
- std::scoped_lock lock(pending_buffer_mutex_);
1131
- if (bootstrapped_ && stream_->is_open()) {
1132
- write_and_flush(std::move(data.value()));
1133
- } else {
1134
- pending_buffer_.emplace_back(data.value());
1135
- }
1108
+ background_bootstrap_listener_->notify_bootstrap_error(
1109
+ { errc::network::no_endpoints_left,
1110
+ "Reached end of list of bootstrap nodes.",
1111
+ bootstrap_hostname_,
1112
+ bootstrap_port_ });
1136
1113
  }
1114
+ }
1115
+ #endif
1116
+ auto backoff = std::chrono::milliseconds(500);
1117
+ CB_LOG_DEBUG("{} reached the end of list of bootstrap nodes, waiting for {}ms before restart",
1118
+ log_prefix_,
1119
+ backoff.count());
1120
+ retry_backoff_.expires_after(backoff);
1121
+ retry_backoff_.async_wait([self = shared_from_this()](std::error_code ec) mutable {
1122
+ if (ec == asio::error::operation_aborted || self->stopped_) {
1123
+ return;
1124
+ }
1125
+ self->origin_.restart();
1126
+ self->initiate_bootstrap();
1127
+ });
1128
+ return;
1137
1129
  }
1138
-
1139
- void write_and_subscribe(std::uint32_t opaque, std::vector<std::byte>&& data, command_handler&& handler)
1140
- {
1141
- if (stopped_) {
1142
- CB_LOG_WARNING("{} MCBP cancel operation, while trying to write to closed session, opaque={}", log_prefix_, opaque);
1143
- handler(errc::common::request_canceled, retry_reason::socket_closed_while_in_flight, {}, {});
1144
- return;
1145
- }
1146
- {
1147
- std::scoped_lock lock(command_handlers_mutex_);
1148
- command_handlers_.try_emplace(opaque, std::move(handler));
1149
- }
1150
- if (bootstrapped_ && stream_->is_open()) {
1151
- write_and_flush(std::move(data));
1152
- } else {
1153
- CB_LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}", log_prefix_, opaque);
1154
- std::scoped_lock lock(pending_buffer_mutex_);
1155
- if (bootstrapped_ && stream_->is_open()) {
1156
- write_and_flush(std::move(data));
1157
- } else {
1158
- pending_buffer_.emplace_back(data);
1159
- }
1160
- }
1130
+ std::tie(bootstrap_hostname_, bootstrap_port_) = origin_.next_address();
1131
+ bootstrap_port_number_ =
1132
+ gsl::narrow_cast<std::uint16_t>(std::stoul(bootstrap_port_, nullptr, 10));
1133
+ bootstrap_address_ = fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_);
1134
+ log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}>",
1135
+ client_id_,
1136
+ id_,
1137
+ stream_->log_prefix(),
1138
+ bucket_name_.value_or("-"),
1139
+ bootstrap_address_);
1140
+ CB_LOG_DEBUG("{} attempt to establish MCBP connection", log_prefix_);
1141
+
1142
+ async_resolve(origin_.options().use_ip_protocol,
1143
+ resolver_,
1144
+ bootstrap_hostname_,
1145
+ bootstrap_port_,
1146
+ [capture0 = shared_from_this()](auto&& PH1, auto&& PH2) {
1147
+ capture0->on_resolve(std::forward<decltype(PH1)>(PH1),
1148
+ std::forward<decltype(PH2)>(PH2));
1149
+ });
1150
+ }
1151
+
1152
+ [[nodiscard]] auto id() const -> const std::string&
1153
+ {
1154
+ return id_;
1155
+ }
1156
+
1157
+ [[nodiscard]] auto is_stopped() const -> bool
1158
+ {
1159
+ return stopped_;
1160
+ }
1161
+
1162
+ [[nodiscard]] auto is_bootstrapped() const -> bool
1163
+ {
1164
+ return bootstrapped_;
1165
+ }
1166
+
1167
+ void on_stop(utils::movable_function<void()> handler)
1168
+ {
1169
+ on_stop_handler_ = std::move(handler);
1170
+ }
1171
+
1172
+ void stop(retry_reason reason)
1173
+ {
1174
+ if (stopped_) {
1175
+ return;
1161
1176
  }
1162
-
1163
- [[nodiscard]] bool cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason)
1164
- {
1165
- if (stopped_) {
1166
- return false;
1167
- }
1168
- command_handlers_mutex_.lock();
1169
- if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end()) {
1170
- CB_LOG_DEBUG("{} MCBP cancel operation, opaque={}, ec={} ({})", log_prefix_, opaque, ec.value(), ec.message());
1171
- if (handler->second) {
1172
- auto fun = std::move(handler->second);
1173
- command_handlers_.erase(handler);
1174
- command_handlers_mutex_.unlock();
1175
- fun(ec, reason, {}, {});
1176
- return true;
1177
- }
1178
- }
1179
- command_handlers_mutex_.unlock();
1180
- return false;
1177
+ state_ = diag::endpoint_state::disconnecting;
1178
+ CB_LOG_DEBUG("{} stop MCBP connection, reason={}", log_prefix_, reason);
1179
+ stopped_ = true;
1180
+ bootstrap_deadline_.cancel();
1181
+ connection_deadline_.cancel();
1182
+ retry_backoff_.cancel();
1183
+ ping_deadline_.cancel();
1184
+ resolver_.cancel();
1185
+ stream_->close([](std::error_code) {
1186
+ });
1187
+ if (auto h = std::move(bootstrap_handler_); h) {
1188
+ h->stop();
1181
1189
  }
1182
-
1183
- [[nodiscard]] bool supports_feature(protocol::hello_feature feature)
1184
- {
1185
- return std::find(supported_features_.begin(), supported_features_.end(), feature) != supported_features_.end();
1190
+ if (auto h = std::move(handler_); h) {
1191
+ h->stop();
1186
1192
  }
1187
-
1188
- [[nodiscard]] std::vector<protocol::hello_feature> supported_features() const
1189
- {
1190
- return supported_features_;
1193
+ const std::error_code ec = errc::common::request_canceled;
1194
+ if (!bootstrapped_) {
1195
+ if (auto h = std::move(bootstrap_callback_); h) {
1196
+ h(ec, {});
1197
+ }
1191
1198
  }
1192
-
1193
- [[nodiscard]] bool supports_gcccp() const
1194
1199
  {
1195
- return supports_gcccp_;
1200
+ const std::scoped_lock lock(command_handlers_mutex_);
1201
+ for (auto& [opaque, handler] : command_handlers_) {
1202
+ if (handler) {
1203
+ CB_LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}",
1204
+ log_prefix_,
1205
+ opaque,
1206
+ ec.message());
1207
+ auto fun = std::move(handler);
1208
+ fun(ec, reason, {}, {});
1209
+ }
1210
+ }
1211
+ command_handlers_.clear();
1196
1212
  }
1197
-
1198
- std::optional<topology::configuration> config() const
1199
1213
  {
1200
- return config_;
1214
+ const std::scoped_lock lock(operations_mutex_);
1215
+ auto operations = std::move(operations_);
1216
+ for (auto& [opaque, operation] : operations) {
1217
+ auto& [request, handler] = operation;
1218
+ if (handler) {
1219
+ CB_LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}",
1220
+ log_prefix_,
1221
+ opaque,
1222
+ ec.message());
1223
+ handler->handle_response(std::move(request), {}, reason, {}, {});
1224
+ }
1225
+ }
1226
+ operations_.clear();
1201
1227
  }
1202
-
1203
- [[nodiscard]] bool has_config() const
1204
- {
1205
- return configured_;
1228
+ config_listeners_.clear();
1229
+ state_ = diag::endpoint_state::disconnected;
1230
+ if (auto on_stop = std::move(on_stop_handler_); on_stop) {
1231
+ on_stop();
1206
1232
  }
1207
-
1208
- [[nodiscard]] topology::configuration config()
1209
- {
1210
- std::scoped_lock lock(config_mutex_);
1211
- return config_.value();
1233
+ #ifdef COUCHBASE_CXX_CLIENT_COLUMNAR
1234
+ if (background_bootstrap_listener_) {
1235
+ background_bootstrap_listener_ = nullptr;
1212
1236
  }
1237
+ #endif
1238
+ }
1213
1239
 
1214
- [[nodiscard]] std::size_t index() const
1215
- {
1216
- std::scoped_lock lock(config_mutex_);
1217
- Expects(config_.has_value());
1218
- return config_->index_for_this_node();
1240
+ void write(std::vector<std::byte>&& buf)
1241
+ {
1242
+ if (stopped_) {
1243
+ return;
1219
1244
  }
1220
-
1221
- [[nodiscard]] const std::string& bootstrap_address() const
1222
- {
1223
- return bootstrap_address_;
1245
+ CB_LOG_TRACE("{} MCBP send {}", log_prefix_, mcbp_header_view(buf));
1246
+ const std::scoped_lock lock(output_buffer_mutex_);
1247
+ output_buffer_.emplace_back(std::move(buf));
1248
+ }
1249
+
1250
+ void flush()
1251
+ {
1252
+ if (stopped_) {
1253
+ return;
1224
1254
  }
1225
-
1226
- [[nodiscard]] const std::string& bootstrap_hostname() const
1227
- {
1228
- return bootstrap_hostname_;
1255
+ asio::post(asio::bind_executor(ctx_, [self = shared_from_this()]() {
1256
+ self->do_write();
1257
+ }));
1258
+ }
1259
+
1260
+ void write_and_flush(std::vector<std::byte>&& buf)
1261
+ {
1262
+ if (stopped_) {
1263
+ return;
1229
1264
  }
1230
-
1231
- [[nodiscard]] const std::string& bootstrap_port() const
1232
- {
1233
- return bootstrap_port_;
1265
+ write(std::move(buf));
1266
+ flush();
1267
+ }
1268
+
1269
+ void remove_request(std::shared_ptr<mcbp::queue_request> request) override
1270
+ {
1271
+ const std::scoped_lock lock(operations_mutex_);
1272
+ if (auto iter = operations_.find(request->opaque_); iter != operations_.end()) {
1273
+ operations_.erase(iter);
1234
1274
  }
1235
-
1236
- [[nodiscard]] std::uint16_t bootstrap_port_number() const
1275
+ }
1276
+
1277
+ void enqueue_request(std::uint32_t opaque,
1278
+ const std::shared_ptr<mcbp::queue_request>& request,
1279
+ const std::shared_ptr<response_handler>& handler)
1280
+ {
1281
+ const std::scoped_lock lock(operations_mutex_);
1282
+ request->waiting_in_ = this;
1283
+ operations_.try_emplace(opaque, request, handler);
1284
+ }
1285
+
1286
+ auto handle_request(protocol::client_opcode opcode,
1287
+ std::uint16_t status,
1288
+ std::uint32_t opaque,
1289
+ mcbp_message&& msg) -> bool
1290
+ {
1291
+ // handle request old style
1292
+ command_handler fun{};
1237
1293
  {
1238
- return bootstrap_port_number_;
1294
+ const std::scoped_lock lock(command_handlers_mutex_);
1295
+ if (auto handler = command_handlers_.find(opaque);
1296
+ handler != command_handlers_.end() && handler->second) {
1297
+ fun = std::move(handler->second);
1298
+ command_handlers_.erase(handler);
1299
+ }
1239
1300
  }
1240
1301
 
1241
- [[nodiscard]] std::uint32_t next_opaque()
1242
- {
1243
- return ++opaque_;
1302
+ auto reason = status == static_cast<std::uint16_t>(key_value_status_code::not_my_vbucket)
1303
+ ? retry_reason::key_value_not_my_vbucket
1304
+ : retry_reason::do_not_retry;
1305
+ if (fun) {
1306
+ fun(protocol::map_status_code(opcode, status),
1307
+ reason,
1308
+ std::move(msg),
1309
+ decode_error_code(status));
1310
+ return true;
1244
1311
  }
1245
1312
 
1246
- std::optional<key_value_error_map_info> decode_error_code(std::uint16_t code)
1313
+ // handle request new style
1314
+ std::shared_ptr<mcbp::queue_request> request{};
1315
+ std::shared_ptr<response_handler> handler{};
1247
1316
  {
1248
- if (error_map_) {
1249
- auto info = error_map_->errors.find(code);
1250
- if (info != error_map_->errors.end()) {
1251
- return info->second;
1252
- }
1253
- }
1254
- return {};
1317
+ const std::scoped_lock lock(operations_mutex_);
1318
+ if (auto pair = operations_.find(opaque); pair != operations_.end() && pair->second.first) {
1319
+ request = pair->second.first;
1320
+ handler = pair->second.second;
1321
+ if (!request->persistent_) {
1322
+ operations_.erase(pair);
1323
+ }
1324
+ }
1255
1325
  }
1256
-
1257
- void on_configuration_update(std::shared_ptr<config_listener> handler)
1258
- {
1259
- config_listeners_.emplace_back(std::move(handler));
1326
+ if (request) {
1327
+ handler->handle_response(std::move(request),
1328
+ protocol::map_status_code(opcode, status),
1329
+ reason,
1330
+ std::move(msg),
1331
+ decode_error_code(status));
1332
+ return true;
1260
1333
  }
1261
-
1262
- void update_configuration(topology::configuration&& config)
1263
- {
1264
- if (stopped_) {
1265
- return;
1266
- }
1267
- std::scoped_lock lock(config_mutex_);
1268
- // MB-60405 fixes this for 7.6.2, but for earlier versions we need to protect against using a
1269
- // config that has an empty vbucket map. We should be okay to ignore at this point b/c we should
1270
- // already have a config w/ a non-empty vbucket map (bootstrap will not complete successfully
1271
- // unless we have a config w/ a non-empty vbucket map).
1272
- if (config.vbmap && config.vbmap->size() == 0) {
1273
- CB_LOG_DEBUG("{} received a configuration with an empty vbucket map, ignoring", log_prefix_);
1274
- return;
1275
- }
1276
- if (config_) {
1277
- if (config_->vbmap && config.vbmap && config_->vbmap->size() != config.vbmap->size()) {
1278
- CB_LOG_DEBUG("{} received a configuration with a different number of vbuckets, ignoring", log_prefix_);
1279
- return;
1280
- }
1281
- if (config == config_) {
1282
- CB_LOG_TRACE("{} received a configuration with identical revision (new={}, old={}), ignoring",
1283
- log_prefix_,
1284
- config.rev_str(),
1285
- config_->rev_str());
1286
- return;
1287
- }
1288
- if (config < config_) {
1289
- CB_LOG_DEBUG("{} received a configuration with older revision (new={}, old={}), ignoring",
1290
- log_prefix_,
1291
- config.rev_str(),
1292
- config_->rev_str());
1293
- return;
1294
- }
1295
- }
1296
- bool this_node_found = false;
1297
- for (auto& node : config.nodes) {
1298
- if (node.hostname.empty()) {
1299
- node.hostname = bootstrap_hostname_;
1300
- }
1301
- if (node.this_node) {
1302
- this_node_found = true;
1303
- }
1304
- }
1305
- if (!this_node_found) {
1306
- for (auto& node : config.nodes) {
1307
- if (node.hostname == bootstrap_hostname_) {
1308
- if ((node.services_plain.key_value && std::to_string(node.services_plain.key_value.value()) == bootstrap_port_) ||
1309
- (node.services_tls.key_value && std::to_string(node.services_tls.key_value.value()) == bootstrap_port_)) {
1310
- node.this_node = true;
1311
- }
1312
- }
1313
- }
1314
- }
1315
- config_.reset();
1316
- config_.emplace(std::move(config));
1317
- configured_ = true;
1318
- for (const auto& listener : config_listeners_) {
1319
- asio::post(
1320
- asio::bind_executor(ctx_, [listener, c = config_.value()]() mutable { return listener->update_config(std::move(c)); }));
1321
- }
1334
+ return false;
1335
+ }
1336
+
1337
+ void write_and_subscribe(const std::shared_ptr<mcbp::queue_request>& request,
1338
+ const std::shared_ptr<response_handler>& handler)
1339
+ {
1340
+ auto opaque = request->opaque_;
1341
+ auto data = codec_.encode_packet(*request);
1342
+ if (!data) {
1343
+ CB_LOG_DEBUG("unable to encode packet. opaque={}, ec={}", opaque, data.error().message());
1344
+ request->try_callback({}, data.error());
1345
+ return;
1322
1346
  }
1323
1347
 
1324
- void handle_not_my_vbucket(const io::mcbp_message& msg)
1348
+ if (stopped_) {
1349
+ CB_LOG_WARNING("cancel operation while trying to write to closed mcbp session, opaque={}",
1350
+ opaque);
1351
+ handler->handle_response(request,
1352
+ errc::common::request_canceled,
1353
+ retry_reason::socket_closed_while_in_flight,
1354
+ {},
1355
+ {});
1356
+ return;
1357
+ }
1358
+ enqueue_request(opaque, request, handler);
1359
+ if (bootstrapped_ && stream_->is_open()) {
1360
+ write_and_flush(std::move(data.value()));
1361
+ } else {
1362
+ CB_LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}",
1363
+ log_prefix_,
1364
+ opaque);
1365
+ const std::scoped_lock lock(pending_buffer_mutex_);
1366
+ if (bootstrapped_ && stream_->is_open()) {
1367
+ write_and_flush(std::move(data.value()));
1368
+ } else {
1369
+ pending_buffer_.emplace_back(data.value());
1370
+ }
1371
+ }
1372
+ }
1373
+
1374
+ void write_and_subscribe(std::uint32_t opaque,
1375
+ std::vector<std::byte>&& data,
1376
+ command_handler&& handler)
1377
+ {
1378
+ if (stopped_) {
1379
+ CB_LOG_WARNING("{} MCBP cancel operation, while trying to write to closed session, opaque={}",
1380
+ log_prefix_,
1381
+ opaque);
1382
+ handler(errc::common::request_canceled, retry_reason::socket_closed_while_in_flight, {}, {});
1383
+ return;
1384
+ }
1325
1385
  {
1326
- if (stopped_) {
1327
- return;
1328
- }
1329
- Expects(msg.header.magic == static_cast<std::uint8_t>(protocol::magic::alt_client_response) ||
1330
- msg.header.magic == static_cast<std::uint8_t>(protocol::magic::client_response));
1331
- if (protocol::has_json_datatype(msg.header.datatype)) {
1332
- auto magic = static_cast<protocol::magic>(msg.header.magic);
1333
- std::uint8_t extras_size = msg.header.extlen;
1334
- std::uint8_t framing_extras_size = 0;
1335
- std::uint16_t key_size = utils::byte_swap(msg.header.keylen);
1336
- if (magic == protocol::magic::alt_client_response) {
1337
- framing_extras_size = static_cast<std::uint8_t>(msg.header.keylen >> 8U);
1338
- key_size = msg.header.keylen & 0xffU;
1339
- }
1386
+ const std::scoped_lock lock(command_handlers_mutex_);
1387
+ command_handlers_.try_emplace(opaque, std::move(handler));
1388
+ }
1389
+ if (bootstrapped_ && stream_->is_open()) {
1390
+ write_and_flush(std::move(data));
1391
+ } else {
1392
+ CB_LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}",
1393
+ log_prefix_,
1394
+ opaque);
1395
+ const std::scoped_lock lock(pending_buffer_mutex_);
1396
+ if (bootstrapped_ && stream_->is_open()) {
1397
+ write_and_flush(std::move(data));
1398
+ } else {
1399
+ pending_buffer_.emplace_back(data);
1400
+ }
1401
+ }
1402
+ }
1340
1403
 
1341
- std::vector<std::uint8_t>::difference_type offset = framing_extras_size + key_size + extras_size;
1342
- if (utils::byte_swap(msg.header.bodylen) - offset > 0) {
1343
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()) + offset,
1344
- msg.body.size() - static_cast<std::size_t>(offset) };
1345
- if (origin_.options().dump_configuration) {
1346
- CB_LOG_TRACE("{} configuration from not_my_vbucket response (size={}, endpoint=\"{}:{}\"), {}",
1347
- log_prefix_,
1348
- config_text.size(),
1349
- bootstrap_hostname_,
1350
- bootstrap_port_number_,
1351
- config_text);
1352
- }
1353
- auto config = protocol::parse_config(config_text, bootstrap_hostname_, bootstrap_port_number_);
1354
- CB_LOG_DEBUG("{} received not_my_vbucket status for {}, opaque={} with config rev={} in the payload",
1355
- log_prefix_,
1356
- protocol::client_opcode(msg.header.opcode),
1357
- utils::byte_swap(msg.header.opaque),
1358
- config.rev_str());
1359
- update_configuration(std::move(config));
1360
- }
1361
- }
1404
+ [[nodiscard]] auto cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason) -> bool
1405
+ {
1406
+ if (stopped_) {
1407
+ return false;
1408
+ }
1409
+ command_handlers_mutex_.lock();
1410
+ if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end()) {
1411
+ CB_LOG_DEBUG("{} MCBP cancel operation, opaque={}, ec={} ({})",
1412
+ log_prefix_,
1413
+ opaque,
1414
+ ec.value(),
1415
+ ec.message());
1416
+ if (handler->second) {
1417
+ auto fun = std::move(handler->second);
1418
+ command_handlers_.erase(handler);
1419
+ command_handlers_mutex_.unlock();
1420
+ fun(ec, reason, {}, {});
1421
+ return true;
1422
+ }
1423
+ }
1424
+ command_handlers_mutex_.unlock();
1425
+ return false;
1426
+ }
1427
+
1428
+ [[nodiscard]] auto supports_feature(protocol::hello_feature feature) -> bool
1429
+ {
1430
+ return std::find(supported_features_.begin(), supported_features_.end(), feature) !=
1431
+ supported_features_.end();
1432
+ }
1433
+
1434
+ [[nodiscard]] auto supported_features() const -> std::vector<protocol::hello_feature>
1435
+ {
1436
+ return supported_features_;
1437
+ }
1438
+
1439
+ [[nodiscard]] auto supports_gcccp() const -> bool
1440
+ {
1441
+ return supports_gcccp_;
1442
+ }
1443
+
1444
+ auto config() const -> std::optional<topology::configuration>
1445
+ {
1446
+ return config_;
1447
+ }
1448
+
1449
+ [[nodiscard]] auto has_config() const -> bool
1450
+ {
1451
+ return configured_;
1452
+ }
1453
+
1454
+ [[nodiscard]] auto config() -> topology::configuration
1455
+ {
1456
+ const std::scoped_lock lock(config_mutex_);
1457
+ if (config_) {
1458
+ return config_.value();
1459
+ }
1460
+ return {};
1461
+ }
1462
+
1463
+ [[nodiscard]] auto index() const -> std::size_t
1464
+ {
1465
+ const std::scoped_lock lock(config_mutex_);
1466
+ Expects(config_.has_value());
1467
+ return config_->index_for_this_node();
1468
+ }
1469
+
1470
+ [[nodiscard]] auto bootstrap_address() const -> const std::string&
1471
+ {
1472
+ return bootstrap_address_;
1473
+ }
1474
+
1475
+ [[nodiscard]] auto bootstrap_hostname() const -> const std::string&
1476
+ {
1477
+ return bootstrap_hostname_;
1478
+ }
1479
+
1480
+ [[nodiscard]] auto bootstrap_port() const -> const std::string&
1481
+ {
1482
+ return bootstrap_port_;
1483
+ }
1484
+
1485
+ [[nodiscard]] auto bootstrap_port_number() const -> std::uint16_t
1486
+ {
1487
+ return bootstrap_port_number_;
1488
+ }
1489
+
1490
+ [[nodiscard]] auto next_opaque() -> std::uint32_t
1491
+ {
1492
+ return ++opaque_;
1493
+ }
1494
+
1495
+ [[nodiscard]] auto last_bootstrap_error() && -> std::optional<impl::bootstrap_error>
1496
+ {
1497
+ return std::move(last_bootstrap_error_);
1498
+ }
1499
+
1500
+ [[nodiscard]] auto last_bootstrap_error() const& -> const std::optional<impl::bootstrap_error>&
1501
+ {
1502
+ return last_bootstrap_error_;
1503
+ }
1504
+
1505
+ auto decode_error_code(std::uint16_t code) -> std::optional<key_value_error_map_info>
1506
+ {
1507
+ if (error_map_) {
1508
+ auto info = error_map_->errors.find(code);
1509
+ if (info != error_map_->errors.end()) {
1510
+ return info->second;
1511
+ }
1512
+ }
1513
+ return {};
1514
+ }
1515
+
1516
+ void on_configuration_update(std::shared_ptr<config_listener> handler)
1517
+ {
1518
+ config_listeners_.emplace_back(std::move(handler));
1519
+ }
1520
+
1521
+ void update_configuration(topology::configuration config)
1522
+ {
1523
+ if (stopped_) {
1524
+ return;
1525
+ }
1526
+ const std::scoped_lock lock(config_mutex_);
1527
+ // MB-60405 fixes this for 7.6.2, but for earlier versions we need to protect against using a
1528
+ // config that has an empty vbucket map. We should be okay to ignore at this point b/c we
1529
+ // should already have a config w/ a non-empty vbucket map (bootstrap will not complete
1530
+ // successfully unless we have a config w/ a non-empty vbucket map).
1531
+ if (config.vbmap && config.vbmap->empty()) {
1532
+ CB_LOG_DEBUG("{} received a configuration with an empty vbucket map, ignoring", log_prefix_);
1533
+ return;
1534
+ }
1535
+ if (config_) {
1536
+ if (config_->vbmap && config.vbmap && config_->vbmap->size() != config.vbmap->size()) {
1537
+ CB_LOG_DEBUG("{} received a configuration with a different number of vbuckets, ignoring",
1538
+ log_prefix_);
1539
+ return;
1540
+ }
1541
+ if (config == config_) {
1542
+ CB_LOG_TRACE(
1543
+ "{} received a configuration with identical revision (new={}, old={}), ignoring",
1544
+ log_prefix_,
1545
+ config.rev_str(),
1546
+ config_->rev_str());
1547
+ return;
1548
+ }
1549
+ if (config < config_) {
1550
+ CB_LOG_DEBUG("{} received a configuration with older revision (new={}, old={}), ignoring",
1551
+ log_prefix_,
1552
+ config.rev_str(),
1553
+ config_->rev_str());
1554
+ return;
1555
+ }
1556
+ }
1557
+ bool this_node_found = false;
1558
+ for (auto& node : config.nodes) {
1559
+ if (node.hostname.empty()) {
1560
+ node.hostname = bootstrap_hostname_;
1561
+ }
1562
+ if (node.this_node) {
1563
+ this_node_found = true;
1564
+ }
1565
+ }
1566
+ if (!this_node_found) {
1567
+ for (auto& node : config.nodes) {
1568
+ if (node.hostname == bootstrap_hostname_) {
1569
+ if ((node.services_plain.key_value &&
1570
+ std::to_string(node.services_plain.key_value.value()) == bootstrap_port_) ||
1571
+ (node.services_tls.key_value &&
1572
+ std::to_string(node.services_tls.key_value.value()) == bootstrap_port_)) {
1573
+ node.this_node = true;
1574
+ }
1575
+ }
1576
+ }
1577
+ }
1578
+ config_.reset();
1579
+ config_.emplace(std::move(config));
1580
+ configured_ = true;
1581
+ for (const auto& listener : config_listeners_) {
1582
+ asio::post(asio::bind_executor(ctx_, [listener, c = config_.value()]() mutable {
1583
+ return listener->update_config(std::move(c));
1584
+ }));
1362
1585
  }
1586
+ }
1363
1587
 
1364
- std::optional<std::uint32_t> get_collection_uid(const std::string& collection_path)
1365
- {
1366
- return collection_cache_.get(collection_path);
1588
+ void handle_not_my_vbucket(const io::mcbp_message& msg)
1589
+ {
1590
+ if (stopped_) {
1591
+ return;
1592
+ }
1593
+ Expects(msg.header.magic == static_cast<std::uint8_t>(protocol::magic::alt_client_response) ||
1594
+ msg.header.magic == static_cast<std::uint8_t>(protocol::magic::client_response));
1595
+ if (protocol::has_json_datatype(msg.header.datatype)) {
1596
+ auto magic = static_cast<protocol::magic>(msg.header.magic);
1597
+ const std::uint8_t extras_size = msg.header.extlen;
1598
+ std::uint8_t framing_extras_size = 0;
1599
+ std::uint16_t key_size = utils::byte_swap(msg.header.keylen);
1600
+ if (magic == protocol::magic::alt_client_response) {
1601
+ framing_extras_size = static_cast<std::uint8_t>(msg.header.keylen >> 8U);
1602
+ key_size = msg.header.keylen & 0xffU;
1603
+ }
1604
+
1605
+ const std::vector<std::uint8_t>::difference_type offset =
1606
+ framing_extras_size + key_size + extras_size;
1607
+ if (utils::byte_swap(msg.header.bodylen) - offset > 0) {
1608
+ std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()) + offset,
1609
+ msg.body.size() - static_cast<std::size_t>(offset) };
1610
+ if (origin_.options().dump_configuration) {
1611
+ CB_LOG_TRACE(
1612
+ "{} configuration from not_my_vbucket response (size={}, endpoint=\"{}:{}\"), {}",
1613
+ log_prefix_,
1614
+ config_text.size(),
1615
+ bootstrap_hostname_,
1616
+ bootstrap_port_number_,
1617
+ config_text);
1618
+ }
1619
+ auto config =
1620
+ protocol::parse_config(config_text, bootstrap_hostname_, bootstrap_port_number_);
1621
+ CB_LOG_DEBUG(
1622
+ "{} received not_my_vbucket status for {}, opaque={} with config rev={} in the payload",
1623
+ log_prefix_,
1624
+ protocol::client_opcode(msg.header.opcode),
1625
+ utils::byte_swap(msg.header.opaque),
1626
+ config.rev_str());
1627
+ update_configuration(std::move(config));
1628
+ }
1367
1629
  }
1630
+ }
1368
1631
 
1369
- void update_collection_uid(const std::string& path, std::uint32_t uid)
1370
- {
1371
- if (stopped_) {
1372
- return;
1373
- }
1374
- collection_cache_.update(path, uid);
1632
+ auto get_collection_uid(const std::string& collection_path) -> std::optional<std::uint32_t>
1633
+ {
1634
+ return collection_cache_.get(collection_path);
1635
+ }
1636
+
1637
+ void update_collection_uid(const std::string& path, std::uint32_t uid)
1638
+ {
1639
+ if (stopped_) {
1640
+ return;
1375
1641
  }
1642
+ collection_cache_.update(path, uid);
1643
+ }
1644
+
1645
+ #ifdef COUCHBASE_CXX_CLIENT_COLUMNAR
1646
+ void add_background_bootstrap_listener(
1647
+ std::shared_ptr<columnar::background_bootstrap_listener> listener)
1648
+ {
1649
+ background_bootstrap_listener_ = std::move(listener);
1650
+ }
1651
+ #endif
1376
1652
 
1377
- private:
1378
- void invoke_bootstrap_handler(std::error_code ec)
1379
- {
1380
- retry_backoff_.cancel();
1653
+ private:
1654
+ void invoke_bootstrap_handler(std::error_code ec)
1655
+ {
1656
+ retry_backoff_.cancel();
1381
1657
 
1382
- if (ec && state_listener_) {
1383
- state_listener_->report_bootstrap_error(fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_), ec);
1384
- }
1385
- if (ec == errc::network::configuration_not_available) {
1386
- return initiate_bootstrap();
1387
- }
1388
- if (retry_bootstrap_on_bucket_not_found_ && ec == errc::common::bucket_not_found) {
1389
- CB_LOG_DEBUG(R"({} server returned {} ({}), it must be transient condition, retrying)", log_prefix_, ec.value(), ec.message());
1390
- return initiate_bootstrap();
1391
- }
1392
- if (!origin_.exhausted() && ec == errc::common::authentication_failure) {
1393
- CB_LOG_DEBUG(
1394
- R"({} server returned authentication_failure, but the bootstrap list is not exhausted yet. It must be transient condition, retrying)",
1395
- log_prefix_);
1396
- return initiate_bootstrap();
1397
- }
1658
+ if (ec && state_listener_) {
1659
+ state_listener_->report_bootstrap_error(
1660
+ fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_), ec);
1661
+ }
1662
+ if (ec == errc::network::configuration_not_available) {
1663
+ return initiate_bootstrap();
1664
+ }
1665
+ if (retry_bootstrap_on_bucket_not_found_ && ec == errc::common::bucket_not_found) {
1666
+ CB_LOG_DEBUG(R"({} server returned {} ({}), it must be transient condition, retrying)",
1667
+ log_prefix_,
1668
+ ec.value(),
1669
+ ec.message());
1670
+ return initiate_bootstrap();
1671
+ }
1672
+ if (!origin_.exhausted() && ec == errc::common::authentication_failure) {
1673
+ CB_LOG_DEBUG(
1674
+ R"({} server returned authentication_failure, but the bootstrap list is not exhausted yet. It must be transient condition, retrying)",
1675
+ log_prefix_);
1676
+ return initiate_bootstrap();
1677
+ }
1398
1678
 
1399
- if (!bootstrapped_ && bootstrap_callback_) {
1400
- bootstrap_deadline_.cancel();
1401
- if (config_ && state_listener_) {
1402
- std::vector<std::string> endpoints;
1403
- endpoints.reserve(config_.value().nodes.size());
1404
- for (const auto& node : config_.value().nodes) {
1405
- if (auto endpoint = node.endpoint(origin_.options().network, service_type::key_value, is_tls_); endpoint) {
1406
- endpoints.push_back(endpoint.value());
1407
- }
1408
- }
1409
- state_listener_->report_bootstrap_success(endpoints);
1410
- }
1411
- auto h = std::move(bootstrap_callback_);
1412
- h(ec, config_.value_or(topology::configuration{}));
1413
- }
1414
- if (ec) {
1415
- return stop(retry_reason::node_not_available);
1416
- }
1417
- state_ = diag::endpoint_state::connected;
1418
- std::scoped_lock lock(pending_buffer_mutex_);
1419
- bootstrapped_ = true;
1420
- bootstrap_handler_->stop();
1421
- handler_ = std::make_shared<message_handler>(shared_from_this());
1422
- handler_->start();
1423
- if (!pending_buffer_.empty()) {
1424
- for (auto& buf : pending_buffer_) {
1425
- write(std::move(buf));
1426
- }
1427
- pending_buffer_.clear();
1428
- flush();
1429
- }
1679
+ if (!bootstrapped_ && bootstrap_callback_) {
1680
+ bootstrap_deadline_.cancel();
1681
+ if (config_ && state_listener_) {
1682
+ std::vector<std::string> endpoints;
1683
+ endpoints.reserve(config_.value().nodes.size());
1684
+ for (const auto& node : config_.value().nodes) {
1685
+ if (auto endpoint =
1686
+ node.endpoint(origin_.options().network, service_type::key_value, is_tls_);
1687
+ endpoint) {
1688
+ endpoints.push_back(endpoint.value());
1689
+ }
1690
+ }
1691
+ state_listener_->report_bootstrap_success(endpoints);
1692
+ }
1693
+ auto h = std::move(bootstrap_callback_);
1694
+ h(ec, config_.value_or(topology::configuration{}));
1695
+ }
1696
+ if (ec) {
1697
+ return stop(retry_reason::node_not_available);
1430
1698
  }
1699
+ state_ = diag::endpoint_state::connected;
1700
+ const std::scoped_lock lock(pending_buffer_mutex_);
1701
+ bootstrapped_ = true;
1702
+ bootstrap_handler_->stop();
1703
+ handler_ = std::make_shared<message_handler>(shared_from_this());
1704
+ handler_->start();
1705
+ if (!pending_buffer_.empty()) {
1706
+ for (auto& buf : pending_buffer_) {
1707
+ write(std::move(buf));
1708
+ }
1709
+ pending_buffer_.clear();
1710
+ flush();
1711
+ }
1712
+ }
1431
1713
 
1432
- void on_resolve(std::error_code ec, const asio::ip::tcp::resolver::results_type& endpoints)
1433
- {
1434
- if (ec == asio::error::operation_aborted || stopped_) {
1714
+ void on_resolve(std::error_code ec, const asio::ip::tcp::resolver::results_type& endpoints)
1715
+ {
1716
+ if (ec == asio::error::operation_aborted || stopped_) {
1717
+ return;
1718
+ }
1719
+ last_active_ = std::chrono::steady_clock::now();
1720
+ if (ec) {
1721
+ CB_LOG_ERROR("{} error on resolve: {} ({})", log_prefix_, ec.value(), ec.message());
1722
+ last_bootstrap_error_ = { ec, ec.message(), bootstrap_hostname_, bootstrap_port_ };
1723
+ return initiate_bootstrap();
1724
+ }
1725
+ endpoints_ = endpoints;
1726
+ CB_LOG_TRACE("{} resolved \"{}:{}\" to {} endpoint(s)",
1727
+ log_prefix_,
1728
+ bootstrap_hostname_,
1729
+ bootstrap_port_,
1730
+ endpoints_.size());
1731
+ do_connect(endpoints_.begin());
1732
+ connection_deadline_.expires_after(origin_.options().resolve_timeout);
1733
+ connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
1734
+ if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1735
+ return;
1736
+ }
1737
+ return self->stream_->close([self](std::error_code) {
1738
+ self->initiate_bootstrap();
1739
+ });
1740
+ });
1741
+ }
1742
+
1743
+ void do_connect(const asio::ip::tcp::resolver::results_type::iterator& it)
1744
+ {
1745
+ if (stopped_) {
1746
+ return;
1747
+ }
1748
+ last_active_ = std::chrono::steady_clock::now();
1749
+ if (it != endpoints_.end()) {
1750
+ auto hostname = it->endpoint().address().to_string();
1751
+ auto port = it->endpoint().port();
1752
+ CB_LOG_DEBUG("{} connecting to {}:{} (\"{}:{}\"), timeout={}ms",
1753
+ log_prefix_,
1754
+ hostname,
1755
+ port,
1756
+ bootstrap_hostname_,
1757
+ bootstrap_port_,
1758
+ origin_.options().connect_timeout.count());
1759
+ connection_deadline_.expires_after(origin_.options().connect_timeout);
1760
+ connection_deadline_.async_wait(
1761
+ [self = shared_from_this(), hostname, port](const auto timer_ec) {
1762
+ if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1435
1763
  return;
1436
- }
1437
- last_active_ = std::chrono::steady_clock::now();
1438
- if (ec) {
1439
- CB_LOG_ERROR("{} error on resolve: {} ({})", log_prefix_, ec.value(), ec.message());
1440
- return initiate_bootstrap();
1441
- }
1442
- endpoints_ = endpoints;
1443
- CB_LOG_TRACE("{} resolved \"{}:{}\" to {} endpoint(s)", log_prefix_, bootstrap_hostname_, bootstrap_port_, endpoints_.size());
1444
- do_connect(endpoints_.begin());
1445
- connection_deadline_.expires_after(origin_.options().resolve_timeout);
1446
- connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
1447
- if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1448
- return;
1449
- }
1450
- return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
1764
+ }
1765
+ CB_LOG_DEBUG("{} unable to connect to {}:{} (\"{}:{}\") in time, reconnecting",
1766
+ self->log_prefix_,
1767
+ hostname,
1768
+ port,
1769
+ self->bootstrap_hostname_,
1770
+ self->bootstrap_port_);
1771
+ return self->stream_->close([self](std::error_code ec) {
1772
+ self->last_bootstrap_error_ = {
1773
+ ec, ec.message(), self->bootstrap_hostname_, self->bootstrap_port_
1774
+ };
1775
+ self->initiate_bootstrap();
1776
+ });
1451
1777
  });
1778
+ stream_->async_connect(it->endpoint(), [capture0 = shared_from_this(), it](auto&& PH1) {
1779
+ capture0->on_connect(std::forward<decltype(PH1)>(PH1), it);
1780
+ });
1781
+ } else {
1782
+ auto error_msg =
1783
+ fmt::format("no more endpoints left to connect to \"{}:{}\", will try another address",
1784
+ bootstrap_hostname_,
1785
+ bootstrap_port_);
1786
+ last_bootstrap_error_ = {
1787
+ errc::network::no_endpoints_left, std::move(error_msg), bootstrap_hostname_, bootstrap_port_
1788
+ };
1789
+ CB_LOG_ERROR("{} {}", log_prefix_, last_bootstrap_error_.value().error_message);
1790
+ if (state_listener_) {
1791
+ state_listener_->report_bootstrap_error(
1792
+ fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_),
1793
+ errc::network::no_endpoints_left);
1794
+ }
1795
+ return initiate_bootstrap();
1452
1796
  }
1797
+ }
1453
1798
 
1454
- void do_connect(asio::ip::tcp::resolver::results_type::iterator it)
1455
- {
1456
- if (stopped_) {
1457
- return;
1458
- }
1459
- last_active_ = std::chrono::steady_clock::now();
1460
- if (it != endpoints_.end()) {
1461
- auto hostname = it->endpoint().address().to_string();
1462
- auto port = it->endpoint().port();
1463
- CB_LOG_DEBUG("{} connecting to {}:{} (\"{}:{}\"), timeout={}ms",
1464
- log_prefix_,
1465
- hostname,
1466
- port,
1467
- bootstrap_hostname_,
1468
- bootstrap_port_,
1469
- origin_.options().connect_timeout.count());
1470
- connection_deadline_.expires_after(origin_.options().connect_timeout);
1471
- connection_deadline_.async_wait([self = shared_from_this(), hostname, port](const auto timer_ec) {
1472
- if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1473
- return;
1474
- }
1475
- CB_LOG_DEBUG("{} unable to connect to {}:{} (\"{}:{}\") in time, reconnecting",
1476
- self->log_prefix_,
1477
- hostname,
1478
- port,
1479
- self->bootstrap_hostname_,
1480
- self->bootstrap_port_);
1481
- return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
1482
- });
1483
- stream_->async_connect(it->endpoint(),
1484
- std::bind(&mcbp_session_impl::on_connect, shared_from_this(), std::placeholders::_1, it));
1485
- } else {
1486
- CB_LOG_ERROR("{} no more endpoints left to connect to \"{}:{}\", will try another address",
1487
- log_prefix_,
1488
- bootstrap_hostname_,
1489
- bootstrap_port_);
1490
- if (state_listener_) {
1491
- state_listener_->report_bootstrap_error(fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_),
1492
- errc::network::no_endpoints_left);
1493
- }
1494
- return initiate_bootstrap();
1495
- }
1799
+ void on_connect(const std::error_code& ec, asio::ip::tcp::resolver::results_type::iterator it)
1800
+ {
1801
+ if (ec == asio::error::operation_aborted || stopped_) {
1802
+ return;
1496
1803
  }
1497
-
1498
- void on_connect(const std::error_code& ec, asio::ip::tcp::resolver::results_type::iterator it)
1499
- {
1500
- if (ec == asio::error::operation_aborted || stopped_) {
1501
- return;
1502
- }
1503
- last_active_ = std::chrono::steady_clock::now();
1504
- if (!stream_->is_open() || ec) {
1804
+ last_active_ = std::chrono::steady_clock::now();
1805
+ if (!stream_->is_open() || ec) {
1505
1806
  #ifdef COUCHBASE_CXX_CLIENT_STATIC_BORINGSSL
1506
- auto error_message = (ec.category() == asio::error::ssl_category)
1507
- ? ERR_error_string(static_cast<std::uint32_t>(ec.value()), nullptr)
1508
- : ec.message();
1807
+ auto error_message = (ec.category() == asio::error::ssl_category)
1808
+ ? ERR_error_string(static_cast<std::uint32_t>(ec.value()), nullptr)
1809
+ : ec.message();
1509
1810
  #else
1510
- auto error_message = (ec.category() == asio::error::ssl_category)
1511
- ? ERR_error_string(static_cast<unsigned long>(ec.value()), nullptr)
1512
- : ec.message();
1811
+ auto error_message = (ec.category() == asio::error::ssl_category)
1812
+ ? ERR_error_string(static_cast<unsigned long>(ec.value()), nullptr)
1813
+ : ec.message();
1513
1814
  #endif
1514
- CB_LOG_WARNING("{} unable to connect to {}:{}: {} ({}){}. is_open={}",
1515
- log_prefix_,
1516
- it->endpoint().address().to_string(),
1517
- it->endpoint().port(),
1518
- ec.value(),
1519
- error_message,
1520
- (ec == asio::error::connection_refused) ? ", check server ports and cluster encryption setting" : "",
1521
- stream_->is_open());
1522
- if (stream_->is_open()) {
1523
- stream_->close(std::bind(&mcbp_session_impl::do_connect, shared_from_this(), ++it));
1524
- } else {
1525
- do_connect(++it);
1526
- }
1527
- } else {
1528
- stream_->set_options();
1529
- connection_endpoints_ = { it->endpoint(), stream_->local_endpoint() };
1530
- CB_LOG_DEBUG("{} connected to {}:{}", log_prefix_, connection_endpoints_.remote_address, connection_endpoints_.remote.port());
1531
- log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}/{}:{}>",
1532
- client_id_,
1533
- id_,
1534
- stream_->log_prefix(),
1535
- bucket_name_.value_or("-"),
1536
- bootstrap_hostname_,
1537
- connection_endpoints_.remote_address,
1538
- connection_endpoints_.remote.port());
1539
- parser_.reset();
1540
- bootstrap_handler_ = std::make_shared<bootstrap_handler>(shared_from_this());
1541
- connection_deadline_.cancel();
1542
- }
1815
+ CB_LOG_WARNING("{} unable to connect to {}:{}: {} ({}){}. is_open={}",
1816
+ log_prefix_,
1817
+ it->endpoint().address().to_string(),
1818
+ it->endpoint().port(),
1819
+ ec.value(),
1820
+ error_message,
1821
+ (ec == asio::error::connection_refused)
1822
+ ? ", check server ports and cluster encryption setting"
1823
+ : "",
1824
+ stream_->is_open());
1825
+ if (stream_->is_open()) {
1826
+ stream_->close([self = shared_from_this(), next_address = ++it](std::error_code ec) {
1827
+ if (ec) {
1828
+ CB_LOG_WARNING(
1829
+ "{} unable to close socket, but continue connecting attempt to {}:{}: {}",
1830
+ self->log_prefix_,
1831
+ next_address->endpoint().address().to_string(),
1832
+ next_address->endpoint().port(),
1833
+ ec.value());
1834
+ }
1835
+ self->do_connect(next_address);
1836
+ });
1837
+ } else {
1838
+ do_connect(++it);
1839
+ }
1840
+ } else {
1841
+ stream_->set_options();
1842
+ connection_endpoints_ = { it->endpoint(), stream_->local_endpoint() };
1843
+ CB_LOG_DEBUG("{} connected to {}:{}",
1844
+ log_prefix_,
1845
+ connection_endpoints_.remote_address,
1846
+ connection_endpoints_.remote.port());
1847
+ log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}/{}:{}>",
1848
+ client_id_,
1849
+ id_,
1850
+ stream_->log_prefix(),
1851
+ bucket_name_.value_or("-"),
1852
+ bootstrap_hostname_,
1853
+ connection_endpoints_.remote_address,
1854
+ connection_endpoints_.remote.port());
1855
+ parser_.reset();
1856
+ bootstrap_handler_ = std::make_shared<bootstrap_handler>(shared_from_this());
1857
+ connection_deadline_.cancel();
1543
1858
  }
1859
+ }
1544
1860
 
1545
- void check_deadline(std::error_code ec)
1546
- {
1547
- if (ec == asio::error::operation_aborted || stopped_) {
1548
- return;
1549
- }
1550
- if (connection_deadline_.expiry() <= asio::steady_timer::clock_type::now()) {
1551
- stream_->close([](std::error_code) {});
1552
- }
1553
- connection_deadline_.async_wait(std::bind(&mcbp_session_impl::check_deadline, shared_from_this(), std::placeholders::_1));
1861
+ void check_deadline(std::error_code ec)
1862
+ {
1863
+ if (ec == asio::error::operation_aborted || stopped_) {
1864
+ return;
1554
1865
  }
1555
-
1556
- void do_read()
1557
- {
1558
- if (stopped_ || reading_ || !stream_->is_open()) {
1866
+ if (connection_deadline_.expiry() <= asio::steady_timer::clock_type::now()) {
1867
+ stream_->close([](std::error_code) {
1868
+ });
1869
+ }
1870
+ connection_deadline_.async_wait([capture0 = shared_from_this()](auto&& PH1) {
1871
+ capture0->check_deadline(std::forward<decltype(PH1)>(PH1));
1872
+ });
1873
+ }
1874
+
1875
+ void do_read()
1876
+ {
1877
+ if (stopped_ || reading_ || !stream_->is_open()) {
1878
+ return;
1879
+ }
1880
+ reading_ = true;
1881
+ stream_->async_read_some(
1882
+ asio::buffer(input_buffer_),
1883
+ [self = shared_from_this(), stream_id = stream_->id()](std::error_code ec,
1884
+ std::size_t bytes_transferred) {
1885
+ if (ec == asio::error::operation_aborted || self->stopped_) {
1886
+ CB_LOG_PROTOCOL("[MCBP, IN] host=\"{}\", port={}, rc={}, bytes_received={}",
1887
+ self->connection_endpoints_.remote_address,
1888
+ self->connection_endpoints_.remote.port(),
1889
+ ec ? ec.message() : "ok",
1890
+ bytes_transferred);
1891
+ return;
1892
+ }
1893
+ CB_LOG_PROTOCOL("[MCBP, IN] host=\"{}\", port={}, rc={}, bytes_received={}{:a}",
1894
+ self->connection_endpoints_.remote_address,
1895
+ self->connection_endpoints_.remote.port(),
1896
+ ec ? ec.message() : "ok",
1897
+ bytes_transferred,
1898
+ spdlog::to_hex(self->input_buffer_.data(),
1899
+ self->input_buffer_.data() +
1900
+ static_cast<std::ptrdiff_t>(bytes_transferred)));
1901
+
1902
+ self->last_active_ = std::chrono::steady_clock::now();
1903
+ if (ec) {
1904
+ if (stream_id != self->stream_->id()) {
1905
+ CB_LOG_ERROR(
1906
+ R"({} ignore IO error while reading from the socket: {} ({}), old_id="{}", new_id="{}")",
1907
+ self->log_prefix_,
1908
+ ec.value(),
1909
+ ec.message(),
1910
+ stream_id,
1911
+ self->stream_->id());
1559
1912
  return;
1560
- }
1561
- reading_ = true;
1562
- stream_->async_read_some(
1563
- asio::buffer(input_buffer_),
1564
- [self = shared_from_this(), stream_id = stream_->id()](std::error_code ec, std::size_t bytes_transferred) {
1565
- if (ec == asio::error::operation_aborted || self->stopped_) {
1566
- CB_LOG_PROTOCOL("[MCBP, IN] host=\"{}\", port={}, rc={}, bytes_received={}",
1567
- self->connection_endpoints_.remote_address,
1568
- self->connection_endpoints_.remote.port(),
1569
- ec ? ec.message() : "ok",
1570
- bytes_transferred);
1571
- return;
1572
- } else {
1573
- CB_LOG_PROTOCOL("[MCBP, IN] host=\"{}\", port={}, rc={}, bytes_received={}{:a}",
1574
- self->connection_endpoints_.remote_address,
1575
- self->connection_endpoints_.remote.port(),
1576
- ec ? ec.message() : "ok",
1577
- bytes_transferred,
1578
- spdlog::to_hex(self->input_buffer_.data(),
1579
- self->input_buffer_.data() + static_cast<std::ptrdiff_t>(bytes_transferred)));
1580
- }
1581
- self->last_active_ = std::chrono::steady_clock::now();
1582
- if (ec) {
1583
- if (stream_id != self->stream_->id()) {
1584
- CB_LOG_ERROR(R"({} ignore IO error while reading from the socket: {} ({}), old_id="{}", new_id="{}")",
1585
- self->log_prefix_,
1586
- ec.value(),
1587
- ec.message(),
1588
- stream_id,
1589
- self->stream_->id());
1590
- return;
1591
- }
1592
- CB_LOG_ERROR(R"({} IO error while reading from the socket("{}"): {} ({}))",
1593
- self->log_prefix_,
1594
- self->stream_->id(),
1595
- ec.value(),
1596
- ec.message());
1597
- return self->stop(retry_reason::socket_closed_while_in_flight);
1913
+ }
1914
+ CB_LOG_ERROR(R"({} IO error while reading from the socket("{}"): {} ({}))",
1915
+ self->log_prefix_,
1916
+ self->stream_->id(),
1917
+ ec.value(),
1918
+ ec.message());
1919
+ return self->stop(retry_reason::socket_closed_while_in_flight);
1920
+ }
1921
+ self->parser_.feed(self->input_buffer_.data(),
1922
+ self->input_buffer_.data() +
1923
+ static_cast<std::ptrdiff_t>(bytes_transferred));
1924
+
1925
+ for (;;) {
1926
+ mcbp_message msg{};
1927
+ switch (self->parser_.next(msg)) {
1928
+ case mcbp_parser::result::ok: {
1929
+ if (self->stopped_) {
1930
+ return;
1598
1931
  }
1599
- self->parser_.feed(self->input_buffer_.data(), self->input_buffer_.data() + static_cast<std::ptrdiff_t>(bytes_transferred));
1600
-
1601
- for (;;) {
1602
- mcbp_message msg{};
1603
- switch (self->parser_.next(msg)) {
1604
- case mcbp_parser::result::ok: {
1605
- if (self->stopped_) {
1606
- return;
1607
- }
1608
- CB_LOG_TRACE("{} MCBP recv {}", self->log_prefix_, mcbp_header_view(msg.header_data()));
1609
- if (self->bootstrapped_) {
1610
- self->handler_->handle(std::move(msg));
1611
- } else if (self->bootstrap_handler_) {
1612
- self->bootstrap_handler_->handle(std::move(msg));
1613
- }
1614
- if (self->stopped_) {
1615
- return;
1616
- }
1617
- } break;
1618
- case mcbp_parser::result::need_data:
1619
- self->reading_ = false;
1620
- if (!self->stopped_ && self->stream_->is_open()) {
1621
- self->do_read();
1622
- }
1623
- return;
1624
- case mcbp_parser::result::failure:
1625
- return self->stop(retry_reason::key_value_temporary_failure);
1626
- }
1932
+ CB_LOG_TRACE(
1933
+ "{} MCBP recv {}", self->log_prefix_, mcbp_header_view(msg.header_data()));
1934
+ if (self->bootstrapped_) {
1935
+ self->handler_->handle(std::move(msg));
1936
+ } else if (self->bootstrap_handler_) {
1937
+ self->bootstrap_handler_->handle(std::move(msg));
1627
1938
  }
1628
- });
1629
- }
1630
-
1631
- void do_write()
1632
- {
1633
- if (stopped_ || !stream_->is_open()) {
1634
- return;
1635
- }
1636
- std::scoped_lock lock(writing_buffer_mutex_, output_buffer_mutex_);
1637
- if (!writing_buffer_.empty() || output_buffer_.empty()) {
1638
- return;
1639
- }
1640
- std::swap(writing_buffer_, output_buffer_);
1641
- std::vector<asio::const_buffer> buffers;
1642
- buffers.reserve(writing_buffer_.size());
1643
- for (auto& buf : writing_buffer_) {
1644
- CB_LOG_PROTOCOL("[MCBP, OUT] host=\"{}\", port={}, buffer_size={}{:a}",
1645
- connection_endpoints_.remote_address,
1646
- connection_endpoints_.remote.port(),
1647
- buf.size(),
1648
- spdlog::to_hex(buf));
1649
- buffers.emplace_back(asio::buffer(buf));
1650
- }
1651
- stream_->async_write(buffers, [self = shared_from_this()](std::error_code ec, std::size_t bytes_transferred) {
1652
- CB_LOG_PROTOCOL("[MCBP, OUT] host=\"{}\", port={}, rc={}, bytes_sent={}",
1653
- self->connection_endpoints_.remote_address,
1654
- self->connection_endpoints_.remote.port(),
1655
- ec ? ec.message() : "ok",
1656
- bytes_transferred);
1657
- if (ec == asio::error::operation_aborted || self->stopped_) {
1939
+ if (self->stopped_) {
1658
1940
  return;
1659
- }
1660
- self->last_active_ = std::chrono::steady_clock::now();
1661
-
1662
- if (ec) {
1663
- CB_LOG_ERROR(R"({} IO error while writing to the socket("{}"): {} ({}))",
1664
- self->log_prefix_,
1665
- self->stream_->id(),
1666
- ec.value(),
1667
- ec.message());
1668
- return self->stop(retry_reason::socket_closed_while_in_flight);
1669
- }
1670
- {
1671
- std::scoped_lock inner_lock(self->writing_buffer_mutex_);
1672
- self->writing_buffer_.clear();
1673
- }
1674
- asio::post(asio::bind_executor(self->ctx_, [self]() {
1675
- self->do_write();
1941
+ }
1942
+ } break;
1943
+ case mcbp_parser::result::need_data:
1944
+ self->reading_ = false;
1945
+ if (!self->stopped_ && self->stream_->is_open()) {
1676
1946
  self->do_read();
1677
- }));
1678
- });
1947
+ }
1948
+ return;
1949
+ case mcbp_parser::result::failure:
1950
+ return self->stop(retry_reason::key_value_temporary_failure);
1951
+ }
1952
+ }
1953
+ });
1954
+ }
1955
+
1956
+ void do_write()
1957
+ {
1958
+ if (stopped_ || !stream_->is_open()) {
1959
+ return;
1679
1960
  }
1961
+ const std::scoped_lock lock(writing_buffer_mutex_, output_buffer_mutex_);
1962
+ if (!writing_buffer_.empty() || output_buffer_.empty()) {
1963
+ return;
1964
+ }
1965
+ std::swap(writing_buffer_, output_buffer_);
1966
+ std::vector<asio::const_buffer> buffers;
1967
+ buffers.reserve(writing_buffer_.size());
1968
+ for (auto& buf : writing_buffer_) {
1969
+ CB_LOG_PROTOCOL("[MCBP, OUT] host=\"{}\", port={}, buffer_size={}{:a}",
1970
+ connection_endpoints_.remote_address,
1971
+ connection_endpoints_.remote.port(),
1972
+ buf.size(),
1973
+ spdlog::to_hex(buf));
1974
+ buffers.emplace_back(asio::buffer(buf));
1975
+ }
1976
+ stream_->async_write(
1977
+ buffers, [self = shared_from_this()](std::error_code ec, std::size_t bytes_transferred) {
1978
+ CB_LOG_PROTOCOL("[MCBP, OUT] host=\"{}\", port={}, rc={}, bytes_sent={}",
1979
+ self->connection_endpoints_.remote_address,
1980
+ self->connection_endpoints_.remote.port(),
1981
+ ec ? ec.message() : "ok",
1982
+ bytes_transferred);
1983
+ if (ec == asio::error::operation_aborted || self->stopped_) {
1984
+ return;
1985
+ }
1986
+ self->last_active_ = std::chrono::steady_clock::now();
1680
1987
 
1681
- const std::string client_id_;
1682
- const std::string id_{ uuid::to_string(uuid::random()) };
1683
- asio::io_context& ctx_;
1684
- asio::ip::tcp::resolver resolver_;
1685
- std::unique_ptr<stream_impl> stream_;
1686
- asio::steady_timer bootstrap_deadline_;
1687
- asio::steady_timer connection_deadline_;
1688
- asio::steady_timer retry_backoff_;
1689
- asio::steady_timer ping_deadline_;
1690
- couchbase::core::origin origin_;
1691
- std::optional<std::string> bucket_name_;
1692
- mcbp_parser parser_;
1693
- std::shared_ptr<bootstrap_handler> bootstrap_handler_{ nullptr };
1694
- std::optional<std::string> last_bootstrap_error_message_;
1695
- std::shared_ptr<message_handler> handler_{ nullptr };
1696
- utils::movable_function<void(std::error_code, const topology::configuration&)> bootstrap_callback_{};
1697
- std::mutex command_handlers_mutex_{};
1698
- std::map<std::uint32_t, command_handler> command_handlers_{};
1699
- std::vector<std::shared_ptr<config_listener>> config_listeners_{};
1700
- utils::movable_function<void()> on_stop_handler_{};
1701
-
1702
- std::atomic_bool bootstrapped_{ false };
1703
- std::atomic_bool stopped_{ false };
1704
- bool authenticated_{ false };
1705
- bool bucket_selected_{ false };
1706
- bool supports_gcccp_{ true };
1707
- bool retry_bootstrap_on_bucket_not_found_{ false };
1708
-
1709
- std::atomic<std::uint32_t> opaque_{ 0 };
1710
-
1711
- std::array<std::byte, 16384> input_buffer_{};
1712
- std::vector<std::vector<std::byte>> output_buffer_{};
1713
- std::vector<std::vector<std::byte>> pending_buffer_{};
1714
- std::vector<std::vector<std::byte>> writing_buffer_{};
1715
- std::mutex output_buffer_mutex_{};
1716
- std::mutex pending_buffer_mutex_{};
1717
- std::mutex writing_buffer_mutex_{};
1718
- std::string bootstrap_hostname_{};
1719
- std::string bootstrap_port_{};
1720
- std::string bootstrap_address_{};
1721
- std::uint16_t bootstrap_port_number_{};
1722
- connection_endpoints connection_endpoints_{ {}, {} };
1723
- asio::ip::tcp::resolver::results_type endpoints_;
1724
- std::vector<protocol::hello_feature> supported_features_;
1725
- std::optional<topology::configuration> config_;
1726
- mutable std::mutex config_mutex_{};
1727
- std::atomic_bool configured_{ false };
1728
- std::optional<error_map> error_map_;
1729
- collection_cache collection_cache_;
1730
-
1731
- const bool is_tls_;
1732
- std::shared_ptr<impl::bootstrap_state_listener> state_listener_{ nullptr };
1733
-
1734
- mcbp::codec codec_;
1735
- std::recursive_mutex operations_mutex_{};
1736
- std::map<std::uint32_t, std::pair<std::shared_ptr<mcbp::queue_request>, std::shared_ptr<response_handler>>> operations_{};
1737
-
1738
- std::atomic_bool reading_{ false };
1739
-
1740
- std::string log_prefix_{};
1741
- std::chrono::time_point<std::chrono::steady_clock> last_active_{};
1742
- std::atomic<diag::endpoint_state> state_{ diag::endpoint_state::disconnected };
1988
+ if (ec) {
1989
+ CB_LOG_ERROR(R"({} IO error while writing to the socket("{}"): {} ({}))",
1990
+ self->log_prefix_,
1991
+ self->stream_->id(),
1992
+ ec.value(),
1993
+ ec.message());
1994
+ return self->stop(retry_reason::socket_closed_while_in_flight);
1995
+ }
1996
+ {
1997
+ const std::scoped_lock inner_lock(self->writing_buffer_mutex_);
1998
+ self->writing_buffer_.clear();
1999
+ }
2000
+ asio::post(asio::bind_executor(self->ctx_, [self]() {
2001
+ self->do_write();
2002
+ self->do_read();
2003
+ }));
2004
+ });
2005
+ }
2006
+
2007
+ const std::string client_id_;
2008
+ const std::string id_{ uuid::to_string(uuid::random()) };
2009
+ asio::io_context& ctx_;
2010
+ asio::ip::tcp::resolver resolver_;
2011
+ std::unique_ptr<stream_impl> stream_;
2012
+ asio::steady_timer bootstrap_deadline_;
2013
+ asio::steady_timer connection_deadline_;
2014
+ asio::steady_timer retry_backoff_;
2015
+ asio::steady_timer ping_deadline_;
2016
+ couchbase::core::origin origin_;
2017
+ std::optional<std::string> bucket_name_;
2018
+ mcbp_parser parser_;
2019
+ std::shared_ptr<bootstrap_handler> bootstrap_handler_{ nullptr };
2020
+ std::optional<impl::bootstrap_error> last_bootstrap_error_;
2021
+ std::shared_ptr<message_handler> handler_{ nullptr };
2022
+ utils::movable_function<void(std::error_code, const topology::configuration&)>
2023
+ bootstrap_callback_{};
2024
+ std::mutex command_handlers_mutex_{};
2025
+ std::map<std::uint32_t, command_handler> command_handlers_{};
2026
+ std::vector<std::shared_ptr<config_listener>> config_listeners_{};
2027
+ utils::movable_function<void()> on_stop_handler_{};
2028
+
2029
+ std::atomic_bool bootstrapped_{ false };
2030
+ std::atomic_bool stopped_{ false };
2031
+ bool authenticated_{ false };
2032
+ bool bucket_selected_{ false };
2033
+ bool supports_gcccp_{ true };
2034
+ bool retry_bootstrap_on_bucket_not_found_{ false };
2035
+
2036
+ std::atomic<std::uint32_t> opaque_{ 0 };
2037
+
2038
+ std::array<std::byte, 16384> input_buffer_{};
2039
+ std::vector<std::vector<std::byte>> output_buffer_{};
2040
+ std::vector<std::vector<std::byte>> pending_buffer_{};
2041
+ std::vector<std::vector<std::byte>> writing_buffer_{};
2042
+ std::mutex output_buffer_mutex_{};
2043
+ std::mutex pending_buffer_mutex_{};
2044
+ std::mutex writing_buffer_mutex_{};
2045
+ std::string bootstrap_hostname_{};
2046
+ std::string bootstrap_port_{};
2047
+ std::string bootstrap_address_{};
2048
+ std::uint16_t bootstrap_port_number_{};
2049
+ connection_endpoints connection_endpoints_{ {}, {} };
2050
+ asio::ip::tcp::resolver::results_type endpoints_;
2051
+ std::vector<protocol::hello_feature> supported_features_;
2052
+ std::optional<topology::configuration> config_;
2053
+ mutable std::mutex config_mutex_{};
2054
+ std::atomic_bool configured_{ false };
2055
+ std::optional<error_map> error_map_;
2056
+ collection_cache collection_cache_;
2057
+
2058
+ const bool is_tls_;
2059
+ std::shared_ptr<impl::bootstrap_state_listener> state_listener_{ nullptr };
2060
+
2061
+ mcbp::codec codec_;
2062
+ std::recursive_mutex operations_mutex_{};
2063
+ std::map<std::uint32_t,
2064
+ std::pair<std::shared_ptr<mcbp::queue_request>, std::shared_ptr<response_handler>>>
2065
+ operations_{};
2066
+
2067
+ std::atomic_bool reading_{ false };
2068
+
2069
+ std::string log_prefix_{};
2070
+ std::chrono::time_point<std::chrono::steady_clock> last_active_{};
2071
+ std::atomic<diag::endpoint_state> state_{ diag::endpoint_state::disconnected };
2072
+ #ifdef COUCHBASE_CXX_CLIENT_COLUMNAR
2073
+ std::shared_ptr<columnar::background_bootstrap_listener> background_bootstrap_listener_{
2074
+ nullptr
2075
+ };
2076
+ #endif
1743
2077
  };
1744
2078
 
1745
- mcbp_session::mcbp_session(std::string client_id,
2079
+ mcbp_session::mcbp_session(const std::string& client_id,
1746
2080
  asio::io_context& ctx,
1747
2081
  core::origin origin,
1748
2082
  std::shared_ptr<impl::bootstrap_state_listener> state_listener,
1749
2083
  std::optional<std::string> bucket_name,
1750
2084
  std::vector<protocol::hello_feature> known_features)
1751
- : impl_{ std::make_shared<mcbp_session_impl>(std::move(client_id),
2085
+ : impl_{ std::make_shared<mcbp_session_impl>(client_id,
1752
2086
  ctx,
1753
2087
  std::move(origin),
1754
2088
  std::move(state_listener),
@@ -1757,14 +2091,14 @@ mcbp_session::mcbp_session(std::string client_id,
1757
2091
  {
1758
2092
  }
1759
2093
 
1760
- mcbp_session::mcbp_session(std::string client_id,
2094
+ mcbp_session::mcbp_session(const std::string& client_id,
1761
2095
  asio::io_context& ctx,
1762
2096
  asio::ssl::context& tls,
1763
2097
  core::origin origin,
1764
2098
  std::shared_ptr<impl::bootstrap_state_listener> state_listener,
1765
2099
  std::optional<std::string> bucket_name,
1766
2100
  std::vector<protocol::hello_feature> known_features)
1767
- : impl_{ std::make_shared<mcbp_session_impl>(std::move(client_id),
2101
+ : impl_{ std::make_shared<mcbp_session_impl>(client_id,
1768
2102
  ctx,
1769
2103
  tls,
1770
2104
  std::move(origin),
@@ -1774,196 +2108,223 @@ mcbp_session::mcbp_session(std::string client_id,
1774
2108
  {
1775
2109
  }
1776
2110
 
1777
- const std::string&
1778
- mcbp_session::log_prefix() const
2111
+ auto
2112
+ mcbp_session::log_prefix() const -> const std::string&
2113
+ {
2114
+ return impl_->log_prefix();
2115
+ }
2116
+
2117
+ auto
2118
+ mcbp_session::cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason) -> bool
2119
+ {
2120
+ return impl_->cancel(opaque, ec, reason);
2121
+ }
2122
+
2123
+ auto
2124
+ mcbp_session::is_stopped() const -> bool
1779
2125
  {
1780
- return impl_->log_prefix();
2126
+ return impl_->is_stopped();
1781
2127
  }
1782
2128
 
1783
- bool
1784
- mcbp_session::cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason)
2129
+ auto
2130
+ mcbp_session::is_bootstrapped() const -> bool
1785
2131
  {
1786
- return impl_->cancel(opaque, ec, reason);
2132
+ return impl_->is_bootstrapped();
1787
2133
  }
1788
2134
 
1789
- bool
1790
- mcbp_session::is_stopped() const
2135
+ auto
2136
+ mcbp_session::next_opaque() -> std::uint32_t
1791
2137
  {
1792
- return impl_->is_stopped();
2138
+ return impl_->next_opaque();
1793
2139
  }
1794
2140
 
1795
- bool
1796
- mcbp_session::is_bootstrapped() const
2141
+ auto
2142
+ mcbp_session::get_collection_uid(const std::string& collection_path) -> std::optional<std::uint32_t>
1797
2143
  {
1798
- return impl_->is_bootstrapped();
2144
+ return impl_->get_collection_uid(collection_path);
1799
2145
  }
1800
2146
 
1801
- std::uint32_t
1802
- mcbp_session::next_opaque()
2147
+ auto
2148
+ mcbp_session::context() const -> mcbp_context
1803
2149
  {
1804
- return impl_->next_opaque();
2150
+ return impl_->context();
1805
2151
  }
1806
2152
 
1807
- std::optional<std::uint32_t>
1808
- mcbp_session::get_collection_uid(const std::string& collection_path)
2153
+ auto
2154
+ mcbp_session::supports_feature(protocol::hello_feature feature) -> bool
1809
2155
  {
1810
- return impl_->get_collection_uid(collection_path);
2156
+ return impl_->supports_feature(feature);
1811
2157
  }
1812
2158
 
1813
- mcbp_context
1814
- mcbp_session::context() const
2159
+ auto
2160
+ mcbp_session::id() const -> const std::string&
1815
2161
  {
1816
- return impl_->context();
2162
+ return impl_->id();
1817
2163
  }
1818
2164
 
1819
- bool
1820
- mcbp_session::supports_feature(protocol::hello_feature feature)
2165
+ auto
2166
+ mcbp_session::bootstrap_address() const -> const std::string&
1821
2167
  {
1822
- return impl_->supports_feature(feature);
2168
+ return impl_->bootstrap_address();
1823
2169
  }
1824
2170
 
1825
- const std::string&
1826
- mcbp_session::id() const
2171
+ auto
2172
+ mcbp_session::remote_address() const -> std::string
1827
2173
  {
1828
- return impl_->id();
2174
+ return impl_->remote_address();
1829
2175
  }
1830
2176
 
1831
- const std::string&
1832
- mcbp_session::bootstrap_address() const
2177
+ auto
2178
+ mcbp_session::local_address() const -> std::string
1833
2179
  {
1834
- return impl_->bootstrap_address();
2180
+ return impl_->local_address();
1835
2181
  }
1836
2182
 
1837
- std::string
1838
- mcbp_session::remote_address() const
2183
+ auto
2184
+ mcbp_session::bootstrap_hostname() const -> const std::string&
1839
2185
  {
1840
- return impl_->remote_address();
2186
+ return impl_->bootstrap_hostname();
1841
2187
  }
1842
2188
 
1843
- std::string
1844
- mcbp_session::local_address() const
2189
+ auto
2190
+ mcbp_session::bootstrap_port() const -> const std::string&
1845
2191
  {
1846
- return impl_->local_address();
2192
+ return impl_->bootstrap_port();
1847
2193
  }
1848
2194
 
1849
- const std::string&
1850
- mcbp_session::bootstrap_hostname() const
2195
+ auto
2196
+ mcbp_session::bootstrap_port_number() const -> std::uint16_t
1851
2197
  {
1852
- return impl_->bootstrap_hostname();
2198
+ return impl_->bootstrap_port_number();
1853
2199
  }
1854
2200
 
1855
- const std::string&
1856
- mcbp_session::bootstrap_port() const
2201
+ auto
2202
+ mcbp_session::last_bootstrap_error() && -> std::optional<impl::bootstrap_error>
1857
2203
  {
1858
- return impl_->bootstrap_port();
2204
+ return std::move(impl_)->last_bootstrap_error();
1859
2205
  }
1860
2206
 
1861
- std::uint16_t
1862
- mcbp_session::bootstrap_port_number() const
2207
+ auto
2208
+ mcbp_session::last_bootstrap_error() const& -> const std::optional<impl::bootstrap_error>&
1863
2209
  {
1864
- return impl_->bootstrap_port_number();
2210
+ return impl_->last_bootstrap_error();
1865
2211
  }
1866
2212
 
1867
2213
  void
1868
- mcbp_session::write_and_subscribe(std::uint32_t opaque, std::vector<std::byte>&& data, command_handler&& handler)
2214
+ mcbp_session::write_and_subscribe(std::uint32_t opaque,
2215
+ std::vector<std::byte>&& data,
2216
+ command_handler&& handler)
1869
2217
  {
1870
- return impl_->write_and_subscribe(opaque, std::move(data), std::move(handler));
2218
+ return impl_->write_and_subscribe(opaque, std::move(data), std::move(handler));
1871
2219
  }
1872
2220
 
1873
2221
  void
1874
- mcbp_session::bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& handler, bool retry_on_bucket_not_found)
2222
+ mcbp_session::bootstrap(
2223
+ utils::movable_function<void(std::error_code, topology::configuration)>&& handler,
2224
+ bool retry_on_bucket_not_found)
1875
2225
  {
1876
- return impl_->bootstrap(std::move(handler), retry_on_bucket_not_found);
2226
+ return impl_->bootstrap(std::move(handler), retry_on_bucket_not_found);
1877
2227
  }
1878
2228
 
1879
2229
  void
1880
2230
  mcbp_session::on_stop(utils::movable_function<void()> handler)
1881
2231
  {
1882
- return impl_->on_stop(std::move(handler));
2232
+ return impl_->on_stop(std::move(handler));
1883
2233
  }
1884
2234
 
1885
2235
  void
1886
2236
  mcbp_session::stop(retry_reason reason)
1887
2237
  {
1888
- return impl_->stop(reason);
2238
+ return impl_->stop(reason);
1889
2239
  }
1890
2240
 
1891
- std::size_t
1892
- mcbp_session::index() const
2241
+ auto
2242
+ mcbp_session::index() const -> std::size_t
1893
2243
  {
1894
- return impl_->index();
2244
+ return impl_->index();
1895
2245
  }
1896
2246
 
1897
- std::optional<topology::configuration>
1898
- mcbp_session::config() const
2247
+ auto
2248
+ mcbp_session::config() const -> std::optional<topology::configuration>
1899
2249
  {
1900
- return impl_->config();
2250
+ return impl_->config();
1901
2251
  }
1902
2252
 
1903
- bool
1904
- mcbp_session::has_config() const
2253
+ auto
2254
+ mcbp_session::has_config() const -> bool
1905
2255
  {
1906
- return impl_->has_config();
2256
+ return impl_->has_config();
1907
2257
  }
1908
2258
 
1909
- diag::endpoint_diag_info
1910
- mcbp_session::diag_info() const
2259
+ auto
2260
+ mcbp_session::diag_info() const -> diag::endpoint_diag_info
1911
2261
  {
1912
- return impl_->diag_info();
2262
+ return impl_->diag_info();
1913
2263
  }
1914
2264
 
1915
2265
  void
1916
2266
  mcbp_session::on_configuration_update(std::shared_ptr<config_listener> handler)
1917
2267
  {
1918
- return impl_->on_configuration_update(std::move(handler));
2268
+ return impl_->on_configuration_update(std::move(handler));
1919
2269
  }
1920
2270
 
1921
- std::vector<protocol::hello_feature>
1922
- mcbp_session::supported_features() const
2271
+ auto
2272
+ mcbp_session::supported_features() const -> std::vector<protocol::hello_feature>
1923
2273
  {
1924
- return impl_->supported_features();
2274
+ return impl_->supported_features();
1925
2275
  }
1926
2276
 
1927
2277
  void
1928
- mcbp_session::ping(std::shared_ptr<diag::ping_reporter> handler, std::optional<std::chrono::milliseconds> timeout) const
2278
+ mcbp_session::ping(const std::shared_ptr<diag::ping_reporter>& handler,
2279
+ std::optional<std::chrono::milliseconds> timeout) const
1929
2280
  {
1930
- return impl_->ping(std::move(handler), std::move(timeout));
2281
+ return impl_->ping(handler, timeout);
1931
2282
  }
1932
2283
 
1933
- bool
1934
- mcbp_session::supports_gcccp() const
2284
+ auto
2285
+ mcbp_session::supports_gcccp() const -> bool
1935
2286
  {
1936
- return impl_->supports_gcccp();
2287
+ return impl_->supports_gcccp();
1937
2288
  }
1938
2289
 
1939
- std::optional<key_value_error_map_info>
1940
- mcbp_session::decode_error_code(std::uint16_t code)
2290
+ auto
2291
+ mcbp_session::decode_error_code(std::uint16_t code) -> std::optional<key_value_error_map_info>
1941
2292
  {
1942
- return impl_->decode_error_code(code);
2293
+ return impl_->decode_error_code(code);
1943
2294
  }
1944
2295
 
1945
2296
  void
1946
2297
  mcbp_session::handle_not_my_vbucket(const mcbp_message& msg) const
1947
2298
  {
1948
- return impl_->handle_not_my_vbucket(msg);
2299
+ return impl_->handle_not_my_vbucket(msg);
1949
2300
  }
1950
2301
 
1951
2302
  void
1952
2303
  mcbp_session::update_collection_uid(const std::string& path, std::uint32_t uid)
1953
2304
  {
1954
- return impl_->update_collection_uid(path, uid);
2305
+ return impl_->update_collection_uid(path, uid);
1955
2306
  }
1956
2307
 
1957
2308
  void
1958
- mcbp_session::write_and_subscribe(std::shared_ptr<mcbp::queue_request> request, std::shared_ptr<response_handler> handler)
2309
+ mcbp_session::write_and_subscribe(const std::shared_ptr<mcbp::queue_request>& request,
2310
+ const std::shared_ptr<response_handler>& handler)
1959
2311
  {
1960
- return impl_->write_and_subscribe(std::move(request), std::move(handler));
2312
+ return impl_->write_and_subscribe(request, handler);
1961
2313
  }
1962
2314
 
1963
2315
  void
1964
2316
  mcbp_session::write_and_flush(std::vector<std::byte>&& buffer)
1965
2317
  {
1966
- return impl_->write_and_flush(std::move(buffer));
2318
+ return impl_->write_and_flush(std::move(buffer));
2319
+ }
2320
+
2321
+ #ifdef COUCHBASE_CXX_CLIENT_COLUMNAR
2322
+ void
2323
+ mcbp_session::add_background_bootstrap_listener(
2324
+ std::shared_ptr<columnar::background_bootstrap_listener> listener)
2325
+ {
2326
+ return impl_->add_background_bootstrap_listener(std::move(listener));
1967
2327
  }
2328
+ #endif
1968
2329
 
1969
2330
  } // namespace couchbase::core::io