couchbase 3.5.0 → 3.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2487) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  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/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_completion_executor.hpp +336 -0
  6. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_completion_handler.hpp +812 -0
  7. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_io_executor.hpp +351 -0
  8. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/append.hpp +65 -0
  9. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/as_tuple.hpp +126 -0
  10. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_allocator.hpp +214 -0
  11. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_cancellation_slot.hpp +221 -0
  12. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_executor.hpp +235 -0
  13. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_immediate_executor.hpp +280 -0
  14. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/async_result.hpp +893 -0
  15. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_datagram_socket.hpp +1362 -0
  16. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_deadline_timer.hpp +710 -0
  17. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_file.hpp +824 -0
  18. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_io_object.hpp +286 -0
  19. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_random_access_file.hpp +689 -0
  20. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_raw_socket.hpp +1356 -0
  21. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_readable_pipe.hpp +626 -0
  22. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_seq_packet_socket.hpp +823 -0
  23. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_serial_port.hpp +987 -0
  24. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_signal_set.hpp +648 -0
  25. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket.hpp +1936 -0
  26. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_acceptor.hpp +2708 -0
  27. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_iostream.hpp +331 -0
  28. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_streambuf.hpp +642 -0
  29. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_stream_file.hpp +744 -0
  30. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_stream_socket.hpp +1163 -0
  31. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_streambuf.hpp +450 -0
  32. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_streambuf_fwd.hpp +36 -0
  33. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_waitable_timer.hpp +824 -0
  34. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_writable_pipe.hpp +622 -0
  35. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_allocator.hpp +524 -0
  36. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_cancellation_slot.hpp +536 -0
  37. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_executor.hpp +576 -0
  38. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_immediate_executor.hpp +543 -0
  39. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffer.hpp +2751 -0
  40. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffer_registration.hpp +318 -0
  41. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_read_stream.hpp +273 -0
  42. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_stream.hpp +292 -0
  43. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_write_stream.hpp +265 -0
  44. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffers_iterator.hpp +521 -0
  45. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_signal.hpp +245 -0
  46. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_state.hpp +235 -0
  47. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_type.hpp +157 -0
  48. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/co_spawn.hpp +523 -0
  49. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/compose.hpp +319 -0
  50. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/connect.hpp +1180 -0
  51. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/consign.hpp +75 -0
  52. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/defer.hpp +218 -0
  53. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/deferred.hpp +715 -0
  54. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detached.hpp +105 -0
  55. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/array.hpp +30 -0
  56. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/array_fwd.hpp +32 -0
  57. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/atomic_count.hpp +59 -0
  58. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/base_from_cancellation_state.hpp +164 -0
  59. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/base_from_completion_cond.hpp +69 -0
  60. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/bind_handler.hpp +711 -0
  61. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/blocking_executor_op.hpp +107 -0
  62. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +837 -0
  63. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/chrono.hpp +45 -0
  64. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/completion_handler.hpp +88 -0
  65. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/composed_work.hpp +252 -0
  66. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/config.hpp +1422 -0
  67. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/consuming_buffers.hpp +443 -0
  68. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/cstddef.hpp +27 -0
  69. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/cstdint.hpp +40 -0
  70. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/deadline_timer_service.hpp +335 -0
  71. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/descriptor_read_op.hpp +188 -0
  72. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/descriptor_write_op.hpp +187 -0
  73. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/event.hpp +46 -0
  74. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/exception.hpp +29 -0
  75. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/executor_function.hpp +152 -0
  76. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/executor_op.hpp +84 -0
  77. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/fenced_block.hpp +40 -0
  78. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/functional.hpp +33 -0
  79. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/future.hpp +32 -0
  80. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/global.hpp +50 -0
  81. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +225 -0
  82. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_tracking.hpp +264 -0
  83. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_type_requirements.hpp +553 -0
  84. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_work.hpp +511 -0
  85. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/handler_tracking.ipp +398 -0
  86. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_descriptor_service.ipp +205 -0
  87. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_socket_service_base.ipp +249 -0
  88. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +230 -0
  89. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +310 -0
  90. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +158 -0
  91. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/service_registry.hpp +93 -0
  92. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +346 -0
  93. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_service.hpp +86 -0
  94. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/throw_error.ipp +49 -0
  95. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +97 -0
  96. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +119 -0
  97. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +614 -0
  98. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +821 -0
  99. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +626 -0
  100. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_defer.hpp +207 -0
  101. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_dispatch.hpp +193 -0
  102. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_post.hpp +207 -0
  103. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_object_impl.hpp +177 -0
  104. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_read_at_op.hpp +195 -0
  105. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_read_op.hpp +190 -0
  106. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_service.hpp +687 -0
  107. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_write_at_op.hpp +189 -0
  108. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_write_op.hpp +185 -0
  109. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_null_buffers_op.hpp +114 -0
  110. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_accept_op.hpp +280 -0
  111. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_connect_op.hpp +140 -0
  112. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recv_op.hpp +205 -0
  113. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recvfrom_op.hpp +206 -0
  114. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recvmsg_op.hpp +192 -0
  115. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_send_op.hpp +191 -0
  116. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_sendto_op.hpp +194 -0
  117. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_service.hpp +629 -0
  118. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_service_base.hpp +663 -0
  119. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_wait_op.hpp +112 -0
  120. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/is_buffer_sequence.hpp +296 -0
  121. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/limits.hpp +21 -0
  122. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/memory.hpp +126 -0
  123. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/mutex.hpp +46 -0
  124. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/non_const_lvalue.hpp +43 -0
  125. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_socket_service.hpp +519 -0
  126. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +566 -0
  127. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +131 -0
  128. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +323 -0
  129. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +162 -0
  130. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +197 -0
  131. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +203 -0
  132. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +184 -0
  133. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +201 -0
  134. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +194 -0
  135. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_service.hpp +633 -0
  136. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +750 -0
  137. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_wait_op.hpp +131 -0
  138. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/recycling_allocator.hpp +105 -0
  139. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/regex_fwd.hpp +35 -0
  140. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +140 -0
  141. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolve_query_op.hpp +150 -0
  142. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolver_service.hpp +147 -0
  143. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/service_registry.hpp +163 -0
  144. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_handler.hpp +90 -0
  145. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_set_service.hpp +292 -0
  146. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/static_mutex.hpp +50 -0
  147. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_event.hpp +183 -0
  148. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_fenced_block.hpp +57 -0
  149. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_global.hpp +65 -0
  150. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_mutex.hpp +68 -0
  151. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_static_mutex.hpp +76 -0
  152. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_thread.hpp +66 -0
  153. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/strand_executor_service.hpp +173 -0
  154. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread.hpp +58 -0
  155. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread_info_base.hpp +250 -0
  156. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue_ptime.hpp +103 -0
  157. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/type_traits.hpp +178 -0
  158. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/utility.hpp +83 -0
  159. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wait_handler.hpp +90 -0
  160. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +119 -0
  161. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +431 -0
  162. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +114 -0
  163. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +129 -0
  164. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +100 -0
  165. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +171 -0
  166. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +339 -0
  167. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +138 -0
  168. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +126 -0
  169. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +135 -0
  170. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +127 -0
  171. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +120 -0
  172. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +680 -0
  173. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +829 -0
  174. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +130 -0
  175. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_object_handle_service.hpp +194 -0
  176. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_resolve_op.hpp +125 -0
  177. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_resolver_service.hpp +212 -0
  178. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +98 -0
  179. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +119 -0
  180. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +110 -0
  181. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +250 -0
  182. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +362 -0
  183. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/work_dispatcher.hpp +143 -0
  184. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wrapped_handler.hpp +217 -0
  185. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/dispatch.hpp +197 -0
  186. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/error.hpp +389 -0
  187. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/error_code.hpp +39 -0
  188. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/allocator.hpp +278 -0
  189. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/any_executor.hpp +1933 -0
  190. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/bad_executor.hpp +46 -0
  191. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/blocking.hpp +1360 -0
  192. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/blocking_adaptation.hpp +1080 -0
  193. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/context.hpp +191 -0
  194. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/context_as.hpp +190 -0
  195. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/executor.hpp +116 -0
  196. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/impl/bad_executor.ipp +40 -0
  197. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/invocable_archetype.hpp +43 -0
  198. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/mapping.hpp +1002 -0
  199. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/occupancy.hpp +184 -0
  200. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/outstanding_work.hpp +753 -0
  201. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/prefer_only.hpp +328 -0
  202. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/relationship.hpp +751 -0
  203. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution.hpp +33 -0
  204. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution_context.hpp +388 -0
  205. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/executor.hpp +343 -0
  206. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/executor_work_guard.hpp +362 -0
  207. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/as_single.hpp +132 -0
  208. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/awaitable_operators.hpp +536 -0
  209. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/basic_channel.hpp +513 -0
  210. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/basic_concurrent_channel.hpp +513 -0
  211. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/cancellation_condition.hpp +152 -0
  212. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel.hpp +70 -0
  213. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel_error.hpp +82 -0
  214. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel_traits.hpp +301 -0
  215. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/co_composed.hpp +145 -0
  216. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/concurrent_channel.hpp +70 -0
  217. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_handler.hpp +77 -0
  218. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_message.hpp +129 -0
  219. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_operation.hpp +361 -0
  220. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_payload.hpp +222 -0
  221. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_receive_op.hpp +127 -0
  222. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_send_functions.hpp +192 -0
  223. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_send_op.hpp +148 -0
  224. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_service.hpp +677 -0
  225. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/impl/channel_service.hpp +620 -0
  226. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/as_single.hpp +176 -0
  227. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/channel_error.ipp +61 -0
  228. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/co_composed.hpp +1174 -0
  229. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/coro.hpp +1222 -0
  230. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/parallel_group.hpp +787 -0
  231. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/promise.hpp +255 -0
  232. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/use_promise.hpp +66 -0
  233. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/parallel_group.hpp +456 -0
  234. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/use_coro.hpp +189 -0
  235. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/use_promise.hpp +111 -0
  236. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/basic_endpoint.hpp +189 -0
  237. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/datagram_protocol.hpp +123 -0
  238. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/raw_protocol.hpp +121 -0
  239. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/seq_packet_protocol.hpp +122 -0
  240. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/stream_protocol.hpp +127 -0
  241. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/high_resolution_timer.hpp +39 -0
  242. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/any_completion_executor.ipp +126 -0
  243. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/any_io_executor.ipp +134 -0
  244. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/append.hpp +162 -0
  245. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/as_tuple.hpp +245 -0
  246. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/awaitable.hpp +1195 -0
  247. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/buffered_read_stream.hpp +404 -0
  248. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/buffered_write_stream.hpp +384 -0
  249. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/co_spawn.hpp +440 -0
  250. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/connect.hpp +809 -0
  251. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/consign.hpp +137 -0
  252. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/deferred.hpp +147 -0
  253. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/detached.hpp +77 -0
  254. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/error.ipp +128 -0
  255. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/error_code.ipp +206 -0
  256. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/execution_context.hpp +77 -0
  257. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/executor.hpp +300 -0
  258. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/executor.ipp +43 -0
  259. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/io_context.hpp +433 -0
  260. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/multiple_exceptions.ipp +45 -0
  261. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/prepend.hpp +163 -0
  262. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read.hpp +1053 -0
  263. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read_at.hpp +628 -0
  264. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read_until.hpp +2941 -0
  265. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/redirect_error.hpp +250 -0
  266. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/spawn.hpp +1400 -0
  267. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/src.hpp +94 -0
  268. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_context.hpp +34 -0
  269. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_context.ipp +92 -0
  270. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_executor.hpp +179 -0
  271. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/thread_pool.hpp +277 -0
  272. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/use_awaitable.hpp +301 -0
  273. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/use_future.hpp +707 -0
  274. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/write.hpp +939 -0
  275. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/write_at.hpp +551 -0
  276. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_context.hpp +1509 -0
  277. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_context_strand.hpp +385 -0
  278. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address.hpp +281 -0
  279. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4.hpp +421 -0
  280. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4_iterator.hpp +156 -0
  281. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4_range.hpp +128 -0
  282. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6.hpp +407 -0
  283. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6_iterator.hpp +178 -0
  284. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6_range.hpp +124 -0
  285. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/bad_address_cast.hpp +63 -0
  286. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_endpoint.hpp +282 -0
  287. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver.hpp +1112 -0
  288. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +188 -0
  289. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_results.hpp +307 -0
  290. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/detail/endpoint.hpp +141 -0
  291. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +195 -0
  292. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/icmp.hpp +115 -0
  293. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address.ipp +235 -0
  294. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v4.ipp +206 -0
  295. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v6.ipp +342 -0
  296. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v4.ipp +218 -0
  297. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v6.ipp +187 -0
  298. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/network_v4.hpp +257 -0
  299. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/network_v6.hpp +231 -0
  300. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/tcp.hpp +155 -0
  301. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/udp.hpp +111 -0
  302. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_applicable_property.hpp +61 -0
  303. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_contiguous_iterator.hpp +45 -0
  304. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/basic_endpoint.hpp +243 -0
  305. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/datagram_protocol.hpp +80 -0
  306. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/seq_packet_protocol.hpp +84 -0
  307. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/stream_protocol.hpp +90 -0
  308. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/multiple_exceptions.hpp +52 -0
  309. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/packaged_task.hpp +66 -0
  310. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/placeholders.hpp +75 -0
  311. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/basic_descriptor.hpp +773 -0
  312. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +559 -0
  313. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/post.hpp +213 -0
  314. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/prefer.hpp +577 -0
  315. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/prepend.hpp +66 -0
  316. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/query.hpp +311 -0
  317. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read.hpp +1448 -0
  318. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read_at.hpp +778 -0
  319. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read_until.hpp +3124 -0
  320. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/recycling_allocator.hpp +138 -0
  321. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/redirect_error.hpp +64 -0
  322. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/registered_buffer.hpp +344 -0
  323. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/require.hpp +433 -0
  324. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/require_concept.hpp +343 -0
  325. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/signal_set_base.hpp +171 -0
  326. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/spawn.hpp +872 -0
  327. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/context.hpp +762 -0
  328. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +119 -0
  329. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/engine.hpp +169 -0
  330. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/handshake_op.hpp +67 -0
  331. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/impl/engine.ipp +377 -0
  332. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +169 -0
  333. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/io.hpp +376 -0
  334. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/read_op.hpp +72 -0
  335. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +69 -0
  336. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/stream_core.hpp +217 -0
  337. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/write_op.hpp +76 -0
  338. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/error.hpp +123 -0
  339. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/context.ipp +1319 -0
  340. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/error.ipp +124 -0
  341. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/stream.hpp +1038 -0
  342. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/steady_timer.hpp +37 -0
  343. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/strand.hpp +557 -0
  344. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_context.hpp +90 -0
  345. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_error.hpp +31 -0
  346. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_executor.hpp +671 -0
  347. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_timer.hpp +37 -0
  348. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/this_coro.hpp +267 -0
  349. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/thread_pool.hpp +963 -0
  350. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/equality_comparable.hpp +100 -0
  351. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/execute_member.hpp +104 -0
  352. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/prefer_free.hpp +104 -0
  353. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/prefer_member.hpp +104 -0
  354. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_free.hpp +104 -0
  355. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_member.hpp +104 -0
  356. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +101 -0
  357. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_concept_free.hpp +104 -0
  358. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_concept_member.hpp +104 -0
  359. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_free.hpp +104 -0
  360. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_member.hpp +104 -0
  361. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_query.hpp +102 -0
  362. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_require.hpp +115 -0
  363. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_require_concept.hpp +116 -0
  364. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/netfwd.hpp +236 -0
  365. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/use_awaitable.hpp +161 -0
  366. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/use_future.hpp +159 -0
  367. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/uses_executor.hpp +67 -0
  368. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/version.hpp +23 -0
  369. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_object_handle.hpp +485 -0
  370. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +455 -0
  371. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_random_access_handle.hpp +567 -0
  372. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_stream_handle.hpp +551 -0
  373. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/overlapped_ptr.hpp +145 -0
  374. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/write.hpp +1414 -0
  375. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/write_at.hpp +789 -0
  376. data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio.hpp +199 -0
  377. data/ext/cache/extconf_include.rb +3 -3
  378. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/CMakeLists.txt +453 -0
  379. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/ChangeLog.md +5533 -0
  380. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/README.md +490 -0
  381. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/args.h +235 -0
  382. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/chrono.h +2240 -0
  383. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/color.h +643 -0
  384. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/compile.h +535 -0
  385. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/core.h +2969 -0
  386. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/format-inl.h +1678 -0
  387. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/format.h +4535 -0
  388. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/os.h +455 -0
  389. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/ostream.h +245 -0
  390. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/printf.h +675 -0
  391. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/ranges.h +738 -0
  392. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/std.h +537 -0
  393. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt/xchar.h +259 -0
  394. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/src/fmt.cc +108 -0
  395. data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/src/os.cc +402 -0
  396. data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/CMakeLists.txt +117 -0
  397. data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/include/llhttp.h +903 -0
  398. data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/src/llhttp.c +10149 -0
  399. data/ext/cache/mozilla-ca-bundle.crt +19 -32
  400. data/ext/cache/mozilla-ca-bundle.sha256 +1 -1
  401. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/CMakeLists.txt +359 -0
  402. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/LICENSE +26 -0
  403. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/async.h +100 -0
  404. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/async_logger-inl.h +84 -0
  405. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/async_logger.h +74 -0
  406. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/cfg/argv.h +40 -0
  407. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/cfg/env.h +36 -0
  408. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/cfg/helpers-inl.h +107 -0
  409. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/cfg/helpers.h +29 -0
  410. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/common-inl.h +68 -0
  411. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/common.h +411 -0
  412. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/backtracer-inl.h +63 -0
  413. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/backtracer.h +45 -0
  414. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/circular_q.h +113 -0
  415. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/console_globals.h +28 -0
  416. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/file_helper-inl.h +152 -0
  417. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/file_helper.h +61 -0
  418. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/fmt_helper.h +141 -0
  419. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/log_msg-inl.h +44 -0
  420. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/log_msg.h +40 -0
  421. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/log_msg_buffer-inl.h +54 -0
  422. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/log_msg_buffer.h +32 -0
  423. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/mpmc_blocking_q.h +177 -0
  424. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/null_mutex.h +35 -0
  425. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/os-inl.h +585 -0
  426. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/os.h +123 -0
  427. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/periodic_worker-inl.h +26 -0
  428. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/periodic_worker.h +57 -0
  429. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/registry-inl.h +265 -0
  430. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/registry.h +122 -0
  431. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/synchronous_factory.h +22 -0
  432. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/tcp_client-windows.h +135 -0
  433. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/tcp_client.h +127 -0
  434. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/thread_pool-inl.h +127 -0
  435. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/thread_pool.h +117 -0
  436. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/udp_client-windows.h +98 -0
  437. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/udp_client.h +81 -0
  438. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/windows_include.h +11 -0
  439. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bin_to_hex.h +224 -0
  440. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/chrono.h +23 -0
  441. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/compile.h +23 -0
  442. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/fmt.h +34 -0
  443. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/ostr.h +23 -0
  444. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/ranges.h +23 -0
  445. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/std.h +24 -0
  446. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/xchar.h +23 -0
  447. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/formatter.h +17 -0
  448. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fwd.h +18 -0
  449. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/logger-inl.h +198 -0
  450. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/logger.h +379 -0
  451. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/pattern_formatter-inl.h +1268 -0
  452. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/pattern_formatter.h +118 -0
  453. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/android_sink.h +137 -0
  454. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h +135 -0
  455. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/ansicolor_sink.h +115 -0
  456. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/base_sink-inl.h +59 -0
  457. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/base_sink.h +51 -0
  458. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/basic_file_sink-inl.h +42 -0
  459. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/basic_file_sink.h +65 -0
  460. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/callback_sink.h +56 -0
  461. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/daily_file_sink.h +252 -0
  462. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/dist_sink.h +81 -0
  463. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/dup_filter_sink.h +92 -0
  464. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/hourly_file_sink.h +191 -0
  465. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/kafka_sink.h +119 -0
  466. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/mongo_sink.h +108 -0
  467. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/msvc_sink.h +68 -0
  468. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/null_sink.h +41 -0
  469. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/ostream_sink.h +43 -0
  470. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/qt_sinks.h +304 -0
  471. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/ringbuffer_sink.h +67 -0
  472. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h +144 -0
  473. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/rotating_file_sink.h +89 -0
  474. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/sink-inl.h +22 -0
  475. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/sink.h +34 -0
  476. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/stdout_color_sinks-inl.h +38 -0
  477. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/stdout_color_sinks.h +49 -0
  478. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/stdout_sinks-inl.h +126 -0
  479. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/stdout_sinks.h +84 -0
  480. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/syslog_sink.h +103 -0
  481. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/systemd_sink.h +121 -0
  482. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/tcp_sink.h +75 -0
  483. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/udp_sink.h +69 -0
  484. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/win_eventlog_sink.h +260 -0
  485. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/wincolor_sink-inl.h +163 -0
  486. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/wincolor_sink.h +82 -0
  487. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/spdlog-inl.h +92 -0
  488. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/spdlog.h +352 -0
  489. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/stopwatch.h +62 -0
  490. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/tweakme.h +141 -0
  491. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/version.h +11 -0
  492. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/async.cpp +11 -0
  493. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/bundled_fmtlib_format.cpp +49 -0
  494. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/cfg.cpp +8 -0
  495. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/color_sinks.cpp +55 -0
  496. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/file_sinks.cpp +20 -0
  497. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/spdlog.cpp +28 -0
  498. data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/stdout_sinks.cpp +37 -0
  499. data/ext/couchbase/CMakeLists.txt +20 -8
  500. data/ext/couchbase/cmake/0001-fix-build-for-mingw-w64-ucrt-x86_64-toolchain.patch +3 -4
  501. data/ext/couchbase/cmake/CompilerWarnings.cmake +2 -1
  502. data/ext/couchbase/cmake/Packaging.cmake +41 -0
  503. data/ext/couchbase/cmake/Sanitizers.cmake +1 -0
  504. data/ext/couchbase/cmake/StandardProjectSettings.cmake +0 -4
  505. data/ext/couchbase/cmake/ThirdPartyDependencies.cmake +15 -7
  506. data/ext/couchbase/cmake/VersionInfo.cmake +5 -5
  507. data/ext/couchbase/cmake/build_version.hxx.in +1 -0
  508. data/ext/couchbase/cmake/couchbase-cxx-client.pc.in +10 -0
  509. data/ext/couchbase/cmake/test_boringssl.cxx +1 -1
  510. data/ext/couchbase/cmake/test_openssl.cxx +1 -1
  511. data/ext/couchbase/core/agent.cxx +353 -304
  512. data/ext/couchbase/core/agent.hxx +94 -76
  513. data/ext/couchbase/core/agent_config.cxx +9 -8
  514. data/ext/couchbase/core/agent_config.hxx +7 -7
  515. data/ext/couchbase/core/agent_group.cxx +132 -120
  516. data/ext/couchbase/core/agent_group.hxx +26 -22
  517. data/ext/couchbase/core/agent_group_config.cxx +8 -7
  518. data/ext/couchbase/core/agent_group_config.hxx +6 -6
  519. data/ext/couchbase/core/agent_unit_test_api.hxx +6 -6
  520. data/ext/couchbase/core/analytics_query_options.cxx +21 -21
  521. data/ext/couchbase/core/analytics_query_options.hxx +19 -18
  522. data/ext/couchbase/core/analytics_scan_consistency.hxx +2 -2
  523. data/ext/couchbase/core/bucket.cxx +848 -758
  524. data/ext/couchbase/core/bucket.hxx +151 -139
  525. data/ext/couchbase/core/capella_ca.hxx +20 -19
  526. data/ext/couchbase/core/cluster.cxx +1239 -939
  527. data/ext/couchbase/core/cluster.hxx +254 -167
  528. data/ext/couchbase/core/cluster_agent.cxx +7 -7
  529. data/ext/couchbase/core/cluster_agent.hxx +4 -4
  530. data/ext/couchbase/core/cluster_agent_config.cxx +8 -7
  531. data/ext/couchbase/core/cluster_agent_config.hxx +6 -6
  532. data/ext/couchbase/core/cluster_options.cxx +17 -17
  533. data/ext/couchbase/core/cluster_options.hxx +50 -47
  534. data/ext/couchbase/core/cluster_state.hxx +3 -3
  535. data/ext/couchbase/core/collection_id_cache_entry.hxx +5 -4
  536. data/ext/couchbase/core/collections_component.cxx +372 -326
  537. data/ext/couchbase/core/collections_component.hxx +17 -13
  538. data/ext/couchbase/core/collections_component_unit_test_api.hxx +6 -6
  539. data/ext/couchbase/core/collections_options.hxx +29 -27
  540. data/ext/couchbase/core/config_listener.hxx +3 -3
  541. data/ext/couchbase/core/config_profile.hxx +3 -3
  542. data/ext/couchbase/core/config_profiles.cxx +31 -31
  543. data/ext/couchbase/core/config_profiles.hxx +19 -19
  544. data/ext/couchbase/core/core_sdk_shim.cxx +2 -1
  545. data/ext/couchbase/core/core_sdk_shim.hxx +2 -2
  546. data/ext/couchbase/core/crud_component.cxx +320 -272
  547. data/ext/couchbase/core/crud_component.hxx +21 -15
  548. data/ext/couchbase/core/crud_options.hxx +361 -354
  549. data/ext/couchbase/core/crypto/cbcrypto.cc +732 -627
  550. data/ext/couchbase/core/crypto/cbcrypto.h +12 -3
  551. data/ext/couchbase/core/design_document_namespace.hxx +2 -2
  552. data/ext/couchbase/core/design_document_namespace_fmt.hxx +18 -18
  553. data/ext/couchbase/core/diagnostics.hxx +44 -44
  554. data/ext/couchbase/core/diagnostics_fmt.hxx +76 -76
  555. data/ext/couchbase/core/diagnostics_json.hxx +61 -60
  556. data/ext/couchbase/core/diagntostics_options.hxx +14 -14
  557. data/ext/couchbase/core/dispatcher.cxx +4 -3
  558. data/ext/couchbase/core/dispatcher.hxx +8 -7
  559. data/ext/couchbase/core/document_id.cxx +37 -34
  560. data/ext/couchbase/core/document_id.hxx +87 -86
  561. data/ext/couchbase/core/document_id_fmt.hxx +10 -10
  562. data/ext/couchbase/core/durability_options.hxx +50 -49
  563. data/ext/couchbase/core/error_context/analytics.hxx +18 -18
  564. data/ext/couchbase/core/error_context/analytics_json.hxx +115 -0
  565. data/ext/couchbase/core/error_context/base_error_context.hxx +184 -0
  566. data/ext/couchbase/core/error_context/http.hxx +14 -14
  567. data/ext/couchbase/core/error_context/http_json.hxx +90 -0
  568. data/ext/couchbase/core/error_context/internal_tof_metadata_json.hxx +36 -0
  569. data/ext/couchbase/core/error_context/key_value.cxx +27 -27
  570. data/ext/couchbase/core/error_context/key_value.hxx +41 -38
  571. data/ext/couchbase/core/error_context/key_value_error_context.hxx +235 -0
  572. data/ext/couchbase/core/error_context/key_value_error_map_attribute.hxx +142 -0
  573. data/ext/couchbase/core/error_context/key_value_error_map_info.hxx +139 -0
  574. data/ext/couchbase/core/error_context/key_value_extended_error_info.hxx +86 -0
  575. data/ext/couchbase/core/error_context/key_value_json.hxx +83 -0
  576. data/ext/couchbase/core/error_context/key_value_status_code.hxx +109 -0
  577. data/ext/couchbase/core/error_context/query.hxx +18 -18
  578. data/ext/couchbase/core/error_context/query_error_context.hxx +150 -0
  579. data/ext/couchbase/core/error_context/query_json.hxx +114 -0
  580. data/ext/couchbase/core/error_context/query_public_json.hxx +84 -0
  581. data/ext/couchbase/core/error_context/search.hxx +17 -17
  582. data/ext/couchbase/core/error_context/search_json.hxx +101 -0
  583. data/ext/couchbase/core/error_context/subdocument_error_context.hxx +147 -0
  584. data/ext/couchbase/core/error_context/subdocument_json.hxx +48 -0
  585. data/ext/couchbase/core/error_context/transaction_error_context.hxx +49 -0
  586. data/ext/couchbase/core/error_context/transaction_op_error_context.hxx +79 -0
  587. data/ext/couchbase/core/error_context/view.hxx +17 -17
  588. data/ext/couchbase/core/fmt/key_value_error_map_attribute.hxx +100 -0
  589. data/ext/couchbase/core/fmt/key_value_extended_error_info.hxx +52 -0
  590. data/ext/couchbase/core/fmt/key_value_status_code.hxx +269 -0
  591. data/ext/couchbase/core/free_form_http_request.cxx +26 -26
  592. data/ext/couchbase/core/free_form_http_request.hxx +34 -33
  593. data/ext/couchbase/core/impl/analytics.cxx +111 -131
  594. data/ext/couchbase/core/impl/analytics.hxx +5 -7
  595. data/ext/couchbase/core/impl/analytics_error_category.cxx +29 -28
  596. data/ext/couchbase/core/impl/analytics_index_manager.cxx +615 -516
  597. data/ext/couchbase/core/impl/best_effort_retry_strategy.cxx +53 -50
  598. data/ext/couchbase/core/impl/binary_collection.cxx +346 -285
  599. data/ext/couchbase/core/impl/boolean_field_query.cxx +10 -10
  600. data/ext/couchbase/core/impl/boolean_query.cxx +27 -27
  601. data/ext/couchbase/core/impl/bootstrap_state_listener.hxx +6 -6
  602. data/ext/couchbase/core/impl/bucket.cxx +39 -34
  603. data/ext/couchbase/core/impl/bucket_manager.cxx +354 -313
  604. data/ext/couchbase/core/impl/cluster.cxx +430 -325
  605. data/ext/couchbase/core/impl/collection.cxx +1047 -1096
  606. data/ext/couchbase/core/impl/collection_manager.cxx +201 -170
  607. data/ext/couchbase/core/impl/common_error_category.cxx +58 -55
  608. data/ext/couchbase/core/impl/configuration_profiles_registry.cxx +46 -32
  609. data/ext/couchbase/core/impl/conjunction_query.cxx +17 -17
  610. data/ext/couchbase/core/impl/date_range.cxx +24 -20
  611. data/ext/couchbase/core/impl/date_range_facet.cxx +22 -22
  612. data/ext/couchbase/core/impl/date_range_facet_result.cxx +6 -6
  613. data/ext/couchbase/core/impl/date_range_query.cxx +50 -48
  614. data/ext/couchbase/core/impl/diagnostics.cxx +211 -198
  615. data/ext/couchbase/core/impl/diagnostics.hxx +7 -6
  616. data/ext/couchbase/core/impl/disjunction_query.cxx +18 -17
  617. data/ext/couchbase/core/impl/dns_srv_tracker.cxx +92 -75
  618. data/ext/couchbase/core/impl/dns_srv_tracker.hxx +24 -20
  619. data/ext/couchbase/core/impl/doc_id_query.cxx +9 -9
  620. data/ext/couchbase/core/impl/encoded_search_facet.hxx +2 -2
  621. data/ext/couchbase/core/impl/encoded_search_query.hxx +2 -2
  622. data/ext/couchbase/core/impl/encoded_search_sort.hxx +2 -2
  623. data/ext/couchbase/core/impl/error.cxx +171 -0
  624. data/ext/couchbase/core/impl/error.hxx +64 -0
  625. data/ext/couchbase/core/impl/error_context.cxx +56 -0
  626. data/ext/couchbase/core/impl/expiry.cxx +66 -53
  627. data/ext/couchbase/core/impl/fail_fast_retry_strategy.cxx +5 -4
  628. data/ext/couchbase/core/impl/field_level_encryption_error_category.cxx +30 -28
  629. data/ext/couchbase/core/impl/geo_bounding_box_query.cxx +17 -17
  630. data/ext/couchbase/core/impl/geo_distance_query.cxx +14 -14
  631. data/ext/couchbase/core/impl/geo_polygon_query.cxx +17 -17
  632. data/ext/couchbase/core/impl/get_all_replicas.hxx +26 -22
  633. data/ext/couchbase/core/impl/get_any_replica.hxx +25 -23
  634. data/ext/couchbase/core/impl/get_replica.cxx +18 -15
  635. data/ext/couchbase/core/impl/get_replica.hxx +23 -18
  636. data/ext/couchbase/core/impl/internal_date_range_facet_result.cxx +16 -14
  637. data/ext/couchbase/core/impl/internal_date_range_facet_result.hxx +16 -15
  638. data/ext/couchbase/core/impl/internal_error_context.cxx +79 -0
  639. data/ext/couchbase/core/impl/internal_error_context.hxx +52 -0
  640. data/ext/couchbase/core/impl/internal_numeric_range_facet_result.cxx +18 -15
  641. data/ext/couchbase/core/impl/internal_numeric_range_facet_result.hxx +16 -15
  642. data/ext/couchbase/core/impl/internal_scan_result.hxx +37 -0
  643. data/ext/couchbase/core/impl/internal_search_error_context.cxx +25 -22
  644. data/ext/couchbase/core/impl/internal_search_error_context.hxx +32 -31
  645. data/ext/couchbase/core/impl/internal_search_meta_data.cxx +15 -13
  646. data/ext/couchbase/core/impl/internal_search_meta_data.hxx +10 -9
  647. data/ext/couchbase/core/impl/internal_search_result.cxx +30 -22
  648. data/ext/couchbase/core/impl/internal_search_result.hxx +10 -9
  649. data/ext/couchbase/core/impl/internal_search_row.cxx +10 -10
  650. data/ext/couchbase/core/impl/internal_search_row.hxx +16 -16
  651. data/ext/couchbase/core/impl/internal_search_row_location.hxx +2 -2
  652. data/ext/couchbase/core/impl/internal_search_row_locations.cxx +68 -65
  653. data/ext/couchbase/core/impl/internal_search_row_locations.hxx +16 -13
  654. data/ext/couchbase/core/impl/internal_term_facet_result.cxx +16 -14
  655. data/ext/couchbase/core/impl/internal_term_facet_result.hxx +15 -15
  656. data/ext/couchbase/core/impl/key_value_error_category.cxx +73 -72
  657. data/ext/couchbase/core/impl/key_value_error_context.cxx +65 -65
  658. data/ext/couchbase/core/impl/logger.cxx +91 -0
  659. data/ext/couchbase/core/impl/lookup_in_all_replicas.hxx +32 -29
  660. data/ext/couchbase/core/impl/lookup_in_any_replica.hxx +33 -29
  661. data/ext/couchbase/core/impl/lookup_in_replica.cxx +75 -68
  662. data/ext/couchbase/core/impl/lookup_in_replica.hxx +30 -26
  663. data/ext/couchbase/core/impl/management_error_category.cxx +41 -40
  664. data/ext/couchbase/core/impl/match_all_query.cxx +6 -6
  665. data/ext/couchbase/core/impl/match_none_query.cxx +6 -6
  666. data/ext/couchbase/core/impl/match_phrase_query.cxx +13 -13
  667. data/ext/couchbase/core/impl/match_query.cxx +28 -28
  668. data/ext/couchbase/core/impl/network_error_category.cxx +39 -38
  669. data/ext/couchbase/core/impl/numeric_range.cxx +6 -6
  670. data/ext/couchbase/core/impl/numeric_range_facet.cxx +22 -22
  671. data/ext/couchbase/core/impl/numeric_range_facet_result.cxx +6 -6
  672. data/ext/couchbase/core/impl/numeric_range_query.cxx +22 -22
  673. data/ext/couchbase/core/impl/observe_poll.cxx +294 -277
  674. data/ext/couchbase/core/impl/observe_poll.hxx +1 -1
  675. data/ext/couchbase/core/impl/observe_seqno.cxx +21 -18
  676. data/ext/couchbase/core/impl/observe_seqno.hxx +31 -26
  677. data/ext/couchbase/core/impl/phrase_query.cxx +10 -10
  678. data/ext/couchbase/core/impl/prefix_query.cxx +10 -10
  679. data/ext/couchbase/core/impl/query.cxx +163 -154
  680. data/ext/couchbase/core/impl/query.hxx +6 -7
  681. data/ext/couchbase/core/impl/query_error_category.cxx +22 -21
  682. data/ext/couchbase/core/impl/query_error_context.cxx +45 -45
  683. data/ext/couchbase/core/impl/query_index_manager.cxx +488 -408
  684. data/ext/couchbase/core/impl/query_string_query.cxx +7 -7
  685. data/ext/couchbase/core/impl/regexp_query.cxx +10 -10
  686. data/ext/couchbase/core/impl/replica_utils.cxx +66 -0
  687. data/ext/couchbase/core/impl/replica_utils.hxx +48 -0
  688. data/ext/couchbase/core/impl/retry_action.cxx +3 -3
  689. data/ext/couchbase/core/impl/retry_reason.cxx +129 -56
  690. data/ext/couchbase/core/impl/retry_reason.hxx +28 -0
  691. data/ext/couchbase/core/impl/scan_result.cxx +178 -0
  692. data/ext/couchbase/core/impl/scope.cxx +103 -94
  693. data/ext/couchbase/core/impl/search.cxx +139 -130
  694. data/ext/couchbase/core/impl/search.hxx +4 -4
  695. data/ext/couchbase/core/impl/search_error_category.cxx +18 -17
  696. data/ext/couchbase/core/impl/search_index_manager.cxx +492 -390
  697. data/ext/couchbase/core/impl/search_meta_data.cxx +3 -3
  698. data/ext/couchbase/core/impl/search_request.cxx +78 -78
  699. data/ext/couchbase/core/impl/search_result.cxx +5 -5
  700. data/ext/couchbase/core/impl/search_row.cxx +7 -7
  701. data/ext/couchbase/core/impl/search_row_location.cxx +9 -8
  702. data/ext/couchbase/core/impl/search_row_locations.cxx +8 -7
  703. data/ext/couchbase/core/impl/search_sort_field.cxx +53 -53
  704. data/ext/couchbase/core/impl/search_sort_geo_distance.cxx +49 -48
  705. data/ext/couchbase/core/impl/search_sort_id.cxx +10 -10
  706. data/ext/couchbase/core/impl/search_sort_score.cxx +10 -10
  707. data/ext/couchbase/core/impl/streaming_json_lexer_error_category.cxx +70 -68
  708. data/ext/couchbase/core/impl/subdoc/array_add_unique.cxx +6 -6
  709. data/ext/couchbase/core/impl/subdoc/array_append.cxx +6 -6
  710. data/ext/couchbase/core/impl/subdoc/array_insert.cxx +6 -6
  711. data/ext/couchbase/core/impl/subdoc/array_prepend.cxx +6 -6
  712. data/ext/couchbase/core/impl/subdoc/command.hxx +5 -5
  713. data/ext/couchbase/core/impl/subdoc/command_bundle.hxx +11 -11
  714. data/ext/couchbase/core/impl/subdoc/count.cxx +6 -6
  715. data/ext/couchbase/core/impl/subdoc/counter.cxx +6 -6
  716. data/ext/couchbase/core/impl/subdoc/exists.cxx +6 -6
  717. data/ext/couchbase/core/impl/subdoc/get.cxx +6 -6
  718. data/ext/couchbase/core/impl/subdoc/insert.cxx +6 -6
  719. data/ext/couchbase/core/impl/subdoc/join_values.cxx +25 -25
  720. data/ext/couchbase/core/impl/subdoc/lookup_in_macro.cxx +61 -60
  721. data/ext/couchbase/core/impl/subdoc/lookup_in_specs.cxx +9 -9
  722. data/ext/couchbase/core/impl/subdoc/mutate_in_macro.cxx +48 -39
  723. data/ext/couchbase/core/impl/subdoc/mutate_in_specs.cxx +9 -9
  724. data/ext/couchbase/core/impl/subdoc/opcode.hxx +16 -16
  725. data/ext/couchbase/core/impl/subdoc/path_flags.hxx +40 -17
  726. data/ext/couchbase/core/impl/subdoc/remove.cxx +6 -6
  727. data/ext/couchbase/core/impl/subdoc/replace.cxx +6 -6
  728. data/ext/couchbase/core/impl/subdoc/upsert.cxx +6 -6
  729. data/ext/couchbase/core/impl/term_facet.cxx +8 -8
  730. data/ext/couchbase/core/impl/term_facet_result.cxx +6 -6
  731. data/ext/couchbase/core/impl/term_query.cxx +25 -25
  732. data/ext/couchbase/core/impl/term_range_query.cxx +22 -22
  733. data/ext/couchbase/core/impl/transaction_error_category.cxx +21 -20
  734. data/ext/couchbase/core/impl/transaction_get_result.cxx +41 -30
  735. data/ext/couchbase/core/impl/transaction_op_error_category.cxx +55 -56
  736. data/ext/couchbase/core/impl/vector_query.cxx +15 -10
  737. data/ext/couchbase/core/impl/vector_search.cxx +9 -9
  738. data/ext/couchbase/core/impl/view_error_category.cxx +17 -16
  739. data/ext/couchbase/core/impl/wildcard_query.cxx +10 -10
  740. data/ext/couchbase/core/impl/with_legacy_durability.hxx +30 -29
  741. data/ext/couchbase/core/io/dns_client.cxx +257 -232
  742. data/ext/couchbase/core/io/dns_client.hxx +19 -18
  743. data/ext/couchbase/core/io/dns_codec.hxx +156 -154
  744. data/ext/couchbase/core/io/dns_config.cxx +114 -109
  745. data/ext/couchbase/core/io/dns_config.hxx +15 -13
  746. data/ext/couchbase/core/io/dns_message.hxx +365 -342
  747. data/ext/couchbase/core/io/http_command.hxx +155 -134
  748. data/ext/couchbase/core/io/http_context.hxx +5 -5
  749. data/ext/couchbase/core/io/http_message.hxx +75 -71
  750. data/ext/couchbase/core/io/http_parser.cxx +70 -67
  751. data/ext/couchbase/core/io/http_parser.hxx +18 -18
  752. data/ext/couchbase/core/io/http_session.hxx +620 -520
  753. data/ext/couchbase/core/io/http_session_manager.hxx +406 -315
  754. data/ext/couchbase/core/io/http_traits.hxx +7 -0
  755. data/ext/couchbase/core/io/ip_protocol.hxx +3 -3
  756. data/ext/couchbase/core/io/mcbp_command.hxx +298 -278
  757. data/ext/couchbase/core/io/mcbp_context.hxx +7 -6
  758. data/ext/couchbase/core/io/mcbp_message.cxx +8 -8
  759. data/ext/couchbase/core/io/mcbp_message.hxx +19 -19
  760. data/ext/couchbase/core/io/mcbp_parser.cxx +60 -51
  761. data/ext/couchbase/core/io/mcbp_parser.hxx +21 -17
  762. data/ext/couchbase/core/io/mcbp_session.cxx +1769 -1599
  763. data/ext/couchbase/core/io/mcbp_session.hxx +63 -57
  764. data/ext/couchbase/core/io/query_cache.hxx +34 -34
  765. data/ext/couchbase/core/io/retry_context.hxx +45 -45
  766. data/ext/couchbase/core/io/retry_orchestrator.hxx +52 -42
  767. data/ext/couchbase/core/io/streams.hxx +210 -193
  768. data/ext/couchbase/core/json_string.hxx +47 -47
  769. data/ext/couchbase/core/key_value_config.cxx +8 -8
  770. data/ext/couchbase/core/key_value_config.hxx +12 -11
  771. data/ext/couchbase/core/logger/configuration.hxx +35 -35
  772. data/ext/couchbase/core/logger/custom_rotating_file_sink.cxx +73 -72
  773. data/ext/couchbase/core/logger/custom_rotating_file_sink.hxx +20 -18
  774. data/ext/couchbase/core/logger/level.hxx +9 -1
  775. data/ext/couchbase/core/logger/logger.cxx +279 -252
  776. data/ext/couchbase/core/logger/logger.hxx +110 -58
  777. data/ext/couchbase/core/management/analytics_dataset.hxx +4 -4
  778. data/ext/couchbase/core/management/analytics_index.hxx +4 -4
  779. data/ext/couchbase/core/management/analytics_link_azure_blob_external.cxx +35 -33
  780. data/ext/couchbase/core/management/analytics_link_azure_blob_external.hxx +36 -35
  781. data/ext/couchbase/core/management/analytics_link_azure_blob_external_json.hxx +24 -20
  782. data/ext/couchbase/core/management/analytics_link_couchbase_remote.cxx +66 -65
  783. data/ext/couchbase/core/management/analytics_link_couchbase_remote.hxx +77 -70
  784. data/ext/couchbase/core/management/analytics_link_couchbase_remote_json.hxx +38 -32
  785. data/ext/couchbase/core/management/analytics_link_s3_external.cxx +26 -25
  786. data/ext/couchbase/core/management/analytics_link_s3_external.hxx +30 -30
  787. data/ext/couchbase/core/management/analytics_link_s3_external_json.hxx +18 -16
  788. data/ext/couchbase/core/management/bucket_settings.hxx +109 -91
  789. data/ext/couchbase/core/management/bucket_settings_json.hxx +112 -94
  790. data/ext/couchbase/core/management/design_document.hxx +9 -9
  791. data/ext/couchbase/core/management/eventing_function.hxx +124 -115
  792. data/ext/couchbase/core/management/eventing_function_json.hxx +230 -178
  793. data/ext/couchbase/core/management/eventing_status.hxx +42 -37
  794. data/ext/couchbase/core/management/eventing_status_json.hxx +53 -40
  795. data/ext/couchbase/core/management/rbac.hxx +33 -28
  796. data/ext/couchbase/core/management/rbac_fmt.hxx +21 -21
  797. data/ext/couchbase/core/management/rbac_json.hxx +132 -125
  798. data/ext/couchbase/core/management/search_index.cxx +79 -0
  799. data/ext/couchbase/core/management/search_index.hxx +11 -10
  800. data/ext/couchbase/core/management/search_index_json.hxx +27 -26
  801. data/ext/couchbase/core/mcbp/barrier_frame.hxx +4 -3
  802. data/ext/couchbase/core/mcbp/big_endian.cxx +22 -22
  803. data/ext/couchbase/core/mcbp/buffer_writer.cxx +22 -19
  804. data/ext/couchbase/core/mcbp/buffer_writer.hxx +9 -9
  805. data/ext/couchbase/core/mcbp/codec.cxx +419 -397
  806. data/ext/couchbase/core/mcbp/codec.hxx +14 -12
  807. data/ext/couchbase/core/mcbp/command_code.cxx +48 -48
  808. data/ext/couchbase/core/mcbp/completion_token.hxx +33 -33
  809. data/ext/couchbase/core/mcbp/datatype.hxx +3 -3
  810. data/ext/couchbase/core/mcbp/durability_level.hxx +8 -7
  811. data/ext/couchbase/core/mcbp/durability_level_frame.hxx +3 -2
  812. data/ext/couchbase/core/mcbp/durability_timeout_frame.hxx +4 -3
  813. data/ext/couchbase/core/mcbp/open_tracing_frame.hxx +3 -2
  814. data/ext/couchbase/core/mcbp/operation_consumer.cxx +3 -3
  815. data/ext/couchbase/core/mcbp/operation_consumer.hxx +9 -9
  816. data/ext/couchbase/core/mcbp/operation_queue.cxx +76 -70
  817. data/ext/couchbase/core/mcbp/operation_queue.hxx +18 -17
  818. data/ext/couchbase/core/mcbp/packet.cxx +65 -51
  819. data/ext/couchbase/core/mcbp/packet.hxx +25 -25
  820. data/ext/couchbase/core/mcbp/preserve_expiry_frame.hxx +4 -2
  821. data/ext/couchbase/core/mcbp/queue_callback.hxx +3 -2
  822. data/ext/couchbase/core/mcbp/queue_request.cxx +65 -62
  823. data/ext/couchbase/core/mcbp/queue_request.hxx +54 -52
  824. data/ext/couchbase/core/mcbp/queue_request_connection_info.hxx +3 -3
  825. data/ext/couchbase/core/mcbp/queue_response.hxx +7 -7
  826. data/ext/couchbase/core/mcbp/read_units_frame.hxx +3 -2
  827. data/ext/couchbase/core/mcbp/server_duration.cxx +7 -7
  828. data/ext/couchbase/core/mcbp/server_duration_frame.hxx +3 -2
  829. data/ext/couchbase/core/mcbp/stream_id_frame.hxx +3 -2
  830. data/ext/couchbase/core/mcbp/unsupported_frame.hxx +4 -3
  831. data/ext/couchbase/core/mcbp/user_impersonation_frame.hxx +1 -1
  832. data/ext/couchbase/core/mcbp/write_units_frame.hxx +3 -2
  833. data/ext/couchbase/core/meta/features.hxx +64 -0
  834. data/ext/couchbase/core/meta/version.cxx +255 -204
  835. data/ext/couchbase/core/meta/version.hxx +31 -20
  836. data/ext/couchbase/core/metrics/logging_meter.cxx +160 -154
  837. data/ext/couchbase/core/metrics/logging_meter.hxx +16 -15
  838. data/ext/couchbase/core/metrics/logging_meter_options.hxx +1 -1
  839. data/ext/couchbase/core/metrics/noop_meter.hxx +14 -13
  840. data/ext/couchbase/core/mozilla_ca_bundle.hxx +2 -2
  841. data/ext/couchbase/core/n1ql_query_options.cxx +31 -31
  842. data/ext/couchbase/core/n1ql_query_options.hxx +22 -21
  843. data/ext/couchbase/core/operation_map.hxx +3 -3
  844. data/ext/couchbase/core/operations/document_analytics.cxx +187 -176
  845. data/ext/couchbase/core/operations/document_analytics.hxx +79 -71
  846. data/ext/couchbase/core/operations/document_append.cxx +18 -15
  847. data/ext/couchbase/core/operations/document_append.hxx +18 -16
  848. data/ext/couchbase/core/operations/document_decrement.cxx +26 -23
  849. data/ext/couchbase/core/operations/document_decrement.hxx +24 -20
  850. data/ext/couchbase/core/operations/document_exists.cxx +23 -21
  851. data/ext/couchbase/core/operations/document_exists.hxx +25 -23
  852. data/ext/couchbase/core/operations/document_get.cxx +17 -15
  853. data/ext/couchbase/core/operations/document_get.hxx +17 -15
  854. data/ext/couchbase/core/operations/document_get_all_replicas.hxx +121 -92
  855. data/ext/couchbase/core/operations/document_get_and_lock.cxx +19 -16
  856. data/ext/couchbase/core/operations/document_get_and_lock.hxx +21 -17
  857. data/ext/couchbase/core/operations/document_get_and_touch.cxx +19 -16
  858. data/ext/couchbase/core/operations/document_get_and_touch.hxx +22 -18
  859. data/ext/couchbase/core/operations/document_get_any_replica.hxx +111 -82
  860. data/ext/couchbase/core/operations/document_get_projected.cxx +193 -184
  861. data/ext/couchbase/core/operations/document_get_projected.hxx +25 -21
  862. data/ext/couchbase/core/operations/document_increment.cxx +26 -23
  863. data/ext/couchbase/core/operations/document_increment.hxx +24 -20
  864. data/ext/couchbase/core/operations/document_insert.cxx +23 -20
  865. data/ext/couchbase/core/operations/document_insert.hxx +20 -18
  866. data/ext/couchbase/core/operations/document_lookup_in.cxx +80 -67
  867. data/ext/couchbase/core/operations/document_lookup_in.hxx +31 -27
  868. data/ext/couchbase/core/operations/document_lookup_in_all_replicas.hxx +187 -149
  869. data/ext/couchbase/core/operations/document_lookup_in_any_replica.hxx +190 -145
  870. data/ext/couchbase/core/operations/document_mutate_in.cxx +98 -80
  871. data/ext/couchbase/core/operations/document_mutate_in.hxx +38 -33
  872. data/ext/couchbase/core/operations/document_prepend.cxx +18 -15
  873. data/ext/couchbase/core/operations/document_prepend.hxx +18 -16
  874. data/ext/couchbase/core/operations/document_query.cxx +367 -352
  875. data/ext/couchbase/core/operations/document_query.hxx +83 -79
  876. data/ext/couchbase/core/operations/document_remove.cxx +18 -15
  877. data/ext/couchbase/core/operations/document_remove.hxx +18 -16
  878. data/ext/couchbase/core/operations/document_replace.cxx +27 -24
  879. data/ext/couchbase/core/operations/document_replace.hxx +22 -20
  880. data/ext/couchbase/core/operations/document_search.cxx +322 -308
  881. data/ext/couchbase/core/operations/document_search.hxx +125 -121
  882. data/ext/couchbase/core/operations/document_touch.cxx +16 -14
  883. data/ext/couchbase/core/operations/document_touch.hxx +19 -17
  884. data/ext/couchbase/core/operations/document_unlock.cxx +16 -14
  885. data/ext/couchbase/core/operations/document_unlock.hxx +19 -17
  886. data/ext/couchbase/core/operations/document_upsert.cxx +26 -23
  887. data/ext/couchbase/core/operations/document_upsert.hxx +21 -19
  888. data/ext/couchbase/core/operations/document_view.cxx +169 -159
  889. data/ext/couchbase/core/operations/document_view.hxx +68 -65
  890. data/ext/couchbase/core/operations/http_noop.cxx +38 -35
  891. data/ext/couchbase/core/operations/http_noop.hxx +12 -10
  892. data/ext/couchbase/core/operations/management/analytics_dataset_create.cxx +58 -56
  893. data/ext/couchbase/core/operations/management/analytics_dataset_create.hxx +20 -17
  894. data/ext/couchbase/core/operations/management/analytics_dataset_drop.cxx +49 -44
  895. data/ext/couchbase/core/operations/management/analytics_dataset_drop.hxx +18 -15
  896. data/ext/couchbase/core/operations/management/analytics_dataset_get_all.cxx +46 -43
  897. data/ext/couchbase/core/operations/management/analytics_dataset_get_all.hxx +16 -13
  898. data/ext/couchbase/core/operations/management/analytics_dataverse_create.cxx +48 -43
  899. data/ext/couchbase/core/operations/management/analytics_dataverse_create.hxx +17 -14
  900. data/ext/couchbase/core/operations/management/analytics_dataverse_drop.cxx +48 -43
  901. data/ext/couchbase/core/operations/management/analytics_dataverse_drop.hxx +17 -14
  902. data/ext/couchbase/core/operations/management/analytics_get_pending_mutations.cxx +38 -35
  903. data/ext/couchbase/core/operations/management/analytics_get_pending_mutations.hxx +16 -14
  904. data/ext/couchbase/core/operations/management/analytics_index_create.cxx +68 -66
  905. data/ext/couchbase/core/operations/management/analytics_index_create.hxx +20 -17
  906. data/ext/couchbase/core/operations/management/analytics_index_drop.cxx +56 -51
  907. data/ext/couchbase/core/operations/management/analytics_index_drop.hxx +19 -16
  908. data/ext/couchbase/core/operations/management/analytics_index_get_all.cxx +44 -42
  909. data/ext/couchbase/core/operations/management/analytics_index_get_all.hxx +16 -13
  910. data/ext/couchbase/core/operations/management/analytics_link_connect.cxx +49 -43
  911. data/ext/couchbase/core/operations/management/analytics_link_connect.hxx +23 -20
  912. data/ext/couchbase/core/operations/management/analytics_link_create.cxx +52 -51
  913. data/ext/couchbase/core/operations/management/analytics_link_create.hxx +33 -30
  914. data/ext/couchbase/core/operations/management/analytics_link_disconnect.cxx +46 -42
  915. data/ext/couchbase/core/operations/management/analytics_link_disconnect.hxx +22 -19
  916. data/ext/couchbase/core/operations/management/analytics_link_drop.cxx +70 -67
  917. data/ext/couchbase/core/operations/management/analytics_link_drop.hxx +22 -19
  918. data/ext/couchbase/core/operations/management/analytics_link_get_all.cxx +92 -85
  919. data/ext/couchbase/core/operations/management/analytics_link_get_all.hxx +27 -24
  920. data/ext/couchbase/core/operations/management/analytics_link_replace.cxx +52 -51
  921. data/ext/couchbase/core/operations/management/analytics_link_replace.hxx +33 -30
  922. data/ext/couchbase/core/operations/management/analytics_link_utils.hxx +6 -4
  923. data/ext/couchbase/core/operations/management/analytics_problem.hxx +2 -2
  924. data/ext/couchbase/core/operations/management/bucket_create.cxx +158 -149
  925. data/ext/couchbase/core/operations/management/bucket_create.hxx +14 -12
  926. data/ext/couchbase/core/operations/management/bucket_describe.cxx +118 -42
  927. data/ext/couchbase/core/operations/management/bucket_describe.hxx +47 -22
  928. data/ext/couchbase/core/operations/management/bucket_drop.cxx +19 -18
  929. data/ext/couchbase/core/operations/management/bucket_drop.hxx +13 -11
  930. data/ext/couchbase/core/operations/management/bucket_flush.cxx +25 -24
  931. data/ext/couchbase/core/operations/management/bucket_flush.hxx +13 -11
  932. data/ext/couchbase/core/operations/management/bucket_get.cxx +24 -22
  933. data/ext/couchbase/core/operations/management/bucket_get.hxx +14 -12
  934. data/ext/couchbase/core/operations/management/bucket_get_all.cxx +25 -23
  935. data/ext/couchbase/core/operations/management/bucket_get_all.hxx +13 -11
  936. data/ext/couchbase/core/operations/management/bucket_update.cxx +112 -107
  937. data/ext/couchbase/core/operations/management/bucket_update.hxx +15 -13
  938. data/ext/couchbase/core/operations/management/change_password.cxx +22 -20
  939. data/ext/couchbase/core/operations/management/change_password.hxx +13 -11
  940. data/ext/couchbase/core/operations/management/cluster_describe.cxx +52 -50
  941. data/ext/couchbase/core/operations/management/cluster_describe.hxx +31 -29
  942. data/ext/couchbase/core/operations/management/cluster_developer_preview_enable.cxx +14 -12
  943. data/ext/couchbase/core/operations/management/cluster_developer_preview_enable.hxx +13 -11
  944. data/ext/couchbase/core/operations/management/collection_create.cxx +48 -46
  945. data/ext/couchbase/core/operations/management/collection_create.hxx +19 -16
  946. data/ext/couchbase/core/operations/management/collection_drop.cxx +37 -35
  947. data/ext/couchbase/core/operations/management/collection_drop.hxx +16 -14
  948. data/ext/couchbase/core/operations/management/collection_update.cxx +49 -47
  949. data/ext/couchbase/core/operations/management/collection_update.hxx +19 -16
  950. data/ext/couchbase/core/operations/management/collections_manifest_get.cxx +11 -9
  951. data/ext/couchbase/core/operations/management/collections_manifest_get.hxx +17 -13
  952. data/ext/couchbase/core/operations/management/error_utils.cxx +210 -198
  953. data/ext/couchbase/core/operations/management/error_utils.hxx +3 -1
  954. data/ext/couchbase/core/operations/management/eventing_deploy_function.cxx +31 -23
  955. data/ext/couchbase/core/operations/management/eventing_deploy_function.hxx +18 -12
  956. data/ext/couchbase/core/operations/management/eventing_drop_function.cxx +32 -24
  957. data/ext/couchbase/core/operations/management/eventing_drop_function.hxx +18 -12
  958. data/ext/couchbase/core/operations/management/eventing_get_all_functions.cxx +51 -30
  959. data/ext/couchbase/core/operations/management/eventing_get_all_functions.hxx +18 -12
  960. data/ext/couchbase/core/operations/management/eventing_get_function.cxx +30 -22
  961. data/ext/couchbase/core/operations/management/eventing_get_function.hxx +18 -13
  962. data/ext/couchbase/core/operations/management/eventing_get_status.cxx +46 -22
  963. data/ext/couchbase/core/operations/management/eventing_get_status.hxx +18 -12
  964. data/ext/couchbase/core/operations/management/eventing_pause_function.cxx +32 -23
  965. data/ext/couchbase/core/operations/management/eventing_pause_function.hxx +18 -12
  966. data/ext/couchbase/core/operations/management/eventing_problem.hxx +3 -3
  967. data/ext/couchbase/core/operations/management/eventing_resume_function.cxx +31 -23
  968. data/ext/couchbase/core/operations/management/eventing_resume_function.hxx +18 -12
  969. data/ext/couchbase/core/operations/management/eventing_undeploy_function.cxx +31 -23
  970. data/ext/couchbase/core/operations/management/eventing_undeploy_function.hxx +18 -12
  971. data/ext/couchbase/core/operations/management/eventing_upsert_function.cxx +330 -305
  972. data/ext/couchbase/core/operations/management/eventing_upsert_function.hxx +18 -12
  973. data/ext/couchbase/core/operations/management/freeform.cxx +23 -22
  974. data/ext/couchbase/core/operations/management/freeform.hxx +19 -17
  975. data/ext/couchbase/core/operations/management/group_drop.cxx +18 -17
  976. data/ext/couchbase/core/operations/management/group_drop.hxx +13 -11
  977. data/ext/couchbase/core/operations/management/group_get.cxx +25 -23
  978. data/ext/couchbase/core/operations/management/group_get.hxx +14 -12
  979. data/ext/couchbase/core/operations/management/group_get_all.cxx +23 -22
  980. data/ext/couchbase/core/operations/management/group_get_all.hxx +13 -11
  981. data/ext/couchbase/core/operations/management/group_upsert.cxx +58 -55
  982. data/ext/couchbase/core/operations/management/group_upsert.hxx +14 -12
  983. data/ext/couchbase/core/operations/management/query_index_build.cxx +53 -48
  984. data/ext/couchbase/core/operations/management/query_index_build.hxx +25 -22
  985. data/ext/couchbase/core/operations/management/query_index_build_deferred.hxx +75 -67
  986. data/ext/couchbase/core/operations/management/query_index_create.cxx +128 -122
  987. data/ext/couchbase/core/operations/management/query_index_create.hxx +31 -28
  988. data/ext/couchbase/core/operations/management/query_index_drop.cxx +95 -93
  989. data/ext/couchbase/core/operations/management/query_index_drop.hxx +26 -24
  990. data/ext/couchbase/core/operations/management/query_index_get_all.cxx +97 -93
  991. data/ext/couchbase/core/operations/management/query_index_get_all.hxx +24 -21
  992. data/ext/couchbase/core/operations/management/query_index_get_all_deferred.cxx +66 -62
  993. data/ext/couchbase/core/operations/management/query_index_get_all_deferred.hxx +24 -22
  994. data/ext/couchbase/core/operations/management/role_get_all.cxx +24 -22
  995. data/ext/couchbase/core/operations/management/role_get_all.hxx +13 -11
  996. data/ext/couchbase/core/operations/management/scope_create.cxx +38 -36
  997. data/ext/couchbase/core/operations/management/scope_create.hxx +15 -13
  998. data/ext/couchbase/core/operations/management/scope_drop.cxx +33 -32
  999. data/ext/couchbase/core/operations/management/scope_drop.hxx +15 -13
  1000. data/ext/couchbase/core/operations/management/scope_get_all.cxx +27 -25
  1001. data/ext/couchbase/core/operations/management/scope_get_all.hxx +14 -12
  1002. data/ext/couchbase/core/operations/management/search_get_stats.cxx +12 -10
  1003. data/ext/couchbase/core/operations/management/search_get_stats.hxx +13 -11
  1004. data/ext/couchbase/core/operations/management/search_index_analyze_document.cxx +72 -67
  1005. data/ext/couchbase/core/operations/management/search_index_analyze_document.hxx +20 -18
  1006. data/ext/couchbase/core/operations/management/search_index_control_ingest.cxx +62 -59
  1007. data/ext/couchbase/core/operations/management/search_index_control_ingest.hxx +19 -16
  1008. data/ext/couchbase/core/operations/management/search_index_control_plan_freeze.cxx +62 -59
  1009. data/ext/couchbase/core/operations/management/search_index_control_plan_freeze.hxx +19 -17
  1010. data/ext/couchbase/core/operations/management/search_index_control_query.cxx +62 -59
  1011. data/ext/couchbase/core/operations/management/search_index_control_query.hxx +19 -16
  1012. data/ext/couchbase/core/operations/management/search_index_drop.cxx +58 -55
  1013. data/ext/couchbase/core/operations/management/search_index_drop.hxx +18 -15
  1014. data/ext/couchbase/core/operations/management/search_index_get.cxx +59 -56
  1015. data/ext/couchbase/core/operations/management/search_index_get.hxx +18 -16
  1016. data/ext/couchbase/core/operations/management/search_index_get_all.cxx +51 -46
  1017. data/ext/couchbase/core/operations/management/search_index_get_all.hxx +18 -15
  1018. data/ext/couchbase/core/operations/management/search_index_get_documents_count.cxx +66 -61
  1019. data/ext/couchbase/core/operations/management/search_index_get_documents_count.hxx +19 -17
  1020. data/ext/couchbase/core/operations/management/search_index_get_stats.cxx +38 -36
  1021. data/ext/couchbase/core/operations/management/search_index_get_stats.hxx +17 -14
  1022. data/ext/couchbase/core/operations/management/search_index_upsert.cxx +98 -95
  1023. data/ext/couchbase/core/operations/management/search_index_upsert.hxx +20 -17
  1024. data/ext/couchbase/core/operations/management/user_drop.cxx +18 -17
  1025. data/ext/couchbase/core/operations/management/user_drop.hxx +16 -12
  1026. data/ext/couchbase/core/operations/management/user_get.cxx +25 -23
  1027. data/ext/couchbase/core/operations/management/user_get.hxx +17 -13
  1028. data/ext/couchbase/core/operations/management/user_get_all.cxx +24 -22
  1029. data/ext/couchbase/core/operations/management/user_get_all.hxx +16 -12
  1030. data/ext/couchbase/core/operations/management/user_upsert.cxx +63 -60
  1031. data/ext/couchbase/core/operations/management/user_upsert.hxx +17 -13
  1032. data/ext/couchbase/core/operations/management/view_index_drop.cxx +16 -12
  1033. data/ext/couchbase/core/operations/management/view_index_drop.hxx +15 -13
  1034. data/ext/couchbase/core/operations/management/view_index_get.cxx +40 -35
  1035. data/ext/couchbase/core/operations/management/view_index_get.hxx +16 -14
  1036. data/ext/couchbase/core/operations/management/view_index_get_all.cxx +73 -69
  1037. data/ext/couchbase/core/operations/management/view_index_get_all.hxx +16 -13
  1038. data/ext/couchbase/core/operations/management/view_index_upsert.cxx +39 -35
  1039. data/ext/couchbase/core/operations/management/view_index_upsert.hxx +15 -12
  1040. data/ext/couchbase/core/origin.cxx +264 -239
  1041. data/ext/couchbase/core/origin.hxx +55 -48
  1042. data/ext/couchbase/core/pending_operation.hxx +3 -3
  1043. data/ext/couchbase/core/ping_collector.hxx +3 -3
  1044. data/ext/couchbase/core/ping_options.hxx +30 -30
  1045. data/ext/couchbase/core/ping_reporter.hxx +3 -3
  1046. data/ext/couchbase/core/platform/backtrace.c +100 -91
  1047. data/ext/couchbase/core/platform/base64.cc +135 -134
  1048. data/ext/couchbase/core/platform/dirutils.cc +66 -63
  1049. data/ext/couchbase/core/platform/random.cc +43 -42
  1050. data/ext/couchbase/core/platform/random.h +4 -4
  1051. data/ext/couchbase/core/platform/string_hex.cc +42 -40
  1052. data/ext/couchbase/core/platform/terminate_handler.cc +54 -52
  1053. data/ext/couchbase/core/platform/uuid.cc +47 -47
  1054. data/ext/couchbase/core/protocol/client_opcode.hxx +336 -327
  1055. data/ext/couchbase/core/protocol/client_opcode_fmt.hxx +291 -291
  1056. data/ext/couchbase/core/protocol/client_request.cxx +13 -10
  1057. data/ext/couchbase/core/protocol/client_request.hxx +133 -130
  1058. data/ext/couchbase/core/protocol/client_response.cxx +40 -40
  1059. data/ext/couchbase/core/protocol/client_response.hxx +153 -150
  1060. data/ext/couchbase/core/protocol/cmd_append.cxx +24 -23
  1061. data/ext/couchbase/core/protocol/cmd_append.hxx +65 -65
  1062. data/ext/couchbase/core/protocol/cmd_cluster_map_change_notification.cxx +25 -21
  1063. data/ext/couchbase/core/protocol/cmd_cluster_map_change_notification.hxx +33 -25
  1064. data/ext/couchbase/core/protocol/cmd_decrement.cxx +38 -38
  1065. data/ext/couchbase/core/protocol/cmd_decrement.hxx +87 -87
  1066. data/ext/couchbase/core/protocol/cmd_get.cxx +17 -17
  1067. data/ext/couchbase/core/protocol/cmd_get.hxx +59 -59
  1068. data/ext/couchbase/core/protocol/cmd_get_and_lock.cxx +20 -20
  1069. data/ext/couchbase/core/protocol/cmd_get_and_lock.hxx +72 -72
  1070. data/ext/couchbase/core/protocol/cmd_get_and_touch.cxx +20 -20
  1071. data/ext/couchbase/core/protocol/cmd_get_and_touch.hxx +72 -72
  1072. data/ext/couchbase/core/protocol/cmd_get_cluster_config.cxx +46 -39
  1073. data/ext/couchbase/core/protocol/cmd_get_cluster_config.hxx +57 -49
  1074. data/ext/couchbase/core/protocol/cmd_get_collection_id.cxx +17 -17
  1075. data/ext/couchbase/core/protocol/cmd_get_collection_id.hxx +59 -59
  1076. data/ext/couchbase/core/protocol/cmd_get_collections_manifest.cxx +16 -14
  1077. data/ext/couchbase/core/protocol/cmd_get_collections_manifest.hxx +39 -39
  1078. data/ext/couchbase/core/protocol/cmd_get_error_map.cxx +18 -17
  1079. data/ext/couchbase/core/protocol/cmd_get_error_map.hxx +62 -62
  1080. data/ext/couchbase/core/protocol/cmd_get_meta.cxx +24 -23
  1081. data/ext/couchbase/core/protocol/cmd_get_meta.hxx +81 -79
  1082. data/ext/couchbase/core/protocol/cmd_get_replica.cxx +23 -23
  1083. data/ext/couchbase/core/protocol/cmd_get_replica.hxx +44 -44
  1084. data/ext/couchbase/core/protocol/cmd_hello.cxx +28 -27
  1085. data/ext/couchbase/core/protocol/cmd_hello.hxx +106 -105
  1086. data/ext/couchbase/core/protocol/cmd_increment.cxx +38 -38
  1087. data/ext/couchbase/core/protocol/cmd_increment.hxx +87 -87
  1088. data/ext/couchbase/core/protocol/cmd_info.hxx +3 -3
  1089. data/ext/couchbase/core/protocol/cmd_insert.cxx +27 -27
  1090. data/ext/couchbase/core/protocol/cmd_insert.hxx +81 -81
  1091. data/ext/couchbase/core/protocol/cmd_lookup_in.cxx +54 -51
  1092. data/ext/couchbase/core/protocol/cmd_lookup_in.hxx +90 -90
  1093. data/ext/couchbase/core/protocol/cmd_lookup_in_replica.cxx +54 -51
  1094. data/ext/couchbase/core/protocol/cmd_lookup_in_replica.hxx +88 -88
  1095. data/ext/couchbase/core/protocol/cmd_mutate_in.cxx +105 -97
  1096. data/ext/couchbase/core/protocol/cmd_mutate_in.hxx +161 -153
  1097. data/ext/couchbase/core/protocol/cmd_noop.cxx +4 -4
  1098. data/ext/couchbase/core/protocol/cmd_noop.hxx +32 -32
  1099. data/ext/couchbase/core/protocol/cmd_observe_seqno.cxx +36 -34
  1100. data/ext/couchbase/core/protocol/cmd_observe_seqno.hxx +89 -89
  1101. data/ext/couchbase/core/protocol/cmd_prepend.cxx +22 -22
  1102. data/ext/couchbase/core/protocol/cmd_prepend.hxx +63 -63
  1103. data/ext/couchbase/core/protocol/cmd_remove.cxx +23 -23
  1104. data/ext/couchbase/core/protocol/cmd_remove.hxx +54 -54
  1105. data/ext/couchbase/core/protocol/cmd_replace.cxx +28 -28
  1106. data/ext/couchbase/core/protocol/cmd_replace.hxx +88 -88
  1107. data/ext/couchbase/core/protocol/cmd_sasl_auth.cxx +17 -15
  1108. data/ext/couchbase/core/protocol/cmd_sasl_auth.hxx +56 -56
  1109. data/ext/couchbase/core/protocol/cmd_sasl_list_mechs.cxx +24 -19
  1110. data/ext/couchbase/core/protocol/cmd_sasl_list_mechs.hxx +39 -39
  1111. data/ext/couchbase/core/protocol/cmd_sasl_step.cxx +17 -15
  1112. data/ext/couchbase/core/protocol/cmd_sasl_step.hxx +56 -56
  1113. data/ext/couchbase/core/protocol/cmd_select_bucket.cxx +6 -6
  1114. data/ext/couchbase/core/protocol/cmd_select_bucket.hxx +36 -36
  1115. data/ext/couchbase/core/protocol/cmd_touch.cxx +8 -8
  1116. data/ext/couchbase/core/protocol/cmd_touch.hxx +38 -38
  1117. data/ext/couchbase/core/protocol/cmd_unlock.cxx +5 -5
  1118. data/ext/couchbase/core/protocol/cmd_unlock.hxx +36 -36
  1119. data/ext/couchbase/core/protocol/cmd_upsert.cxx +28 -28
  1120. data/ext/couchbase/core/protocol/cmd_upsert.hxx +83 -83
  1121. data/ext/couchbase/core/protocol/datatype.hxx +19 -18
  1122. data/ext/couchbase/core/protocol/frame_info_id.hxx +108 -103
  1123. data/ext/couchbase/core/protocol/frame_info_id_fmt.hxx +45 -45
  1124. data/ext/couchbase/core/protocol/frame_info_utils.cxx +24 -21
  1125. data/ext/couchbase/core/protocol/frame_info_utils.hxx +3 -1
  1126. data/ext/couchbase/core/protocol/hello_feature.hxx +211 -175
  1127. data/ext/couchbase/core/protocol/hello_feature_fmt.hxx +93 -90
  1128. data/ext/couchbase/core/protocol/magic.hxx +24 -24
  1129. data/ext/couchbase/core/protocol/magic_fmt.hxx +30 -30
  1130. data/ext/couchbase/core/protocol/server_opcode.hxx +11 -11
  1131. data/ext/couchbase/core/protocol/server_opcode_fmt.hxx +18 -18
  1132. data/ext/couchbase/core/protocol/server_request.hxx +90 -86
  1133. data/ext/couchbase/core/protocol/status.cxx +138 -138
  1134. data/ext/couchbase/core/protocol/status.hxx +86 -86
  1135. data/ext/couchbase/core/query_context.hxx +44 -43
  1136. data/ext/couchbase/core/range_scan_load_balancer.cxx +51 -50
  1137. data/ext/couchbase/core/range_scan_load_balancer.hxx +26 -25
  1138. data/ext/couchbase/core/range_scan_options.cxx +2 -2
  1139. data/ext/couchbase/core/range_scan_options.hxx +62 -59
  1140. data/ext/couchbase/core/range_scan_orchestrator.cxx +519 -465
  1141. data/ext/couchbase/core/range_scan_orchestrator.hxx +25 -17
  1142. data/ext/couchbase/core/range_scan_orchestrator_options.hxx +10 -10
  1143. data/ext/couchbase/core/resource_units.hxx +2 -2
  1144. data/ext/couchbase/core/response_handler.hxx +8 -8
  1145. data/ext/couchbase/core/retry_orchestrator.cxx +27 -19
  1146. data/ext/couchbase/core/retry_orchestrator.hxx +3 -2
  1147. data/ext/couchbase/core/sasl/client.cc +22 -18
  1148. data/ext/couchbase/core/sasl/client.h +66 -62
  1149. data/ext/couchbase/core/sasl/context.cc +4 -4
  1150. data/ext/couchbase/core/sasl/context.h +19 -19
  1151. data/ext/couchbase/core/sasl/error.h +12 -1
  1152. data/ext/couchbase/core/sasl/error_fmt.h +42 -42
  1153. data/ext/couchbase/core/sasl/mechanism.cc +13 -10
  1154. data/ext/couchbase/core/sasl/mechanism.h +8 -3
  1155. data/ext/couchbase/core/sasl/plain/plain.cc +8 -8
  1156. data/ext/couchbase/core/sasl/plain/plain.h +25 -24
  1157. data/ext/couchbase/core/sasl/scram-sha/scram-sha.cc +225 -218
  1158. data/ext/couchbase/core/sasl/scram-sha/scram-sha.h +133 -115
  1159. data/ext/couchbase/core/sasl/scram-sha/stringutils.cc +20 -20
  1160. data/ext/couchbase/core/scan_result.cxx +34 -23
  1161. data/ext/couchbase/core/scan_result.hxx +16 -15
  1162. data/ext/couchbase/core/search_highlight_style.hxx +4 -1
  1163. data/ext/couchbase/core/search_query_options.cxx +21 -21
  1164. data/ext/couchbase/core/search_query_options.hxx +19 -18
  1165. data/ext/couchbase/core/search_scan_consistency.hxx +3 -1
  1166. data/ext/couchbase/core/seed_config.cxx +10 -7
  1167. data/ext/couchbase/core/seed_config.hxx +8 -8
  1168. data/ext/couchbase/core/service_type.hxx +7 -7
  1169. data/ext/couchbase/core/service_type_fmt.hxx +33 -33
  1170. data/ext/couchbase/core/stats_options.hxx +13 -13
  1171. data/ext/couchbase/core/subdoc_options.hxx +60 -58
  1172. data/ext/couchbase/core/tls_verify_mode.hxx +2 -2
  1173. data/ext/couchbase/core/topology/capabilities.hxx +83 -83
  1174. data/ext/couchbase/core/topology/capabilities_fmt.hxx +111 -111
  1175. data/ext/couchbase/core/topology/collections_manifest.hxx +14 -14
  1176. data/ext/couchbase/core/topology/collections_manifest_fmt.hxx +23 -21
  1177. data/ext/couchbase/core/topology/collections_manifest_json.hxx +26 -25
  1178. data/ext/couchbase/core/topology/configuration.cxx +213 -192
  1179. data/ext/couchbase/core/topology/configuration.hxx +104 -91
  1180. data/ext/couchbase/core/topology/configuration_fmt.hxx +131 -128
  1181. data/ext/couchbase/core/topology/configuration_json.hxx +276 -242
  1182. data/ext/couchbase/core/topology/error_map.hxx +5 -5
  1183. data/ext/couchbase/core/topology/error_map_json.hxx +65 -60
  1184. data/ext/couchbase/core/tracing/constants.hxx +153 -153
  1185. data/ext/couchbase/core/tracing/noop_tracer.hxx +29 -28
  1186. data/ext/couchbase/core/tracing/threshold_logging_options.hxx +30 -30
  1187. data/ext/couchbase/core/tracing/threshold_logging_tracer.cxx +354 -344
  1188. data/ext/couchbase/core/tracing/threshold_logging_tracer.hxx +12 -12
  1189. data/ext/couchbase/core/transactions/active_transaction_record.cxx +153 -33
  1190. data/ext/couchbase/core/transactions/active_transaction_record.hxx +30 -118
  1191. data/ext/couchbase/core/transactions/async_attempt_context.cxx +8 -2
  1192. data/ext/couchbase/core/transactions/async_attempt_context.hxx +163 -127
  1193. data/ext/couchbase/core/transactions/atr_cleanup_entry.cxx +358 -334
  1194. data/ext/couchbase/core/transactions/atr_ids.cxx +270 -185
  1195. data/ext/couchbase/core/transactions/atr_ids.hxx +4 -4
  1196. data/ext/couchbase/core/transactions/attempt_context.cxx +9 -5
  1197. data/ext/couchbase/core/transactions/attempt_context.hxx +194 -154
  1198. data/ext/couchbase/core/transactions/attempt_context_impl.cxx +3278 -2159
  1199. data/ext/couchbase/core/transactions/attempt_context_impl.hxx +446 -573
  1200. data/ext/couchbase/core/transactions/attempt_context_testing_hooks.cxx +15 -10
  1201. data/ext/couchbase/core/transactions/attempt_context_testing_hooks.hxx +58 -49
  1202. data/ext/couchbase/core/transactions/attempt_state.hxx +72 -72
  1203. data/ext/couchbase/core/transactions/binary.cxx +3 -3
  1204. data/ext/couchbase/core/transactions/cleanup_testing_hooks.cxx +2 -2
  1205. data/ext/couchbase/core/transactions/cleanup_testing_hooks.hxx +28 -24
  1206. data/ext/couchbase/core/transactions/document_metadata.hxx +68 -68
  1207. data/ext/couchbase/core/transactions/durability_level.hxx +53 -53
  1208. data/ext/couchbase/core/transactions/error_class.hxx +12 -12
  1209. data/ext/couchbase/core/transactions/error_list.hxx +22 -22
  1210. data/ext/couchbase/core/transactions/exceptions.cxx +167 -114
  1211. data/ext/couchbase/core/transactions/exceptions.hxx +170 -139
  1212. data/ext/couchbase/core/transactions/exceptions_fmt.hxx +105 -0
  1213. data/ext/couchbase/core/transactions/forward_compat.cxx +220 -0
  1214. data/ext/couchbase/core/transactions/forward_compat.hxx +63 -207
  1215. data/ext/couchbase/core/transactions/internal/atr_cleanup_entry.hxx +110 -102
  1216. data/ext/couchbase/core/transactions/internal/atr_entry.hxx +144 -144
  1217. data/ext/couchbase/core/transactions/internal/client_record.hxx +53 -50
  1218. data/ext/couchbase/core/transactions/internal/doc_record.cxx +5 -5
  1219. data/ext/couchbase/core/transactions/internal/doc_record.hxx +38 -35
  1220. data/ext/couchbase/core/transactions/internal/doc_record_fmt.hxx +17 -16
  1221. data/ext/couchbase/core/transactions/internal/exceptions_internal.hxx +238 -281
  1222. data/ext/couchbase/core/transactions/internal/exceptions_internal_fmt.hxx +103 -0
  1223. data/ext/couchbase/core/transactions/internal/logging.hxx +52 -29
  1224. data/ext/couchbase/core/transactions/internal/transaction_attempt.hxx +3 -3
  1225. data/ext/couchbase/core/transactions/internal/transaction_context.hxx +136 -120
  1226. data/ext/couchbase/core/transactions/internal/transaction_fields.hxx +2 -1
  1227. data/ext/couchbase/core/transactions/internal/transactions_cleanup.hxx +127 -122
  1228. data/ext/couchbase/core/transactions/internal/utils.hxx +244 -219
  1229. data/ext/couchbase/core/transactions/result.cxx +41 -40
  1230. data/ext/couchbase/core/transactions/result.hxx +143 -141
  1231. data/ext/couchbase/core/transactions/result_fmt.hxx +21 -20
  1232. data/ext/couchbase/core/transactions/staged_mutation.cxx +759 -627
  1233. data/ext/couchbase/core/transactions/staged_mutation.hxx +175 -156
  1234. data/ext/couchbase/core/transactions/transaction_context.cxx +231 -179
  1235. data/ext/couchbase/core/transactions/transaction_get_result.cxx +185 -198
  1236. data/ext/couchbase/core/transactions/transaction_get_result.hxx +207 -222
  1237. data/ext/couchbase/core/transactions/transaction_keyspace.cxx +15 -11
  1238. data/ext/couchbase/core/transactions/transaction_links.cxx +11 -7
  1239. data/ext/couchbase/core/transactions/transaction_links.hxx +222 -201
  1240. data/ext/couchbase/core/transactions/transaction_options.cxx +44 -41
  1241. data/ext/couchbase/core/transactions/transactions.cxx +167 -125
  1242. data/ext/couchbase/core/transactions/transactions_cleanup.cxx +491 -424
  1243. data/ext/couchbase/core/transactions/transactions_config.cxx +25 -19
  1244. data/ext/couchbase/core/transactions/uid_generator.cxx +3 -3
  1245. data/ext/couchbase/core/transactions/uid_generator.hxx +2 -2
  1246. data/ext/couchbase/core/transactions/utils.cxx +82 -69
  1247. data/ext/couchbase/core/transactions/waitable_op_list.hxx +154 -140
  1248. data/ext/couchbase/core/transactions.hxx +184 -180
  1249. data/ext/couchbase/core/utils/binary.cxx +3 -3
  1250. data/ext/couchbase/core/utils/binary.hxx +19 -15
  1251. data/ext/couchbase/core/utils/byteswap.hxx +17 -17
  1252. data/ext/couchbase/core/utils/connection_string.cxx +395 -328
  1253. data/ext/couchbase/core/utils/connection_string.hxx +37 -36
  1254. data/ext/couchbase/core/utils/crc32.hxx +42 -34
  1255. data/ext/couchbase/core/utils/duration_parser.cxx +142 -133
  1256. data/ext/couchbase/core/utils/duration_parser.hxx +9 -9
  1257. data/ext/couchbase/core/utils/join_strings.hxx +24 -24
  1258. data/ext/couchbase/core/utils/json.cxx +234 -228
  1259. data/ext/couchbase/core/utils/json.hxx +12 -12
  1260. data/ext/couchbase/core/utils/json_stream_control.hxx +8 -8
  1261. data/ext/couchbase/core/utils/json_streaming_lexer.cxx +288 -263
  1262. data/ext/couchbase/core/utils/json_streaming_lexer.hxx +20 -17
  1263. data/ext/couchbase/core/utils/keyspace.hxx +22 -21
  1264. data/ext/couchbase/core/utils/movable_function.hxx +78 -76
  1265. data/ext/couchbase/core/utils/mutation_token.cxx +7 -3
  1266. data/ext/couchbase/core/utils/mutation_token.hxx +3 -1
  1267. data/ext/couchbase/core/utils/name_codec.hxx +13 -13
  1268. data/ext/couchbase/core/utils/split_string.cxx +9 -9
  1269. data/ext/couchbase/core/utils/split_string.hxx +2 -2
  1270. data/ext/couchbase/core/utils/unsigned_leb128.hxx +92 -88
  1271. data/ext/couchbase/core/utils/url_codec.cxx +301 -297
  1272. data/ext/couchbase/core/utils/url_codec.hxx +35 -35
  1273. data/ext/couchbase/core/vector_query_combination.hxx +4 -1
  1274. data/ext/couchbase/core/view_on_error.hxx +4 -3
  1275. data/ext/couchbase/core/view_query_options.cxx +21 -21
  1276. data/ext/couchbase/core/view_query_options.hxx +23 -22
  1277. data/ext/couchbase/core/view_scan_consistency.hxx +3 -3
  1278. data/ext/couchbase/core/view_sort_order.hxx +4 -1
  1279. data/ext/couchbase/core/wait_until_ready_options.hxx +11 -10
  1280. data/ext/couchbase/couchbase/allow_querying_search_index_options.hxx +11 -11
  1281. data/ext/couchbase/couchbase/analytics_index_manager.hxx +423 -405
  1282. data/ext/couchbase/couchbase/analytics_meta_data.hxx +105 -105
  1283. data/ext/couchbase/couchbase/analytics_metrics.hxx +120 -118
  1284. data/ext/couchbase/couchbase/analytics_options.hxx +318 -292
  1285. data/ext/couchbase/couchbase/analytics_result.hxx +56 -55
  1286. data/ext/couchbase/couchbase/analytics_scan_consistency.hxx +24 -21
  1287. data/ext/couchbase/couchbase/analytics_status.hxx +10 -10
  1288. data/ext/couchbase/couchbase/analytics_warning.hxx +44 -43
  1289. data/ext/couchbase/couchbase/analyze_document_options.hxx +9 -9
  1290. data/ext/couchbase/couchbase/append_options.hxx +51 -47
  1291. data/ext/couchbase/couchbase/behavior_options.hxx +75 -69
  1292. data/ext/couchbase/couchbase/best_effort_retry_strategy.hxx +12 -10
  1293. data/ext/couchbase/couchbase/binary_collection.hxx +213 -183
  1294. data/ext/couchbase/couchbase/boolean_field_query.hxx +38 -38
  1295. data/ext/couchbase/couchbase/boolean_query.hxx +166 -157
  1296. data/ext/couchbase/couchbase/bucket.hxx +69 -68
  1297. data/ext/couchbase/couchbase/bucket_manager.hxx +97 -88
  1298. data/ext/couchbase/couchbase/build_query_index_options.hxx +22 -21
  1299. data/ext/couchbase/couchbase/cas.hxx +74 -73
  1300. data/ext/couchbase/couchbase/certificate_authenticator.hxx +10 -10
  1301. data/ext/couchbase/couchbase/cluster.hxx +266 -310
  1302. data/ext/couchbase/couchbase/cluster_options.hxx +235 -241
  1303. data/ext/couchbase/couchbase/codec/binary_noop_serializer.hxx +11 -11
  1304. data/ext/couchbase/couchbase/codec/codec_flags.hxx +39 -35
  1305. data/ext/couchbase/couchbase/codec/encoded_value.hxx +15 -2
  1306. data/ext/couchbase/couchbase/codec/json_transcoder.hxx +17 -15
  1307. data/ext/couchbase/couchbase/codec/raw_binary_transcoder.hxx +19 -17
  1308. data/ext/couchbase/couchbase/codec/raw_json_transcoder.hxx +31 -24
  1309. data/ext/couchbase/couchbase/codec/raw_string_transcoder.hxx +20 -18
  1310. data/ext/couchbase/couchbase/codec/tao_json_serializer.hxx +38 -30
  1311. data/ext/couchbase/couchbase/collection.hxx +1010 -869
  1312. data/ext/couchbase/couchbase/collection_manager.hxx +115 -107
  1313. data/ext/couchbase/couchbase/collection_query_index_manager.hxx +200 -188
  1314. data/ext/couchbase/couchbase/common_durability_options.hxx +68 -62
  1315. data/ext/couchbase/couchbase/common_options.hxx +67 -67
  1316. data/ext/couchbase/couchbase/compression_options.hxx +33 -33
  1317. data/ext/couchbase/couchbase/configuration_profile.hxx +12 -11
  1318. data/ext/couchbase/couchbase/configuration_profiles_registry.hxx +24 -22
  1319. data/ext/couchbase/couchbase/conjunction_query.hxx +47 -45
  1320. data/ext/couchbase/couchbase/connect_link_analytics_options.hxx +74 -72
  1321. data/ext/couchbase/couchbase/counter_result.hxx +32 -32
  1322. data/ext/couchbase/couchbase/create_bucket_options.hxx +9 -10
  1323. data/ext/couchbase/couchbase/create_collection_options.hxx +35 -34
  1324. data/ext/couchbase/couchbase/create_dataset_analytics_options.hxx +76 -76
  1325. data/ext/couchbase/couchbase/create_dataverse_analytics_options.hxx +44 -44
  1326. data/ext/couchbase/couchbase/create_index_analytics_options.hxx +60 -60
  1327. data/ext/couchbase/couchbase/create_link_analytics_options.hxx +25 -25
  1328. data/ext/couchbase/couchbase/create_primary_query_index_options.hxx +95 -94
  1329. data/ext/couchbase/couchbase/create_query_index_options.hxx +97 -96
  1330. data/ext/couchbase/couchbase/create_scope_options.hxx +9 -9
  1331. data/ext/couchbase/couchbase/date_range.hxx +29 -27
  1332. data/ext/couchbase/couchbase/date_range_facet.hxx +20 -20
  1333. data/ext/couchbase/couchbase/date_range_facet_result.hxx +14 -14
  1334. data/ext/couchbase/couchbase/date_range_query.hxx +219 -205
  1335. data/ext/couchbase/couchbase/decrement_options.hxx +93 -91
  1336. data/ext/couchbase/couchbase/diagnostics_options.hxx +42 -41
  1337. data/ext/couchbase/couchbase/diagnostics_result.hxx +82 -83
  1338. data/ext/couchbase/couchbase/disallow_querying_search_index_options.hxx +11 -10
  1339. data/ext/couchbase/couchbase/disconnect_link_analytics_options.hxx +62 -62
  1340. data/ext/couchbase/couchbase/disjunction_query.hxx +61 -60
  1341. data/ext/couchbase/couchbase/dns_options.hxx +30 -30
  1342. data/ext/couchbase/couchbase/doc_id_query.hxx +69 -69
  1343. data/ext/couchbase/couchbase/drop_bucket_options.hxx +9 -9
  1344. data/ext/couchbase/couchbase/drop_collection_options.hxx +9 -9
  1345. data/ext/couchbase/couchbase/drop_dataset_analytics_options.hxx +60 -60
  1346. data/ext/couchbase/couchbase/drop_dataverse_analytics_options.hxx +44 -44
  1347. data/ext/couchbase/couchbase/drop_index_analytics_options.hxx +60 -60
  1348. data/ext/couchbase/couchbase/drop_link_analytics_options.hxx +25 -25
  1349. data/ext/couchbase/couchbase/drop_primary_query_index_options.hxx +58 -58
  1350. data/ext/couchbase/couchbase/drop_query_index_options.hxx +44 -44
  1351. data/ext/couchbase/couchbase/drop_scope_options.hxx +9 -9
  1352. data/ext/couchbase/couchbase/drop_search_index_options.hxx +9 -9
  1353. data/ext/couchbase/couchbase/durability_level.hxx +32 -29
  1354. data/ext/couchbase/couchbase/endpoint_diagnostics.hxx +171 -171
  1355. data/ext/couchbase/couchbase/endpoint_ping_report.hxx +166 -169
  1356. data/ext/couchbase/couchbase/error.hxx +51 -0
  1357. data/ext/couchbase/couchbase/error_codes.hxx +975 -940
  1358. data/ext/couchbase/couchbase/error_context.hxx +19 -152
  1359. data/ext/couchbase/couchbase/exists_options.hxx +25 -24
  1360. data/ext/couchbase/couchbase/exists_result.hxx +32 -32
  1361. data/ext/couchbase/couchbase/fail_fast_retry_strategy.hxx +4 -4
  1362. data/ext/couchbase/couchbase/flush_bucket_options.hxx +9 -9
  1363. data/ext/couchbase/couchbase/fmt/analytics_scan_consistency.hxx +18 -18
  1364. data/ext/couchbase/couchbase/fmt/analytics_status.hxx +42 -42
  1365. data/ext/couchbase/couchbase/fmt/cas.hxx +10 -10
  1366. data/ext/couchbase/couchbase/fmt/durability_level.hxx +24 -24
  1367. data/ext/couchbase/couchbase/fmt/error.hxx +53 -0
  1368. data/ext/couchbase/couchbase/fmt/error_context.hxx +43 -0
  1369. data/ext/couchbase/couchbase/fmt/mutation_token.hxx +15 -11
  1370. data/ext/couchbase/couchbase/fmt/query_profile.hxx +21 -21
  1371. data/ext/couchbase/couchbase/fmt/query_scan_consistency.hxx +18 -18
  1372. data/ext/couchbase/couchbase/fmt/query_status.hxx +42 -42
  1373. data/ext/couchbase/couchbase/fmt/retry_reason.hxx +75 -75
  1374. data/ext/couchbase/couchbase/fmt/search_scan_consistency.hxx +15 -15
  1375. data/ext/couchbase/couchbase/fmt/tls_verify_mode.hxx +18 -18
  1376. data/ext/couchbase/couchbase/fmt/transaction_keyspace.hxx +15 -11
  1377. data/ext/couchbase/couchbase/fork_event.hxx +12 -12
  1378. data/ext/couchbase/couchbase/freeze_plan_search_index_options.hxx +9 -9
  1379. data/ext/couchbase/couchbase/geo_bounding_box_query.hxx +71 -64
  1380. data/ext/couchbase/couchbase/geo_distance_query.hxx +73 -66
  1381. data/ext/couchbase/couchbase/geo_point.hxx +2 -2
  1382. data/ext/couchbase/couchbase/geo_polygon_query.hxx +40 -39
  1383. data/ext/couchbase/couchbase/get_all_buckets_options.hxx +9 -9
  1384. data/ext/couchbase/couchbase/get_all_datasets_analytics_options.hxx +25 -25
  1385. data/ext/couchbase/couchbase/get_all_indexes_analytics_options.hxx +26 -25
  1386. data/ext/couchbase/couchbase/get_all_query_indexes_options.hxx +27 -25
  1387. data/ext/couchbase/couchbase/get_all_replicas_options.hxx +49 -26
  1388. data/ext/couchbase/couchbase/get_all_scopes_options.hxx +9 -9
  1389. data/ext/couchbase/couchbase/get_all_search_indexes_options.hxx +9 -9
  1390. data/ext/couchbase/couchbase/get_and_lock_options.hxx +25 -24
  1391. data/ext/couchbase/couchbase/get_and_touch_options.hxx +25 -24
  1392. data/ext/couchbase/couchbase/get_any_replica_options.hxx +49 -26
  1393. data/ext/couchbase/couchbase/get_bucket_options.hxx +9 -9
  1394. data/ext/couchbase/couchbase/get_indexed_search_index_options.hxx +9 -9
  1395. data/ext/couchbase/couchbase/get_links_analytics_options.hxx +74 -74
  1396. data/ext/couchbase/couchbase/get_options.hxx +63 -60
  1397. data/ext/couchbase/couchbase/get_pending_mutations_analytics_options.hxx +30 -28
  1398. data/ext/couchbase/couchbase/get_replica_result.hxx +79 -75
  1399. data/ext/couchbase/couchbase/get_result.hxx +86 -80
  1400. data/ext/couchbase/couchbase/get_search_index_options.hxx +9 -9
  1401. data/ext/couchbase/couchbase/highlight_style.hxx +14 -14
  1402. data/ext/couchbase/couchbase/increment_options.hxx +94 -91
  1403. data/ext/couchbase/couchbase/insert_options.hxx +62 -59
  1404. data/ext/couchbase/couchbase/ip_protocol.hxx +3 -3
  1405. data/ext/couchbase/couchbase/logger.hxx +51 -0
  1406. data/ext/couchbase/couchbase/lookup_in_all_replicas_options.hxx +54 -43
  1407. data/ext/couchbase/couchbase/lookup_in_any_replica_options.hxx +54 -44
  1408. data/ext/couchbase/couchbase/lookup_in_options.hxx +40 -40
  1409. data/ext/couchbase/couchbase/lookup_in_replica_result.hxx +38 -35
  1410. data/ext/couchbase/couchbase/lookup_in_result.hxx +222 -216
  1411. data/ext/couchbase/couchbase/lookup_in_specs.hxx +101 -101
  1412. data/ext/couchbase/couchbase/management/analytics_dataset.hxx +16 -16
  1413. data/ext/couchbase/couchbase/management/analytics_index.hxx +16 -16
  1414. data/ext/couchbase/couchbase/management/analytics_link.hxx +193 -189
  1415. data/ext/couchbase/couchbase/management/bucket_settings.hxx +91 -75
  1416. data/ext/couchbase/couchbase/management/collection_spec.hxx +4 -4
  1417. data/ext/couchbase/couchbase/management/query_index.hxx +10 -10
  1418. data/ext/couchbase/couchbase/management/scope_spec.hxx +2 -2
  1419. data/ext/couchbase/couchbase/management/search_index.hxx +9 -9
  1420. data/ext/couchbase/couchbase/match_all_query.hxx +10 -9
  1421. data/ext/couchbase/couchbase/match_none_query.hxx +10 -9
  1422. data/ext/couchbase/couchbase/match_operator.hxx +15 -14
  1423. data/ext/couchbase/couchbase/match_phrase_query.hxx +70 -65
  1424. data/ext/couchbase/couchbase/match_query.hxx +115 -114
  1425. data/ext/couchbase/couchbase/metrics/meter.hxx +33 -30
  1426. data/ext/couchbase/couchbase/metrics/otel_meter.hxx +86 -74
  1427. data/ext/couchbase/couchbase/metrics_options.hxx +34 -34
  1428. data/ext/couchbase/couchbase/mutate_in_options.hxx +160 -149
  1429. data/ext/couchbase/couchbase/mutate_in_result.hxx +130 -123
  1430. data/ext/couchbase/couchbase/mutate_in_specs.hxx +473 -454
  1431. data/ext/couchbase/couchbase/mutation_result.hxx +32 -32
  1432. data/ext/couchbase/couchbase/mutation_state.hxx +35 -34
  1433. data/ext/couchbase/couchbase/mutation_token.hxx +78 -78
  1434. data/ext/couchbase/couchbase/network_options.hxx +101 -72
  1435. data/ext/couchbase/couchbase/numeric_range.hxx +26 -26
  1436. data/ext/couchbase/couchbase/numeric_range_facet.hxx +20 -20
  1437. data/ext/couchbase/couchbase/numeric_range_facet_result.hxx +14 -14
  1438. data/ext/couchbase/couchbase/numeric_range_query.hxx +97 -95
  1439. data/ext/couchbase/couchbase/password_authenticator.hxx +17 -17
  1440. data/ext/couchbase/couchbase/pause_ingest_search_index_options.hxx +11 -10
  1441. data/ext/couchbase/couchbase/persist_to.hxx +45 -44
  1442. data/ext/couchbase/couchbase/phrase_query.hxx +69 -65
  1443. data/ext/couchbase/couchbase/ping_options.hxx +55 -54
  1444. data/ext/couchbase/couchbase/ping_result.hxx +79 -77
  1445. data/ext/couchbase/couchbase/prefix_query.hxx +43 -40
  1446. data/ext/couchbase/couchbase/prepend_options.hxx +51 -47
  1447. data/ext/couchbase/couchbase/query_index_manager.hxx +207 -199
  1448. data/ext/couchbase/couchbase/query_meta_data.hxx +120 -120
  1449. data/ext/couchbase/couchbase/query_metrics.hxx +135 -133
  1450. data/ext/couchbase/couchbase/query_options.hxx +518 -493
  1451. data/ext/couchbase/couchbase/query_profile.hxx +29 -26
  1452. data/ext/couchbase/couchbase/query_result.hxx +56 -55
  1453. data/ext/couchbase/couchbase/query_scan_consistency.hxx +24 -21
  1454. data/ext/couchbase/couchbase/query_status.hxx +10 -10
  1455. data/ext/couchbase/couchbase/query_string_query.hxx +34 -29
  1456. data/ext/couchbase/couchbase/query_warning.hxx +75 -71
  1457. data/ext/couchbase/couchbase/read_preference.hxx +58 -0
  1458. data/ext/couchbase/couchbase/regexp_query.hxx +40 -39
  1459. data/ext/couchbase/couchbase/remove_options.hxx +51 -47
  1460. data/ext/couchbase/couchbase/replace_link_analytics_options.hxx +25 -25
  1461. data/ext/couchbase/couchbase/replace_options.hxx +112 -104
  1462. data/ext/couchbase/couchbase/replicate_to.hxx +28 -28
  1463. data/ext/couchbase/couchbase/result.hxx +28 -28
  1464. data/ext/couchbase/couchbase/resume_ingest_search_index_options.hxx +11 -10
  1465. data/ext/couchbase/couchbase/retry_action.hxx +10 -10
  1466. data/ext/couchbase/couchbase/retry_reason.hxx +53 -51
  1467. data/ext/couchbase/couchbase/retry_request.hxx +7 -7
  1468. data/ext/couchbase/couchbase/retry_strategy.hxx +4 -4
  1469. data/ext/couchbase/couchbase/scan_options.hxx +169 -0
  1470. data/ext/couchbase/couchbase/scan_result.hxx +145 -0
  1471. data/ext/couchbase/couchbase/scan_result_item.hxx +172 -0
  1472. data/ext/couchbase/couchbase/scan_type.hxx +328 -0
  1473. data/ext/couchbase/couchbase/scope.hxx +164 -157
  1474. data/ext/couchbase/couchbase/scope_search_index_manager.hxx +263 -238
  1475. data/ext/couchbase/couchbase/search_date_range.hxx +32 -29
  1476. data/ext/couchbase/couchbase/search_facet.hxx +25 -25
  1477. data/ext/couchbase/couchbase/search_facet_result.hxx +11 -11
  1478. data/ext/couchbase/couchbase/search_geo_distance_units.hxx +11 -1
  1479. data/ext/couchbase/couchbase/search_index_manager.hxx +261 -238
  1480. data/ext/couchbase/couchbase/search_meta_data.hxx +37 -37
  1481. data/ext/couchbase/couchbase/search_metrics.hxx +84 -83
  1482. data/ext/couchbase/couchbase/search_numeric_range.hxx +32 -32
  1483. data/ext/couchbase/couchbase/search_options.hxx +449 -435
  1484. data/ext/couchbase/couchbase/search_query.hxx +32 -30
  1485. data/ext/couchbase/couchbase/search_request.hxx +69 -68
  1486. data/ext/couchbase/couchbase/search_result.hxx +29 -26
  1487. data/ext/couchbase/couchbase/search_row.hxx +52 -52
  1488. data/ext/couchbase/couchbase/search_row_location.hxx +20 -20
  1489. data/ext/couchbase/couchbase/search_row_locations.hxx +39 -38
  1490. data/ext/couchbase/couchbase/search_scan_consistency.hxx +11 -10
  1491. data/ext/couchbase/couchbase/search_sort.hxx +20 -20
  1492. data/ext/couchbase/couchbase/search_sort_field.hxx +77 -71
  1493. data/ext/couchbase/couchbase/search_sort_field_missing.hxx +2 -2
  1494. data/ext/couchbase/couchbase/search_sort_field_mode.hxx +3 -3
  1495. data/ext/couchbase/couchbase/search_sort_field_type.hxx +4 -4
  1496. data/ext/couchbase/couchbase/search_sort_geo_distance.hxx +41 -41
  1497. data/ext/couchbase/couchbase/search_sort_id.hxx +23 -23
  1498. data/ext/couchbase/couchbase/search_sort_score.hxx +23 -23
  1499. data/ext/couchbase/couchbase/search_term_range.hxx +17 -17
  1500. data/ext/couchbase/couchbase/security_options.hxx +50 -50
  1501. data/ext/couchbase/couchbase/service_type.hxx +34 -34
  1502. data/ext/couchbase/couchbase/store_semantics.hxx +28 -28
  1503. data/ext/couchbase/couchbase/subdoc/array_add_unique.hxx +54 -54
  1504. data/ext/couchbase/couchbase/subdoc/array_append.hxx +40 -40
  1505. data/ext/couchbase/couchbase/subdoc/array_insert.hxx +41 -41
  1506. data/ext/couchbase/couchbase/subdoc/array_prepend.hxx +41 -41
  1507. data/ext/couchbase/couchbase/subdoc/count.hxx +24 -24
  1508. data/ext/couchbase/couchbase/subdoc/counter.hxx +41 -41
  1509. data/ext/couchbase/couchbase/subdoc/exists.hxx +24 -24
  1510. data/ext/couchbase/couchbase/subdoc/get.hxx +45 -29
  1511. data/ext/couchbase/couchbase/subdoc/insert.hxx +70 -54
  1512. data/ext/couchbase/couchbase/subdoc/lookup_in_macro.hxx +13 -12
  1513. data/ext/couchbase/couchbase/subdoc/mutate_in_macro.hxx +7 -2
  1514. data/ext/couchbase/couchbase/subdoc/remove.hxx +24 -24
  1515. data/ext/couchbase/couchbase/subdoc/replace.hxx +55 -39
  1516. data/ext/couchbase/couchbase/subdoc/upsert.hxx +70 -54
  1517. data/ext/couchbase/couchbase/term_facet.hxx +16 -16
  1518. data/ext/couchbase/couchbase/term_facet_result.hxx +14 -14
  1519. data/ext/couchbase/couchbase/term_query.hxx +107 -104
  1520. data/ext/couchbase/couchbase/term_range_query.hxx +99 -96
  1521. data/ext/couchbase/couchbase/timeout_options.hxx +118 -112
  1522. data/ext/couchbase/couchbase/tls_verify_mode.hxx +2 -2
  1523. data/ext/couchbase/couchbase/touch_options.hxx +25 -24
  1524. data/ext/couchbase/couchbase/tracing/otel_tracer.hxx +45 -44
  1525. data/ext/couchbase/couchbase/tracing/request_span.hxx +34 -34
  1526. data/ext/couchbase/couchbase/tracing/request_tracer.hxx +27 -25
  1527. data/ext/couchbase/couchbase/tracing_options.hxx +147 -142
  1528. data/ext/couchbase/couchbase/transactions/async_attempt_context.hxx +149 -115
  1529. data/ext/couchbase/couchbase/transactions/attempt_context.hxx +146 -95
  1530. data/ext/couchbase/couchbase/transactions/transaction_get_result.hxx +52 -80
  1531. data/ext/couchbase/couchbase/transactions/transaction_keyspace.hxx +33 -29
  1532. data/ext/couchbase/couchbase/transactions/transaction_options.hxx +101 -96
  1533. data/ext/couchbase/couchbase/transactions/transaction_query_options.hxx +228 -223
  1534. data/ext/couchbase/couchbase/transactions/transaction_query_result.hxx +11 -12
  1535. data/ext/couchbase/couchbase/transactions/transaction_result.hxx +2 -3
  1536. data/ext/couchbase/couchbase/transactions/transactions_cleanup_config.hxx +105 -104
  1537. data/ext/couchbase/couchbase/transactions/transactions_config.hxx +191 -187
  1538. data/ext/couchbase/couchbase/transactions/transactions_query_config.hxx +32 -32
  1539. data/ext/couchbase/couchbase/transactions.hxx +56 -37
  1540. data/ext/couchbase/couchbase/unfreeze_plan_search_index_options.hxx +11 -10
  1541. data/ext/couchbase/couchbase/unlock_options.hxx +25 -24
  1542. data/ext/couchbase/couchbase/update_bucket_options.hxx +9 -9
  1543. data/ext/couchbase/couchbase/update_collection_options.hxx +35 -34
  1544. data/ext/couchbase/couchbase/upsert_options.hxx +85 -80
  1545. data/ext/couchbase/couchbase/upsert_search_index_options.hxx +9 -9
  1546. data/ext/couchbase/couchbase/vector_query.hxx +82 -62
  1547. data/ext/couchbase/couchbase/vector_search.hxx +51 -47
  1548. data/ext/couchbase/couchbase/vector_search_options.hxx +45 -41
  1549. data/ext/couchbase/couchbase/wan_development_configuration_profile.hxx +13 -13
  1550. data/ext/couchbase/couchbase/watch_query_indexes_options.hxx +41 -41
  1551. data/ext/couchbase/couchbase/wildcard_query.hxx +42 -41
  1552. data/ext/couchbase/third_party/expected/include/tl/expected.hpp +1746 -1584
  1553. data/ext/couchbase/third_party/jsonsl/jsonsl.c +2664 -2638
  1554. data/ext/couchbase/third_party/jsonsl/jsonsl.h +359 -342
  1555. data/ext/couchbase.cxx +43 -9548
  1556. data/ext/extconf.rb +5 -0
  1557. data/ext/rcb_analytics.cxx +1195 -0
  1558. data/ext/rcb_analytics.hxx +29 -0
  1559. data/ext/rcb_backend.cxx +530 -0
  1560. data/ext/rcb_backend.hxx +46 -0
  1561. data/ext/rcb_buckets.cxx +624 -0
  1562. data/ext/rcb_buckets.hxx +29 -0
  1563. data/ext/rcb_collections.cxx +377 -0
  1564. data/ext/rcb_collections.hxx +29 -0
  1565. data/ext/rcb_crud.cxx +1544 -0
  1566. data/ext/rcb_crud.hxx +29 -0
  1567. data/ext/rcb_diagnostics.cxx +264 -0
  1568. data/ext/rcb_diagnostics.hxx +29 -0
  1569. data/ext/rcb_exceptions.cxx +963 -0
  1570. data/ext/rcb_exceptions.hxx +111 -0
  1571. data/ext/rcb_extras.cxx +394 -0
  1572. data/ext/rcb_extras.hxx +29 -0
  1573. data/ext/rcb_logger.cxx +319 -0
  1574. data/ext/rcb_logger.hxx +36 -0
  1575. data/ext/rcb_multi.cxx +343 -0
  1576. data/ext/rcb_multi.hxx +29 -0
  1577. data/ext/rcb_query.cxx +1316 -0
  1578. data/ext/rcb_query.hxx +29 -0
  1579. data/ext/rcb_range_scan.cxx +358 -0
  1580. data/ext/rcb_range_scan.hxx +29 -0
  1581. data/ext/rcb_search.cxx +1216 -0
  1582. data/ext/rcb_search.hxx +29 -0
  1583. data/ext/rcb_users.cxx +636 -0
  1584. data/ext/rcb_users.hxx +29 -0
  1585. data/ext/rcb_utils.cxx +590 -0
  1586. data/ext/rcb_utils.hxx +564 -0
  1587. data/ext/rcb_version.cxx +137 -0
  1588. data/ext/rcb_version.hxx +34 -0
  1589. data/ext/rcb_views.cxx +485 -0
  1590. data/ext/rcb_views.hxx +29 -0
  1591. data/lib/active_support/cache/couchbase_store.rb +4 -1
  1592. data/lib/couchbase/analytics_options.rb +2 -0
  1593. data/lib/couchbase/authenticator.rb +2 -0
  1594. data/lib/couchbase/binary_collection.rb +2 -0
  1595. data/lib/couchbase/binary_collection_options.rb +2 -0
  1596. data/lib/couchbase/bucket.rb +2 -0
  1597. data/lib/couchbase/cluster.rb +2 -0
  1598. data/lib/couchbase/collection.rb +3 -1
  1599. data/lib/couchbase/collection_options.rb +2 -0
  1600. data/lib/couchbase/config_profiles.rb +2 -0
  1601. data/lib/couchbase/configuration.rb +2 -0
  1602. data/lib/couchbase/datastructures/couchbase_list.rb +4 -4
  1603. data/lib/couchbase/datastructures/couchbase_map.rb +4 -4
  1604. data/lib/couchbase/datastructures/couchbase_queue.rb +4 -4
  1605. data/lib/couchbase/datastructures/couchbase_set.rb +4 -4
  1606. data/lib/couchbase/datastructures.rb +2 -0
  1607. data/lib/couchbase/diagnostics.rb +2 -0
  1608. data/lib/couchbase/errors.rb +46 -8
  1609. data/lib/couchbase/json_transcoder.rb +2 -0
  1610. data/lib/couchbase/key_value_scan.rb +2 -0
  1611. data/lib/couchbase/logger.rb +2 -0
  1612. data/lib/couchbase/management/analytics_index_manager.rb +2 -0
  1613. data/lib/couchbase/management/bucket_manager.rb +2 -0
  1614. data/lib/couchbase/management/collection_manager.rb +2 -0
  1615. data/lib/couchbase/management/collection_query_index_manager.rb +2 -0
  1616. data/lib/couchbase/management/query_index_manager.rb +2 -0
  1617. data/lib/couchbase/management/scope_search_index_manager.rb +2 -0
  1618. data/lib/couchbase/management/search_index_manager.rb +2 -0
  1619. data/lib/couchbase/management/user_manager.rb +2 -0
  1620. data/lib/couchbase/management/view_index_manager.rb +2 -0
  1621. data/lib/couchbase/management.rb +2 -0
  1622. data/lib/couchbase/mutation_state.rb +2 -0
  1623. data/lib/couchbase/options.rb +9 -0
  1624. data/lib/couchbase/protostellar/bucket.rb +4 -0
  1625. data/lib/couchbase/protostellar/cluster.rb +8 -0
  1626. data/lib/couchbase/protostellar/request_generator/kv.rb +1 -1
  1627. data/lib/couchbase/query_options.rb +2 -0
  1628. data/lib/couchbase/railtie.rb +2 -0
  1629. data/lib/couchbase/raw_binary_transcoder.rb +2 -0
  1630. data/lib/couchbase/raw_json_transcoder.rb +2 -0
  1631. data/lib/couchbase/raw_string_transcoder.rb +2 -0
  1632. data/lib/couchbase/scope.rb +2 -0
  1633. data/lib/couchbase/search_options.rb +91 -63
  1634. data/lib/couchbase/subdoc.rb +7 -4
  1635. data/lib/couchbase/transcoder_flags.rb +2 -0
  1636. data/lib/couchbase/utils/generic_logger_adapter.rb +3 -1
  1637. data/lib/couchbase/utils/stdlib_logger_adapter.rb +2 -0
  1638. data/lib/couchbase/utils/time.rb +3 -1
  1639. data/lib/couchbase/utils.rb +2 -0
  1640. data/lib/couchbase/version.rb +3 -1
  1641. data/lib/couchbase/view_options.rb +2 -0
  1642. data/lib/couchbase.rb +2 -0
  1643. data/lib/rails/generators/couchbase/config/config_generator.rb +2 -0
  1644. metadata +861 -850
  1645. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/any_completion_executor.hpp +0 -342
  1646. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/any_completion_handler.hpp +0 -823
  1647. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/any_io_executor.hpp +0 -359
  1648. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/append.hpp +0 -78
  1649. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/as_tuple.hpp +0 -139
  1650. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/associated_allocator.hpp +0 -233
  1651. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/associated_cancellation_slot.hpp +0 -238
  1652. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/associated_executor.hpp +0 -253
  1653. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/associated_immediate_executor.hpp +0 -297
  1654. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/async_result.hpp +0 -1671
  1655. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_datagram_socket.hpp +0 -1396
  1656. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_deadline_timer.hpp +0 -715
  1657. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_file.hpp +0 -829
  1658. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_io_object.hpp +0 -290
  1659. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_random_access_file.hpp +0 -701
  1660. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_raw_socket.hpp +0 -1387
  1661. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_readable_pipe.hpp +0 -635
  1662. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_seq_packet_socket.hpp +0 -835
  1663. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_serial_port.hpp +0 -1000
  1664. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_signal_set.hpp +0 -651
  1665. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_socket.hpp +0 -1947
  1666. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_socket_acceptor.hpp +0 -2755
  1667. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_socket_iostream.hpp +0 -407
  1668. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_socket_streambuf.hpp +0 -687
  1669. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_stream_file.hpp +0 -754
  1670. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_stream_socket.hpp +0 -1189
  1671. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_streambuf.hpp +0 -452
  1672. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_streambuf_fwd.hpp +0 -36
  1673. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_waitable_timer.hpp +0 -833
  1674. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/basic_writable_pipe.hpp +0 -631
  1675. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/bind_allocator.hpp +0 -733
  1676. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/bind_cancellation_slot.hpp +0 -736
  1677. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/bind_executor.hpp +0 -781
  1678. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/bind_immediate_executor.hpp +0 -736
  1679. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/buffer.hpp +0 -2909
  1680. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/buffer_registration.hpp +0 -328
  1681. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/buffered_read_stream.hpp +0 -286
  1682. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/buffered_stream.hpp +0 -308
  1683. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/buffered_write_stream.hpp +0 -278
  1684. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/buffers_iterator.hpp +0 -521
  1685. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/cancellation_signal.hpp +0 -305
  1686. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/cancellation_state.hpp +0 -235
  1687. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/cancellation_type.hpp +0 -174
  1688. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/co_spawn.hpp +0 -523
  1689. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/compose.hpp +0 -531
  1690. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/connect.hpp +0 -1207
  1691. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/consign.hpp +0 -88
  1692. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/defer.hpp +0 -222
  1693. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/deferred.hpp +0 -802
  1694. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detached.hpp +0 -113
  1695. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/array.hpp +0 -38
  1696. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/array_fwd.hpp +0 -34
  1697. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/atomic_count.hpp +0 -67
  1698. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/base_from_cancellation_state.hpp +0 -163
  1699. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/base_from_completion_cond.hpp +0 -69
  1700. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/bind_handler.hpp +0 -1145
  1701. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/blocking_executor_op.hpp +0 -108
  1702. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +0 -841
  1703. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/bulk_executor_op.hpp +0 -89
  1704. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/chrono.hpp +0 -66
  1705. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/completion_handler.hpp +0 -88
  1706. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/composed_work.hpp +0 -328
  1707. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/config.hpp +0 -2314
  1708. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/consuming_buffers.hpp +0 -451
  1709. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/cstddef.hpp +0 -31
  1710. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/cstdint.hpp +0 -62
  1711. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/deadline_timer_service.hpp +0 -335
  1712. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/descriptor_read_op.hpp +0 -188
  1713. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/descriptor_write_op.hpp +0 -187
  1714. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/event.hpp +0 -48
  1715. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/exception.hpp +0 -40
  1716. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/executor_function.hpp +0 -204
  1717. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/executor_op.hpp +0 -85
  1718. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/fenced_block.hpp +0 -80
  1719. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/functional.hpp +0 -44
  1720. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/future.hpp +0 -33
  1721. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/gcc_arm_fenced_block.hpp +0 -91
  1722. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/gcc_hppa_fenced_block.hpp +0 -68
  1723. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/gcc_sync_fenced_block.hpp +0 -65
  1724. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/gcc_x86_fenced_block.hpp +0 -99
  1725. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/global.hpp +0 -52
  1726. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +0 -288
  1727. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/handler_invoke_helpers.hpp +0 -80
  1728. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/handler_tracking.hpp +0 -264
  1729. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/handler_type_requirements.hpp +0 -559
  1730. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/handler_work.hpp +0 -565
  1731. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/handler_tracking.ipp +0 -398
  1732. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/io_uring_descriptor_service.ipp +0 -205
  1733. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/io_uring_socket_service_base.ipp +0 -249
  1734. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +0 -230
  1735. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +0 -310
  1736. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +0 -158
  1737. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/service_registry.hpp +0 -94
  1738. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +0 -367
  1739. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/strand_service.hpp +0 -87
  1740. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/throw_error.ipp +0 -70
  1741. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +0 -97
  1742. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +0 -120
  1743. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +0 -615
  1744. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +0 -821
  1745. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +0 -626
  1746. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/initiate_defer.hpp +0 -252
  1747. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/initiate_dispatch.hpp +0 -229
  1748. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/initiate_post.hpp +0 -252
  1749. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_object_impl.hpp +0 -181
  1750. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_descriptor_read_at_op.hpp +0 -195
  1751. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_descriptor_read_op.hpp +0 -190
  1752. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_descriptor_service.hpp +0 -687
  1753. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_descriptor_write_at_op.hpp +0 -189
  1754. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_descriptor_write_op.hpp +0 -185
  1755. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_null_buffers_op.hpp +0 -115
  1756. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_accept_op.hpp +0 -285
  1757. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_connect_op.hpp +0 -141
  1758. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_recv_op.hpp +0 -205
  1759. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_recvfrom_op.hpp +0 -206
  1760. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_recvmsg_op.hpp +0 -192
  1761. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_send_op.hpp +0 -191
  1762. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_sendto_op.hpp +0 -194
  1763. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_service.hpp +0 -631
  1764. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_socket_service_base.hpp +0 -663
  1765. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/io_uring_wait_op.hpp +0 -113
  1766. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/is_buffer_sequence.hpp +0 -338
  1767. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/limits.hpp +0 -26
  1768. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/macos_fenced_block.hpp +0 -62
  1769. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/memory.hpp +0 -167
  1770. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/mutex.hpp +0 -48
  1771. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/non_const_lvalue.hpp +0 -54
  1772. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/null_socket_service.hpp +0 -519
  1773. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +0 -566
  1774. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +0 -132
  1775. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +0 -328
  1776. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +0 -163
  1777. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +0 -198
  1778. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +0 -204
  1779. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +0 -185
  1780. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +0 -202
  1781. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +0 -195
  1782. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_service.hpp +0 -635
  1783. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +0 -750
  1784. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/reactive_wait_op.hpp +0 -132
  1785. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/recycling_allocator.hpp +0 -105
  1786. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/regex_fwd.hpp +0 -44
  1787. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +0 -141
  1788. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/resolve_query_op.hpp +0 -151
  1789. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/resolver_service.hpp +0 -147
  1790. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/service_registry.hpp +0 -164
  1791. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/signal_handler.hpp +0 -90
  1792. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/signal_set_service.hpp +0 -292
  1793. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/solaris_fenced_block.hpp +0 -62
  1794. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/static_mutex.hpp +0 -52
  1795. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/std_event.hpp +0 -188
  1796. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/std_fenced_block.hpp +0 -62
  1797. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/std_global.hpp +0 -70
  1798. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/std_mutex.hpp +0 -73
  1799. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/std_static_mutex.hpp +0 -81
  1800. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/std_thread.hpp +0 -71
  1801. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/strand_executor_service.hpp +0 -173
  1802. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/thread.hpp +0 -60
  1803. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/thread_info_base.hpp +0 -260
  1804. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/timer_queue_ptime.hpp +0 -103
  1805. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/type_traits.hpp +0 -164
  1806. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/utility.hpp +0 -83
  1807. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/variadic_templates.hpp +0 -294
  1808. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/wait_handler.hpp +0 -90
  1809. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_fenced_block.hpp +0 -90
  1810. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +0 -120
  1811. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +0 -431
  1812. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +0 -115
  1813. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +0 -130
  1814. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +0 -101
  1815. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +0 -171
  1816. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +0 -344
  1817. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +0 -139
  1818. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +0 -127
  1819. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +0 -136
  1820. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +0 -128
  1821. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +0 -121
  1822. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +0 -683
  1823. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +0 -830
  1824. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +0 -131
  1825. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/win_object_handle_service.hpp +0 -195
  1826. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/winrt_resolve_op.hpp +0 -126
  1827. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/winrt_resolver_service.hpp +0 -212
  1828. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +0 -99
  1829. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +0 -120
  1830. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +0 -111
  1831. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +0 -250
  1832. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +0 -362
  1833. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/work_dispatcher.hpp +0 -157
  1834. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/detail/wrapped_handler.hpp +0 -327
  1835. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/dispatch.hpp +0 -202
  1836. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/error.hpp +0 -391
  1837. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/error_code.hpp +0 -202
  1838. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/allocator.hpp +0 -356
  1839. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/any_executor.hpp +0 -2723
  1840. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/bad_executor.hpp +0 -47
  1841. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/blocking.hpp +0 -1600
  1842. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/blocking_adaptation.hpp +0 -1257
  1843. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/bulk_execute.hpp +0 -402
  1844. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/bulk_guarantee.hpp +0 -1252
  1845. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/connect.hpp +0 -494
  1846. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/context.hpp +0 -244
  1847. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/context_as.hpp +0 -232
  1848. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/detail/as_invocable.hpp +0 -152
  1849. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/detail/as_operation.hpp +0 -109
  1850. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/detail/as_receiver.hpp +0 -128
  1851. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/detail/bulk_sender.hpp +0 -261
  1852. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/detail/submit_receiver.hpp +0 -233
  1853. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/detail/void_receiver.hpp +0 -90
  1854. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/execute.hpp +0 -290
  1855. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/executor.hpp +0 -262
  1856. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/impl/bad_executor.ipp +0 -40
  1857. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/impl/receiver_invocation_error.ipp +0 -36
  1858. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/invocable_archetype.hpp +0 -71
  1859. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/mapping.hpp +0 -1160
  1860. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/occupancy.hpp +0 -237
  1861. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/operation_state.hpp +0 -99
  1862. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/outstanding_work.hpp +0 -900
  1863. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/prefer_only.hpp +0 -331
  1864. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/receiver.hpp +0 -285
  1865. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/receiver_invocation_error.hpp +0 -48
  1866. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/relationship.hpp +0 -898
  1867. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/schedule.hpp +0 -292
  1868. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/scheduler.hpp +0 -91
  1869. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/sender.hpp +0 -316
  1870. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/set_done.hpp +0 -255
  1871. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/set_error.hpp +0 -255
  1872. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/set_value.hpp +0 -488
  1873. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/start.hpp +0 -252
  1874. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution/submit.hpp +0 -455
  1875. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution.hpp +0 -48
  1876. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/execution_context.hpp +0 -412
  1877. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/executor.hpp +0 -347
  1878. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/executor_work_guard.hpp +0 -367
  1879. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/as_single.hpp +0 -136
  1880. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/awaitable_operators.hpp +0 -536
  1881. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/basic_channel.hpp +0 -491
  1882. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/basic_concurrent_channel.hpp +0 -491
  1883. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/cancellation_condition.hpp +0 -155
  1884. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/channel.hpp +0 -70
  1885. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/channel_error.hpp +0 -84
  1886. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/channel_traits.hpp +0 -301
  1887. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/co_composed.hpp +0 -144
  1888. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/concurrent_channel.hpp +0 -70
  1889. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/channel_handler.hpp +0 -80
  1890. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/channel_message.hpp +0 -129
  1891. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/channel_operation.hpp +0 -284
  1892. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/channel_payload.hpp +0 -139
  1893. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/channel_receive_op.hpp +0 -120
  1894. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/channel_send_functions.hpp +0 -144
  1895. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/channel_send_op.hpp +0 -148
  1896. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/channel_service.hpp +0 -677
  1897. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/detail/impl/channel_service.hpp +0 -612
  1898. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/impl/as_single.hpp +0 -239
  1899. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/impl/channel_error.ipp +0 -61
  1900. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/impl/co_composed.hpp +0 -1175
  1901. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/impl/coro.hpp +0 -1222
  1902. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/impl/parallel_group.hpp +0 -792
  1903. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/impl/promise.hpp +0 -254
  1904. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/impl/use_promise.hpp +0 -66
  1905. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/parallel_group.hpp +0 -461
  1906. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/use_coro.hpp +0 -195
  1907. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/experimental/use_promise.hpp +0 -111
  1908. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/generic/basic_endpoint.hpp +0 -193
  1909. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/generic/datagram_protocol.hpp +0 -123
  1910. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/generic/raw_protocol.hpp +0 -121
  1911. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/generic/seq_packet_protocol.hpp +0 -122
  1912. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/generic/stream_protocol.hpp +0 -127
  1913. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/handler_alloc_hook.hpp +0 -104
  1914. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/handler_invoke_hook.hpp +0 -111
  1915. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/high_resolution_timer.hpp +0 -44
  1916. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/any_completion_executor.ipp +0 -130
  1917. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/any_io_executor.ipp +0 -141
  1918. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/append.hpp +0 -225
  1919. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/as_tuple.hpp +0 -320
  1920. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/awaitable.hpp +0 -1195
  1921. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/buffered_read_stream.hpp +0 -527
  1922. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/buffered_write_stream.hpp +0 -507
  1923. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/co_spawn.hpp +0 -437
  1924. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/connect.hpp +0 -959
  1925. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/consign.hpp +0 -202
  1926. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/deferred.hpp +0 -156
  1927. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/detached.hpp +0 -130
  1928. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/error.ipp +0 -128
  1929. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/error_code.ipp +0 -206
  1930. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/execution_context.hpp +0 -109
  1931. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/executor.hpp +0 -300
  1932. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/executor.ipp +0 -43
  1933. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/handler_alloc_hook.ipp +0 -62
  1934. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/io_context.hpp +0 -450
  1935. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/multiple_exceptions.ipp +0 -49
  1936. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/prepend.hpp +0 -225
  1937. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/read.hpp +0 -1276
  1938. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/read_at.hpp +0 -774
  1939. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/read_until.hpp +0 -3455
  1940. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/redirect_error.hpp +0 -634
  1941. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/spawn.hpp +0 -1616
  1942. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/src.hpp +0 -96
  1943. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/system_context.hpp +0 -34
  1944. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/system_context.ipp +0 -92
  1945. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/system_executor.hpp +0 -185
  1946. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/thread_pool.hpp +0 -354
  1947. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/use_awaitable.hpp +0 -301
  1948. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/use_future.hpp +0 -1053
  1949. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/write.hpp +0 -1153
  1950. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/impl/write_at.hpp +0 -687
  1951. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/io_context.hpp +0 -1534
  1952. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/io_context_strand.hpp +0 -388
  1953. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/address.hpp +0 -290
  1954. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/address_v4.hpp +0 -430
  1955. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/address_v4_iterator.hpp +0 -162
  1956. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/address_v4_range.hpp +0 -134
  1957. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/address_v6.hpp +0 -416
  1958. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/address_v6_iterator.hpp +0 -183
  1959. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/address_v6_range.hpp +0 -129
  1960. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/bad_address_cast.hpp +0 -63
  1961. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/basic_endpoint.hpp +0 -291
  1962. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/basic_resolver.hpp +0 -1142
  1963. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +0 -192
  1964. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/basic_resolver_results.hpp +0 -311
  1965. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/detail/endpoint.hpp +0 -141
  1966. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +0 -199
  1967. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/icmp.hpp +0 -115
  1968. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/impl/address.ipp +0 -239
  1969. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/impl/address_v4.ipp +0 -210
  1970. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/impl/address_v6.ipp +0 -350
  1971. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/impl/network_v4.ipp +0 -218
  1972. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/impl/network_v6.ipp +0 -187
  1973. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/network_v4.hpp +0 -261
  1974. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/network_v6.hpp +0 -235
  1975. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/tcp.hpp +0 -155
  1976. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ip/udp.hpp +0 -111
  1977. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/is_applicable_property.hpp +0 -61
  1978. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/is_contiguous_iterator.hpp +0 -45
  1979. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/local/basic_endpoint.hpp +0 -247
  1980. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/local/datagram_protocol.hpp +0 -80
  1981. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/local/seq_packet_protocol.hpp +0 -84
  1982. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/local/stream_protocol.hpp +0 -90
  1983. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/multiple_exceptions.hpp +0 -58
  1984. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/packaged_task.hpp +0 -126
  1985. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/placeholders.hpp +0 -151
  1986. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/posix/basic_descriptor.hpp +0 -781
  1987. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +0 -569
  1988. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/post.hpp +0 -218
  1989. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/prefer.hpp +0 -734
  1990. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/prepend.hpp +0 -78
  1991. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/query.hpp +0 -324
  1992. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/read.hpp +0 -1480
  1993. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/read_at.hpp +0 -795
  1994. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/read_until.hpp +0 -3166
  1995. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/recycling_allocator.hpp +0 -138
  1996. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/redirect_error.hpp +0 -66
  1997. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/registered_buffer.hpp +0 -356
  1998. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/require.hpp +0 -571
  1999. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/require_concept.hpp +0 -352
  2000. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/signal_set_base.hpp +0 -182
  2001. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/spawn.hpp +0 -906
  2002. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/context.hpp +0 -764
  2003. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +0 -119
  2004. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/engine.hpp +0 -173
  2005. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/handshake_op.hpp +0 -67
  2006. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/impl/engine.ipp +0 -381
  2007. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +0 -169
  2008. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/io.hpp +0 -435
  2009. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/read_op.hpp +0 -72
  2010. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +0 -69
  2011. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/stream_core.hpp +0 -221
  2012. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/detail/write_op.hpp +0 -76
  2013. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/error.hpp +0 -125
  2014. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/impl/context.ipp +0 -1321
  2015. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/impl/error.ipp +0 -124
  2016. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ssl/stream.hpp +0 -1073
  2017. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/steady_timer.hpp +0 -42
  2018. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/strand.hpp +0 -584
  2019. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/system_context.hpp +0 -90
  2020. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/system_error.hpp +0 -131
  2021. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/system_executor.hpp +0 -671
  2022. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/system_timer.hpp +0 -42
  2023. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/this_coro.hpp +0 -280
  2024. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/thread_pool.hpp +0 -1145
  2025. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/bulk_execute_free.hpp +0 -114
  2026. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/bulk_execute_member.hpp +0 -114
  2027. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/connect_free.hpp +0 -112
  2028. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/connect_member.hpp +0 -112
  2029. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/equality_comparable.hpp +0 -104
  2030. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/execute_free.hpp +0 -108
  2031. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/execute_member.hpp +0 -108
  2032. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/prefer_free.hpp +0 -108
  2033. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/prefer_member.hpp +0 -108
  2034. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/query_free.hpp +0 -108
  2035. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/query_member.hpp +0 -108
  2036. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +0 -108
  2037. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/require_concept_free.hpp +0 -108
  2038. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/require_concept_member.hpp +0 -108
  2039. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/require_free.hpp +0 -108
  2040. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/require_member.hpp +0 -108
  2041. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/schedule_free.hpp +0 -108
  2042. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/schedule_member.hpp +0 -108
  2043. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/set_done_free.hpp +0 -108
  2044. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/set_done_member.hpp +0 -108
  2045. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/set_error_free.hpp +0 -112
  2046. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/set_error_member.hpp +0 -112
  2047. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/set_value_free.hpp +0 -234
  2048. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/set_value_member.hpp +0 -234
  2049. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/start_free.hpp +0 -108
  2050. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/start_member.hpp +0 -108
  2051. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/static_query.hpp +0 -108
  2052. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/static_require.hpp +0 -123
  2053. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/static_require_concept.hpp +0 -124
  2054. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/submit_free.hpp +0 -112
  2055. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/traits/submit_member.hpp +0 -112
  2056. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/ts/netfwd.hpp +0 -254
  2057. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/use_awaitable.hpp +0 -167
  2058. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/use_future.hpp +0 -163
  2059. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/uses_executor.hpp +0 -71
  2060. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/version.hpp +0 -23
  2061. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/windows/basic_object_handle.hpp +0 -493
  2062. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +0 -460
  2063. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/windows/basic_random_access_handle.hpp +0 -579
  2064. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/windows/basic_stream_handle.hpp +0 -561
  2065. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/windows/overlapped_ptr.hpp +0 -145
  2066. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/write.hpp +0 -1438
  2067. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio/write_at.hpp +0 -805
  2068. data/ext/cache/asio/a1d8afc0fa0ccceae5729647623b3f7fd6859548/asio/asio/include/asio.hpp +0 -216
  2069. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/CMakeLists.txt +0 -444
  2070. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/ChangeLog.rst +0 -5922
  2071. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/README.rst +0 -545
  2072. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/args.h +0 -234
  2073. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/chrono.h +0 -2208
  2074. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/color.h +0 -632
  2075. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/compile.h +0 -534
  2076. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/core.h +0 -2922
  2077. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/format-inl.h +0 -1662
  2078. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/format.h +0 -4510
  2079. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/os.h +0 -451
  2080. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/ostream.h +0 -209
  2081. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/printf.h +0 -667
  2082. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/ranges.h +0 -735
  2083. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/std.h +0 -465
  2084. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/include/fmt/xchar.h +0 -258
  2085. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/src/fmt.cc +0 -110
  2086. data/ext/cache/fmt/513ade7b9791ea53008d5320013a52e682a91501/fmt/src/os.cc +0 -398
  2087. data/ext/cache/llhttp/6862303abe6dfd515c1eb7f7cec05f29c92426e9/llhttp/CMakeLists.txt +0 -117
  2088. data/ext/cache/llhttp/6862303abe6dfd515c1eb7f7cec05f29c92426e9/llhttp/include/llhttp.h +0 -898
  2089. data/ext/cache/llhttp/6862303abe6dfd515c1eb7f7cec05f29c92426e9/llhttp/src/llhttp.c +0 -10102
  2090. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/CMakeLists.txt +0 -360
  2091. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/LICENSE +0 -26
  2092. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/async.h +0 -99
  2093. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/async_logger-inl.h +0 -90
  2094. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/async_logger.h +0 -68
  2095. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/cfg/argv.h +0 -44
  2096. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/cfg/env.h +0 -38
  2097. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/cfg/helpers-inl.h +0 -120
  2098. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/cfg/helpers.h +0 -29
  2099. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/common-inl.h +0 -82
  2100. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/common.h +0 -420
  2101. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/backtracer-inl.h +0 -75
  2102. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/backtracer.h +0 -46
  2103. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/circular_q.h +0 -146
  2104. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/console_globals.h +0 -32
  2105. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/file_helper-inl.h +0 -180
  2106. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/file_helper.h +0 -62
  2107. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/fmt_helper.h +0 -164
  2108. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/log_msg-inl.h +0 -37
  2109. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/log_msg.h +0 -37
  2110. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/log_msg_buffer-inl.h +0 -58
  2111. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/log_msg_buffer.h +0 -33
  2112. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/mpmc_blocking_q.h +0 -154
  2113. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/null_mutex.h +0 -45
  2114. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/os-inl.h +0 -635
  2115. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/os.h +0 -122
  2116. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/periodic_worker-inl.h +0 -28
  2117. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/periodic_worker.h +0 -60
  2118. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/registry-inl.h +0 -315
  2119. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/registry.h +0 -123
  2120. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/synchronous_factory.h +0 -24
  2121. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/tcp_client-windows.h +0 -160
  2122. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/tcp_client.h +0 -146
  2123. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/thread_pool-inl.h +0 -137
  2124. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/thread_pool.h +0 -122
  2125. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/udp_client-windows.h +0 -113
  2126. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/udp_client.h +0 -94
  2127. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/details/windows_include.h +0 -11
  2128. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fmt/bin_to_hex.h +0 -248
  2129. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fmt/chrono.h +0 -22
  2130. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fmt/compile.h +0 -22
  2131. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fmt/fmt.h +0 -33
  2132. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fmt/ostr.h +0 -22
  2133. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fmt/ranges.h +0 -22
  2134. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fmt/std.h +0 -23
  2135. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fmt/xchar.h +0 -22
  2136. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/formatter.h +0 -18
  2137. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/fwd.h +0 -18
  2138. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/logger-inl.h +0 -257
  2139. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/logger.h +0 -427
  2140. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/pattern_formatter-inl.h +0 -1436
  2141. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/pattern_formatter.h +0 -128
  2142. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/android_sink.h +0 -146
  2143. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h +0 -145
  2144. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/ansicolor_sink.h +0 -118
  2145. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/base_sink-inl.h +0 -63
  2146. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/base_sink.h +0 -52
  2147. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/basic_file_sink-inl.h +0 -44
  2148. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/basic_file_sink.h +0 -60
  2149. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/callback_sink.h +0 -61
  2150. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/daily_file_sink.h +0 -247
  2151. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/dist_sink.h +0 -97
  2152. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/dup_filter_sink.h +0 -96
  2153. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/hourly_file_sink.h +0 -204
  2154. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/kafka_sink.h +0 -133
  2155. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/mongo_sink.h +0 -107
  2156. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/msvc_sink.h +0 -71
  2157. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/null_sink.h +0 -44
  2158. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/ostream_sink.h +0 -50
  2159. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/qt_sinks.h +0 -292
  2160. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/ringbuffer_sink.h +0 -74
  2161. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h +0 -152
  2162. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/rotating_file_sink.h +0 -81
  2163. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/sink-inl.h +0 -25
  2164. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/sink.h +0 -35
  2165. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -38
  2166. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/stdout_color_sinks.h +0 -45
  2167. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/stdout_sinks-inl.h +0 -138
  2168. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/stdout_sinks.h +0 -87
  2169. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/syslog_sink.h +0 -109
  2170. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/systemd_sink.h +0 -126
  2171. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/tcp_sink.h +0 -81
  2172. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/udp_sink.h +0 -74
  2173. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/win_eventlog_sink.h +0 -289
  2174. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/wincolor_sink-inl.h +0 -175
  2175. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/sinks/wincolor_sink.h +0 -85
  2176. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/spdlog-inl.h +0 -125
  2177. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/spdlog.h +0 -363
  2178. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/stopwatch.h +0 -69
  2179. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/tweakme.h +0 -140
  2180. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/include/spdlog/version.h +0 -10
  2181. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/src/async.cpp +0 -11
  2182. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/src/bundled_fmtlib_format.cpp +0 -52
  2183. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/src/cfg.cpp +0 -8
  2184. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/src/color_sinks.cpp +0 -51
  2185. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/src/file_sinks.cpp +0 -20
  2186. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/src/spdlog.cpp +0 -26
  2187. data/ext/cache/spdlog/66ab2619a0014319471759c03e2de1af6bda14de/spdlog/src/stdout_sinks.cpp +0 -29
  2188. data/ext/couchbase/core/impl/internal_manager_error_context.cxx +0 -113
  2189. data/ext/couchbase/core/impl/internal_manager_error_context.hxx +0 -60
  2190. data/ext/couchbase/core/impl/manager_error_context.cxx +0 -100
  2191. data/ext/couchbase/core/impl/search_error_context.cxx +0 -147
  2192. data/ext/couchbase/couchbase/analytics_error_context.hxx +0 -143
  2193. data/ext/couchbase/couchbase/fmt/key_value_error_map_attribute.hxx +0 -100
  2194. data/ext/couchbase/couchbase/fmt/key_value_extended_error_info.hxx +0 -52
  2195. data/ext/couchbase/couchbase/fmt/key_value_status_code.hxx +0 -269
  2196. data/ext/couchbase/couchbase/key_value_error_context.hxx +0 -229
  2197. data/ext/couchbase/couchbase/key_value_error_map_attribute.hxx +0 -136
  2198. data/ext/couchbase/couchbase/key_value_error_map_info.hxx +0 -138
  2199. data/ext/couchbase/couchbase/key_value_extended_error_info.hxx +0 -86
  2200. data/ext/couchbase/couchbase/key_value_status_code.hxx +0 -109
  2201. data/ext/couchbase/couchbase/manager_error_context.hxx +0 -111
  2202. data/ext/couchbase/couchbase/query_error_context.hxx +0 -145
  2203. data/ext/couchbase/couchbase/search_error_context.hxx +0 -138
  2204. data/ext/couchbase/couchbase/subdocument_error_context.hxx +0 -147
  2205. data/ext/couchbase/couchbase/transaction_error_context.hxx +0 -49
  2206. data/ext/couchbase/couchbase/transaction_op_error_context.hxx +0 -76
  2207. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/associator.hpp +0 -0
  2208. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/awaitable.hpp +0 -0
  2209. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/buffered_read_stream_fwd.hpp +0 -0
  2210. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/buffered_stream_fwd.hpp +0 -0
  2211. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/buffered_write_stream_fwd.hpp +0 -0
  2212. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/completion_condition.hpp +0 -0
  2213. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/connect_pipe.hpp +0 -0
  2214. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/coroutine.hpp +0 -0
  2215. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/deadline_timer.hpp +0 -0
  2216. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/assert.hpp +0 -0
  2217. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/buffer_resize_guard.hpp +0 -0
  2218. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/buffered_stream_storage.hpp +0 -0
  2219. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/call_stack.hpp +0 -0
  2220. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/chrono_time_traits.hpp +0 -0
  2221. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/concurrency_hint.hpp +0 -0
  2222. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +0 -0
  2223. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/conditionally_enabled_mutex.hpp +0 -0
  2224. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/date_time_fwd.hpp +0 -0
  2225. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/dependent_type.hpp +0 -0
  2226. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/descriptor_ops.hpp +0 -0
  2227. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/dev_poll_reactor.hpp +0 -0
  2228. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/epoll_reactor.hpp +0 -0
  2229. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/eventfd_select_interrupter.hpp +0 -0
  2230. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/fd_set_adapter.hpp +0 -0
  2231. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/handler_cont_helpers.hpp +0 -0
  2232. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/hash_map.hpp +0 -0
  2233. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/buffer_sequence_adapter.ipp +0 -0
  2234. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +0 -0
  2235. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/dev_poll_reactor.hpp +0 -0
  2236. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/dev_poll_reactor.ipp +0 -0
  2237. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/epoll_reactor.hpp +0 -0
  2238. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/epoll_reactor.ipp +0 -0
  2239. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp +0 -0
  2240. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/io_uring_file_service.ipp +0 -0
  2241. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/io_uring_service.hpp +0 -0
  2242. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/io_uring_service.ipp +0 -0
  2243. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/kqueue_reactor.hpp +0 -0
  2244. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/kqueue_reactor.ipp +0 -0
  2245. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/null_event.ipp +0 -0
  2246. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/pipe_select_interrupter.ipp +0 -0
  2247. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/posix_event.ipp +0 -0
  2248. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/posix_mutex.ipp +0 -0
  2249. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/posix_serial_port_service.ipp +0 -0
  2250. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/posix_thread.ipp +0 -0
  2251. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp +0 -0
  2252. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/scheduler.ipp +0 -0
  2253. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/select_reactor.hpp +0 -0
  2254. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/select_reactor.ipp +0 -0
  2255. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/service_registry.ipp +0 -0
  2256. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/signal_set_service.ipp +0 -0
  2257. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/socket_ops.ipp +0 -0
  2258. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/socket_select_interrupter.ipp +0 -0
  2259. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/strand_executor_service.ipp +0 -0
  2260. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/strand_service.ipp +0 -0
  2261. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/thread_context.ipp +0 -0
  2262. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/timer_queue_set.ipp +0 -0
  2263. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_event.ipp +0 -0
  2264. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_iocp_file_service.ipp +0 -0
  2265. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_iocp_handle_service.ipp +0 -0
  2266. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp +0 -0
  2267. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_mutex.ipp +0 -0
  2268. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_object_handle_service.ipp +0 -0
  2269. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_static_mutex.ipp +0 -0
  2270. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_thread.ipp +0 -0
  2271. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/win_tss_ptr.ipp +0 -0
  2272. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.hpp +0 -0
  2273. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.ipp +0 -0
  2274. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/impl/winsock_init.ipp +0 -0
  2275. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/io_control.hpp +0 -0
  2276. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/io_uring_file_service.hpp +0 -0
  2277. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/io_uring_operation.hpp +0 -0
  2278. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/io_uring_service.hpp +0 -0
  2279. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/is_executor.hpp +0 -0
  2280. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/keyword_tss_ptr.hpp +0 -0
  2281. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/kqueue_reactor.hpp +0 -0
  2282. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/local_free_on_block_exit.hpp +0 -0
  2283. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/noncopyable.hpp +0 -0
  2284. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_event.hpp +0 -0
  2285. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_fenced_block.hpp +0 -0
  2286. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_global.hpp +0 -0
  2287. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_mutex.hpp +0 -0
  2288. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_reactor.hpp +0 -0
  2289. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_signal_blocker.hpp +0 -0
  2290. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_static_mutex.hpp +0 -0
  2291. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_thread.hpp +0 -0
  2292. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/null_tss_ptr.hpp +0 -0
  2293. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/object_pool.hpp +0 -0
  2294. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/old_win_sdk_compat.hpp +0 -0
  2295. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/op_queue.hpp +0 -0
  2296. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/operation.hpp +0 -0
  2297. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/pipe_select_interrupter.hpp +0 -0
  2298. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/pop_options.hpp +0 -0
  2299. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_event.hpp +0 -0
  2300. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_fd_set_adapter.hpp +0 -0
  2301. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_global.hpp +0 -0
  2302. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_mutex.hpp +0 -0
  2303. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_serial_port_service.hpp +0 -0
  2304. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_signal_blocker.hpp +0 -0
  2305. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_static_mutex.hpp +0 -0
  2306. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_thread.hpp +0 -0
  2307. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/posix_tss_ptr.hpp +0 -0
  2308. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/push_options.hpp +0 -0
  2309. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/reactor.hpp +0 -0
  2310. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/reactor_op.hpp +0 -0
  2311. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/reactor_op_queue.hpp +0 -0
  2312. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/resolve_op.hpp +0 -0
  2313. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/resolver_service_base.hpp +0 -0
  2314. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/scheduler.hpp +0 -0
  2315. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/scheduler_operation.hpp +0 -0
  2316. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/scheduler_task.hpp +0 -0
  2317. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/scheduler_thread_info.hpp +0 -0
  2318. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/scoped_lock.hpp +0 -0
  2319. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/scoped_ptr.hpp +0 -0
  2320. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/select_interrupter.hpp +0 -0
  2321. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/select_reactor.hpp +0 -0
  2322. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/signal_blocker.hpp +0 -0
  2323. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/signal_init.hpp +0 -0
  2324. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/signal_op.hpp +0 -0
  2325. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/socket_holder.hpp +0 -0
  2326. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/socket_ops.hpp +0 -0
  2327. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/socket_option.hpp +0 -0
  2328. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/socket_select_interrupter.hpp +0 -0
  2329. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/socket_types.hpp +0 -0
  2330. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/source_location.hpp +0 -0
  2331. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/strand_service.hpp +0 -0
  2332. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/string_view.hpp +0 -0
  2333. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/thread_context.hpp +0 -0
  2334. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/thread_group.hpp +0 -0
  2335. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/throw_error.hpp +0 -0
  2336. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/throw_exception.hpp +0 -0
  2337. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/timer_queue.hpp +0 -0
  2338. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/timer_queue_base.hpp +0 -0
  2339. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/timer_queue_set.hpp +0 -0
  2340. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/timer_scheduler.hpp +0 -0
  2341. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/timer_scheduler_fwd.hpp +0 -0
  2342. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/tss_ptr.hpp +0 -0
  2343. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/wait_op.hpp +0 -0
  2344. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_event.hpp +0 -0
  2345. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_fd_set_adapter.hpp +0 -0
  2346. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_global.hpp +0 -0
  2347. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_iocp_file_service.hpp +0 -0
  2348. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_iocp_io_context.hpp +0 -0
  2349. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_iocp_operation.hpp +0 -0
  2350. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_iocp_serial_port_service.hpp +0 -0
  2351. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_iocp_thread_info.hpp +0 -0
  2352. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_mutex.hpp +0 -0
  2353. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_static_mutex.hpp +0 -0
  2354. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_thread.hpp +0 -0
  2355. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/win_tss_ptr.hpp +0 -0
  2356. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/winapp_thread.hpp +0 -0
  2357. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/wince_thread.hpp +0 -0
  2358. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/winrt_async_manager.hpp +0 -0
  2359. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/winrt_async_op.hpp +0 -0
  2360. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/winrt_timer_scheduler.hpp +0 -0
  2361. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/winrt_utils.hpp +0 -0
  2362. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/detail/winsock_init.hpp +0 -0
  2363. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/append.hpp +0 -0
  2364. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/as_tuple.hpp +0 -0
  2365. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/co_spawn.hpp +0 -0
  2366. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/coro.hpp +0 -0
  2367. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/coro_traits.hpp +0 -0
  2368. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/deferred.hpp +0 -0
  2369. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/detail/coro_completion_handler.hpp +0 -0
  2370. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/detail/coro_promise_allocator.hpp +0 -0
  2371. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/detail/has_signature.hpp +0 -0
  2372. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/detail/partial_promise.hpp +0 -0
  2373. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/impl/use_coro.hpp +0 -0
  2374. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/prepend.hpp +0 -0
  2375. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/experimental/promise.hpp +0 -0
  2376. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/file_base.hpp +0 -0
  2377. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/generic/detail/endpoint.hpp +0 -0
  2378. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/generic/detail/impl/endpoint.ipp +0 -0
  2379. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/handler_continuation_hook.hpp +0 -0
  2380. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/impl/cancellation_signal.ipp +0 -0
  2381. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/impl/connect_pipe.hpp +0 -0
  2382. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/impl/connect_pipe.ipp +0 -0
  2383. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/impl/execution_context.ipp +0 -0
  2384. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/impl/io_context.ipp +0 -0
  2385. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/impl/serial_port_base.hpp +0 -0
  2386. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/impl/serial_port_base.ipp +0 -0
  2387. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/impl/thread_pool.ipp +0 -0
  2388. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/io_service.hpp +0 -0
  2389. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/io_service_strand.hpp +0 -0
  2390. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/basic_resolver_entry.hpp +0 -0
  2391. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/basic_resolver_query.hpp +0 -0
  2392. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/detail/socket_option.hpp +0 -0
  2393. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/host_name.hpp +0 -0
  2394. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/impl/address.hpp +0 -0
  2395. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/impl/address_v4.hpp +0 -0
  2396. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/impl/address_v6.hpp +0 -0
  2397. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/impl/basic_endpoint.hpp +0 -0
  2398. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/impl/host_name.ipp +0 -0
  2399. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/impl/network_v4.hpp +0 -0
  2400. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/impl/network_v6.hpp +0 -0
  2401. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/multicast.hpp +0 -0
  2402. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/resolver_base.hpp +0 -0
  2403. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/resolver_query_base.hpp +0 -0
  2404. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/unicast.hpp +0 -0
  2405. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ip/v6_only.hpp +0 -0
  2406. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/is_executor.hpp +0 -0
  2407. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/is_read_buffered.hpp +0 -0
  2408. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/is_write_buffered.hpp +0 -0
  2409. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/local/connect_pair.hpp +0 -0
  2410. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/local/detail/endpoint.hpp +0 -0
  2411. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/local/detail/impl/endpoint.ipp +0 -0
  2412. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/posix/descriptor.hpp +0 -0
  2413. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/posix/descriptor_base.hpp +0 -0
  2414. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/posix/stream_descriptor.hpp +0 -0
  2415. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/random_access_file.hpp +0 -0
  2416. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/readable_pipe.hpp +0 -0
  2417. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/serial_port.hpp +0 -0
  2418. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/serial_port_base.hpp +0 -0
  2419. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/signal_set.hpp +0 -0
  2420. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/socket_base.hpp +0 -0
  2421. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/context_base.hpp +0 -0
  2422. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/detail/openssl_init.hpp +0 -0
  2423. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/detail/openssl_types.hpp +0 -0
  2424. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/detail/password_callback.hpp +0 -0
  2425. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/detail/verify_callback.hpp +0 -0
  2426. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/host_name_verification.hpp +0 -0
  2427. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/impl/context.hpp +0 -0
  2428. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/impl/host_name_verification.ipp +0 -0
  2429. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/impl/rfc2818_verification.ipp +0 -0
  2430. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/impl/src.hpp +0 -0
  2431. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/rfc2818_verification.hpp +0 -0
  2432. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/stream_base.hpp +0 -0
  2433. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/verify_context.hpp +0 -0
  2434. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl/verify_mode.hpp +0 -0
  2435. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ssl.hpp +0 -0
  2436. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/static_thread_pool.hpp +0 -0
  2437. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/stream_file.hpp +0 -0
  2438. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/streambuf.hpp +0 -0
  2439. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/thread.hpp +0 -0
  2440. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/time_traits.hpp +0 -0
  2441. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ts/buffer.hpp +0 -0
  2442. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ts/executor.hpp +0 -0
  2443. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ts/internet.hpp +0 -0
  2444. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ts/io_context.hpp +0 -0
  2445. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ts/net.hpp +0 -0
  2446. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ts/socket.hpp +0 -0
  2447. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/ts/timer.hpp +0 -0
  2448. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/unyield.hpp +0 -0
  2449. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/wait_traits.hpp +0 -0
  2450. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/windows/object_handle.hpp +0 -0
  2451. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/windows/overlapped_handle.hpp +0 -0
  2452. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/windows/random_access_handle.hpp +0 -0
  2453. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/windows/stream_handle.hpp +0 -0
  2454. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/writable_pipe.hpp +0 -0
  2455. /data/ext/cache/asio/{a1d8afc0fa0ccceae5729647623b3f7fd6859548 → 41f31469d0dd420500b334dc8c2fd3ffe7320d8e}/asio/asio/include/asio/yield.hpp +0 -0
  2456. /data/ext/cache/fmt/{513ade7b9791ea53008d5320013a52e682a91501/fmt/LICENSE.rst → d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/LICENSE} +0 -0
  2457. /data/ext/cache/fmt/{513ade7b9791ea53008d5320013a52e682a91501 → d3c862243fcf1c41b4c09903f35479bd42f135b7}/fmt/src/format.cc +0 -0
  2458. /data/ext/cache/fmt/{513ade7b9791ea53008d5320013a52e682a91501 → d3c862243fcf1c41b4c09903f35479bd42f135b7}/fmt/support/cmake/FindSetEnv.cmake +0 -0
  2459. /data/ext/cache/fmt/{513ade7b9791ea53008d5320013a52e682a91501 → d3c862243fcf1c41b4c09903f35479bd42f135b7}/fmt/support/cmake/JoinPaths.cmake +0 -0
  2460. /data/ext/cache/fmt/{513ade7b9791ea53008d5320013a52e682a91501 → d3c862243fcf1c41b4c09903f35479bd42f135b7}/fmt/support/cmake/fmt-config.cmake.in +0 -0
  2461. /data/ext/cache/fmt/{513ade7b9791ea53008d5320013a52e682a91501 → d3c862243fcf1c41b4c09903f35479bd42f135b7}/fmt/support/cmake/fmt.pc.in +0 -0
  2462. /data/ext/cache/llhttp/{6862303abe6dfd515c1eb7f7cec05f29c92426e9 → b74a6759ffeff2e9b72f62f790afbc73362a526b}/llhttp/LICENSE-MIT +0 -0
  2463. /data/ext/cache/llhttp/{6862303abe6dfd515c1eb7f7cec05f29c92426e9 → b74a6759ffeff2e9b72f62f790afbc73362a526b}/llhttp/libllhttp.pc.in +0 -0
  2464. /data/ext/cache/llhttp/{6862303abe6dfd515c1eb7f7cec05f29c92426e9 → b74a6759ffeff2e9b72f62f790afbc73362a526b}/llhttp/src/api.c +0 -0
  2465. /data/ext/cache/llhttp/{6862303abe6dfd515c1eb7f7cec05f29c92426e9 → b74a6759ffeff2e9b72f62f790afbc73362a526b}/llhttp/src/http.c +0 -0
  2466. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/cmake/ide.cmake +0 -0
  2467. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/cmake/pch.h.in +0 -0
  2468. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/cmake/spdlog.pc.in +0 -0
  2469. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/cmake/spdlogCPack.cmake +0 -0
  2470. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/cmake/spdlogConfig.cmake.in +0 -0
  2471. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/cmake/utils.cmake +0 -0
  2472. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/cmake/version.rc.in +0 -0
  2473. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/args.h +0 -0
  2474. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/chrono.h +0 -0
  2475. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/color.h +0 -0
  2476. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/compile.h +0 -0
  2477. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/core.h +0 -0
  2478. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/fmt.license.rst +0 -0
  2479. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/format-inl.h +0 -0
  2480. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/format.h +0 -0
  2481. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/locale.h +0 -0
  2482. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/os.h +0 -0
  2483. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/ostream.h +0 -0
  2484. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/printf.h +0 -0
  2485. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/ranges.h +0 -0
  2486. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/std.h +0 -0
  2487. /data/ext/cache/spdlog/{66ab2619a0014319471759c03e2de1af6bda14de → 25435891d500fa18cdfc40bd923333e006159907}/spdlog/include/spdlog/fmt/bundled/xchar.h +0 -0
@@ -64,1665 +64,1829 @@ namespace
64
64
  {
65
65
  template<typename Container>
66
66
  struct mcbp_header_view {
67
- const Container& buf_;
67
+ const Container& buf_;
68
68
 
69
- mcbp_header_view(const Container& buf)
70
- : buf_{ buf }
71
- {
72
- }
69
+ mcbp_header_view(const Container& buf)
70
+ : buf_{ buf }
71
+ {
72
+ }
73
73
  };
74
74
 
75
75
  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";
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";
98
96
  }
97
+ return "vbucket";
98
+ }
99
99
 
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);
100
+ [[nodiscard]] constexpr auto key_length() const -> std::uint16_t
101
+ {
102
+ if (magic == 0x18 || magic == 0x08) {
103
+ return keylen.alt.key;
106
104
  }
105
+ return couchbase::core::utils::byte_swap(keylen.normal);
106
+ }
107
107
 
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;
108
+ [[nodiscard]] constexpr auto framing_extras_length() const -> std::uint8_t
109
+ {
110
+ if (magic == 0x18 || magic == 0x08) {
111
+ return keylen.alt.framing_extras;
114
112
  }
113
+ return 0;
114
+ }
115
115
  };
116
116
  } // namespace
117
117
 
118
118
  template<typename Container>
119
119
  struct fmt::formatter<mcbp_header_view<Container>> {
120
- template<typename ParseContext>
121
- constexpr auto parse(ParseContext& ctx)
122
- {
123
- return ctx.begin();
120
+ template<typename ParseContext>
121
+ constexpr auto parse(ParseContext& ctx)
122
+ {
123
+ return ctx.begin();
124
+ }
125
+
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_));
124
131
  }
125
132
 
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
- }
133
+ const auto* header = reinterpret_cast<const mcbp_header_layout*>(view.buf_.data());
134
+ return format_to(ctx.out(),
135
+ "{{magic=0x{:x}, opcode=0x{:x}, fextlen={}, keylen={}, extlen={}, "
136
+ "datatype={}, {}={}, bodylen={}, "
137
+ "opaque={}, cas={}}}",
138
+ header->magic,
139
+ header->opcode,
140
+ header->framing_extras_length(),
141
+ header->key_length(),
142
+ header->extlen,
143
+ header->datatype,
144
+ header->specific_name(),
145
+ couchbase::core::utils::byte_swap(header->specific),
146
+ couchbase::core::utils::byte_swap(header->bodylen),
147
+ couchbase::core::utils::byte_swap(header->opaque),
148
+ couchbase::core::utils::byte_swap(header->cas));
149
+ }
149
150
  };
150
151
 
151
152
  namespace couchbase::core::io
152
153
  {
153
154
  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{};
155
+ connection_endpoints(asio::ip::tcp::endpoint remote_endpoint,
156
+ asio::ip::tcp::endpoint local_endpoint)
157
+ : remote{ std::move(remote_endpoint) }
158
+ , remote_address{ remote.address().to_string() }
159
+ , remote_address_with_port{ remote.protocol() == asio::ip::tcp::v6()
160
+ ? fmt::format("[{}]:{}", remote_address, remote.port())
161
+ : fmt::format("{}:{}", remote_address, remote.port()) }
162
+ , local{ std::move(local_endpoint) }
163
+ , local_address{ local.address().to_string() }
164
+ , local_address_with_port{ local.protocol() == asio::ip::tcp::v6()
165
+ ? fmt::format("[{}]:{}", local_address, local.port())
166
+ : fmt::format("{}:{}", local_address, local.port()) }
167
+ {
168
+ }
169
+
170
+ asio::ip::tcp::endpoint remote;
171
+ std::string remote_address{};
172
+ std::string remote_address_with_port{};
173
+
174
+ asio::ip::tcp::endpoint local;
175
+ std::string local_address{};
176
+ std::string local_address_with_port{};
173
177
  };
174
178
 
175
179
  class collection_cache
176
180
  {
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;
181
+ private:
182
+ std::map<std::string, std::uint32_t> cid_map_{ { "_default._default", 0 } };
183
+
184
+ public:
185
+ [[nodiscard]] auto get(const std::string& path) -> std::optional<std::uint32_t>
186
+ {
187
+ Expects(!path.empty());
188
+ if (auto ptr = cid_map_.find(path); ptr != cid_map_.end()) {
189
+ return ptr->second;
200
190
  }
191
+ return std::nullopt;
192
+ }
193
+
194
+ void update(const std::string& path, std::uint32_t id)
195
+ {
196
+ Expects(!path.empty());
197
+ cid_map_[path] = id;
198
+ }
199
+
200
+ void reset()
201
+ {
202
+ cid_map_.clear();
203
+ cid_map_["_default._default"] = 0;
204
+ }
201
205
  };
202
206
 
203
207
  class mcbp_session_impl
204
208
  : public std::enable_shared_from_this<mcbp_session_impl>
205
209
  , public operation_map
206
210
  {
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
- }
320
-
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
- session_->update_configuration(resp.body().config());
483
- complete({});
484
- } else if (resp.status() == key_value_status_code::not_found) {
485
- last_error_message_ =
486
- fmt::format("kv_engine node does not have configuration propagated yet (opcode={}, status={}, opaque={})",
487
- opcode,
488
- resp.status(),
489
- resp.opaque());
490
- CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
491
- return complete(errc::network::configuration_not_available);
492
- } else if (resp.status() == key_value_status_code::no_bucket && !session_->bucket_name_) {
493
- // bucket-less session, but the server wants bucket
494
- session_->supports_gcccp_ = false;
495
- CB_LOG_WARNING("{} this server does not support GCCCP, open bucket before making any cluster-level command",
496
- session_->log_prefix_);
497
- session_->update_configuration(topology::make_blank_configuration(
498
- session_->connection_endpoints_.remote_address, session_->connection_endpoints_.remote.port(), 0));
499
- complete({});
500
- } else {
501
- last_error_message_ = fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
502
- resp.error_message(),
503
- resp.opaque(),
504
- spdlog::to_hex(resp.header()));
505
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
506
- return complete(errc::network::protocol_error);
507
- }
508
- } break;
509
- default:
510
- last_error_message_ = fmt::format("unexpected message during bootstrap: {}", opcode);
511
- CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
512
- return complete(errc::network::protocol_error);
513
- }
514
- break;
515
- case protocol::magic::server_request:
516
- Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
517
- switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
518
- case protocol::server_opcode::cluster_map_change_notification: {
519
- protocol::cmd_info info{ session_->bootstrap_hostname_, session_->bootstrap_port_number_ };
520
- if (session_->origin_.options().dump_configuration) {
521
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()), msg.body.size() };
522
- CB_LOG_TRACE(
523
- "{} configuration from cluster_map_change_notification request (size={}, endpoint=\"{}:{}\"), {}",
524
- session_->log_prefix_,
525
- config_text.size(),
526
- info.endpoint_address,
527
- info.endpoint_port,
528
- config_text);
529
- }
530
- protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg), info);
531
- std::optional<topology::configuration> config = req.body().config();
532
- if (session_ && config.has_value()) {
533
- if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
534
- (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
535
- session_->bucket_name_.value() == req.body().bucket())) {
536
- session_->update_configuration(std::move(config.value()));
537
- }
538
- }
539
- } break;
540
- default:
541
- CB_LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
542
- session_->log_prefix_,
543
- msg.header.opcode,
544
- utils::byte_swap(msg.header.opaque),
545
- spdlog::to_hex(msg.header_data()),
546
- spdlog::to_hex(msg.body));
547
- }
548
- break;
549
- case protocol::magic::client_request:
550
- case protocol::magic::alt_client_request:
551
- case protocol::magic::server_response:
552
- CB_LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
553
- session_->log_prefix_,
554
- magic,
555
- msg.header.opcode,
556
- utils::byte_swap(msg.header.opaque),
557
- spdlog::to_hex(msg.header_data()),
558
- spdlog::to_hex(msg.body));
559
- break;
560
- }
561
- }
562
- };
563
-
564
- class message_handler : public std::enable_shared_from_this<message_handler>
565
- {
566
- private:
567
- std::shared_ptr<mcbp_session_impl> session_;
568
- std::atomic_bool stopped_{ false };
569
-
570
- public:
571
- explicit message_handler(std::shared_ptr<mcbp_session_impl> session)
572
- : session_(std::move(session))
573
- {
574
- }
575
-
576
- ~message_handler()
577
- {
578
- stop();
579
- }
580
-
581
- void start()
582
- {
583
- }
584
-
585
- void stop()
586
- {
587
- }
588
-
589
- void handle(mcbp_message&& msg)
590
- {
591
- if (stopped_ || !session_) {
592
- return;
593
- }
594
- Expects(protocol::is_valid_magic(msg.header.magic));
595
- switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
596
- case protocol::magic::client_response:
597
- case protocol::magic::alt_client_response:
598
- Expects(protocol::is_valid_client_opcode(msg.header.opcode));
599
- switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
600
- case protocol::client_opcode::get_cluster_config: {
601
- protocol::cmd_info info{ session_->bootstrap_hostname_, session_->bootstrap_port_number_ };
602
- if (session_->origin_.options().dump_configuration) {
603
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()), msg.body.size() };
604
- CB_LOG_TRACE("{} configuration from get_cluster_config response (size={}, endpoint=\"{}:{}\"), {}",
605
- session_->log_prefix_,
606
- config_text.size(),
607
- info.endpoint_address,
608
- info.endpoint_port,
609
- config_text);
610
- }
611
- protocol::client_response<protocol::get_cluster_config_response_body> resp(std::move(msg), info);
612
- if (resp.status() == key_value_status_code::success) {
613
- if (session_) {
614
- session_->update_configuration(resp.body().config());
615
- }
616
- } else {
617
- CB_LOG_WARNING("{} unexpected message status: {} (opaque={})",
618
- session_->log_prefix_,
619
- resp.error_message(),
620
- resp.opaque());
621
- }
622
- } break;
623
- case protocol::client_opcode::noop:
624
- case protocol::client_opcode::get_collections_manifest:
625
- case protocol::client_opcode::get_collection_id:
626
- case protocol::client_opcode::get:
627
- case protocol::client_opcode::get_and_lock:
628
- case protocol::client_opcode::get_and_touch:
629
- case protocol::client_opcode::get_meta:
630
- case protocol::client_opcode::get_replica:
631
- case protocol::client_opcode::touch:
632
- case protocol::client_opcode::insert:
633
- case protocol::client_opcode::replace:
634
- case protocol::client_opcode::upsert:
635
- case protocol::client_opcode::append:
636
- case protocol::client_opcode::prepend:
637
- case protocol::client_opcode::remove:
638
- case protocol::client_opcode::observe_seqno:
639
- case protocol::client_opcode::unlock:
640
- case protocol::client_opcode::increment:
641
- case protocol::client_opcode::range_scan_create:
642
- case protocol::client_opcode::range_scan_continue:
643
- case protocol::client_opcode::range_scan_cancel:
644
- case protocol::client_opcode::decrement:
645
- case protocol::client_opcode::subdoc_multi_lookup:
646
- case protocol::client_opcode::subdoc_multi_mutation: {
647
- std::uint16_t status = utils::byte_swap(msg.header.specific);
648
- if (status == static_cast<std::uint16_t>(key_value_status_code::not_my_vbucket)) {
649
- session_->handle_not_my_vbucket(msg);
650
- }
651
-
652
- std::uint32_t opaque = utils::byte_swap(msg.header.opaque);
653
- if (session_->handle_request(opcode, status, opaque, std::move(msg))) {
654
- CB_LOG_TRACE("{} MCBP invoked operation handler: opcode={}, opaque={}, status={}",
655
- session_->log_prefix_,
656
- opcode,
657
- opaque,
658
- protocol::status_to_string(status));
659
- } else {
660
- CB_LOG_DEBUG("{} unexpected orphan response: opcode={}, opaque={}, status={}",
661
- session_->log_prefix_,
662
- opcode,
663
- opaque,
664
- protocol::status_to_string(status));
665
- }
666
- } break;
667
- default:
668
- CB_LOG_WARNING("{} unexpected client response: opcode={}, opaque={}{:a}{:a})",
669
- session_->log_prefix_,
670
- opcode,
671
- msg.header.opaque,
672
- spdlog::to_hex(msg.header_data()),
673
- spdlog::to_hex(msg.body));
674
- }
675
- break;
676
- case protocol::magic::server_request:
677
- Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
678
- switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
679
- case protocol::server_opcode::cluster_map_change_notification: {
680
- protocol::cmd_info info{ session_->bootstrap_hostname_, session_->bootstrap_port_number_ };
681
- if (session_->origin_.options().dump_configuration) {
682
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()), msg.body.size() };
683
- CB_LOG_TRACE(
684
- "{} configuration from cluster_map_change_notification request (size={}, endpoint=\"{}:{}\"), {}",
685
- session_->log_prefix_,
686
- config_text.size(),
687
- info.endpoint_address,
688
- info.endpoint_port,
689
- config_text);
690
- }
691
- protocol::server_request<protocol::cluster_map_change_notification_request_body> req(std::move(msg), info);
692
- std::optional<topology::configuration> config = req.body().config();
693
- if (session_ && config.has_value()) {
694
- if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
695
- (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
696
- session_->bucket_name_.value() == req.body().bucket())) {
697
- session_->update_configuration(std::move(config.value()));
698
- }
699
- }
700
- } break;
701
- default:
702
- CB_LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
703
- session_->log_prefix_,
704
- msg.header.opcode,
705
- msg.header.opaque,
706
- spdlog::to_hex(msg.header_data()),
707
- spdlog::to_hex(msg.body));
708
- }
709
- break;
710
- case protocol::magic::client_request:
711
- case protocol::magic::alt_client_request:
712
- case protocol::magic::server_response:
713
- CB_LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
714
- session_->log_prefix_,
715
- magic,
716
- msg.header.opcode,
717
- msg.header.opaque,
718
- spdlog::to_hex(msg.header_data()),
719
- spdlog::to_hex(msg.body));
720
- break;
721
- }
722
- }
723
- };
211
+ class bootstrap_handler : public std::enable_shared_from_this<bootstrap_handler>
212
+ {
213
+ private:
214
+ std::shared_ptr<mcbp_session_impl> session_;
215
+ sasl::ClientContext sasl_;
216
+ std::atomic_bool stopped_{ false };
217
+ std::string last_error_message_;
724
218
 
725
219
  public:
726
- mcbp_session_impl() = delete;
727
- mcbp_session_impl(std::string_view client_id,
728
- asio::io_context& ctx,
729
- couchbase::core::origin origin,
730
- std::shared_ptr<impl::bootstrap_state_listener> state_listener,
731
- std::optional<std::string> bucket_name = {},
732
- std::vector<protocol::hello_feature> known_features = {})
733
- : client_id_(client_id)
734
- , ctx_(ctx)
735
- , resolver_(ctx_)
736
- , stream_(std::make_unique<plain_stream_impl>(ctx_))
737
- , bootstrap_deadline_(ctx_)
738
- , connection_deadline_(ctx_)
739
- , retry_backoff_(ctx_)
740
- , ping_deadline_(ctx_)
741
- , origin_{ std::move(origin) }
742
- , bucket_name_{ std::move(bucket_name) }
743
- , supported_features_{ std::move(known_features) }
744
- , is_tls_{ false }
745
- , state_listener_{ std::move(state_listener) }
746
- , codec_{ { supported_features_.begin(), supported_features_.end() } }
747
- {
748
- log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
749
- }
750
-
751
- mcbp_session_impl(std::string_view client_id,
752
- asio::io_context& ctx,
753
- asio::ssl::context& tls,
754
- couchbase::core::origin origin,
755
- std::shared_ptr<impl::bootstrap_state_listener> state_listener,
756
- std::optional<std::string> bucket_name = {},
757
- std::vector<protocol::hello_feature> known_features = {})
758
- : client_id_(client_id)
759
- , ctx_(ctx)
760
- , resolver_(ctx_)
761
- , stream_(std::make_unique<tls_stream_impl>(ctx_, tls))
762
- , bootstrap_deadline_(ctx_)
763
- , connection_deadline_(ctx_)
764
- , retry_backoff_(ctx_)
765
- , ping_deadline_(ctx_)
766
- , origin_(std::move(origin))
767
- , bucket_name_(std::move(bucket_name))
768
- , supported_features_(std::move(known_features))
769
- , is_tls_{ true }
770
- , state_listener_{ std::move(state_listener) }
771
- , codec_{ { supported_features_.begin(), supported_features_.end() } }
220
+ ~bootstrap_handler()
772
221
  {
773
- log_prefix_ = fmt::format("[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
222
+ stop();
774
223
  }
775
224
 
776
- ~mcbp_session_impl()
225
+ void stop()
777
226
  {
778
- CB_LOG_DEBUG("{} destroy MCBP connection", log_prefix_);
779
- stop(retry_reason::do_not_retry);
227
+ bool expected_state{ false };
228
+ stopped_.compare_exchange_strong(expected_state, true);
780
229
  }
781
230
 
782
- [[nodiscard]] const std::string& log_prefix() const
231
+ static auto sasl_mechanisms(const std::shared_ptr<mcbp_session_impl>& session)
232
+ -> std::vector<std::string>
783
233
  {
784
- return log_prefix_;
234
+ if (const auto user_mechanisms = session->origin_.credentials().allowed_sasl_mechanisms;
235
+ user_mechanisms.has_value()) {
236
+ return user_mechanisms.value();
237
+ }
238
+ if (session->is_tls_) {
239
+ return { "PLAIN" };
240
+ }
241
+ return { "SCRAM-SHA512", "SCRAM-SHA256", "SCRAM-SHA1" };
785
242
  }
786
243
 
787
- std::string remote_address() const
244
+ auto last_error_message() && -> std::string
788
245
  {
789
- return connection_endpoints_.remote_address_with_port;
246
+ return std::move(last_error_message_);
790
247
  }
791
248
 
792
- std::string local_address() const
249
+ [[nodiscard]] auto last_error_message() const& -> const std::string&
793
250
  {
794
- return connection_endpoints_.local_address_with_port;
251
+ return last_error_message_;
795
252
  }
796
253
 
797
- [[nodiscard]] diag::endpoint_diag_info diag_info() const
798
- {
799
- return { service_type::key_value,
800
- id_,
801
- last_active_.time_since_epoch().count() == 0 ? std::nullopt
802
- : std::make_optional(std::chrono::duration_cast<std::chrono::microseconds>(
803
- std::chrono::steady_clock::now() - last_active_)),
804
- remote_address(),
805
- local_address(),
806
- state_,
807
- bucket_name_ };
808
- }
809
-
810
- void ping(std::shared_ptr<diag::ping_reporter> handler, std::optional<std::chrono::milliseconds> timeout)
254
+ explicit bootstrap_handler(std::shared_ptr<mcbp_session_impl> session)
255
+ : session_(std::move(session))
256
+ , sasl_(
257
+ [origin = session_->origin_]() {
258
+ return origin.username();
259
+ },
260
+ [origin = session_->origin_]() {
261
+ return origin.password();
262
+ },
263
+ sasl_mechanisms(session_))
811
264
  {
812
- if (!bootstrapped_) {
813
- handler->report({
814
- service_type::key_value,
815
- id_,
816
- std::chrono::microseconds(0),
817
- remote_address(),
818
- local_address(),
819
- diag::ping_state::error,
820
- bucket_name_,
821
- last_bootstrap_error_message_.has_value() ? last_bootstrap_error_message_.value()
822
- : "Bootstrap incomplete, cannot perform ping.",
823
- });
824
- return;
825
- }
826
- protocol::client_request<protocol::mcbp_noop_request_body> req;
827
- req.opaque(next_opaque());
828
- write_and_subscribe(req.opaque(),
829
- req.data(false),
830
- [start = std::chrono::steady_clock::now(), self = shared_from_this(), handler](
831
- std::error_code ec,
832
- retry_reason reason,
833
- io::mcbp_message&& /* msg */,
834
- std::optional<key_value_error_map_info> /* error_info */) {
835
- diag::ping_state state = diag::ping_state::ok;
836
- std::optional<std::string> error{};
837
- if (ec) {
838
- if (ec == errc::common::unambiguous_timeout || ec == errc::common::ambiguous_timeout) {
839
- state = diag::ping_state::timeout;
840
- } else {
841
- state = diag::ping_state::error;
842
- }
843
- error.emplace(fmt::format("code={}, message={}, reason={}", ec.value(), ec.message(), reason));
844
- }
845
- handler->report({
846
- service_type::key_value,
847
- self->id_,
848
- std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() - start),
849
- self->remote_address(),
850
- self->local_address(),
851
- state,
852
- self->bucket_name_,
853
- error,
854
- });
855
- });
856
- ping_deadline_.expires_after(timeout.value_or(origin_.options().key_value_timeout));
857
- ping_deadline_.async_wait([self = this->shared_from_this(), opaque = req.opaque()](std::error_code ec) {
858
- if (ec == asio::error::operation_aborted) {
859
- return;
860
- }
861
- static_cast<void>(self->cancel(opaque, errc::common::unambiguous_timeout, retry_reason::do_not_retry));
862
- });
265
+ protocol::client_request<protocol::hello_request_body> hello_req;
266
+ if (session_->origin_.options().enable_unordered_execution) {
267
+ hello_req.body().enable_unordered_execution();
268
+ }
269
+ if (session_->origin_.options().enable_clustermap_notification) {
270
+ hello_req.body().enable_clustermap_change_notification();
271
+ hello_req.body().enable_deduplicate_not_my_vbucket_clustermap();
272
+ }
273
+ if (session_->origin_.options().enable_compression) {
274
+ hello_req.body().enable_compression();
275
+ }
276
+ if (session_->origin_.options().enable_mutation_tokens) {
277
+ hello_req.body().enable_mutation_tokens();
278
+ }
279
+ hello_req.opaque(session_->next_opaque());
280
+ auto user_agent = meta::user_agent_for_mcbp(
281
+ session_->client_id_, session_->id_, session_->origin_.options().user_agent_extra, 250);
282
+ hello_req.body().user_agent(user_agent);
283
+ CB_LOG_DEBUG("{} user_agent={}, requested_features=[{}]",
284
+ session_->log_prefix_,
285
+ user_agent,
286
+ utils::join_strings_fmt(hello_req.body().features(), ", "));
287
+ session_->write(hello_req.data());
288
+
289
+ if (!session_->origin_.credentials().uses_certificate()) {
290
+ protocol::client_request<protocol::sasl_list_mechs_request_body> list_req;
291
+ list_req.opaque(session_->next_opaque());
292
+ session_->write(list_req.data());
293
+
294
+ protocol::client_request<protocol::sasl_auth_request_body> auth_req;
295
+ auto [sasl_code, sasl_payload] = sasl_.start();
296
+ auth_req.opaque(session_->next_opaque());
297
+ auth_req.body().mechanism(sasl_.get_name());
298
+ auth_req.body().sasl_data(sasl_payload);
299
+ session_->write(auth_req.data());
300
+ }
301
+
302
+ session_->flush();
863
303
  }
864
304
 
865
- [[nodiscard]] mcbp_context context() const
305
+ void complete(std::error_code ec)
866
306
  {
867
- return { config_, supported_features_ };
307
+ if (bool expected_state{ false }; stopped_.compare_exchange_strong(expected_state, true)) {
308
+ session_->invoke_bootstrap_handler(ec);
309
+ }
868
310
  }
869
311
 
870
- void bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& callback,
871
- bool retry_on_bucket_not_found = false)
312
+ void auth_success()
872
313
  {
873
- retry_bootstrap_on_bucket_not_found_ = retry_on_bucket_not_found;
874
- bootstrap_callback_ = std::move(callback);
875
- bootstrap_deadline_.expires_after(origin_.options().bootstrap_timeout);
876
- bootstrap_deadline_.async_wait([self = shared_from_this()](std::error_code ec) {
877
- if (ec == asio::error::operation_aborted || self->stopped_) {
878
- return;
879
- }
880
- if (!ec) {
881
- ec = errc::common::unambiguous_timeout;
882
- }
883
- if (self->state_listener_) {
884
- self->state_listener_->report_bootstrap_error(fmt::format("{}:{}", self->bootstrap_hostname_, self->bootstrap_port_), ec);
885
- }
886
- CB_LOG_WARNING("{} unable to bootstrap in time", self->log_prefix_);
887
- if (auto h = std::move(self->bootstrap_callback_); h) {
888
- h(ec, {});
889
- }
890
- self->stop(retry_reason::do_not_retry);
891
- });
892
- initiate_bootstrap();
314
+ session_->authenticated_ = true;
315
+ if (session_->supports_feature(protocol::hello_feature::xerror)) {
316
+ protocol::client_request<protocol::get_error_map_request_body> errmap_req;
317
+ errmap_req.opaque(session_->next_opaque());
318
+ session_->write(errmap_req.data());
319
+ }
320
+ if (session_->bucket_name_) {
321
+ protocol::client_request<protocol::select_bucket_request_body> sb_req;
322
+ sb_req.opaque(session_->next_opaque());
323
+ sb_req.body().bucket_name(session_->bucket_name_.value());
324
+ session_->write(sb_req.data());
325
+ }
326
+ protocol::client_request<protocol::get_cluster_config_request_body> cfg_req;
327
+ cfg_req.opaque(session_->next_opaque());
328
+ session_->write(cfg_req.data());
329
+ session_->flush();
893
330
  }
894
331
 
895
- void initiate_bootstrap()
332
+ void handle(mcbp_message&& msg)
896
333
  {
897
- if (stopped_) {
898
- return;
899
- }
900
- bootstrapped_ = false;
901
- if (bootstrap_handler_) {
902
- last_bootstrap_error_message_ = std::move(bootstrap_handler_)->last_error_message();
903
- }
904
- bootstrap_handler_ = nullptr;
905
- state_ = diag::endpoint_state::connecting;
906
- if (stream_->is_open()) {
907
- std::string old_id = stream_->id();
908
- stream_->reopen();
909
- CB_LOG_TRACE(R"({} reopen socket connection "{}" -> "{}", host="{}", port={})",
910
- log_prefix_,
911
- old_id,
912
- stream_->id(),
913
- bootstrap_hostname_,
914
- bootstrap_port_);
915
- }
916
- if (origin_.exhausted()) {
917
- auto backoff = std::chrono::milliseconds(500);
918
- CB_LOG_DEBUG("{} reached the end of list of bootstrap nodes, waiting for {}ms before restart", log_prefix_, backoff.count());
919
- retry_backoff_.expires_after(backoff);
920
- retry_backoff_.async_wait([self = shared_from_this()](std::error_code ec) mutable {
921
- if (ec == asio::error::operation_aborted || self->stopped_) {
922
- return;
334
+ if (stopped_ || !session_) {
335
+ return;
336
+ }
337
+ Expects(protocol::is_valid_magic(msg.header.magic));
338
+ switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
339
+ case protocol::magic::client_response:
340
+ case protocol::magic::alt_client_response:
341
+ Expects(protocol::is_valid_client_opcode(msg.header.opcode));
342
+ switch (auto status = static_cast<key_value_status_code>(msg.header.status())) {
343
+ case key_value_status_code::rate_limited_max_commands:
344
+ case key_value_status_code::rate_limited_max_connections:
345
+ case key_value_status_code::rate_limited_network_egress:
346
+ case key_value_status_code::rate_limited_network_ingress:
347
+ last_error_message_ =
348
+ fmt::format("unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), "
349
+ "the user has reached rate limit",
350
+ session_->bucket_name_.value_or(""),
351
+ protocol::client_opcode(msg.header.opcode),
352
+ status);
353
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
354
+ return complete(errc::common::rate_limited);
355
+
356
+ case key_value_status_code::scope_size_limit_exceeded:
357
+ last_error_message_ =
358
+ fmt::format("unable to bootstrap MCBP session (bucket={}, opcode={}, status={}), "
359
+ "the user has reached quota limit",
360
+ session_->bucket_name_.value_or(""),
361
+ protocol::client_opcode(msg.header.opcode),
362
+ status);
363
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
364
+ return complete(errc::common::quota_limited);
365
+
366
+ default:
367
+ break;
368
+ }
369
+ switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
370
+ case protocol::client_opcode::hello: {
371
+ protocol::client_response<protocol::hello_response_body> resp(std::move(msg));
372
+ if (resp.status() == key_value_status_code::success) {
373
+ session_->supported_features_ = resp.body().supported_features();
374
+ CB_LOG_DEBUG("{} supported_features=[{}]",
375
+ session_->log_prefix_,
376
+ utils::join_strings_fmt(session_->supported_features_, ", "));
377
+ if (session_->origin_.credentials().uses_certificate()) {
378
+ CB_LOG_DEBUG("{} skip SASL authentication, because TLS certificate was specified",
379
+ session_->log_prefix_);
380
+ return auth_success();
923
381
  }
924
- self->origin_.restart();
925
- self->initiate_bootstrap();
926
- });
927
- return;
928
- }
929
- std::tie(bootstrap_hostname_, bootstrap_port_) = origin_.next_address();
930
- bootstrap_port_number_ = gsl::narrow_cast<std::uint16_t>(std::stoul(bootstrap_port_, nullptr, 10));
931
- bootstrap_address_ = fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_);
932
- log_prefix_ =
933
- fmt::format("[{}/{}/{}/{}] <{}>", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"), bootstrap_address_);
934
- CB_LOG_DEBUG("{} attempt to establish MCBP connection", log_prefix_);
935
-
936
- async_resolve(origin_.options().use_ip_protocol,
937
- resolver_,
938
- bootstrap_hostname_,
939
- bootstrap_port_,
940
- std::bind(&mcbp_session_impl::on_resolve, shared_from_this(), std::placeholders::_1, std::placeholders::_2));
382
+ } else {
383
+ last_error_message_ =
384
+ fmt::format("unexpected message status during bootstrap: {} (opaque={})",
385
+ resp.error_message(),
386
+ resp.opaque());
387
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
388
+ return complete(errc::network::handshake_failure);
389
+ }
390
+ } break;
391
+ case protocol::client_opcode::sasl_list_mechs: {
392
+ protocol::client_response<protocol::sasl_list_mechs_response_body> resp(
393
+ std::move(msg));
394
+ if (resp.status() != key_value_status_code::success) {
395
+ last_error_message_ =
396
+ fmt::format("unexpected message status during bootstrap: {} (opaque={})",
397
+ resp.error_message(),
398
+ resp.opaque());
399
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
400
+ return complete(errc::common::authentication_failure);
401
+ }
402
+ } break;
403
+ case protocol::client_opcode::sasl_auth: {
404
+ protocol::client_response<protocol::sasl_auth_response_body> resp(std::move(msg));
405
+ if (resp.status() == key_value_status_code::success) {
406
+ return auth_success();
407
+ }
408
+ if (resp.status() == key_value_status_code::auth_continue) {
409
+ auto [sasl_code, sasl_payload] = sasl_.step(resp.body().value());
410
+ if (sasl_code == sasl::error::OK) {
411
+ return auth_success();
412
+ }
413
+ if (sasl_code == sasl::error::CONTINUE) {
414
+ protocol::client_request<protocol::sasl_step_request_body> req;
415
+ req.opaque(session_->next_opaque());
416
+ req.body().mechanism(sasl_.get_name());
417
+ req.body().sasl_data(sasl_payload);
418
+ session_->write_and_flush(req.data());
419
+ } else {
420
+ last_error_message_ = fmt::format(
421
+ "unable to authenticate: (sasl_code={}, opaque={})", sasl_code, resp.opaque());
422
+ CB_LOG_ERROR("{} {}", session_->log_prefix_, last_error_message_);
423
+ return complete(errc::common::authentication_failure);
424
+ }
425
+ } else {
426
+ last_error_message_ =
427
+ fmt::format("{} unexpected message status during bootstrap: {} (opaque={})",
428
+ session_->log_prefix_,
429
+ resp.error_message(),
430
+ resp.opaque());
431
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
432
+ return complete(errc::common::authentication_failure);
433
+ }
434
+ } break;
435
+ case protocol::client_opcode::sasl_step: {
436
+ protocol::client_response<protocol::sasl_step_response_body> resp(std::move(msg));
437
+ if (resp.status() == key_value_status_code::success) {
438
+ return auth_success();
439
+ }
440
+ last_error_message_ =
441
+ fmt::format("unable to authenticate (opcode={}, status={}, opaque={})",
442
+ opcode,
443
+ resp.status(),
444
+ resp.opaque());
445
+ CB_LOG_ERROR("{} {}", session_->log_prefix_, last_error_message_);
446
+ return complete(errc::common::authentication_failure);
447
+ }
448
+ case protocol::client_opcode::get_error_map: {
449
+ protocol::client_response<protocol::get_error_map_response_body> resp(std::move(msg));
450
+ if (resp.status() == key_value_status_code::success) {
451
+ session_->error_map_.emplace(resp.body().errmap());
452
+ } else {
453
+ last_error_message_ =
454
+ fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
455
+ resp.error_message(),
456
+ resp.opaque(),
457
+ spdlog::to_hex(resp.header()));
458
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
459
+ return complete(errc::network::protocol_error);
460
+ }
461
+ } break;
462
+ case protocol::client_opcode::select_bucket: {
463
+ protocol::client_response<protocol::select_bucket_response_body> resp(std::move(msg));
464
+ if (resp.status() == key_value_status_code::success) {
465
+ CB_LOG_DEBUG("{} selected bucket: {}",
466
+ session_->log_prefix_,
467
+ session_->bucket_name_.value_or(""));
468
+ session_->bucket_selected_ = true;
469
+ } else if (resp.status() == key_value_status_code::not_found) {
470
+ last_error_message_ =
471
+ fmt::format("kv_engine node does not have configuration propagated yet "
472
+ "(opcode={}, status={}, opaque={})",
473
+ opcode,
474
+ resp.status(),
475
+ resp.opaque());
476
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
477
+ return complete(errc::network::configuration_not_available);
478
+ } else if (resp.status() == key_value_status_code::no_access) {
479
+ last_error_message_ =
480
+ fmt::format("unable to select bucket: {}, probably the bucket does not exist",
481
+ session_->bucket_name_.value_or(""));
482
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
483
+ session_->bucket_selected_ = false;
484
+ return complete(errc::common::bucket_not_found);
485
+ } else {
486
+ last_error_message_ =
487
+ fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
488
+ resp.error_message(),
489
+ resp.opaque(),
490
+ spdlog::to_hex(resp.header()));
491
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
492
+ return complete(errc::common::bucket_not_found);
493
+ }
494
+ } break;
495
+ case protocol::client_opcode::get_cluster_config: {
496
+ protocol::cmd_info info{ session_->connection_endpoints_.remote_address,
497
+ session_->connection_endpoints_.remote.port() };
498
+ protocol::client_response<protocol::get_cluster_config_response_body> resp(
499
+ std::move(msg), info);
500
+ if (session_->origin_.options().dump_configuration &&
501
+ resp.body().config_text().has_value()) {
502
+ CB_LOG_TRACE("{} configuration from get_cluster_config request (bootstrap, "
503
+ "size={}, endpoint=\"{}:{}\"), {}",
504
+ session_->log_prefix_,
505
+ resp.body().config_text().value().size(),
506
+ info.endpoint_address,
507
+ info.endpoint_port,
508
+ resp.body().config_text().value());
509
+ }
510
+ if (resp.status() == key_value_status_code::success) {
511
+ // MB-60405 fixes this for 7.6.2, but for earlier versions we need to protect
512
+ // against using a config that has an empty vbucket map. Ideally we don't timeout
513
+ // if we retry here, but a timeout would be more acceptable than a crash and if we
514
+ // do timeout, we have a clear indication of the problem (i.e. it is a server bug
515
+ // and we cannot use a config w/ an empty vbucket map).
516
+ if (resp.body().config().vbmap && resp.body().config().vbmap->size() == 0) {
517
+ CB_LOG_WARNING("{} received a configuration with an empty vbucket map, retrying",
518
+ session_->log_prefix_);
519
+ return complete(errc::network::configuration_not_available);
520
+ }
521
+ session_->update_configuration(resp.body().config());
522
+ complete({});
523
+ } else if (resp.status() == key_value_status_code::not_found) {
524
+ last_error_message_ =
525
+ fmt::format("kv_engine node does not have configuration propagated yet "
526
+ "(opcode={}, status={}, opaque={})",
527
+ opcode,
528
+ resp.status(),
529
+ resp.opaque());
530
+ CB_LOG_DEBUG("{} {}", session_->log_prefix_, last_error_message_);
531
+ return complete(errc::network::configuration_not_available);
532
+ } else if (resp.status() == key_value_status_code::no_bucket &&
533
+ !session_->bucket_name_) {
534
+ // bucket-less session, but the server wants bucket
535
+ session_->supports_gcccp_ = false;
536
+ CB_LOG_WARNING("{} this server does not support GCCCP, open bucket before making "
537
+ "any cluster-level command",
538
+ session_->log_prefix_);
539
+ session_->update_configuration(
540
+ topology::make_blank_configuration(session_->connection_endpoints_.remote_address,
541
+ session_->connection_endpoints_.remote.port(),
542
+ 0));
543
+ complete({});
544
+ } else {
545
+ last_error_message_ =
546
+ fmt::format("unexpected message status during bootstrap: {} (opaque={}, {:n})",
547
+ resp.error_message(),
548
+ resp.opaque(),
549
+ spdlog::to_hex(resp.header()));
550
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
551
+ return complete(errc::network::protocol_error);
552
+ }
553
+ } break;
554
+ default:
555
+ last_error_message_ = fmt::format("unexpected message during bootstrap: {}", opcode);
556
+ CB_LOG_WARNING("{} {}", session_->log_prefix_, last_error_message_);
557
+ return complete(errc::network::protocol_error);
558
+ }
559
+ break;
560
+ case protocol::magic::server_request:
561
+ Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
562
+ switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
563
+ case protocol::server_opcode::cluster_map_change_notification: {
564
+ protocol::cmd_info info{ session_->bootstrap_hostname_,
565
+ session_->bootstrap_port_number_ };
566
+ protocol::server_request<protocol::cluster_map_change_notification_request_body> req(
567
+ std::move(msg), info);
568
+ if (session_->origin_.options().dump_configuration &&
569
+ req.body().config_text().has_value()) {
570
+ CB_LOG_TRACE("{} configuration from cluster_map_change_notification request "
571
+ "(size={}, endpoint=\"{}:{}\"), {}",
572
+ session_->log_prefix_,
573
+ req.body().config_text().value().size(),
574
+ info.endpoint_address,
575
+ info.endpoint_port,
576
+ req.body().config_text().value());
577
+ }
578
+ std::optional<topology::configuration> config = req.body().config();
579
+ if (session_ && config.has_value()) {
580
+ if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
581
+ (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
582
+ session_->bucket_name_.value() == req.body().bucket())) {
583
+ session_->update_configuration(std::move(config.value()));
584
+ }
585
+ }
586
+ } break;
587
+ default:
588
+ CB_LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
589
+ session_->log_prefix_,
590
+ msg.header.opcode,
591
+ utils::byte_swap(msg.header.opaque),
592
+ spdlog::to_hex(msg.header_data()),
593
+ spdlog::to_hex(msg.body));
594
+ }
595
+ break;
596
+ case protocol::magic::client_request:
597
+ case protocol::magic::alt_client_request:
598
+ case protocol::magic::server_response:
599
+ CB_LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
600
+ session_->log_prefix_,
601
+ magic,
602
+ msg.header.opcode,
603
+ utils::byte_swap(msg.header.opaque),
604
+ spdlog::to_hex(msg.header_data()),
605
+ spdlog::to_hex(msg.body));
606
+ break;
607
+ }
941
608
  }
609
+ };
942
610
 
943
- [[nodiscard]] const std::string& id() const
611
+ class message_handler : public std::enable_shared_from_this<message_handler>
612
+ {
613
+ private:
614
+ std::shared_ptr<mcbp_session_impl> session_;
615
+ std::atomic_bool stopped_{ false };
616
+
617
+ public:
618
+ explicit message_handler(std::shared_ptr<mcbp_session_impl> session)
619
+ : session_(std::move(session))
944
620
  {
945
- return id_;
946
621
  }
947
622
 
948
- [[nodiscard]] bool is_stopped() const
623
+ ~message_handler()
949
624
  {
950
- return stopped_;
625
+ stop();
951
626
  }
952
627
 
953
- [[nodiscard]] bool is_bootstrapped() const
628
+ void start()
954
629
  {
955
- return bootstrapped_;
956
630
  }
957
631
 
958
- void on_stop(utils::movable_function<void()> handler)
632
+ void stop()
959
633
  {
960
- on_stop_handler_ = std::move(handler);
961
634
  }
962
635
 
963
- void stop(retry_reason reason)
636
+ void handle(mcbp_message&& msg)
964
637
  {
965
- if (stopped_) {
966
- return;
967
- }
968
- state_ = diag::endpoint_state::disconnecting;
969
- CB_LOG_DEBUG("{} stop MCBP connection, reason={}", log_prefix_, reason);
970
- stopped_ = true;
971
- bootstrap_deadline_.cancel();
972
- connection_deadline_.cancel();
973
- retry_backoff_.cancel();
974
- ping_deadline_.cancel();
975
- resolver_.cancel();
976
- stream_->close([](std::error_code) {});
977
- if (auto h = std::move(bootstrap_handler_); h) {
978
- h->stop();
979
- }
980
- if (auto h = std::move(handler_); h) {
981
- h->stop();
982
- }
983
- std::error_code ec = errc::common::request_canceled;
984
- if (!bootstrapped_) {
985
- if (auto h = std::move(bootstrap_callback_); h) {
986
- h(ec, {});
987
- }
988
- }
989
- {
990
- std::scoped_lock lock(command_handlers_mutex_);
991
- for (auto& [opaque, handler] : command_handlers_) {
992
- if (handler) {
993
- CB_LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}", log_prefix_, opaque, ec.message());
994
- auto fun = std::move(handler);
995
- fun(ec, reason, {}, {});
638
+ if (stopped_ || !session_) {
639
+ return;
640
+ }
641
+ Expects(protocol::is_valid_magic(msg.header.magic));
642
+ switch (auto magic = static_cast<protocol::magic>(msg.header.magic)) {
643
+ case protocol::magic::client_response:
644
+ case protocol::magic::alt_client_response:
645
+ Expects(protocol::is_valid_client_opcode(msg.header.opcode));
646
+ switch (auto opcode = static_cast<protocol::client_opcode>(msg.header.opcode)) {
647
+ case protocol::client_opcode::get_cluster_config: {
648
+ protocol::cmd_info info{ session_->bootstrap_hostname_,
649
+ session_->bootstrap_port_number_ };
650
+ protocol::client_response<protocol::get_cluster_config_response_body> resp(
651
+ std::move(msg), info);
652
+ if (session_->origin_.options().dump_configuration &&
653
+ resp.body().config_text().has_value()) {
654
+ CB_LOG_TRACE("{} configuration from get_cluster_config response (size={}, "
655
+ "endpoint=\"{}:{}\"), {}",
656
+ session_->log_prefix_,
657
+ resp.body().config_text().value().size(),
658
+ info.endpoint_address,
659
+ info.endpoint_port,
660
+ resp.body().config_text().value());
661
+ }
662
+ if (resp.status() == key_value_status_code::success) {
663
+ if (session_) {
664
+ session_->update_configuration(resp.body().config());
996
665
  }
997
- }
998
- command_handlers_.clear();
999
- }
1000
- {
1001
- std::scoped_lock lock(operations_mutex_);
1002
- auto operations = std::move(operations_);
1003
- for (auto& [opaque, operation] : operations) {
1004
- auto& [request, handler] = operation;
1005
- if (handler) {
1006
- CB_LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}", log_prefix_, opaque, ec.message());
1007
- handler->handle_response(std::move(request), {}, reason, {}, {});
666
+ } else {
667
+ CB_LOG_WARNING("{} unexpected message status: {} (opaque={})",
668
+ session_->log_prefix_,
669
+ resp.error_message(),
670
+ resp.opaque());
671
+ }
672
+ } break;
673
+ case protocol::client_opcode::noop:
674
+ case protocol::client_opcode::get_collections_manifest:
675
+ case protocol::client_opcode::get_collection_id:
676
+ case protocol::client_opcode::get:
677
+ case protocol::client_opcode::get_and_lock:
678
+ case protocol::client_opcode::get_and_touch:
679
+ case protocol::client_opcode::get_meta:
680
+ case protocol::client_opcode::get_replica:
681
+ case protocol::client_opcode::touch:
682
+ case protocol::client_opcode::insert:
683
+ case protocol::client_opcode::replace:
684
+ case protocol::client_opcode::upsert:
685
+ case protocol::client_opcode::append:
686
+ case protocol::client_opcode::prepend:
687
+ case protocol::client_opcode::remove:
688
+ case protocol::client_opcode::observe_seqno:
689
+ case protocol::client_opcode::unlock:
690
+ case protocol::client_opcode::increment:
691
+ case protocol::client_opcode::range_scan_create:
692
+ case protocol::client_opcode::range_scan_continue:
693
+ case protocol::client_opcode::range_scan_cancel:
694
+ case protocol::client_opcode::decrement:
695
+ case protocol::client_opcode::subdoc_multi_lookup:
696
+ case protocol::client_opcode::subdoc_multi_mutation: {
697
+ std::uint16_t status = utils::byte_swap(msg.header.specific);
698
+ if (status == static_cast<std::uint16_t>(key_value_status_code::not_my_vbucket)) {
699
+ session_->handle_not_my_vbucket(msg);
700
+ }
701
+
702
+ std::uint32_t opaque = utils::byte_swap(msg.header.opaque);
703
+ if (session_->handle_request(opcode, status, opaque, std::move(msg))) {
704
+ CB_LOG_TRACE("{} MCBP invoked operation handler: opcode={}, opaque={}, status={}",
705
+ session_->log_prefix_,
706
+ opcode,
707
+ opaque,
708
+ protocol::status_to_string(status));
709
+ } else {
710
+ CB_LOG_DEBUG("{} unexpected orphan response: opcode={}, opaque={}, status={}",
711
+ session_->log_prefix_,
712
+ opcode,
713
+ opaque,
714
+ protocol::status_to_string(status));
715
+ }
716
+ } break;
717
+ default:
718
+ CB_LOG_WARNING("{} unexpected client response: opcode={}, opaque={}{:a}{:a})",
719
+ session_->log_prefix_,
720
+ opcode,
721
+ msg.header.opaque,
722
+ spdlog::to_hex(msg.header_data()),
723
+ spdlog::to_hex(msg.body));
724
+ }
725
+ break;
726
+ case protocol::magic::server_request:
727
+ Expects(protocol::is_valid_server_request_opcode(msg.header.opcode));
728
+ switch (static_cast<protocol::server_opcode>(msg.header.opcode)) {
729
+ case protocol::server_opcode::cluster_map_change_notification: {
730
+ protocol::cmd_info info{ session_->bootstrap_hostname_,
731
+ session_->bootstrap_port_number_ };
732
+ protocol::server_request<protocol::cluster_map_change_notification_request_body> req(
733
+ std::move(msg), info);
734
+ if (session_->origin_.options().dump_configuration &&
735
+ req.body().config_text().has_value()) {
736
+ CB_LOG_TRACE("{} configuration from cluster_map_change_notification request "
737
+ "(size={}, endpoint=\"{}:{}\"), {}",
738
+ session_->log_prefix_,
739
+ req.body().config_text().value().size(),
740
+ info.endpoint_address,
741
+ info.endpoint_port,
742
+ req.body().config_text().value());
743
+ }
744
+ std::optional<topology::configuration> config = req.body().config();
745
+ if (session_ && config.has_value()) {
746
+ if ((!config->bucket.has_value() && req.body().bucket().empty()) ||
747
+ (session_->bucket_name_.has_value() && !req.body().bucket().empty() &&
748
+ session_->bucket_name_.value() == req.body().bucket())) {
749
+ session_->update_configuration(std::move(config.value()));
1008
750
  }
1009
- }
1010
- operations_.clear();
1011
- }
1012
- config_listeners_.clear();
1013
- state_ = diag::endpoint_state::disconnected;
1014
- if (auto on_stop = std::move(on_stop_handler_); on_stop) {
1015
- on_stop();
1016
- }
751
+ }
752
+ } break;
753
+ default:
754
+ CB_LOG_WARNING("{} unexpected server request: opcode={:x}, opaque={}{:a}{:a}",
755
+ session_->log_prefix_,
756
+ msg.header.opcode,
757
+ msg.header.opaque,
758
+ spdlog::to_hex(msg.header_data()),
759
+ spdlog::to_hex(msg.body));
760
+ }
761
+ break;
762
+ case protocol::magic::client_request:
763
+ case protocol::magic::alt_client_request:
764
+ case protocol::magic::server_response:
765
+ CB_LOG_WARNING("{} unexpected magic: {} (opcode={:x}, opaque={}){:a}{:a}",
766
+ session_->log_prefix_,
767
+ magic,
768
+ msg.header.opcode,
769
+ msg.header.opaque,
770
+ spdlog::to_hex(msg.header_data()),
771
+ spdlog::to_hex(msg.body));
772
+ break;
773
+ }
1017
774
  }
1018
-
1019
- void write(std::vector<std::byte>&& buf)
1020
- {
1021
- if (stopped_) {
1022
- return;
1023
- }
1024
- CB_LOG_TRACE("{} MCBP send {}", log_prefix_, mcbp_header_view(buf));
1025
- std::scoped_lock lock(output_buffer_mutex_);
1026
- output_buffer_.emplace_back(std::move(buf));
775
+ };
776
+
777
+ public:
778
+ mcbp_session_impl() = delete;
779
+ mcbp_session_impl(std::string_view client_id,
780
+ asio::io_context& ctx,
781
+ couchbase::core::origin origin,
782
+ std::shared_ptr<impl::bootstrap_state_listener> state_listener,
783
+ std::optional<std::string> bucket_name = {},
784
+ std::vector<protocol::hello_feature> known_features = {})
785
+ : client_id_(client_id)
786
+ , ctx_(ctx)
787
+ , resolver_(ctx_)
788
+ , stream_(std::make_unique<plain_stream_impl>(ctx_))
789
+ , bootstrap_deadline_(ctx_)
790
+ , connection_deadline_(ctx_)
791
+ , retry_backoff_(ctx_)
792
+ , ping_deadline_(ctx_)
793
+ , origin_{ std::move(origin) }
794
+ , bucket_name_{ std::move(bucket_name) }
795
+ , supported_features_{ std::move(known_features) }
796
+ , is_tls_{ false }
797
+ , state_listener_{ std::move(state_listener) }
798
+ , codec_{ { supported_features_.begin(), supported_features_.end() } }
799
+ {
800
+ log_prefix_ = fmt::format(
801
+ "[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
802
+ }
803
+
804
+ mcbp_session_impl(std::string_view client_id,
805
+ asio::io_context& ctx,
806
+ asio::ssl::context& tls,
807
+ couchbase::core::origin origin,
808
+ std::shared_ptr<impl::bootstrap_state_listener> state_listener,
809
+ std::optional<std::string> bucket_name = {},
810
+ std::vector<protocol::hello_feature> known_features = {})
811
+ : client_id_(client_id)
812
+ , ctx_(ctx)
813
+ , resolver_(ctx_)
814
+ , stream_(std::make_unique<tls_stream_impl>(ctx_, tls))
815
+ , bootstrap_deadline_(ctx_)
816
+ , connection_deadline_(ctx_)
817
+ , retry_backoff_(ctx_)
818
+ , ping_deadline_(ctx_)
819
+ , origin_(std::move(origin))
820
+ , bucket_name_(std::move(bucket_name))
821
+ , supported_features_(std::move(known_features))
822
+ , is_tls_{ true }
823
+ , state_listener_{ std::move(state_listener) }
824
+ , codec_{ { supported_features_.begin(), supported_features_.end() } }
825
+ {
826
+ log_prefix_ = fmt::format(
827
+ "[{}/{}/{}/{}]", client_id_, id_, stream_->log_prefix(), bucket_name_.value_or("-"));
828
+ }
829
+
830
+ ~mcbp_session_impl()
831
+ {
832
+ CB_LOG_DEBUG("{} destroy MCBP connection", log_prefix_);
833
+ stop(retry_reason::do_not_retry);
834
+ }
835
+
836
+ [[nodiscard]] auto log_prefix() const -> const std::string&
837
+ {
838
+ return log_prefix_;
839
+ }
840
+
841
+ auto remote_address() const -> std::string
842
+ {
843
+ return connection_endpoints_.remote_address_with_port;
844
+ }
845
+
846
+ auto local_address() const -> std::string
847
+ {
848
+ return connection_endpoints_.local_address_with_port;
849
+ }
850
+
851
+ [[nodiscard]] auto diag_info() const -> diag::endpoint_diag_info
852
+ {
853
+ return { service_type::key_value,
854
+ id_,
855
+ last_active_.time_since_epoch().count() == 0
856
+ ? std::nullopt
857
+ : std::make_optional(std::chrono::duration_cast<std::chrono::microseconds>(
858
+ std::chrono::steady_clock::now() - last_active_)),
859
+ remote_address(),
860
+ local_address(),
861
+ state_,
862
+ bucket_name_ };
863
+ }
864
+
865
+ void ping(std::shared_ptr<diag::ping_reporter> handler,
866
+ std::optional<std::chrono::milliseconds> timeout)
867
+ {
868
+ if (!bootstrapped_) {
869
+ handler->report({
870
+ service_type::key_value,
871
+ id_,
872
+ std::chrono::microseconds(0),
873
+ remote_address(),
874
+ local_address(),
875
+ diag::ping_state::error,
876
+ bucket_name_,
877
+ last_bootstrap_error_message_.has_value() ? last_bootstrap_error_message_.value()
878
+ : "Bootstrap incomplete, cannot perform ping.",
879
+ });
880
+ return;
1027
881
  }
1028
-
1029
- void flush()
1030
- {
1031
- if (stopped_) {
1032
- return;
1033
- }
1034
- asio::post(asio::bind_executor(ctx_, [self = shared_from_this()]() { self->do_write(); }));
882
+ protocol::client_request<protocol::mcbp_noop_request_body> req;
883
+ req.opaque(next_opaque());
884
+ write_and_subscribe(
885
+ req.opaque(),
886
+ req.data(false),
887
+ [start = std::chrono::steady_clock::now(), self = shared_from_this(), handler](
888
+ std::error_code ec,
889
+ retry_reason reason,
890
+ io::mcbp_message&& /* msg */,
891
+ std::optional<key_value_error_map_info> /* error_info */) {
892
+ diag::ping_state state = diag::ping_state::ok;
893
+ std::optional<std::string> error{};
894
+ if (ec) {
895
+ if (ec == errc::common::unambiguous_timeout || ec == errc::common::ambiguous_timeout) {
896
+ state = diag::ping_state::timeout;
897
+ } else {
898
+ state = diag::ping_state::error;
899
+ }
900
+ error.emplace(
901
+ fmt::format("code={}, message={}, reason={}", ec.value(), ec.message(), reason));
902
+ }
903
+ handler->report({
904
+ service_type::key_value,
905
+ self->id_,
906
+ std::chrono::duration_cast<std::chrono::microseconds>(std::chrono::steady_clock::now() -
907
+ start),
908
+ self->remote_address(),
909
+ self->local_address(),
910
+ state,
911
+ self->bucket_name_,
912
+ error,
913
+ });
914
+ });
915
+ ping_deadline_.expires_after(timeout.value_or(origin_.options().key_value_timeout));
916
+ ping_deadline_.async_wait(
917
+ [self = this->shared_from_this(), opaque = req.opaque()](std::error_code ec) {
918
+ if (ec == asio::error::operation_aborted) {
919
+ return;
920
+ }
921
+ static_cast<void>(
922
+ self->cancel(opaque, errc::common::unambiguous_timeout, retry_reason::do_not_retry));
923
+ });
924
+ }
925
+
926
+ [[nodiscard]] auto context() const -> mcbp_context
927
+ {
928
+ return { config_, supported_features_ };
929
+ }
930
+
931
+ void bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& callback,
932
+ bool retry_on_bucket_not_found = false)
933
+ {
934
+ retry_bootstrap_on_bucket_not_found_ = retry_on_bucket_not_found;
935
+ bootstrap_callback_ = std::move(callback);
936
+ bootstrap_deadline_.expires_after(origin_.options().bootstrap_timeout);
937
+ bootstrap_deadline_.async_wait([self = shared_from_this()](std::error_code ec) {
938
+ if (ec == asio::error::operation_aborted || self->stopped_) {
939
+ return;
940
+ }
941
+ if (!ec) {
942
+ ec = errc::common::unambiguous_timeout;
943
+ }
944
+ if (self->state_listener_) {
945
+ self->state_listener_->report_bootstrap_error(
946
+ fmt::format("{}:{}", self->bootstrap_hostname_, self->bootstrap_port_), ec);
947
+ }
948
+ CB_LOG_WARNING("{} unable to bootstrap in time", self->log_prefix_);
949
+ if (auto h = std::move(self->bootstrap_callback_); h) {
950
+ h(ec, {});
951
+ }
952
+ self->stop(retry_reason::do_not_retry);
953
+ });
954
+ initiate_bootstrap();
955
+ }
956
+
957
+ void initiate_bootstrap()
958
+ {
959
+ if (stopped_) {
960
+ return;
1035
961
  }
1036
-
1037
- void write_and_flush(std::vector<std::byte>&& buf)
1038
- {
1039
- if (stopped_) {
1040
- return;
1041
- }
1042
- write(std::move(buf));
1043
- flush();
962
+ bootstrapped_ = false;
963
+ if (bootstrap_handler_) {
964
+ last_bootstrap_error_message_ = std::move(bootstrap_handler_)->last_error_message();
1044
965
  }
1045
-
1046
- void remove_request(std::shared_ptr<mcbp::queue_request> request) override
1047
- {
1048
- std::scoped_lock lock(operations_mutex_);
1049
- if (auto iter = operations_.find(request->opaque_); iter != operations_.end()) {
1050
- operations_.erase(iter);
1051
- }
966
+ bootstrap_handler_ = nullptr;
967
+ state_ = diag::endpoint_state::connecting;
968
+ if (stream_->is_open()) {
969
+ std::string old_id = stream_->id();
970
+ stream_->reopen();
971
+ CB_LOG_TRACE(R"({} reopen socket connection "{}" -> "{}", host="{}", port={})",
972
+ log_prefix_,
973
+ old_id,
974
+ stream_->id(),
975
+ bootstrap_hostname_,
976
+ bootstrap_port_);
1052
977
  }
1053
-
1054
- void enqueue_request(std::uint32_t opaque, std::shared_ptr<mcbp::queue_request> request, std::shared_ptr<response_handler> handler)
1055
- {
1056
- std::scoped_lock lock(operations_mutex_);
1057
- request->waiting_in_ = this;
1058
- operations_.try_emplace(opaque, std::move(request), std::move(handler));
978
+ if (origin_.exhausted()) {
979
+ auto backoff = std::chrono::milliseconds(500);
980
+ CB_LOG_DEBUG("{} reached the end of list of bootstrap nodes, waiting for {}ms before restart",
981
+ log_prefix_,
982
+ backoff.count());
983
+ retry_backoff_.expires_after(backoff);
984
+ retry_backoff_.async_wait([self = shared_from_this()](std::error_code ec) mutable {
985
+ if (ec == asio::error::operation_aborted || self->stopped_) {
986
+ return;
987
+ }
988
+ self->origin_.restart();
989
+ self->initiate_bootstrap();
990
+ });
991
+ return;
1059
992
  }
1060
-
1061
- auto handle_request(protocol::client_opcode opcode, std::uint16_t status, std::uint32_t opaque, mcbp_message&& msg) -> bool
1062
- {
1063
- // handle request old style
1064
- command_handler fun{};
1065
- {
1066
- std::scoped_lock lock(command_handlers_mutex_);
1067
- if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end() && handler->second) {
1068
- fun = std::move(handler->second);
1069
- command_handlers_.erase(handler);
1070
- }
1071
- }
1072
-
1073
- auto reason = status == static_cast<std::uint16_t>(key_value_status_code::not_my_vbucket) ? retry_reason::key_value_not_my_vbucket
1074
- : retry_reason::do_not_retry;
1075
- if (fun) {
1076
- fun(protocol::map_status_code(opcode, status), reason, std::move(msg), decode_error_code(status));
1077
- return true;
1078
- }
1079
-
1080
- // handle request new style
1081
- std::shared_ptr<mcbp::queue_request> request{};
1082
- std::shared_ptr<response_handler> handler{};
1083
- std::scoped_lock lock(operations_mutex_);
1084
- {
1085
- if (auto pair = operations_.find(opaque); pair != operations_.end() && pair->second.first) {
1086
- request = pair->second.first;
1087
- handler = pair->second.second;
1088
- if (!request->persistent_) {
1089
- operations_.erase(pair);
1090
- }
1091
- }
1092
- }
1093
- if (request) {
1094
- handler->handle_response(
1095
- std::move(request), protocol::map_status_code(opcode, status), reason, std::move(msg), decode_error_code(status));
1096
- return true;
1097
- }
1098
- return false;
993
+ std::tie(bootstrap_hostname_, bootstrap_port_) = origin_.next_address();
994
+ bootstrap_port_number_ =
995
+ gsl::narrow_cast<std::uint16_t>(std::stoul(bootstrap_port_, nullptr, 10));
996
+ bootstrap_address_ = fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_);
997
+ log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}>",
998
+ client_id_,
999
+ id_,
1000
+ stream_->log_prefix(),
1001
+ bucket_name_.value_or("-"),
1002
+ bootstrap_address_);
1003
+ CB_LOG_DEBUG("{} attempt to establish MCBP connection", log_prefix_);
1004
+
1005
+ async_resolve(origin_.options().use_ip_protocol,
1006
+ resolver_,
1007
+ bootstrap_hostname_,
1008
+ bootstrap_port_,
1009
+ std::bind(&mcbp_session_impl::on_resolve,
1010
+ shared_from_this(),
1011
+ std::placeholders::_1,
1012
+ std::placeholders::_2));
1013
+ }
1014
+
1015
+ [[nodiscard]] auto id() const -> const std::string&
1016
+ {
1017
+ return id_;
1018
+ }
1019
+
1020
+ [[nodiscard]] auto is_stopped() const -> bool
1021
+ {
1022
+ return stopped_;
1023
+ }
1024
+
1025
+ [[nodiscard]] auto is_bootstrapped() const -> bool
1026
+ {
1027
+ return bootstrapped_;
1028
+ }
1029
+
1030
+ void on_stop(utils::movable_function<void()> handler)
1031
+ {
1032
+ on_stop_handler_ = std::move(handler);
1033
+ }
1034
+
1035
+ void stop(retry_reason reason)
1036
+ {
1037
+ if (stopped_) {
1038
+ return;
1099
1039
  }
1100
-
1101
- void write_and_subscribe(std::shared_ptr<mcbp::queue_request> request, std::shared_ptr<response_handler> handler)
1102
- {
1103
- auto opaque = request->opaque_;
1104
- auto data = codec_.encode_packet(*request);
1105
- if (!data) {
1106
- CB_LOG_DEBUG("unable to encode packet. opaque={}, ec={}", opaque, data.error().message());
1107
- request->try_callback({}, data.error());
1108
- return;
1109
- }
1110
-
1111
- if (stopped_) {
1112
- CB_LOG_WARNING("cancel operation while trying to write to closed mcbp session, opaque={}", opaque);
1113
- handler->handle_response(request, errc::common::request_canceled, retry_reason::socket_closed_while_in_flight, {}, {});
1114
- return;
1115
- }
1116
- enqueue_request(opaque, std::move(request), std::move(handler));
1117
- if (bootstrapped_ && stream_->is_open()) {
1118
- write_and_flush(std::move(data.value()));
1119
- } else {
1120
- CB_LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}", log_prefix_, opaque);
1121
- std::scoped_lock lock(pending_buffer_mutex_);
1122
- if (bootstrapped_ && stream_->is_open()) {
1123
- write_and_flush(std::move(data.value()));
1124
- } else {
1125
- pending_buffer_.emplace_back(data.value());
1126
- }
1127
- }
1040
+ state_ = diag::endpoint_state::disconnecting;
1041
+ CB_LOG_DEBUG("{} stop MCBP connection, reason={}", log_prefix_, reason);
1042
+ stopped_ = true;
1043
+ bootstrap_deadline_.cancel();
1044
+ connection_deadline_.cancel();
1045
+ retry_backoff_.cancel();
1046
+ ping_deadline_.cancel();
1047
+ resolver_.cancel();
1048
+ stream_->close([](std::error_code) {
1049
+ });
1050
+ if (auto h = std::move(bootstrap_handler_); h) {
1051
+ h->stop();
1128
1052
  }
1129
-
1130
- void write_and_subscribe(std::uint32_t opaque, std::vector<std::byte>&& data, command_handler&& handler)
1131
- {
1132
- if (stopped_) {
1133
- CB_LOG_WARNING("{} MCBP cancel operation, while trying to write to closed session, opaque={}", log_prefix_, opaque);
1134
- handler(errc::common::request_canceled, retry_reason::socket_closed_while_in_flight, {}, {});
1135
- return;
1136
- }
1137
- {
1138
- std::scoped_lock lock(command_handlers_mutex_);
1139
- command_handlers_.try_emplace(opaque, std::move(handler));
1140
- }
1141
- if (bootstrapped_ && stream_->is_open()) {
1142
- write_and_flush(std::move(data));
1143
- } else {
1144
- CB_LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}", log_prefix_, opaque);
1145
- std::scoped_lock lock(pending_buffer_mutex_);
1146
- if (bootstrapped_ && stream_->is_open()) {
1147
- write_and_flush(std::move(data));
1148
- } else {
1149
- pending_buffer_.emplace_back(data);
1150
- }
1151
- }
1053
+ if (auto h = std::move(handler_); h) {
1054
+ h->stop();
1152
1055
  }
1153
-
1154
- [[nodiscard]] bool cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason)
1155
- {
1156
- if (stopped_) {
1157
- return false;
1158
- }
1159
- command_handlers_mutex_.lock();
1160
- if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end()) {
1161
- CB_LOG_DEBUG("{} MCBP cancel operation, opaque={}, ec={} ({})", log_prefix_, opaque, ec.value(), ec.message());
1162
- if (handler->second) {
1163
- auto fun = std::move(handler->second);
1164
- command_handlers_.erase(handler);
1165
- command_handlers_mutex_.unlock();
1166
- fun(ec, reason, {}, {});
1167
- return true;
1168
- }
1169
- }
1170
- command_handlers_mutex_.unlock();
1171
- return false;
1056
+ std::error_code ec = errc::common::request_canceled;
1057
+ if (!bootstrapped_) {
1058
+ if (auto h = std::move(bootstrap_callback_); h) {
1059
+ h(ec, {});
1060
+ }
1172
1061
  }
1173
-
1174
- [[nodiscard]] bool supports_feature(protocol::hello_feature feature)
1175
1062
  {
1176
- return std::find(supported_features_.begin(), supported_features_.end(), feature) != supported_features_.end();
1063
+ std::scoped_lock lock(command_handlers_mutex_);
1064
+ for (auto& [opaque, handler] : command_handlers_) {
1065
+ if (handler) {
1066
+ CB_LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}",
1067
+ log_prefix_,
1068
+ opaque,
1069
+ ec.message());
1070
+ auto fun = std::move(handler);
1071
+ fun(ec, reason, {}, {});
1072
+ }
1073
+ }
1074
+ command_handlers_.clear();
1177
1075
  }
1178
-
1179
- [[nodiscard]] std::vector<protocol::hello_feature> supported_features() const
1180
1076
  {
1181
- return supported_features_;
1077
+ std::scoped_lock lock(operations_mutex_);
1078
+ auto operations = std::move(operations_);
1079
+ for (auto& [opaque, operation] : operations) {
1080
+ auto& [request, handler] = operation;
1081
+ if (handler) {
1082
+ CB_LOG_DEBUG("{} MCBP cancel operation during session close, opaque={}, ec={}",
1083
+ log_prefix_,
1084
+ opaque,
1085
+ ec.message());
1086
+ handler->handle_response(std::move(request), {}, reason, {}, {});
1087
+ }
1088
+ }
1089
+ operations_.clear();
1182
1090
  }
1183
-
1184
- [[nodiscard]] bool supports_gcccp() const
1185
- {
1186
- return supports_gcccp_;
1091
+ config_listeners_.clear();
1092
+ state_ = diag::endpoint_state::disconnected;
1093
+ if (auto on_stop = std::move(on_stop_handler_); on_stop) {
1094
+ on_stop();
1187
1095
  }
1096
+ }
1188
1097
 
1189
- std::optional<topology::configuration> config() const
1190
- {
1191
- return config_;
1098
+ void write(std::vector<std::byte>&& buf)
1099
+ {
1100
+ if (stopped_) {
1101
+ return;
1192
1102
  }
1193
-
1194
- [[nodiscard]] bool has_config() const
1195
- {
1196
- return configured_;
1103
+ CB_LOG_TRACE("{} MCBP send {}", log_prefix_, mcbp_header_view(buf));
1104
+ std::scoped_lock lock(output_buffer_mutex_);
1105
+ output_buffer_.emplace_back(std::move(buf));
1106
+ }
1107
+
1108
+ void flush()
1109
+ {
1110
+ if (stopped_) {
1111
+ return;
1197
1112
  }
1198
-
1199
- [[nodiscard]] topology::configuration config()
1200
- {
1201
- std::scoped_lock lock(config_mutex_);
1202
- return config_.value();
1113
+ asio::post(asio::bind_executor(ctx_, [self = shared_from_this()]() {
1114
+ self->do_write();
1115
+ }));
1116
+ }
1117
+
1118
+ void write_and_flush(std::vector<std::byte>&& buf)
1119
+ {
1120
+ if (stopped_) {
1121
+ return;
1203
1122
  }
1204
-
1205
- [[nodiscard]] std::size_t index() const
1206
- {
1207
- std::scoped_lock lock(config_mutex_);
1208
- Expects(config_.has_value());
1209
- return config_->index_for_this_node();
1123
+ write(std::move(buf));
1124
+ flush();
1125
+ }
1126
+
1127
+ void remove_request(std::shared_ptr<mcbp::queue_request> request) override
1128
+ {
1129
+ std::scoped_lock lock(operations_mutex_);
1130
+ if (auto iter = operations_.find(request->opaque_); iter != operations_.end()) {
1131
+ operations_.erase(iter);
1210
1132
  }
1211
-
1212
- [[nodiscard]] const std::string& bootstrap_address() const
1133
+ }
1134
+
1135
+ void enqueue_request(std::uint32_t opaque,
1136
+ std::shared_ptr<mcbp::queue_request> request,
1137
+ std::shared_ptr<response_handler> handler)
1138
+ {
1139
+ std::scoped_lock lock(operations_mutex_);
1140
+ request->waiting_in_ = this;
1141
+ operations_.try_emplace(opaque, std::move(request), std::move(handler));
1142
+ }
1143
+
1144
+ auto handle_request(protocol::client_opcode opcode,
1145
+ std::uint16_t status,
1146
+ std::uint32_t opaque,
1147
+ mcbp_message&& msg) -> bool
1148
+ {
1149
+ // handle request old style
1150
+ command_handler fun{};
1213
1151
  {
1214
- return bootstrap_address_;
1152
+ std::scoped_lock lock(command_handlers_mutex_);
1153
+ if (auto handler = command_handlers_.find(opaque);
1154
+ handler != command_handlers_.end() && handler->second) {
1155
+ fun = std::move(handler->second);
1156
+ command_handlers_.erase(handler);
1157
+ }
1215
1158
  }
1216
1159
 
1217
- [[nodiscard]] const std::string& bootstrap_hostname() const
1218
- {
1219
- return bootstrap_hostname_;
1160
+ auto reason = status == static_cast<std::uint16_t>(key_value_status_code::not_my_vbucket)
1161
+ ? retry_reason::key_value_not_my_vbucket
1162
+ : retry_reason::do_not_retry;
1163
+ if (fun) {
1164
+ fun(protocol::map_status_code(opcode, status),
1165
+ reason,
1166
+ std::move(msg),
1167
+ decode_error_code(status));
1168
+ return true;
1220
1169
  }
1221
1170
 
1222
- [[nodiscard]] const std::string& bootstrap_port() const
1171
+ // handle request new style
1172
+ std::shared_ptr<mcbp::queue_request> request{};
1173
+ std::shared_ptr<response_handler> handler{};
1223
1174
  {
1224
- return bootstrap_port_;
1175
+ std::scoped_lock lock(operations_mutex_);
1176
+ if (auto pair = operations_.find(opaque); pair != operations_.end() && pair->second.first) {
1177
+ request = pair->second.first;
1178
+ handler = pair->second.second;
1179
+ if (!request->persistent_) {
1180
+ operations_.erase(pair);
1181
+ }
1182
+ }
1225
1183
  }
1226
-
1227
- [[nodiscard]] std::uint16_t bootstrap_port_number() const
1228
- {
1229
- return bootstrap_port_number_;
1184
+ if (request) {
1185
+ handler->handle_response(std::move(request),
1186
+ protocol::map_status_code(opcode, status),
1187
+ reason,
1188
+ std::move(msg),
1189
+ decode_error_code(status));
1190
+ return true;
1230
1191
  }
1231
-
1232
- [[nodiscard]] std::uint32_t next_opaque()
1233
- {
1234
- return ++opaque_;
1192
+ return false;
1193
+ }
1194
+
1195
+ void write_and_subscribe(std::shared_ptr<mcbp::queue_request> request,
1196
+ std::shared_ptr<response_handler> handler)
1197
+ {
1198
+ auto opaque = request->opaque_;
1199
+ auto data = codec_.encode_packet(*request);
1200
+ if (!data) {
1201
+ CB_LOG_DEBUG("unable to encode packet. opaque={}, ec={}", opaque, data.error().message());
1202
+ request->try_callback({}, data.error());
1203
+ return;
1235
1204
  }
1236
1205
 
1237
- std::optional<key_value_error_map_info> decode_error_code(std::uint16_t code)
1238
- {
1239
- if (error_map_) {
1240
- auto info = error_map_->errors.find(code);
1241
- if (info != error_map_->errors.end()) {
1242
- return info->second;
1243
- }
1244
- }
1245
- return {};
1206
+ if (stopped_) {
1207
+ CB_LOG_WARNING("cancel operation while trying to write to closed mcbp session, opaque={}",
1208
+ opaque);
1209
+ handler->handle_response(request,
1210
+ errc::common::request_canceled,
1211
+ retry_reason::socket_closed_while_in_flight,
1212
+ {},
1213
+ {});
1214
+ return;
1246
1215
  }
1247
-
1248
- void on_configuration_update(std::shared_ptr<config_listener> handler)
1249
- {
1250
- config_listeners_.emplace_back(std::move(handler));
1216
+ enqueue_request(opaque, std::move(request), std::move(handler));
1217
+ if (bootstrapped_ && stream_->is_open()) {
1218
+ write_and_flush(std::move(data.value()));
1219
+ } else {
1220
+ CB_LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}",
1221
+ log_prefix_,
1222
+ opaque);
1223
+ std::scoped_lock lock(pending_buffer_mutex_);
1224
+ if (bootstrapped_ && stream_->is_open()) {
1225
+ write_and_flush(std::move(data.value()));
1226
+ } else {
1227
+ pending_buffer_.emplace_back(data.value());
1228
+ }
1251
1229
  }
1252
-
1253
- void update_configuration(topology::configuration&& config)
1254
- {
1255
- if (stopped_) {
1256
- return;
1257
- }
1258
- std::scoped_lock lock(config_mutex_);
1259
- if (config_) {
1260
- if (config_->vbmap && config.vbmap && config_->vbmap->size() != config.vbmap->size()) {
1261
- CB_LOG_DEBUG("{} received a configuration with a different number of vbuckets, ignoring", log_prefix_);
1262
- return;
1263
- }
1264
- if (config == config_) {
1265
- CB_LOG_TRACE("{} received a configuration with identical revision (new={}, old={}), ignoring",
1266
- log_prefix_,
1267
- config.rev_str(),
1268
- config_->rev_str());
1269
- return;
1270
- }
1271
- if (config < config_) {
1272
- CB_LOG_DEBUG("{} received a configuration with older revision (new={}, old={}), ignoring",
1273
- log_prefix_,
1274
- config.rev_str(),
1275
- config_->rev_str());
1276
- return;
1277
- }
1278
- }
1279
- bool this_node_found = false;
1280
- for (auto& node : config.nodes) {
1281
- if (node.hostname.empty()) {
1282
- node.hostname = bootstrap_hostname_;
1283
- }
1284
- if (node.this_node) {
1285
- this_node_found = true;
1286
- }
1287
- }
1288
- if (!this_node_found) {
1289
- for (auto& node : config.nodes) {
1290
- if (node.hostname == bootstrap_hostname_) {
1291
- if ((node.services_plain.key_value && std::to_string(node.services_plain.key_value.value()) == bootstrap_port_) ||
1292
- (node.services_tls.key_value && std::to_string(node.services_tls.key_value.value()) == bootstrap_port_)) {
1293
- node.this_node = true;
1294
- }
1295
- }
1296
- }
1297
- }
1298
- config_.reset();
1299
- config_.emplace(std::move(config));
1300
- configured_ = true;
1301
- for (const auto& listener : config_listeners_) {
1302
- asio::post(
1303
- asio::bind_executor(ctx_, [listener, c = config_.value()]() mutable { return listener->update_config(std::move(c)); }));
1304
- }
1230
+ }
1231
+
1232
+ void write_and_subscribe(std::uint32_t opaque,
1233
+ std::vector<std::byte>&& data,
1234
+ command_handler&& handler)
1235
+ {
1236
+ if (stopped_) {
1237
+ CB_LOG_WARNING("{} MCBP cancel operation, while trying to write to closed session, opaque={}",
1238
+ log_prefix_,
1239
+ opaque);
1240
+ handler(errc::common::request_canceled, retry_reason::socket_closed_while_in_flight, {}, {});
1241
+ return;
1305
1242
  }
1306
-
1307
- void handle_not_my_vbucket(const io::mcbp_message& msg)
1308
1243
  {
1309
- if (stopped_) {
1310
- return;
1311
- }
1312
- Expects(msg.header.magic == static_cast<std::uint8_t>(protocol::magic::alt_client_response) ||
1313
- msg.header.magic == static_cast<std::uint8_t>(protocol::magic::client_response));
1314
- if (protocol::has_json_datatype(msg.header.datatype)) {
1315
- auto magic = static_cast<protocol::magic>(msg.header.magic);
1316
- std::uint8_t extras_size = msg.header.extlen;
1317
- std::uint8_t framing_extras_size = 0;
1318
- std::uint16_t key_size = utils::byte_swap(msg.header.keylen);
1319
- if (magic == protocol::magic::alt_client_response) {
1320
- framing_extras_size = static_cast<std::uint8_t>(msg.header.keylen >> 8U);
1321
- key_size = msg.header.keylen & 0xffU;
1322
- }
1244
+ std::scoped_lock lock(command_handlers_mutex_);
1245
+ command_handlers_.try_emplace(opaque, std::move(handler));
1246
+ }
1247
+ if (bootstrapped_ && stream_->is_open()) {
1248
+ write_and_flush(std::move(data));
1249
+ } else {
1250
+ CB_LOG_DEBUG("{} the stream is not ready yet, put the message into pending buffer, opaque={}",
1251
+ log_prefix_,
1252
+ opaque);
1253
+ std::scoped_lock lock(pending_buffer_mutex_);
1254
+ if (bootstrapped_ && stream_->is_open()) {
1255
+ write_and_flush(std::move(data));
1256
+ } else {
1257
+ pending_buffer_.emplace_back(data);
1258
+ }
1259
+ }
1260
+ }
1323
1261
 
1324
- std::vector<std::uint8_t>::difference_type offset = framing_extras_size + key_size + extras_size;
1325
- if (utils::byte_swap(msg.header.bodylen) - offset > 0) {
1326
- std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()) + offset,
1327
- msg.body.size() - static_cast<std::size_t>(offset) };
1328
- if (origin_.options().dump_configuration) {
1329
- CB_LOG_TRACE("{} configuration from not_my_vbucket response (size={}, endpoint=\"{}:{}\"), {}",
1330
- log_prefix_,
1331
- config_text.size(),
1332
- bootstrap_hostname_,
1333
- bootstrap_port_number_,
1334
- config_text);
1335
- }
1336
- auto config = protocol::parse_config(config_text, bootstrap_hostname_, bootstrap_port_number_);
1337
- CB_LOG_DEBUG("{} received not_my_vbucket status for {}, opaque={} with config rev={} in the payload",
1338
- log_prefix_,
1339
- protocol::client_opcode(msg.header.opcode),
1340
- utils::byte_swap(msg.header.opaque),
1341
- config.rev_str());
1342
- update_configuration(std::move(config));
1343
- }
1344
- }
1262
+ [[nodiscard]] auto cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason) -> bool
1263
+ {
1264
+ if (stopped_) {
1265
+ return false;
1266
+ }
1267
+ command_handlers_mutex_.lock();
1268
+ if (auto handler = command_handlers_.find(opaque); handler != command_handlers_.end()) {
1269
+ CB_LOG_DEBUG("{} MCBP cancel operation, opaque={}, ec={} ({})",
1270
+ log_prefix_,
1271
+ opaque,
1272
+ ec.value(),
1273
+ ec.message());
1274
+ if (handler->second) {
1275
+ auto fun = std::move(handler->second);
1276
+ command_handlers_.erase(handler);
1277
+ command_handlers_mutex_.unlock();
1278
+ fun(ec, reason, {}, {});
1279
+ return true;
1280
+ }
1281
+ }
1282
+ command_handlers_mutex_.unlock();
1283
+ return false;
1284
+ }
1285
+
1286
+ [[nodiscard]] auto supports_feature(protocol::hello_feature feature) -> bool
1287
+ {
1288
+ return std::find(supported_features_.begin(), supported_features_.end(), feature) !=
1289
+ supported_features_.end();
1290
+ }
1291
+
1292
+ [[nodiscard]] auto supported_features() const -> std::vector<protocol::hello_feature>
1293
+ {
1294
+ return supported_features_;
1295
+ }
1296
+
1297
+ [[nodiscard]] auto supports_gcccp() const -> bool
1298
+ {
1299
+ return supports_gcccp_;
1300
+ }
1301
+
1302
+ auto config() const -> std::optional<topology::configuration>
1303
+ {
1304
+ return config_;
1305
+ }
1306
+
1307
+ [[nodiscard]] auto has_config() const -> bool
1308
+ {
1309
+ return configured_;
1310
+ }
1311
+
1312
+ [[nodiscard]] auto config() -> topology::configuration
1313
+ {
1314
+ std::scoped_lock lock(config_mutex_);
1315
+ return config_.value();
1316
+ }
1317
+
1318
+ [[nodiscard]] auto index() const -> std::size_t
1319
+ {
1320
+ std::scoped_lock lock(config_mutex_);
1321
+ Expects(config_.has_value());
1322
+ return config_->index_for_this_node();
1323
+ }
1324
+
1325
+ [[nodiscard]] auto bootstrap_address() const -> const std::string&
1326
+ {
1327
+ return bootstrap_address_;
1328
+ }
1329
+
1330
+ [[nodiscard]] auto bootstrap_hostname() const -> const std::string&
1331
+ {
1332
+ return bootstrap_hostname_;
1333
+ }
1334
+
1335
+ [[nodiscard]] auto bootstrap_port() const -> const std::string&
1336
+ {
1337
+ return bootstrap_port_;
1338
+ }
1339
+
1340
+ [[nodiscard]] auto bootstrap_port_number() const -> std::uint16_t
1341
+ {
1342
+ return bootstrap_port_number_;
1343
+ }
1344
+
1345
+ [[nodiscard]] auto next_opaque() -> std::uint32_t
1346
+ {
1347
+ return ++opaque_;
1348
+ }
1349
+
1350
+ auto decode_error_code(std::uint16_t code) -> std::optional<key_value_error_map_info>
1351
+ {
1352
+ if (error_map_) {
1353
+ auto info = error_map_->errors.find(code);
1354
+ if (info != error_map_->errors.end()) {
1355
+ return info->second;
1356
+ }
1345
1357
  }
1358
+ return {};
1359
+ }
1360
+
1361
+ void on_configuration_update(std::shared_ptr<config_listener> handler)
1362
+ {
1363
+ config_listeners_.emplace_back(std::move(handler));
1364
+ }
1365
+
1366
+ void update_configuration(topology::configuration&& config)
1367
+ {
1368
+ if (stopped_) {
1369
+ return;
1370
+ }
1371
+ std::scoped_lock lock(config_mutex_);
1372
+ // MB-60405 fixes this for 7.6.2, but for earlier versions we need to protect against using a
1373
+ // config that has an empty vbucket map. We should be okay to ignore at this point b/c we
1374
+ // should already have a config w/ a non-empty vbucket map (bootstrap will not complete
1375
+ // successfully unless we have a config w/ a non-empty vbucket map).
1376
+ if (config.vbmap && config.vbmap->size() == 0) {
1377
+ CB_LOG_DEBUG("{} received a configuration with an empty vbucket map, ignoring", log_prefix_);
1378
+ return;
1379
+ }
1380
+ if (config_) {
1381
+ if (config_->vbmap && config.vbmap && config_->vbmap->size() != config.vbmap->size()) {
1382
+ CB_LOG_DEBUG("{} received a configuration with a different number of vbuckets, ignoring",
1383
+ log_prefix_);
1384
+ return;
1385
+ }
1386
+ if (config == config_) {
1387
+ CB_LOG_TRACE(
1388
+ "{} received a configuration with identical revision (new={}, old={}), ignoring",
1389
+ log_prefix_,
1390
+ config.rev_str(),
1391
+ config_->rev_str());
1392
+ return;
1393
+ }
1394
+ if (config < config_) {
1395
+ CB_LOG_DEBUG("{} received a configuration with older revision (new={}, old={}), ignoring",
1396
+ log_prefix_,
1397
+ config.rev_str(),
1398
+ config_->rev_str());
1399
+ return;
1400
+ }
1401
+ }
1402
+ bool this_node_found = false;
1403
+ for (auto& node : config.nodes) {
1404
+ if (node.hostname.empty()) {
1405
+ node.hostname = bootstrap_hostname_;
1406
+ }
1407
+ if (node.this_node) {
1408
+ this_node_found = true;
1409
+ }
1410
+ }
1411
+ if (!this_node_found) {
1412
+ for (auto& node : config.nodes) {
1413
+ if (node.hostname == bootstrap_hostname_) {
1414
+ if ((node.services_plain.key_value &&
1415
+ std::to_string(node.services_plain.key_value.value()) == bootstrap_port_) ||
1416
+ (node.services_tls.key_value &&
1417
+ std::to_string(node.services_tls.key_value.value()) == bootstrap_port_)) {
1418
+ node.this_node = true;
1419
+ }
1420
+ }
1421
+ }
1422
+ }
1423
+ config_.reset();
1424
+ config_.emplace(std::move(config));
1425
+ configured_ = true;
1426
+ for (const auto& listener : config_listeners_) {
1427
+ asio::post(asio::bind_executor(ctx_, [listener, c = config_.value()]() mutable {
1428
+ return listener->update_config(std::move(c));
1429
+ }));
1430
+ }
1431
+ }
1346
1432
 
1347
- std::optional<std::uint32_t> get_collection_uid(const std::string& collection_path)
1348
- {
1349
- return collection_cache_.get(collection_path);
1433
+ void handle_not_my_vbucket(const io::mcbp_message& msg)
1434
+ {
1435
+ if (stopped_) {
1436
+ return;
1437
+ }
1438
+ Expects(msg.header.magic == static_cast<std::uint8_t>(protocol::magic::alt_client_response) ||
1439
+ msg.header.magic == static_cast<std::uint8_t>(protocol::magic::client_response));
1440
+ if (protocol::has_json_datatype(msg.header.datatype)) {
1441
+ auto magic = static_cast<protocol::magic>(msg.header.magic);
1442
+ std::uint8_t extras_size = msg.header.extlen;
1443
+ std::uint8_t framing_extras_size = 0;
1444
+ std::uint16_t key_size = utils::byte_swap(msg.header.keylen);
1445
+ if (magic == protocol::magic::alt_client_response) {
1446
+ framing_extras_size = static_cast<std::uint8_t>(msg.header.keylen >> 8U);
1447
+ key_size = msg.header.keylen & 0xffU;
1448
+ }
1449
+
1450
+ std::vector<std::uint8_t>::difference_type offset =
1451
+ framing_extras_size + key_size + extras_size;
1452
+ if (utils::byte_swap(msg.header.bodylen) - offset > 0) {
1453
+ std::string_view config_text{ reinterpret_cast<const char*>(msg.body.data()) + offset,
1454
+ msg.body.size() - static_cast<std::size_t>(offset) };
1455
+ if (origin_.options().dump_configuration) {
1456
+ CB_LOG_TRACE(
1457
+ "{} configuration from not_my_vbucket response (size={}, endpoint=\"{}:{}\"), {}",
1458
+ log_prefix_,
1459
+ config_text.size(),
1460
+ bootstrap_hostname_,
1461
+ bootstrap_port_number_,
1462
+ config_text);
1463
+ }
1464
+ auto config =
1465
+ protocol::parse_config(config_text, bootstrap_hostname_, bootstrap_port_number_);
1466
+ CB_LOG_DEBUG(
1467
+ "{} received not_my_vbucket status for {}, opaque={} with config rev={} in the payload",
1468
+ log_prefix_,
1469
+ protocol::client_opcode(msg.header.opcode),
1470
+ utils::byte_swap(msg.header.opaque),
1471
+ config.rev_str());
1472
+ update_configuration(std::move(config));
1473
+ }
1350
1474
  }
1475
+ }
1351
1476
 
1352
- void update_collection_uid(const std::string& path, std::uint32_t uid)
1353
- {
1354
- if (stopped_) {
1355
- return;
1356
- }
1357
- collection_cache_.update(path, uid);
1477
+ auto get_collection_uid(const std::string& collection_path) -> std::optional<std::uint32_t>
1478
+ {
1479
+ return collection_cache_.get(collection_path);
1480
+ }
1481
+
1482
+ void update_collection_uid(const std::string& path, std::uint32_t uid)
1483
+ {
1484
+ if (stopped_) {
1485
+ return;
1358
1486
  }
1487
+ collection_cache_.update(path, uid);
1488
+ }
1359
1489
 
1360
- private:
1361
- void invoke_bootstrap_handler(std::error_code ec)
1362
- {
1363
- retry_backoff_.cancel();
1490
+ private:
1491
+ void invoke_bootstrap_handler(std::error_code ec)
1492
+ {
1493
+ retry_backoff_.cancel();
1364
1494
 
1365
- if (ec && state_listener_) {
1366
- state_listener_->report_bootstrap_error(fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_), ec);
1367
- }
1368
- if (ec == errc::network::configuration_not_available) {
1369
- return initiate_bootstrap();
1370
- }
1371
- if (retry_bootstrap_on_bucket_not_found_ && ec == errc::common::bucket_not_found) {
1372
- CB_LOG_DEBUG(R"({} server returned {} ({}), it must be transient condition, retrying)", log_prefix_, ec.value(), ec.message());
1373
- return initiate_bootstrap();
1374
- }
1375
- if (!origin_.exhausted() && ec == errc::common::authentication_failure) {
1376
- CB_LOG_DEBUG(
1377
- R"({} server returned authentication_failure, but the bootstrap list is not exhausted yet. It must be transient condition, retrying)",
1378
- log_prefix_);
1379
- return initiate_bootstrap();
1380
- }
1495
+ if (ec && state_listener_) {
1496
+ state_listener_->report_bootstrap_error(
1497
+ fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_), ec);
1498
+ }
1499
+ if (ec == errc::network::configuration_not_available) {
1500
+ return initiate_bootstrap();
1501
+ }
1502
+ if (retry_bootstrap_on_bucket_not_found_ && ec == errc::common::bucket_not_found) {
1503
+ CB_LOG_DEBUG(R"({} server returned {} ({}), it must be transient condition, retrying)",
1504
+ log_prefix_,
1505
+ ec.value(),
1506
+ ec.message());
1507
+ return initiate_bootstrap();
1508
+ }
1509
+ if (!origin_.exhausted() && ec == errc::common::authentication_failure) {
1510
+ CB_LOG_DEBUG(
1511
+ R"({} server returned authentication_failure, but the bootstrap list is not exhausted yet. It must be transient condition, retrying)",
1512
+ log_prefix_);
1513
+ return initiate_bootstrap();
1514
+ }
1381
1515
 
1382
- if (!bootstrapped_ && bootstrap_callback_) {
1383
- bootstrap_deadline_.cancel();
1384
- if (config_ && state_listener_) {
1385
- std::vector<std::string> endpoints;
1386
- endpoints.reserve(config_.value().nodes.size());
1387
- for (const auto& node : config_.value().nodes) {
1388
- if (auto endpoint = node.endpoint(origin_.options().network, service_type::key_value, is_tls_); endpoint) {
1389
- endpoints.push_back(endpoint.value());
1390
- }
1391
- }
1392
- state_listener_->report_bootstrap_success(endpoints);
1393
- }
1394
- auto h = std::move(bootstrap_callback_);
1395
- h(ec, config_.value_or(topology::configuration{}));
1396
- }
1397
- if (ec) {
1398
- return stop(retry_reason::node_not_available);
1399
- }
1400
- state_ = diag::endpoint_state::connected;
1401
- std::scoped_lock lock(pending_buffer_mutex_);
1402
- bootstrapped_ = true;
1403
- bootstrap_handler_->stop();
1404
- handler_ = std::make_shared<message_handler>(shared_from_this());
1405
- handler_->start();
1406
- if (!pending_buffer_.empty()) {
1407
- for (auto& buf : pending_buffer_) {
1408
- write(std::move(buf));
1409
- }
1410
- pending_buffer_.clear();
1411
- flush();
1412
- }
1516
+ if (!bootstrapped_ && bootstrap_callback_) {
1517
+ bootstrap_deadline_.cancel();
1518
+ if (config_ && state_listener_) {
1519
+ std::vector<std::string> endpoints;
1520
+ endpoints.reserve(config_.value().nodes.size());
1521
+ for (const auto& node : config_.value().nodes) {
1522
+ if (auto endpoint =
1523
+ node.endpoint(origin_.options().network, service_type::key_value, is_tls_);
1524
+ endpoint) {
1525
+ endpoints.push_back(endpoint.value());
1526
+ }
1527
+ }
1528
+ state_listener_->report_bootstrap_success(endpoints);
1529
+ }
1530
+ auto h = std::move(bootstrap_callback_);
1531
+ h(ec, config_.value_or(topology::configuration{}));
1413
1532
  }
1533
+ if (ec) {
1534
+ return stop(retry_reason::node_not_available);
1535
+ }
1536
+ state_ = diag::endpoint_state::connected;
1537
+ std::scoped_lock lock(pending_buffer_mutex_);
1538
+ bootstrapped_ = true;
1539
+ bootstrap_handler_->stop();
1540
+ handler_ = std::make_shared<message_handler>(shared_from_this());
1541
+ handler_->start();
1542
+ if (!pending_buffer_.empty()) {
1543
+ for (auto& buf : pending_buffer_) {
1544
+ write(std::move(buf));
1545
+ }
1546
+ pending_buffer_.clear();
1547
+ flush();
1548
+ }
1549
+ }
1414
1550
 
1415
- void on_resolve(std::error_code ec, const asio::ip::tcp::resolver::results_type& endpoints)
1416
- {
1417
- if (ec == asio::error::operation_aborted || stopped_) {
1551
+ void on_resolve(std::error_code ec, const asio::ip::tcp::resolver::results_type& endpoints)
1552
+ {
1553
+ if (ec == asio::error::operation_aborted || stopped_) {
1554
+ return;
1555
+ }
1556
+ last_active_ = std::chrono::steady_clock::now();
1557
+ if (ec) {
1558
+ CB_LOG_ERROR("{} error on resolve: {} ({})", log_prefix_, ec.value(), ec.message());
1559
+ return initiate_bootstrap();
1560
+ }
1561
+ endpoints_ = endpoints;
1562
+ CB_LOG_TRACE("{} resolved \"{}:{}\" to {} endpoint(s)",
1563
+ log_prefix_,
1564
+ bootstrap_hostname_,
1565
+ bootstrap_port_,
1566
+ endpoints_.size());
1567
+ do_connect(endpoints_.begin());
1568
+ connection_deadline_.expires_after(origin_.options().resolve_timeout);
1569
+ connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
1570
+ if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1571
+ return;
1572
+ }
1573
+ return self->stream_->close([self](std::error_code) {
1574
+ self->initiate_bootstrap();
1575
+ });
1576
+ });
1577
+ }
1578
+
1579
+ void do_connect(asio::ip::tcp::resolver::results_type::iterator it)
1580
+ {
1581
+ if (stopped_) {
1582
+ return;
1583
+ }
1584
+ last_active_ = std::chrono::steady_clock::now();
1585
+ if (it != endpoints_.end()) {
1586
+ auto hostname = it->endpoint().address().to_string();
1587
+ auto port = it->endpoint().port();
1588
+ CB_LOG_DEBUG("{} connecting to {}:{} (\"{}:{}\"), timeout={}ms",
1589
+ log_prefix_,
1590
+ hostname,
1591
+ port,
1592
+ bootstrap_hostname_,
1593
+ bootstrap_port_,
1594
+ origin_.options().connect_timeout.count());
1595
+ connection_deadline_.expires_after(origin_.options().connect_timeout);
1596
+ connection_deadline_.async_wait(
1597
+ [self = shared_from_this(), hostname, port](const auto timer_ec) {
1598
+ if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1418
1599
  return;
1419
- }
1420
- last_active_ = std::chrono::steady_clock::now();
1421
- if (ec) {
1422
- CB_LOG_ERROR("{} error on resolve: {} ({})", log_prefix_, ec.value(), ec.message());
1423
- return initiate_bootstrap();
1424
- }
1425
- endpoints_ = endpoints;
1426
- CB_LOG_TRACE("{} resolved \"{}:{}\" to {} endpoint(s)", log_prefix_, bootstrap_hostname_, bootstrap_port_, endpoints_.size());
1427
- do_connect(endpoints_.begin());
1428
- connection_deadline_.expires_after(origin_.options().resolve_timeout);
1429
- connection_deadline_.async_wait([self = shared_from_this()](const auto timer_ec) {
1430
- if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1431
- return;
1432
- }
1433
- return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
1600
+ }
1601
+ CB_LOG_DEBUG("{} unable to connect to {}:{} (\"{}:{}\") in time, reconnecting",
1602
+ self->log_prefix_,
1603
+ hostname,
1604
+ port,
1605
+ self->bootstrap_hostname_,
1606
+ self->bootstrap_port_);
1607
+ return self->stream_->close([self](std::error_code) {
1608
+ self->initiate_bootstrap();
1609
+ });
1434
1610
  });
1611
+ stream_->async_connect(
1612
+ it->endpoint(),
1613
+ std::bind(&mcbp_session_impl::on_connect, shared_from_this(), std::placeholders::_1, it));
1614
+ } else {
1615
+ CB_LOG_ERROR("{} no more endpoints left to connect to \"{}:{}\", will try another address",
1616
+ log_prefix_,
1617
+ bootstrap_hostname_,
1618
+ bootstrap_port_);
1619
+ if (state_listener_) {
1620
+ state_listener_->report_bootstrap_error(
1621
+ fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_),
1622
+ errc::network::no_endpoints_left);
1623
+ }
1624
+ return initiate_bootstrap();
1435
1625
  }
1626
+ }
1436
1627
 
1437
- void do_connect(asio::ip::tcp::resolver::results_type::iterator it)
1438
- {
1439
- if (stopped_) {
1440
- return;
1441
- }
1442
- last_active_ = std::chrono::steady_clock::now();
1443
- if (it != endpoints_.end()) {
1444
- auto hostname = it->endpoint().address().to_string();
1445
- auto port = it->endpoint().port();
1446
- CB_LOG_DEBUG("{} connecting to {}:{} (\"{}:{}\"), timeout={}ms",
1447
- log_prefix_,
1448
- hostname,
1449
- port,
1450
- bootstrap_hostname_,
1451
- bootstrap_port_,
1452
- origin_.options().connect_timeout.count());
1453
- connection_deadline_.expires_after(origin_.options().connect_timeout);
1454
- connection_deadline_.async_wait([self = shared_from_this(), hostname, port](const auto timer_ec) {
1455
- if (timer_ec == asio::error::operation_aborted || self->stopped_) {
1456
- return;
1457
- }
1458
- CB_LOG_DEBUG("{} unable to connect to {}:{} (\"{}:{}\") in time, reconnecting",
1459
- self->log_prefix_,
1460
- hostname,
1461
- port,
1462
- self->bootstrap_hostname_,
1463
- self->bootstrap_port_);
1464
- return self->stream_->close([self](std::error_code) { self->initiate_bootstrap(); });
1465
- });
1466
- stream_->async_connect(it->endpoint(),
1467
- std::bind(&mcbp_session_impl::on_connect, shared_from_this(), std::placeholders::_1, it));
1468
- } else {
1469
- CB_LOG_ERROR("{} no more endpoints left to connect to \"{}:{}\", will try another address",
1470
- log_prefix_,
1471
- bootstrap_hostname_,
1472
- bootstrap_port_);
1473
- if (state_listener_) {
1474
- state_listener_->report_bootstrap_error(fmt::format("{}:{}", bootstrap_hostname_, bootstrap_port_),
1475
- errc::network::no_endpoints_left);
1476
- }
1477
- return initiate_bootstrap();
1478
- }
1628
+ void on_connect(const std::error_code& ec, asio::ip::tcp::resolver::results_type::iterator it)
1629
+ {
1630
+ if (ec == asio::error::operation_aborted || stopped_) {
1631
+ return;
1479
1632
  }
1480
-
1481
- void on_connect(const std::error_code& ec, asio::ip::tcp::resolver::results_type::iterator it)
1482
- {
1483
- if (ec == asio::error::operation_aborted || stopped_) {
1484
- return;
1485
- }
1486
- last_active_ = std::chrono::steady_clock::now();
1487
- if (!stream_->is_open() || ec) {
1633
+ last_active_ = std::chrono::steady_clock::now();
1634
+ if (!stream_->is_open() || ec) {
1488
1635
  #ifdef COUCHBASE_CXX_CLIENT_STATIC_BORINGSSL
1489
- auto error_message = (ec.category() == asio::error::ssl_category)
1490
- ? ERR_error_string(static_cast<std::uint32_t>(ec.value()), nullptr)
1491
- : ec.message();
1636
+ auto error_message = (ec.category() == asio::error::ssl_category)
1637
+ ? ERR_error_string(static_cast<std::uint32_t>(ec.value()), nullptr)
1638
+ : ec.message();
1492
1639
  #else
1493
- auto error_message = (ec.category() == asio::error::ssl_category)
1494
- ? ERR_error_string(static_cast<unsigned long>(ec.value()), nullptr)
1495
- : ec.message();
1640
+ auto error_message = (ec.category() == asio::error::ssl_category)
1641
+ ? ERR_error_string(static_cast<unsigned long>(ec.value()), nullptr)
1642
+ : ec.message();
1496
1643
  #endif
1497
- CB_LOG_WARNING("{} unable to connect to {}:{}: {} ({}){}. is_open={}",
1498
- log_prefix_,
1499
- it->endpoint().address().to_string(),
1500
- it->endpoint().port(),
1501
- ec.value(),
1502
- error_message,
1503
- (ec == asio::error::connection_refused) ? ", check server ports and cluster encryption setting" : "",
1504
- stream_->is_open());
1505
- if (stream_->is_open()) {
1506
- stream_->close(std::bind(&mcbp_session_impl::do_connect, shared_from_this(), ++it));
1507
- } else {
1508
- do_connect(++it);
1509
- }
1510
- } else {
1511
- stream_->set_options();
1512
- connection_endpoints_ = { it->endpoint(), stream_->local_endpoint() };
1513
- CB_LOG_DEBUG("{} connected to {}:{}", log_prefix_, connection_endpoints_.remote_address, connection_endpoints_.remote.port());
1514
- log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}/{}:{}>",
1515
- client_id_,
1516
- id_,
1517
- stream_->log_prefix(),
1518
- bucket_name_.value_or("-"),
1519
- bootstrap_hostname_,
1520
- connection_endpoints_.remote_address,
1521
- connection_endpoints_.remote.port());
1522
- parser_.reset();
1523
- bootstrap_handler_ = std::make_shared<bootstrap_handler>(shared_from_this());
1524
- connection_deadline_.cancel();
1525
- }
1644
+ CB_LOG_WARNING("{} unable to connect to {}:{}: {} ({}){}. is_open={}",
1645
+ log_prefix_,
1646
+ it->endpoint().address().to_string(),
1647
+ it->endpoint().port(),
1648
+ ec.value(),
1649
+ error_message,
1650
+ (ec == asio::error::connection_refused)
1651
+ ? ", check server ports and cluster encryption setting"
1652
+ : "",
1653
+ stream_->is_open());
1654
+ if (stream_->is_open()) {
1655
+ stream_->close(std::bind(&mcbp_session_impl::do_connect, shared_from_this(), ++it));
1656
+ } else {
1657
+ do_connect(++it);
1658
+ }
1659
+ } else {
1660
+ stream_->set_options();
1661
+ connection_endpoints_ = { it->endpoint(), stream_->local_endpoint() };
1662
+ CB_LOG_DEBUG("{} connected to {}:{}",
1663
+ log_prefix_,
1664
+ connection_endpoints_.remote_address,
1665
+ connection_endpoints_.remote.port());
1666
+ log_prefix_ = fmt::format("[{}/{}/{}/{}] <{}/{}:{}>",
1667
+ client_id_,
1668
+ id_,
1669
+ stream_->log_prefix(),
1670
+ bucket_name_.value_or("-"),
1671
+ bootstrap_hostname_,
1672
+ connection_endpoints_.remote_address,
1673
+ connection_endpoints_.remote.port());
1674
+ parser_.reset();
1675
+ bootstrap_handler_ = std::make_shared<bootstrap_handler>(shared_from_this());
1676
+ connection_deadline_.cancel();
1526
1677
  }
1678
+ }
1527
1679
 
1528
- void check_deadline(std::error_code ec)
1529
- {
1530
- if (ec == asio::error::operation_aborted || stopped_) {
1531
- return;
1532
- }
1533
- if (connection_deadline_.expiry() <= asio::steady_timer::clock_type::now()) {
1534
- stream_->close([](std::error_code) {});
1535
- }
1536
- connection_deadline_.async_wait(std::bind(&mcbp_session_impl::check_deadline, shared_from_this(), std::placeholders::_1));
1680
+ void check_deadline(std::error_code ec)
1681
+ {
1682
+ if (ec == asio::error::operation_aborted || stopped_) {
1683
+ return;
1537
1684
  }
1538
-
1539
- void do_read()
1540
- {
1541
- if (stopped_ || reading_ || !stream_->is_open()) {
1685
+ if (connection_deadline_.expiry() <= asio::steady_timer::clock_type::now()) {
1686
+ stream_->close([](std::error_code) {
1687
+ });
1688
+ }
1689
+ connection_deadline_.async_wait(
1690
+ std::bind(&mcbp_session_impl::check_deadline, shared_from_this(), std::placeholders::_1));
1691
+ }
1692
+
1693
+ void do_read()
1694
+ {
1695
+ if (stopped_ || reading_ || !stream_->is_open()) {
1696
+ return;
1697
+ }
1698
+ reading_ = true;
1699
+ stream_->async_read_some(
1700
+ asio::buffer(input_buffer_),
1701
+ [self = shared_from_this(), stream_id = stream_->id()](std::error_code ec,
1702
+ std::size_t bytes_transferred) {
1703
+ if (ec == asio::error::operation_aborted || self->stopped_) {
1704
+ CB_LOG_PROTOCOL("[MCBP, IN] host=\"{}\", port={}, rc={}, bytes_received={}",
1705
+ self->connection_endpoints_.remote_address,
1706
+ self->connection_endpoints_.remote.port(),
1707
+ ec ? ec.message() : "ok",
1708
+ bytes_transferred);
1709
+ return;
1710
+ } else {
1711
+ CB_LOG_PROTOCOL("[MCBP, IN] host=\"{}\", port={}, rc={}, bytes_received={}{:a}",
1712
+ self->connection_endpoints_.remote_address,
1713
+ self->connection_endpoints_.remote.port(),
1714
+ ec ? ec.message() : "ok",
1715
+ bytes_transferred,
1716
+ spdlog::to_hex(self->input_buffer_.data(),
1717
+ self->input_buffer_.data() +
1718
+ static_cast<std::ptrdiff_t>(bytes_transferred)));
1719
+ }
1720
+ self->last_active_ = std::chrono::steady_clock::now();
1721
+ if (ec) {
1722
+ if (stream_id != self->stream_->id()) {
1723
+ CB_LOG_ERROR(
1724
+ R"({} ignore IO error while reading from the socket: {} ({}), old_id="{}", new_id="{}")",
1725
+ self->log_prefix_,
1726
+ ec.value(),
1727
+ ec.message(),
1728
+ stream_id,
1729
+ self->stream_->id());
1542
1730
  return;
1543
- }
1544
- reading_ = true;
1545
- stream_->async_read_some(
1546
- asio::buffer(input_buffer_),
1547
- [self = shared_from_this(), stream_id = stream_->id()](std::error_code ec, std::size_t bytes_transferred) {
1548
- if (ec == asio::error::operation_aborted || self->stopped_) {
1549
- CB_LOG_PROTOCOL("[MCBP, IN] host=\"{}\", port={}, rc={}, bytes_received={}",
1550
- self->connection_endpoints_.remote_address,
1551
- self->connection_endpoints_.remote.port(),
1552
- ec ? ec.message() : "ok",
1553
- bytes_transferred);
1554
- return;
1555
- } else {
1556
- CB_LOG_PROTOCOL("[MCBP, IN] host=\"{}\", port={}, rc={}, bytes_received={}{:a}",
1557
- self->connection_endpoints_.remote_address,
1558
- self->connection_endpoints_.remote.port(),
1559
- ec ? ec.message() : "ok",
1560
- bytes_transferred,
1561
- spdlog::to_hex(self->input_buffer_.data(),
1562
- self->input_buffer_.data() + static_cast<std::ptrdiff_t>(bytes_transferred)));
1563
- }
1564
- self->last_active_ = std::chrono::steady_clock::now();
1565
- if (ec) {
1566
- if (stream_id != self->stream_->id()) {
1567
- CB_LOG_ERROR(R"({} ignore IO error while reading from the socket: {} ({}), old_id="{}", new_id="{}")",
1568
- self->log_prefix_,
1569
- ec.value(),
1570
- ec.message(),
1571
- stream_id,
1572
- self->stream_->id());
1573
- return;
1574
- }
1575
- CB_LOG_ERROR(R"({} IO error while reading from the socket("{}"): {} ({}))",
1576
- self->log_prefix_,
1577
- self->stream_->id(),
1578
- ec.value(),
1579
- ec.message());
1580
- return self->stop(retry_reason::socket_closed_while_in_flight);
1731
+ }
1732
+ CB_LOG_ERROR(R"({} IO error while reading from the socket("{}"): {} ({}))",
1733
+ self->log_prefix_,
1734
+ self->stream_->id(),
1735
+ ec.value(),
1736
+ ec.message());
1737
+ return self->stop(retry_reason::socket_closed_while_in_flight);
1738
+ }
1739
+ self->parser_.feed(self->input_buffer_.data(),
1740
+ self->input_buffer_.data() +
1741
+ static_cast<std::ptrdiff_t>(bytes_transferred));
1742
+
1743
+ for (;;) {
1744
+ mcbp_message msg{};
1745
+ switch (self->parser_.next(msg)) {
1746
+ case mcbp_parser::result::ok: {
1747
+ if (self->stopped_) {
1748
+ return;
1581
1749
  }
1582
- self->parser_.feed(self->input_buffer_.data(), self->input_buffer_.data() + static_cast<std::ptrdiff_t>(bytes_transferred));
1583
-
1584
- for (;;) {
1585
- mcbp_message msg{};
1586
- switch (self->parser_.next(msg)) {
1587
- case mcbp_parser::result::ok: {
1588
- if (self->stopped_) {
1589
- return;
1590
- }
1591
- CB_LOG_TRACE("{} MCBP recv {}", self->log_prefix_, mcbp_header_view(msg.header_data()));
1592
- if (self->bootstrapped_) {
1593
- self->handler_->handle(std::move(msg));
1594
- } else if (self->bootstrap_handler_) {
1595
- self->bootstrap_handler_->handle(std::move(msg));
1596
- }
1597
- if (self->stopped_) {
1598
- return;
1599
- }
1600
- } break;
1601
- case mcbp_parser::result::need_data:
1602
- self->reading_ = false;
1603
- if (!self->stopped_ && self->stream_->is_open()) {
1604
- self->do_read();
1605
- }
1606
- return;
1607
- case mcbp_parser::result::failure:
1608
- return self->stop(retry_reason::key_value_temporary_failure);
1609
- }
1750
+ CB_LOG_TRACE(
1751
+ "{} MCBP recv {}", self->log_prefix_, mcbp_header_view(msg.header_data()));
1752
+ if (self->bootstrapped_) {
1753
+ self->handler_->handle(std::move(msg));
1754
+ } else if (self->bootstrap_handler_) {
1755
+ self->bootstrap_handler_->handle(std::move(msg));
1610
1756
  }
1611
- });
1612
- }
1613
-
1614
- void do_write()
1615
- {
1616
- if (stopped_ || !stream_->is_open()) {
1617
- return;
1618
- }
1619
- std::scoped_lock lock(writing_buffer_mutex_, output_buffer_mutex_);
1620
- if (!writing_buffer_.empty() || output_buffer_.empty()) {
1621
- return;
1622
- }
1623
- std::swap(writing_buffer_, output_buffer_);
1624
- std::vector<asio::const_buffer> buffers;
1625
- buffers.reserve(writing_buffer_.size());
1626
- for (auto& buf : writing_buffer_) {
1627
- CB_LOG_PROTOCOL("[MCBP, OUT] host=\"{}\", port={}, buffer_size={}{:a}",
1628
- connection_endpoints_.remote_address,
1629
- connection_endpoints_.remote.port(),
1630
- buf.size(),
1631
- spdlog::to_hex(buf));
1632
- buffers.emplace_back(asio::buffer(buf));
1633
- }
1634
- stream_->async_write(buffers, [self = shared_from_this()](std::error_code ec, std::size_t bytes_transferred) {
1635
- CB_LOG_PROTOCOL("[MCBP, OUT] host=\"{}\", port={}, rc={}, bytes_sent={}",
1636
- self->connection_endpoints_.remote_address,
1637
- self->connection_endpoints_.remote.port(),
1638
- ec ? ec.message() : "ok",
1639
- bytes_transferred);
1640
- if (ec == asio::error::operation_aborted || self->stopped_) {
1757
+ if (self->stopped_) {
1641
1758
  return;
1642
- }
1643
- self->last_active_ = std::chrono::steady_clock::now();
1644
-
1645
- if (ec) {
1646
- CB_LOG_ERROR(R"({} IO error while writing to the socket("{}"): {} ({}))",
1647
- self->log_prefix_,
1648
- self->stream_->id(),
1649
- ec.value(),
1650
- ec.message());
1651
- return self->stop(retry_reason::socket_closed_while_in_flight);
1652
- }
1653
- {
1654
- std::scoped_lock inner_lock(self->writing_buffer_mutex_);
1655
- self->writing_buffer_.clear();
1656
- }
1657
- asio::post(asio::bind_executor(self->ctx_, [self]() {
1658
- self->do_write();
1759
+ }
1760
+ } break;
1761
+ case mcbp_parser::result::need_data:
1762
+ self->reading_ = false;
1763
+ if (!self->stopped_ && self->stream_->is_open()) {
1659
1764
  self->do_read();
1660
- }));
1661
- });
1765
+ }
1766
+ return;
1767
+ case mcbp_parser::result::failure:
1768
+ return self->stop(retry_reason::key_value_temporary_failure);
1769
+ }
1770
+ }
1771
+ });
1772
+ }
1773
+
1774
+ void do_write()
1775
+ {
1776
+ if (stopped_ || !stream_->is_open()) {
1777
+ return;
1778
+ }
1779
+ std::scoped_lock lock(writing_buffer_mutex_, output_buffer_mutex_);
1780
+ if (!writing_buffer_.empty() || output_buffer_.empty()) {
1781
+ return;
1662
1782
  }
1783
+ std::swap(writing_buffer_, output_buffer_);
1784
+ std::vector<asio::const_buffer> buffers;
1785
+ buffers.reserve(writing_buffer_.size());
1786
+ for (auto& buf : writing_buffer_) {
1787
+ CB_LOG_PROTOCOL("[MCBP, OUT] host=\"{}\", port={}, buffer_size={}{:a}",
1788
+ connection_endpoints_.remote_address,
1789
+ connection_endpoints_.remote.port(),
1790
+ buf.size(),
1791
+ spdlog::to_hex(buf));
1792
+ buffers.emplace_back(asio::buffer(buf));
1793
+ }
1794
+ stream_->async_write(
1795
+ buffers, [self = shared_from_this()](std::error_code ec, std::size_t bytes_transferred) {
1796
+ CB_LOG_PROTOCOL("[MCBP, OUT] host=\"{}\", port={}, rc={}, bytes_sent={}",
1797
+ self->connection_endpoints_.remote_address,
1798
+ self->connection_endpoints_.remote.port(),
1799
+ ec ? ec.message() : "ok",
1800
+ bytes_transferred);
1801
+ if (ec == asio::error::operation_aborted || self->stopped_) {
1802
+ return;
1803
+ }
1804
+ self->last_active_ = std::chrono::steady_clock::now();
1663
1805
 
1664
- const std::string client_id_;
1665
- const std::string id_{ uuid::to_string(uuid::random()) };
1666
- asio::io_context& ctx_;
1667
- asio::ip::tcp::resolver resolver_;
1668
- std::unique_ptr<stream_impl> stream_;
1669
- asio::steady_timer bootstrap_deadline_;
1670
- asio::steady_timer connection_deadline_;
1671
- asio::steady_timer retry_backoff_;
1672
- asio::steady_timer ping_deadline_;
1673
- couchbase::core::origin origin_;
1674
- std::optional<std::string> bucket_name_;
1675
- mcbp_parser parser_;
1676
- std::shared_ptr<bootstrap_handler> bootstrap_handler_{ nullptr };
1677
- std::optional<std::string> last_bootstrap_error_message_;
1678
- std::shared_ptr<message_handler> handler_{ nullptr };
1679
- utils::movable_function<void(std::error_code, const topology::configuration&)> bootstrap_callback_{};
1680
- std::mutex command_handlers_mutex_{};
1681
- std::map<std::uint32_t, command_handler> command_handlers_{};
1682
- std::vector<std::shared_ptr<config_listener>> config_listeners_{};
1683
- utils::movable_function<void()> on_stop_handler_{};
1684
-
1685
- std::atomic_bool bootstrapped_{ false };
1686
- std::atomic_bool stopped_{ false };
1687
- bool authenticated_{ false };
1688
- bool bucket_selected_{ false };
1689
- bool supports_gcccp_{ true };
1690
- bool retry_bootstrap_on_bucket_not_found_{ false };
1691
-
1692
- std::atomic<std::uint32_t> opaque_{ 0 };
1693
-
1694
- std::array<std::byte, 16384> input_buffer_{};
1695
- std::vector<std::vector<std::byte>> output_buffer_{};
1696
- std::vector<std::vector<std::byte>> pending_buffer_{};
1697
- std::vector<std::vector<std::byte>> writing_buffer_{};
1698
- std::mutex output_buffer_mutex_{};
1699
- std::mutex pending_buffer_mutex_{};
1700
- std::mutex writing_buffer_mutex_{};
1701
- std::string bootstrap_hostname_{};
1702
- std::string bootstrap_port_{};
1703
- std::string bootstrap_address_{};
1704
- std::uint16_t bootstrap_port_number_{};
1705
- connection_endpoints connection_endpoints_{ {}, {} };
1706
- asio::ip::tcp::resolver::results_type endpoints_;
1707
- std::vector<protocol::hello_feature> supported_features_;
1708
- std::optional<topology::configuration> config_;
1709
- mutable std::mutex config_mutex_{};
1710
- std::atomic_bool configured_{ false };
1711
- std::optional<error_map> error_map_;
1712
- collection_cache collection_cache_;
1713
-
1714
- const bool is_tls_;
1715
- std::shared_ptr<impl::bootstrap_state_listener> state_listener_{ nullptr };
1716
-
1717
- mcbp::codec codec_;
1718
- std::recursive_mutex operations_mutex_{};
1719
- std::map<std::uint32_t, std::pair<std::shared_ptr<mcbp::queue_request>, std::shared_ptr<response_handler>>> operations_{};
1720
-
1721
- std::atomic_bool reading_{ false };
1722
-
1723
- std::string log_prefix_{};
1724
- std::chrono::time_point<std::chrono::steady_clock> last_active_{};
1725
- std::atomic<diag::endpoint_state> state_{ diag::endpoint_state::disconnected };
1806
+ if (ec) {
1807
+ CB_LOG_ERROR(R"({} IO error while writing to the socket("{}"): {} ({}))",
1808
+ self->log_prefix_,
1809
+ self->stream_->id(),
1810
+ ec.value(),
1811
+ ec.message());
1812
+ return self->stop(retry_reason::socket_closed_while_in_flight);
1813
+ }
1814
+ {
1815
+ std::scoped_lock inner_lock(self->writing_buffer_mutex_);
1816
+ self->writing_buffer_.clear();
1817
+ }
1818
+ asio::post(asio::bind_executor(self->ctx_, [self]() {
1819
+ self->do_write();
1820
+ self->do_read();
1821
+ }));
1822
+ });
1823
+ }
1824
+
1825
+ const std::string client_id_;
1826
+ const std::string id_{ uuid::to_string(uuid::random()) };
1827
+ asio::io_context& ctx_;
1828
+ asio::ip::tcp::resolver resolver_;
1829
+ std::unique_ptr<stream_impl> stream_;
1830
+ asio::steady_timer bootstrap_deadline_;
1831
+ asio::steady_timer connection_deadline_;
1832
+ asio::steady_timer retry_backoff_;
1833
+ asio::steady_timer ping_deadline_;
1834
+ couchbase::core::origin origin_;
1835
+ std::optional<std::string> bucket_name_;
1836
+ mcbp_parser parser_;
1837
+ std::shared_ptr<bootstrap_handler> bootstrap_handler_{ nullptr };
1838
+ std::optional<std::string> last_bootstrap_error_message_;
1839
+ std::shared_ptr<message_handler> handler_{ nullptr };
1840
+ utils::movable_function<void(std::error_code, const topology::configuration&)>
1841
+ bootstrap_callback_{};
1842
+ std::mutex command_handlers_mutex_{};
1843
+ std::map<std::uint32_t, command_handler> command_handlers_{};
1844
+ std::vector<std::shared_ptr<config_listener>> config_listeners_{};
1845
+ utils::movable_function<void()> on_stop_handler_{};
1846
+
1847
+ std::atomic_bool bootstrapped_{ false };
1848
+ std::atomic_bool stopped_{ false };
1849
+ bool authenticated_{ false };
1850
+ bool bucket_selected_{ false };
1851
+ bool supports_gcccp_{ true };
1852
+ bool retry_bootstrap_on_bucket_not_found_{ false };
1853
+
1854
+ std::atomic<std::uint32_t> opaque_{ 0 };
1855
+
1856
+ std::array<std::byte, 16384> input_buffer_{};
1857
+ std::vector<std::vector<std::byte>> output_buffer_{};
1858
+ std::vector<std::vector<std::byte>> pending_buffer_{};
1859
+ std::vector<std::vector<std::byte>> writing_buffer_{};
1860
+ std::mutex output_buffer_mutex_{};
1861
+ std::mutex pending_buffer_mutex_{};
1862
+ std::mutex writing_buffer_mutex_{};
1863
+ std::string bootstrap_hostname_{};
1864
+ std::string bootstrap_port_{};
1865
+ std::string bootstrap_address_{};
1866
+ std::uint16_t bootstrap_port_number_{};
1867
+ connection_endpoints connection_endpoints_{ {}, {} };
1868
+ asio::ip::tcp::resolver::results_type endpoints_;
1869
+ std::vector<protocol::hello_feature> supported_features_;
1870
+ std::optional<topology::configuration> config_;
1871
+ mutable std::mutex config_mutex_{};
1872
+ std::atomic_bool configured_{ false };
1873
+ std::optional<error_map> error_map_;
1874
+ collection_cache collection_cache_;
1875
+
1876
+ const bool is_tls_;
1877
+ std::shared_ptr<impl::bootstrap_state_listener> state_listener_{ nullptr };
1878
+
1879
+ mcbp::codec codec_;
1880
+ std::recursive_mutex operations_mutex_{};
1881
+ std::map<std::uint32_t,
1882
+ std::pair<std::shared_ptr<mcbp::queue_request>, std::shared_ptr<response_handler>>>
1883
+ operations_{};
1884
+
1885
+ std::atomic_bool reading_{ false };
1886
+
1887
+ std::string log_prefix_{};
1888
+ std::chrono::time_point<std::chrono::steady_clock> last_active_{};
1889
+ std::atomic<diag::endpoint_state> state_{ diag::endpoint_state::disconnected };
1726
1890
  };
1727
1891
 
1728
1892
  mcbp_session::mcbp_session(std::string client_id,
@@ -1757,196 +1921,202 @@ mcbp_session::mcbp_session(std::string client_id,
1757
1921
  {
1758
1922
  }
1759
1923
 
1760
- const std::string&
1761
- mcbp_session::log_prefix() const
1924
+ auto
1925
+ mcbp_session::log_prefix() const -> const std::string&
1762
1926
  {
1763
- return impl_->log_prefix();
1927
+ return impl_->log_prefix();
1764
1928
  }
1765
1929
 
1766
- bool
1767
- mcbp_session::cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason)
1930
+ auto
1931
+ mcbp_session::cancel(std::uint32_t opaque, std::error_code ec, retry_reason reason) -> bool
1768
1932
  {
1769
- return impl_->cancel(opaque, ec, reason);
1933
+ return impl_->cancel(opaque, ec, reason);
1770
1934
  }
1771
1935
 
1772
- bool
1773
- mcbp_session::is_stopped() const
1936
+ auto
1937
+ mcbp_session::is_stopped() const -> bool
1774
1938
  {
1775
- return impl_->is_stopped();
1939
+ return impl_->is_stopped();
1776
1940
  }
1777
1941
 
1778
- bool
1779
- mcbp_session::is_bootstrapped() const
1942
+ auto
1943
+ mcbp_session::is_bootstrapped() const -> bool
1780
1944
  {
1781
- return impl_->is_bootstrapped();
1945
+ return impl_->is_bootstrapped();
1782
1946
  }
1783
1947
 
1784
- std::uint32_t
1785
- mcbp_session::next_opaque()
1948
+ auto
1949
+ mcbp_session::next_opaque() -> std::uint32_t
1786
1950
  {
1787
- return impl_->next_opaque();
1951
+ return impl_->next_opaque();
1788
1952
  }
1789
1953
 
1790
- std::optional<std::uint32_t>
1791
- mcbp_session::get_collection_uid(const std::string& collection_path)
1954
+ auto
1955
+ mcbp_session::get_collection_uid(const std::string& collection_path) -> std::optional<std::uint32_t>
1792
1956
  {
1793
- return impl_->get_collection_uid(collection_path);
1957
+ return impl_->get_collection_uid(collection_path);
1794
1958
  }
1795
1959
 
1796
- mcbp_context
1797
- mcbp_session::context() const
1960
+ auto
1961
+ mcbp_session::context() const -> mcbp_context
1798
1962
  {
1799
- return impl_->context();
1963
+ return impl_->context();
1800
1964
  }
1801
1965
 
1802
- bool
1803
- mcbp_session::supports_feature(protocol::hello_feature feature)
1966
+ auto
1967
+ mcbp_session::supports_feature(protocol::hello_feature feature) -> bool
1804
1968
  {
1805
- return impl_->supports_feature(feature);
1969
+ return impl_->supports_feature(feature);
1806
1970
  }
1807
1971
 
1808
- const std::string&
1809
- mcbp_session::id() const
1972
+ auto
1973
+ mcbp_session::id() const -> const std::string&
1810
1974
  {
1811
- return impl_->id();
1975
+ return impl_->id();
1812
1976
  }
1813
1977
 
1814
- const std::string&
1815
- mcbp_session::bootstrap_address() const
1978
+ auto
1979
+ mcbp_session::bootstrap_address() const -> const std::string&
1816
1980
  {
1817
- return impl_->bootstrap_address();
1981
+ return impl_->bootstrap_address();
1818
1982
  }
1819
1983
 
1820
- std::string
1821
- mcbp_session::remote_address() const
1984
+ auto
1985
+ mcbp_session::remote_address() const -> std::string
1822
1986
  {
1823
- return impl_->remote_address();
1987
+ return impl_->remote_address();
1824
1988
  }
1825
1989
 
1826
- std::string
1827
- mcbp_session::local_address() const
1990
+ auto
1991
+ mcbp_session::local_address() const -> std::string
1828
1992
  {
1829
- return impl_->local_address();
1993
+ return impl_->local_address();
1830
1994
  }
1831
1995
 
1832
- const std::string&
1833
- mcbp_session::bootstrap_hostname() const
1996
+ auto
1997
+ mcbp_session::bootstrap_hostname() const -> const std::string&
1834
1998
  {
1835
- return impl_->bootstrap_hostname();
1999
+ return impl_->bootstrap_hostname();
1836
2000
  }
1837
2001
 
1838
- const std::string&
1839
- mcbp_session::bootstrap_port() const
2002
+ auto
2003
+ mcbp_session::bootstrap_port() const -> const std::string&
1840
2004
  {
1841
- return impl_->bootstrap_port();
2005
+ return impl_->bootstrap_port();
1842
2006
  }
1843
2007
 
1844
- std::uint16_t
1845
- mcbp_session::bootstrap_port_number() const
2008
+ auto
2009
+ mcbp_session::bootstrap_port_number() const -> std::uint16_t
1846
2010
  {
1847
- return impl_->bootstrap_port_number();
2011
+ return impl_->bootstrap_port_number();
1848
2012
  }
1849
2013
 
1850
2014
  void
1851
- mcbp_session::write_and_subscribe(std::uint32_t opaque, std::vector<std::byte>&& data, command_handler&& handler)
2015
+ mcbp_session::write_and_subscribe(std::uint32_t opaque,
2016
+ std::vector<std::byte>&& data,
2017
+ command_handler&& handler)
1852
2018
  {
1853
- return impl_->write_and_subscribe(opaque, std::move(data), std::move(handler));
2019
+ return impl_->write_and_subscribe(opaque, std::move(data), std::move(handler));
1854
2020
  }
1855
2021
 
1856
2022
  void
1857
- mcbp_session::bootstrap(utils::movable_function<void(std::error_code, topology::configuration)>&& handler, bool retry_on_bucket_not_found)
2023
+ mcbp_session::bootstrap(
2024
+ utils::movable_function<void(std::error_code, topology::configuration)>&& handler,
2025
+ bool retry_on_bucket_not_found)
1858
2026
  {
1859
- return impl_->bootstrap(std::move(handler), retry_on_bucket_not_found);
2027
+ return impl_->bootstrap(std::move(handler), retry_on_bucket_not_found);
1860
2028
  }
1861
2029
 
1862
2030
  void
1863
2031
  mcbp_session::on_stop(utils::movable_function<void()> handler)
1864
2032
  {
1865
- return impl_->on_stop(std::move(handler));
2033
+ return impl_->on_stop(std::move(handler));
1866
2034
  }
1867
2035
 
1868
2036
  void
1869
2037
  mcbp_session::stop(retry_reason reason)
1870
2038
  {
1871
- return impl_->stop(reason);
2039
+ return impl_->stop(reason);
1872
2040
  }
1873
2041
 
1874
- std::size_t
1875
- mcbp_session::index() const
2042
+ auto
2043
+ mcbp_session::index() const -> std::size_t
1876
2044
  {
1877
- return impl_->index();
2045
+ return impl_->index();
1878
2046
  }
1879
2047
 
1880
- std::optional<topology::configuration>
1881
- mcbp_session::config() const
2048
+ auto
2049
+ mcbp_session::config() const -> std::optional<topology::configuration>
1882
2050
  {
1883
- return impl_->config();
2051
+ return impl_->config();
1884
2052
  }
1885
2053
 
1886
- bool
1887
- mcbp_session::has_config() const
2054
+ auto
2055
+ mcbp_session::has_config() const -> bool
1888
2056
  {
1889
- return impl_->has_config();
2057
+ return impl_->has_config();
1890
2058
  }
1891
2059
 
1892
- diag::endpoint_diag_info
1893
- mcbp_session::diag_info() const
2060
+ auto
2061
+ mcbp_session::diag_info() const -> diag::endpoint_diag_info
1894
2062
  {
1895
- return impl_->diag_info();
2063
+ return impl_->diag_info();
1896
2064
  }
1897
2065
 
1898
2066
  void
1899
2067
  mcbp_session::on_configuration_update(std::shared_ptr<config_listener> handler)
1900
2068
  {
1901
- return impl_->on_configuration_update(std::move(handler));
2069
+ return impl_->on_configuration_update(std::move(handler));
1902
2070
  }
1903
2071
 
1904
- std::vector<protocol::hello_feature>
1905
- mcbp_session::supported_features() const
2072
+ auto
2073
+ mcbp_session::supported_features() const -> std::vector<protocol::hello_feature>
1906
2074
  {
1907
- return impl_->supported_features();
2075
+ return impl_->supported_features();
1908
2076
  }
1909
2077
 
1910
2078
  void
1911
- mcbp_session::ping(std::shared_ptr<diag::ping_reporter> handler, std::optional<std::chrono::milliseconds> timeout) const
2079
+ mcbp_session::ping(std::shared_ptr<diag::ping_reporter> handler,
2080
+ std::optional<std::chrono::milliseconds> timeout) const
1912
2081
  {
1913
- return impl_->ping(std::move(handler), std::move(timeout));
2082
+ return impl_->ping(std::move(handler), std::move(timeout));
1914
2083
  }
1915
2084
 
1916
- bool
1917
- mcbp_session::supports_gcccp() const
2085
+ auto
2086
+ mcbp_session::supports_gcccp() const -> bool
1918
2087
  {
1919
- return impl_->supports_gcccp();
2088
+ return impl_->supports_gcccp();
1920
2089
  }
1921
2090
 
1922
- std::optional<key_value_error_map_info>
1923
- mcbp_session::decode_error_code(std::uint16_t code)
2091
+ auto
2092
+ mcbp_session::decode_error_code(std::uint16_t code) -> std::optional<key_value_error_map_info>
1924
2093
  {
1925
- return impl_->decode_error_code(code);
2094
+ return impl_->decode_error_code(code);
1926
2095
  }
1927
2096
 
1928
2097
  void
1929
2098
  mcbp_session::handle_not_my_vbucket(const mcbp_message& msg) const
1930
2099
  {
1931
- return impl_->handle_not_my_vbucket(msg);
2100
+ return impl_->handle_not_my_vbucket(msg);
1932
2101
  }
1933
2102
 
1934
2103
  void
1935
2104
  mcbp_session::update_collection_uid(const std::string& path, std::uint32_t uid)
1936
2105
  {
1937
- return impl_->update_collection_uid(path, uid);
2106
+ return impl_->update_collection_uid(path, uid);
1938
2107
  }
1939
2108
 
1940
2109
  void
1941
- mcbp_session::write_and_subscribe(std::shared_ptr<mcbp::queue_request> request, std::shared_ptr<response_handler> handler)
2110
+ mcbp_session::write_and_subscribe(std::shared_ptr<mcbp::queue_request> request,
2111
+ std::shared_ptr<response_handler> handler)
1942
2112
  {
1943
- return impl_->write_and_subscribe(std::move(request), std::move(handler));
2113
+ return impl_->write_and_subscribe(std::move(request), std::move(handler));
1944
2114
  }
1945
2115
 
1946
2116
  void
1947
2117
  mcbp_session::write_and_flush(std::vector<std::byte>&& buffer)
1948
2118
  {
1949
- return impl_->write_and_flush(std::move(buffer));
2119
+ return impl_->write_and_flush(std::move(buffer));
1950
2120
  }
1951
2121
 
1952
2122
  } // namespace couchbase::core::io