couchbase 3.5.1 → 3.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/ext/0001-fix-build-for-mingw-w64-ucrt-x86_64-toolchain.patch +40 -0
- data/ext/CMakeLists.txt +22 -2
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/any_completion_executor.hpp +336 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/any_completion_handler.hpp +822 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/any_io_executor.hpp +351 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/append.hpp +65 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/as_tuple.hpp +126 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associated_allocator.hpp +214 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associated_cancellation_slot.hpp +221 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associated_executor.hpp +235 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associated_immediate_executor.hpp +280 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/associator.hpp +35 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/async_result.hpp +942 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/awaitable.hpp +142 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_datagram_socket.hpp +1362 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_deadline_timer.hpp +710 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_file.hpp +824 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_io_object.hpp +286 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_random_access_file.hpp +689 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_raw_socket.hpp +1356 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_readable_pipe.hpp +626 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_seq_packet_socket.hpp +823 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_serial_port.hpp +987 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_signal_set.hpp +648 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_socket.hpp +1936 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_socket_acceptor.hpp +2708 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_socket_iostream.hpp +331 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_socket_streambuf.hpp +642 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_stream_file.hpp +744 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_stream_socket.hpp +1163 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_streambuf.hpp +450 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_streambuf_fwd.hpp +36 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_waitable_timer.hpp +824 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/basic_writable_pipe.hpp +622 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/bind_allocator.hpp +530 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/bind_cancellation_slot.hpp +544 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/bind_executor.hpp +582 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/bind_immediate_executor.hpp +549 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffer.hpp +2751 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffer_registration.hpp +318 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_read_stream.hpp +273 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_read_stream_fwd.hpp +25 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_stream.hpp +292 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_stream_fwd.hpp +25 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_write_stream.hpp +265 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffered_write_stream_fwd.hpp +25 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/buffers_iterator.hpp +521 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/cancellation_signal.hpp +245 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/cancellation_state.hpp +235 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/cancellation_type.hpp +157 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/co_spawn.hpp +523 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/completion_condition.hpp +218 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/compose.hpp +319 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/connect.hpp +1180 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/connect_pipe.hpp +83 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/consign.hpp +75 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/coroutine.hpp +329 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/deadline_timer.hpp +38 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/defer.hpp +218 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/deferred.hpp +715 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detached.hpp +105 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/array.hpp +30 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/array_fwd.hpp +32 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/assert.hpp +32 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/atomic_count.hpp +59 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/base_from_cancellation_state.hpp +164 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/base_from_completion_cond.hpp +69 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/bind_handler.hpp +711 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/blocking_executor_op.hpp +107 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/buffer_resize_guard.hpp +66 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +837 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/buffered_stream_storage.hpp +126 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/call_stack.hpp +125 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/chrono.hpp +45 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/chrono_time_traits.hpp +190 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/completion_handler.hpp +88 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/composed_work.hpp +252 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/concurrency_hint.hpp +94 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +120 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/conditionally_enabled_mutex.hpp +149 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/config.hpp +1422 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/consuming_buffers.hpp +443 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/cstddef.hpp +27 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/cstdint.hpp +40 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/date_time_fwd.hpp +34 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/deadline_timer_service.hpp +335 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/dependent_type.hpp +36 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/descriptor_ops.hpp +179 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/descriptor_read_op.hpp +188 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/descriptor_write_op.hpp +187 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/dev_poll_reactor.hpp +247 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/epoll_reactor.hpp +295 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/event.hpp +46 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/eventfd_select_interrupter.hpp +83 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/exception.hpp +29 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/executor_function.hpp +152 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/executor_op.hpp +84 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/fd_set_adapter.hpp +39 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/fenced_block.hpp +40 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/functional.hpp +33 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/future.hpp +32 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/global.hpp +50 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +225 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_cont_helpers.hpp +45 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_tracking.hpp +264 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_type_requirements.hpp +553 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/handler_work.hpp +511 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/hash_map.hpp +331 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/buffer_sequence_adapter.ipp +118 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +991 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/dev_poll_reactor.hpp +111 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/dev_poll_reactor.ipp +469 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/epoll_reactor.hpp +109 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/epoll_reactor.ipp +826 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp +171 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/handler_tracking.ipp +398 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_descriptor_service.ipp +205 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_file_service.ipp +140 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_service.hpp +112 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_service.ipp +914 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/io_uring_socket_service_base.ipp +249 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/kqueue_reactor.hpp +113 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/kqueue_reactor.ipp +608 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/null_event.ipp +74 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/pipe_select_interrupter.ipp +129 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_event.ipp +63 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_mutex.ipp +46 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_serial_port_service.ipp +168 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_thread.ipp +84 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp +46 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +230 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +310 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +158 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/scheduler.ipp +675 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/select_reactor.hpp +124 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/select_reactor.ipp +400 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/service_registry.hpp +93 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/service_registry.ipp +197 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/signal_set_service.ipp +826 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/socket_ops.ipp +4035 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/socket_select_interrupter.ipp +185 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +346 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/strand_executor_service.ipp +158 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/strand_service.hpp +86 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/strand_service.ipp +202 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/thread_context.ipp +35 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/throw_error.ipp +49 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +97 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/timer_queue_set.ipp +101 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_event.ipp +76 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_file_service.ipp +280 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_handle_service.ipp +619 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +119 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +614 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp +200 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +821 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_mutex.ipp +84 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_object_handle_service.ipp +452 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_static_mutex.ipp +136 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_thread.ipp +150 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/win_tss_ptr.ipp +57 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +626 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.hpp +92 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.ipp +121 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/impl/winsock_init.ipp +82 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/initiate_defer.hpp +207 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/initiate_dispatch.hpp +193 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/initiate_post.hpp +207 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_control.hpp +84 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_object_impl.hpp +177 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_read_at_op.hpp +195 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_read_op.hpp +190 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_service.hpp +687 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_write_at_op.hpp +189 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_descriptor_write_op.hpp +185 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_file_service.hpp +261 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_null_buffers_op.hpp +114 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_operation.hpp +84 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_service.hpp +319 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_accept_op.hpp +280 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_connect_op.hpp +140 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_recv_op.hpp +205 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_recvfrom_op.hpp +206 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_recvmsg_op.hpp +192 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_send_op.hpp +191 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_sendto_op.hpp +194 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_service.hpp +629 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_socket_service_base.hpp +663 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/io_uring_wait_op.hpp +112 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/is_buffer_sequence.hpp +296 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/is_executor.hpp +126 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/keyword_tss_ptr.hpp +70 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/kqueue_reactor.hpp +271 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/local_free_on_block_exit.hpp +59 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/memory.hpp +126 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/mutex.hpp +46 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/non_const_lvalue.hpp +43 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/noncopyable.hpp +43 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_event.hpp +106 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_fenced_block.hpp +47 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_global.hpp +59 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_mutex.hpp +60 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_reactor.hpp +83 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_signal_blocker.hpp +69 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_socket_service.hpp +519 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_static_mutex.hpp +60 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_thread.hpp +67 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/null_tss_ptr.hpp +68 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/object_pool.hpp +171 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/old_win_sdk_compat.hpp +214 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/op_queue.hpp +162 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/operation.hpp +38 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/pipe_select_interrupter.hpp +89 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/pop_options.hpp +157 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_event.hpp +175 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_fd_set_adapter.hpp +118 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_global.hpp +80 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_mutex.hpp +76 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_serial_port_service.hpp +249 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_signal_blocker.hpp +85 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_static_mutex.hpp +64 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_thread.hpp +109 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/posix_tss_ptr.hpp +79 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/push_options.hpp +228 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +566 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +131 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +323 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +162 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +197 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +203 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +184 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +201 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +194 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_service.hpp +633 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +750 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactive_wait_op.hpp +131 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactor.hpp +54 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactor_op.hpp +71 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/reactor_op_queue.hpp +212 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/recycling_allocator.hpp +105 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/regex_fwd.hpp +35 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +140 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolve_op.hpp +45 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolve_query_op.hpp +150 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolver_service.hpp +147 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/resolver_service_base.hpp +158 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scheduler.hpp +241 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scheduler_operation.hpp +78 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scheduler_task.hpp +49 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scheduler_thread_info.hpp +40 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scoped_lock.hpp +101 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/scoped_ptr.hpp +87 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/select_interrupter.hpp +46 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/select_reactor.hpp +291 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/service_registry.hpp +163 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_blocker.hpp +44 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_handler.hpp +90 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_init.hpp +47 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_op.hpp +53 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/signal_set_service.hpp +292 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_holder.hpp +98 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_ops.hpp +375 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_option.hpp +316 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_select_interrupter.hpp +91 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/socket_types.hpp +427 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/source_location.hpp +45 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/static_mutex.hpp +50 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_event.hpp +183 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_fenced_block.hpp +57 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_global.hpp +65 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_mutex.hpp +68 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_static_mutex.hpp +76 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/std_thread.hpp +66 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/strand_executor_service.hpp +173 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/strand_service.hpp +144 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/string_view.hpp +47 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/thread.hpp +58 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/thread_context.hpp +51 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/thread_group.hpp +99 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/thread_info_base.hpp +250 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/throw_error.hpp +62 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/throw_exception.hpp +55 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_queue.hpp +389 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_queue_base.hpp +68 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_queue_ptime.hpp +103 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_queue_set.hpp +66 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_scheduler.hpp +37 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/timer_scheduler_fwd.hpp +42 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/tss_ptr.hpp +69 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/type_traits.hpp +178 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/utility.hpp +83 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/wait_handler.hpp +90 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/wait_op.hpp +49 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_event.hpp +164 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_fd_set_adapter.hpp +149 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_global.hpp +71 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_file_service.hpp +287 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +119 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +431 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +114 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_io_context.hpp +347 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +129 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_operation.hpp +96 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +100 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +171 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_serial_port_service.hpp +233 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +339 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +138 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +126 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +135 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +127 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +120 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +680 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +829 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_thread_info.hpp +34 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +130 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_mutex.hpp +78 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_object_handle_service.hpp +194 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_static_mutex.hpp +74 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_thread.hpp +147 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/win_tss_ptr.hpp +79 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winapp_thread.hpp +124 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/wince_thread.hpp +124 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_async_manager.hpp +305 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_async_op.hpp +65 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_resolve_op.hpp +125 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_resolver_service.hpp +212 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +98 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +119 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +110 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +250 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +362 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_timer_scheduler.hpp +147 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winrt_utils.hpp +106 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/winsock_init.hpp +128 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/work_dispatcher.hpp +143 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/detail/wrapped_handler.hpp +217 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/dispatch.hpp +197 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/error.hpp +389 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/error_code.hpp +39 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/allocator.hpp +278 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/any_executor.hpp +1933 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/bad_executor.hpp +46 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/blocking.hpp +1360 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/blocking_adaptation.hpp +1080 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/context.hpp +191 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/context_as.hpp +190 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/executor.hpp +116 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/impl/bad_executor.ipp +40 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/invocable_archetype.hpp +43 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/mapping.hpp +1002 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/occupancy.hpp +184 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/outstanding_work.hpp +753 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/prefer_only.hpp +328 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution/relationship.hpp +751 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution.hpp +33 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/execution_context.hpp +388 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/executor.hpp +363 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/executor_work_guard.hpp +362 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/append.hpp +36 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/as_single.hpp +132 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/as_tuple.hpp +36 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/awaitable_operators.hpp +536 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/basic_channel.hpp +513 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/basic_concurrent_channel.hpp +513 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/cancellation_condition.hpp +152 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/channel.hpp +70 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/channel_error.hpp +82 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/channel_traits.hpp +301 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/co_composed.hpp +145 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/concurrent_channel.hpp +70 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/deferred.hpp +36 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_handler.hpp +77 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_message.hpp +129 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_operation.hpp +361 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_payload.hpp +222 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_receive_op.hpp +127 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_send_functions.hpp +192 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_send_op.hpp +148 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/channel_service.hpp +677 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/has_signature.hpp +54 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/detail/impl/channel_service.hpp +621 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/impl/as_single.hpp +176 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/impl/channel_error.ipp +61 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/impl/co_composed.hpp +1174 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/impl/parallel_group.hpp +788 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/parallel_group.hpp +457 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/experimental/prepend.hpp +36 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/file_base.hpp +166 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/basic_endpoint.hpp +189 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/datagram_protocol.hpp +123 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/detail/endpoint.hpp +133 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/detail/impl/endpoint.ipp +110 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/raw_protocol.hpp +121 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/seq_packet_protocol.hpp +122 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/generic/stream_protocol.hpp +127 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/handler_continuation_hook.hpp +54 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/high_resolution_timer.hpp +39 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/any_completion_executor.ipp +126 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/any_io_executor.ipp +134 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/append.hpp +162 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/as_tuple.hpp +245 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/awaitable.hpp +1196 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/buffered_read_stream.hpp +404 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/buffered_write_stream.hpp +384 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/cancellation_signal.ipp +96 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/co_spawn.hpp +449 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/connect.hpp +809 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/connect_pipe.hpp +73 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/connect_pipe.ipp +149 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/consign.hpp +137 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/deferred.hpp +147 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/detached.hpp +77 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/error.ipp +128 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/error_code.ipp +206 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/execution_context.hpp +77 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/execution_context.ipp +82 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/executor.hpp +317 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/executor.ipp +43 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/io_context.hpp +433 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/io_context.ipp +176 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/multiple_exceptions.ipp +45 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/prepend.hpp +163 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/read.hpp +1053 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/read_at.hpp +628 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/read_until.hpp +2941 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/redirect_error.hpp +250 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/serial_port_base.hpp +59 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/serial_port_base.ipp +554 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/spawn.hpp +1400 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/src.hpp +94 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/system_context.hpp +34 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/system_context.ipp +92 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/system_executor.hpp +179 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/thread_pool.hpp +277 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/thread_pool.ipp +142 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/use_awaitable.hpp +301 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/use_future.hpp +707 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/write.hpp +939 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/impl/write_at.hpp +551 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/io_context.hpp +1505 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/io_context_strand.hpp +396 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/io_service.hpp +33 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/io_service_strand.hpp +20 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address.hpp +281 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v4.hpp +421 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v4_iterator.hpp +156 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v4_range.hpp +128 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v6.hpp +407 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v6_iterator.hpp +178 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/address_v6_range.hpp +124 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/bad_address_cast.hpp +63 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_endpoint.hpp +282 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver.hpp +1112 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver_entry.hpp +113 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +188 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver_query.hpp +260 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/basic_resolver_results.hpp +307 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/detail/endpoint.hpp +141 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +195 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/detail/socket_option.hpp +566 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/host_name.hpp +42 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/icmp.hpp +115 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address.hpp +67 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address.ipp +235 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address_v4.hpp +67 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address_v4.ipp +206 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address_v6.hpp +67 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/address_v6.ipp +342 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/basic_endpoint.hpp +43 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/host_name.ipp +54 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/network_v4.hpp +54 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/network_v4.ipp +218 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/network_v6.hpp +53 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/impl/network_v6.ipp +187 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/multicast.hpp +191 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/network_v4.hpp +257 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/network_v6.hpp +231 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/resolver_base.hpp +129 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/resolver_query_base.hpp +43 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/tcp.hpp +155 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/udp.hpp +111 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/unicast.hpp +70 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ip/v6_only.hpp +69 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_applicable_property.hpp +61 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_contiguous_iterator.hpp +45 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_executor.hpp +46 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_read_buffered.hpp +59 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/is_write_buffered.hpp +59 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/basic_endpoint.hpp +243 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/connect_pair.hpp +101 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/datagram_protocol.hpp +80 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/detail/endpoint.hpp +139 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/detail/impl/endpoint.ipp +131 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/seq_packet_protocol.hpp +84 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/local/stream_protocol.hpp +90 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/multiple_exceptions.hpp +52 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/packaged_task.hpp +66 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/placeholders.hpp +75 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/basic_descriptor.hpp +773 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +559 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/descriptor.hpp +37 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/descriptor_base.hpp +90 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/posix/stream_descriptor.hpp +37 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/post.hpp +213 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/prefer.hpp +577 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/prepend.hpp +66 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/query.hpp +311 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/random_access_file.hpp +35 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/read.hpp +1448 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/read_at.hpp +778 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/read_until.hpp +3124 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/readable_pipe.hpp +35 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/recycling_allocator.hpp +138 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/redirect_error.hpp +64 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/registered_buffer.hpp +344 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/require.hpp +433 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/require_concept.hpp +343 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/serial_port.hpp +36 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/serial_port_base.hpp +167 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/signal_set.hpp +28 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/signal_set_base.hpp +171 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/socket_base.hpp +559 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/spawn.hpp +872 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/context.hpp +762 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/context_base.hpp +209 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +119 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/engine.hpp +169 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/handshake_op.hpp +67 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/impl/engine.ipp +377 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +169 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/io.hpp +376 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/openssl_init.hpp +101 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/openssl_types.hpp +34 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/password_callback.hpp +66 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/read_op.hpp +72 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +69 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/stream_core.hpp +217 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/verify_callback.hpp +62 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/detail/write_op.hpp +76 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/error.hpp +123 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/host_name_verification.hpp +90 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/context.hpp +67 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/context.ipp +1319 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/error.ipp +124 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/host_name_verification.ipp +73 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/rfc2818_verification.ipp +164 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/impl/src.hpp +29 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/rfc2818_verification.hpp +98 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/stream.hpp +1042 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/stream_base.hpp +52 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/verify_context.hpp +67 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl/verify_mode.hpp +63 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ssl.hpp +28 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/static_thread_pool.hpp +31 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/steady_timer.hpp +37 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/strand.hpp +557 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/stream_file.hpp +35 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/streambuf.hpp +33 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/system_context.hpp +90 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/system_error.hpp +31 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/system_executor.hpp +671 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/system_timer.hpp +37 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/this_coro.hpp +267 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/thread.hpp +92 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/thread_pool.hpp +963 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/time_traits.hpp +86 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/equality_comparable.hpp +100 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/execute_member.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/prefer_free.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/prefer_member.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/query_free.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/query_member.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +101 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/require_concept_free.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/require_concept_member.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/require_free.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/require_member.hpp +104 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/static_query.hpp +102 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/static_require.hpp +115 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/traits/static_require_concept.hpp +116 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/buffer.hpp +24 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/executor.hpp +35 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/internet.hpp +40 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/io_context.hpp +20 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/net.hpp +26 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/netfwd.hpp +236 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/socket.hpp +27 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/ts/timer.hpp +26 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/unyield.hpp +21 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/use_awaitable.hpp +161 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/use_future.hpp +159 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/uses_executor.hpp +67 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/version.hpp +23 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/wait_traits.hpp +56 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/basic_object_handle.hpp +485 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +455 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/basic_random_access_handle.hpp +567 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/basic_stream_handle.hpp +551 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/object_handle.hpp +38 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/overlapped_handle.hpp +39 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/overlapped_ptr.hpp +145 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/random_access_handle.hpp +37 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/windows/stream_handle.hpp +37 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/writable_pipe.hpp +35 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/write.hpp +1414 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/write_at.hpp +789 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio/yield.hpp +23 -0
- data/ext/cache/asio/6a3b5a552ffb18a235024ec851619cfcb1337a98/asio/asio/include/asio.hpp +199 -0
- data/ext/cache/extconf_include.rb +3 -3
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/CMakeLists.txt +520 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/ChangeLog.md +2598 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/README.md +484 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/args.h +228 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/base.h +3061 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/chrono.h +2432 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/color.h +612 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/compile.h +529 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/core.h +5 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/format-inl.h +1904 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/format.h +4419 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/os.h +439 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/ostream.h +211 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/printf.h +656 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/ranges.h +882 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/std.h +699 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/include/fmt/xchar.h +322 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/src/fmt.cc +135 -0
- data/ext/cache/fmt/141a17a028e6c29914e109691389f6cf87f9cfe3/fmt/src/os.cc +403 -0
- data/ext/cache/llhttp/c67596e14f24b689a867a26fa36e02bdba733b9b/llhttp/CMakeLists.txt +117 -0
- data/ext/cache/llhttp/c67596e14f24b689a867a26fa36e02bdba733b9b/llhttp/include/llhttp.h +903 -0
- data/ext/cache/llhttp/c67596e14f24b689a867a26fa36e02bdba733b9b/llhttp/src/llhttp.c +10168 -0
- data/ext/cache/mozilla-ca-bundle.crt +19 -32
- data/ext/cache/mozilla-ca-bundle.sha256 +1 -1
- data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/CMakeLists.txt +438 -0
- data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/cmake/config.h.in +69 -0
- data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/snappy-internal.h +424 -0
- data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/snappy-stubs-internal.h +531 -0
- data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/snappy.cc +2645 -0
- data/ext/cache/snappy/585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c/snappy/snappy.h +257 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/CMakeLists.txt +359 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/async_logger-inl.h +86 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/common.h +411 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/circular_q.h +115 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/file_helper-inl.h +152 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/os-inl.h +594 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/periodic_worker.h +58 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/registry-inl.h +261 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/registry.h +129 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/thread_pool-inl.h +132 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/details/thread_pool.h +128 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/fmt.h +30 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/mdc.h +46 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/pattern_formatter-inl.h +1324 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/sinks/qt_sinks.h +304 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/stopwatch.h +66 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/version.h +11 -0
- data/ext/cache/spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/src/bundled_fmtlib_format.cpp +46 -0
- data/ext/couchbase/CMakeLists.txt +42 -12
- data/ext/couchbase/cmake/CompilerWarnings.cmake +3 -1
- data/ext/couchbase/cmake/OpenSSL.cmake +15 -8
- data/ext/couchbase/cmake/Packaging.cmake +41 -0
- data/ext/couchbase/cmake/Sanitizers.cmake +1 -0
- data/ext/couchbase/cmake/StandardProjectSettings.cmake +1 -1
- data/ext/couchbase/cmake/StaticAnalyzers.cmake +28 -6
- data/ext/couchbase/cmake/Testing.cmake +27 -5
- data/ext/couchbase/cmake/ThirdPartyDependencies.cmake +14 -10
- data/ext/couchbase/cmake/VersionInfo.cmake +8 -8
- data/ext/couchbase/cmake/build_config.hxx.in +1 -0
- data/ext/couchbase/cmake/build_version.hxx.in +1 -0
- data/ext/couchbase/cmake/couchbase-cxx-client.pc.in +10 -0
- data/ext/couchbase/cmake/test_boringssl.cxx +1 -1
- data/ext/couchbase/cmake/test_openssl.cxx +1 -1
- data/ext/couchbase/core/agent.cxx +400 -324
- data/ext/couchbase/core/agent.hxx +97 -76
- data/ext/couchbase/core/agent_config.cxx +11 -10
- data/ext/couchbase/core/agent_config.hxx +7 -7
- data/ext/couchbase/core/agent_group.cxx +157 -124
- data/ext/couchbase/core/agent_group.hxx +27 -22
- data/ext/couchbase/core/agent_group_config.cxx +10 -9
- data/ext/couchbase/core/agent_group_config.hxx +6 -6
- data/ext/couchbase/core/agent_unit_test_api.hxx +6 -6
- data/ext/couchbase/core/analytics_query_options.cxx +27 -21
- data/ext/couchbase/core/analytics_query_options.hxx +19 -18
- data/ext/couchbase/core/analytics_scan_consistency.hxx +2 -2
- data/ext/couchbase/core/bucket.cxx +903 -785
- data/ext/couchbase/core/bucket.hxx +152 -139
- data/ext/couchbase/core/capella_ca.hxx +20 -19
- data/ext/couchbase/core/cluster.cxx +1661 -939
- data/ext/couchbase/core/cluster.hxx +265 -167
- data/ext/couchbase/core/cluster_agent.cxx +42 -10
- data/ext/couchbase/core/cluster_agent.hxx +18 -4
- data/ext/couchbase/core/cluster_agent_config.cxx +10 -9
- data/ext/couchbase/core/cluster_agent_config.hxx +6 -6
- data/ext/couchbase/core/cluster_options.cxx +22 -21
- data/ext/couchbase/core/cluster_options.hxx +53 -47
- data/ext/couchbase/core/cluster_state.hxx +3 -3
- data/ext/couchbase/core/collection_id_cache_entry.hxx +5 -4
- data/ext/couchbase/core/collections_component.cxx +403 -336
- data/ext/couchbase/core/collections_component.hxx +17 -13
- data/ext/couchbase/core/collections_component_unit_test_api.hxx +6 -6
- data/ext/couchbase/core/collections_options.hxx +29 -27
- data/ext/couchbase/core/columnar/agent.cxx +86 -0
- data/ext/couchbase/core/columnar/agent.hxx +56 -0
- data/ext/couchbase/core/columnar/agent_config.cxx +47 -0
- data/ext/couchbase/core/columnar/agent_config.hxx +57 -0
- data/ext/couchbase/core/columnar/background_bootstrap_listener.hxx +42 -0
- data/ext/couchbase/core/columnar/backoff_calculator.cxx +62 -0
- data/ext/couchbase/core/columnar/backoff_calculator.hxx +34 -0
- data/ext/couchbase/core/columnar/bootstrap_notification_subscriber.hxx +32 -0
- data/ext/couchbase/core/columnar/error.cxx +50 -0
- data/ext/couchbase/core/columnar/error.hxx +52 -0
- data/ext/couchbase/core/columnar/error_codes.cxx +68 -0
- data/ext/couchbase/core/columnar/error_codes.hxx +47 -0
- data/ext/couchbase/core/columnar/query_component.cxx +442 -0
- data/ext/couchbase/core/columnar/query_component.hxx +56 -0
- data/ext/couchbase/core/columnar/query_options.hxx +64 -0
- data/ext/couchbase/core/columnar/query_result.cxx +133 -0
- data/ext/couchbase/core/columnar/query_result.hxx +78 -0
- data/ext/couchbase/core/columnar/retry_info.hxx +31 -0
- data/ext/couchbase/core/columnar/security_options.hxx +34 -0
- data/ext/couchbase/core/config_listener.hxx +3 -3
- data/ext/couchbase/core/config_profile.hxx +3 -3
- data/ext/couchbase/core/config_profiles.cxx +37 -34
- data/ext/couchbase/core/config_profiles.hxx +19 -19
- data/ext/couchbase/core/core_sdk_shim.cxx +5 -2
- data/ext/couchbase/core/core_sdk_shim.hxx +2 -2
- data/ext/couchbase/core/crud_component.cxx +338 -287
- data/ext/couchbase/core/crud_component.hxx +21 -15
- data/ext/couchbase/core/crud_options.hxx +361 -354
- data/ext/couchbase/core/crypto/cbcrypto.cc +732 -627
- data/ext/couchbase/core/crypto/cbcrypto.h +12 -3
- data/ext/couchbase/core/design_document_namespace.hxx +2 -2
- data/ext/couchbase/core/design_document_namespace_fmt.hxx +18 -18
- data/ext/couchbase/core/diagnostics.hxx +44 -44
- data/ext/couchbase/core/diagnostics_fmt.hxx +76 -76
- data/ext/couchbase/core/diagnostics_json.hxx +61 -60
- data/ext/couchbase/core/diagntostics_options.hxx +14 -14
- data/ext/couchbase/core/dispatcher.cxx +12 -3
- data/ext/couchbase/core/dispatcher.hxx +8 -7
- data/ext/couchbase/core/document_id.cxx +61 -46
- data/ext/couchbase/core/document_id.hxx +87 -86
- data/ext/couchbase/core/document_id_fmt.hxx +10 -10
- data/ext/couchbase/core/durability_options.hxx +50 -49
- data/ext/couchbase/core/error_context/analytics.hxx +18 -18
- data/ext/couchbase/core/error_context/analytics_json.hxx +115 -0
- data/ext/couchbase/core/error_context/base_error_context.hxx +184 -0
- data/ext/couchbase/core/error_context/http.hxx +14 -14
- data/ext/couchbase/core/error_context/http_json.hxx +89 -0
- data/ext/couchbase/core/error_context/internal_tof_metadata_json.hxx +36 -0
- data/ext/couchbase/core/error_context/key_value.cxx +36 -27
- data/ext/couchbase/core/error_context/key_value.hxx +41 -38
- data/ext/couchbase/core/error_context/key_value_error_context.hxx +235 -0
- data/ext/couchbase/core/error_context/key_value_error_map_attribute.hxx +142 -0
- data/ext/couchbase/core/error_context/key_value_error_map_info.hxx +139 -0
- data/ext/couchbase/core/error_context/key_value_extended_error_info.hxx +86 -0
- data/ext/couchbase/core/error_context/key_value_json.hxx +83 -0
- data/ext/couchbase/core/error_context/key_value_status_code.hxx +109 -0
- data/ext/couchbase/core/error_context/query.hxx +18 -18
- data/ext/couchbase/core/error_context/query_error_context.hxx +150 -0
- data/ext/couchbase/core/error_context/query_json.hxx +114 -0
- data/ext/couchbase/core/error_context/query_public_json.hxx +85 -0
- data/ext/couchbase/core/error_context/search.hxx +17 -17
- data/ext/couchbase/core/error_context/search_json.hxx +101 -0
- data/ext/couchbase/core/error_context/subdocument_error_context.hxx +147 -0
- data/ext/couchbase/core/error_context/subdocument_json.hxx +47 -0
- data/ext/couchbase/core/error_context/transaction_error_context.hxx +49 -0
- data/ext/couchbase/core/error_context/transaction_op_error_context.hxx +79 -0
- data/ext/couchbase/core/error_context/view.hxx +17 -17
- data/ext/couchbase/core/fmt/key_value_error_map_attribute.hxx +100 -0
- data/ext/couchbase/core/fmt/key_value_extended_error_info.hxx +52 -0
- data/ext/couchbase/core/fmt/key_value_status_code.hxx +269 -0
- data/ext/couchbase/core/free_form_http_request.cxx +73 -33
- data/ext/couchbase/core/free_form_http_request.hxx +53 -37
- data/ext/couchbase/core/http_component.cxx +404 -0
- data/ext/couchbase/core/http_component.hxx +57 -0
- data/ext/couchbase/core/impl/analytics.cxx +124 -135
- data/ext/couchbase/core/impl/analytics.hxx +5 -7
- data/ext/couchbase/core/impl/analytics_error_category.cxx +30 -28
- data/ext/couchbase/core/impl/analytics_index_manager.cxx +656 -533
- data/ext/couchbase/core/impl/best_effort_retry_strategy.cxx +62 -53
- data/ext/couchbase/core/impl/binary_collection.cxx +369 -289
- data/ext/couchbase/core/impl/boolean_field_query.cxx +13 -11
- data/ext/couchbase/core/impl/boolean_query.cxx +31 -29
- data/ext/couchbase/core/impl/bootstrap_error.hxx +34 -0
- data/ext/couchbase/core/impl/bootstrap_state_listener.hxx +6 -6
- data/ext/couchbase/core/impl/bucket.cxx +54 -39
- data/ext/couchbase/core/impl/bucket_manager.cxx +355 -315
- data/ext/couchbase/core/impl/cluster.cxx +472 -330
- data/ext/couchbase/core/impl/collection.cxx +1092 -1198
- data/ext/couchbase/core/impl/collection_manager.cxx +216 -170
- data/ext/couchbase/core/impl/common_error_category.cxx +59 -55
- data/ext/couchbase/core/impl/configuration_profiles_registry.cxx +54 -33
- data/ext/couchbase/core/impl/conjunction_query.cxx +19 -18
- data/ext/couchbase/core/impl/date_range.cxx +31 -20
- data/ext/couchbase/core/impl/date_range_facet.cxx +24 -22
- data/ext/couchbase/core/impl/date_range_facet_result.cxx +15 -7
- data/ext/couchbase/core/impl/date_range_query.cxx +57 -50
- data/ext/couchbase/core/impl/diagnostics.cxx +215 -198
- data/ext/couchbase/core/impl/diagnostics.hxx +7 -6
- data/ext/couchbase/core/impl/disjunction_query.cxx +22 -19
- data/ext/couchbase/core/impl/dns_srv_tracker.cxx +107 -76
- data/ext/couchbase/core/impl/dns_srv_tracker.hxx +26 -22
- data/ext/couchbase/core/impl/doc_id_query.cxx +10 -9
- data/ext/couchbase/core/impl/encoded_search_facet.hxx +2 -2
- data/ext/couchbase/core/impl/encoded_search_query.hxx +3 -2
- data/ext/couchbase/core/impl/encoded_search_sort.hxx +2 -2
- data/ext/couchbase/core/impl/error.cxx +186 -0
- data/ext/couchbase/core/impl/error.hxx +64 -0
- data/ext/couchbase/core/impl/error_context.cxx +57 -0
- data/ext/couchbase/core/impl/expiry.cxx +75 -54
- data/ext/couchbase/core/impl/fail_fast_retry_strategy.cxx +12 -4
- data/ext/couchbase/core/impl/field_level_encryption_error_category.cxx +31 -28
- data/ext/couchbase/core/impl/geo_bounding_box_query.cxx +18 -17
- data/ext/couchbase/core/impl/geo_distance_query.cxx +15 -14
- data/ext/couchbase/core/impl/geo_polygon_query.cxx +18 -17
- data/ext/couchbase/core/impl/get_all_replicas.hxx +26 -22
- data/ext/couchbase/core/impl/get_any_replica.hxx +25 -23
- data/ext/couchbase/core/impl/get_replica.cxx +23 -16
- data/ext/couchbase/core/impl/get_replica.hxx +23 -18
- data/ext/couchbase/core/impl/internal_date_range_facet_result.cxx +26 -14
- data/ext/couchbase/core/impl/internal_date_range_facet_result.hxx +16 -15
- data/ext/couchbase/core/impl/internal_error_context.cxx +79 -0
- data/ext/couchbase/core/impl/internal_error_context.hxx +53 -0
- data/ext/couchbase/core/impl/internal_numeric_range_facet_result.cxx +28 -15
- data/ext/couchbase/core/impl/internal_numeric_range_facet_result.hxx +16 -15
- data/ext/couchbase/core/impl/internal_scan_result.hxx +13 -7
- data/ext/couchbase/core/impl/internal_search_error_context.cxx +36 -22
- data/ext/couchbase/core/impl/internal_search_error_context.hxx +32 -31
- data/ext/couchbase/core/impl/internal_search_meta_data.cxx +24 -13
- data/ext/couchbase/core/impl/internal_search_meta_data.hxx +10 -9
- data/ext/couchbase/core/impl/internal_search_result.cxx +46 -26
- data/ext/couchbase/core/impl/internal_search_result.hxx +10 -9
- data/ext/couchbase/core/impl/internal_search_row.cxx +16 -10
- data/ext/couchbase/core/impl/internal_search_row.hxx +18 -16
- data/ext/couchbase/core/impl/internal_search_row_location.hxx +2 -2
- data/ext/couchbase/core/impl/internal_search_row_locations.cxx +68 -65
- data/ext/couchbase/core/impl/internal_search_row_locations.hxx +16 -13
- data/ext/couchbase/core/impl/internal_term_facet_result.cxx +19 -14
- data/ext/couchbase/core/impl/internal_term_facet_result.hxx +15 -15
- data/ext/couchbase/core/impl/key_value_error_category.cxx +73 -72
- data/ext/couchbase/core/impl/key_value_error_context.cxx +65 -65
- data/ext/couchbase/core/impl/logger.cxx +91 -0
- data/ext/couchbase/core/impl/lookup_in_all_replicas.hxx +32 -29
- data/ext/couchbase/core/impl/lookup_in_any_replica.hxx +33 -29
- data/ext/couchbase/core/impl/lookup_in_replica.cxx +75 -68
- data/ext/couchbase/core/impl/lookup_in_replica.hxx +30 -26
- data/ext/couchbase/core/impl/management_error_category.cxx +41 -40
- data/ext/couchbase/core/impl/match_all_query.cxx +6 -6
- data/ext/couchbase/core/impl/match_none_query.cxx +6 -6
- data/ext/couchbase/core/impl/match_phrase_query.cxx +13 -13
- data/ext/couchbase/core/impl/match_query.cxx +28 -28
- data/ext/couchbase/core/impl/network_error_category.cxx +39 -38
- data/ext/couchbase/core/impl/numeric_range.cxx +6 -6
- data/ext/couchbase/core/impl/numeric_range_facet.cxx +22 -22
- data/ext/couchbase/core/impl/numeric_range_facet_result.cxx +6 -6
- data/ext/couchbase/core/impl/numeric_range_query.cxx +22 -22
- data/ext/couchbase/core/impl/observe_poll.cxx +297 -280
- data/ext/couchbase/core/impl/observe_poll.hxx +2 -2
- data/ext/couchbase/core/impl/observe_seqno.cxx +21 -18
- data/ext/couchbase/core/impl/observe_seqno.hxx +31 -26
- data/ext/couchbase/core/impl/phrase_query.cxx +10 -10
- data/ext/couchbase/core/impl/prefix_query.cxx +10 -10
- data/ext/couchbase/core/impl/query.cxx +169 -156
- data/ext/couchbase/core/impl/query.hxx +6 -7
- data/ext/couchbase/core/impl/query_error_category.cxx +22 -21
- data/ext/couchbase/core/impl/query_error_context.cxx +45 -45
- data/ext/couchbase/core/impl/query_index_manager.cxx +505 -420
- data/ext/couchbase/core/impl/query_string_query.cxx +7 -7
- data/ext/couchbase/core/impl/regexp_query.cxx +10 -10
- data/ext/couchbase/core/impl/replica_utils.cxx +66 -0
- data/ext/couchbase/core/impl/replica_utils.hxx +48 -0
- data/ext/couchbase/core/impl/retry_action.cxx +3 -3
- data/ext/couchbase/core/impl/retry_reason.cxx +129 -56
- data/ext/couchbase/core/impl/retry_reason.hxx +28 -0
- data/ext/couchbase/core/impl/scan_result.cxx +53 -49
- data/ext/couchbase/core/impl/scope.cxx +105 -94
- data/ext/couchbase/core/impl/search.cxx +137 -130
- data/ext/couchbase/core/impl/search.hxx +4 -4
- data/ext/couchbase/core/impl/search_error_category.cxx +18 -17
- data/ext/couchbase/core/impl/search_index_manager.cxx +492 -390
- data/ext/couchbase/core/impl/search_meta_data.cxx +10 -3
- data/ext/couchbase/core/impl/search_request.cxx +78 -78
- data/ext/couchbase/core/impl/search_result.cxx +5 -5
- data/ext/couchbase/core/impl/search_row.cxx +12 -7
- data/ext/couchbase/core/impl/search_row_location.cxx +9 -8
- data/ext/couchbase/core/impl/search_row_locations.cxx +14 -7
- data/ext/couchbase/core/impl/search_sort_field.cxx +53 -53
- data/ext/couchbase/core/impl/search_sort_geo_distance.cxx +49 -48
- data/ext/couchbase/core/impl/search_sort_id.cxx +10 -10
- data/ext/couchbase/core/impl/search_sort_score.cxx +10 -10
- data/ext/couchbase/core/impl/streaming_json_lexer_error_category.cxx +70 -68
- data/ext/couchbase/core/impl/subdoc/array_add_unique.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/array_append.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/array_insert.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/array_prepend.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/command.hxx +5 -5
- data/ext/couchbase/core/impl/subdoc/command_bundle.hxx +11 -11
- data/ext/couchbase/core/impl/subdoc/count.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/counter.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/exists.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/get.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/insert.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/join_values.cxx +27 -27
- data/ext/couchbase/core/impl/subdoc/lookup_in_macro.cxx +76 -72
- data/ext/couchbase/core/impl/subdoc/lookup_in_specs.cxx +9 -9
- data/ext/couchbase/core/impl/subdoc/mutate_in_macro.cxx +48 -39
- data/ext/couchbase/core/impl/subdoc/mutate_in_specs.cxx +9 -9
- data/ext/couchbase/core/impl/subdoc/opcode.hxx +16 -16
- data/ext/couchbase/core/impl/subdoc/path_flags.hxx +40 -17
- data/ext/couchbase/core/impl/subdoc/remove.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/replace.cxx +6 -6
- data/ext/couchbase/core/impl/subdoc/upsert.cxx +6 -6
- data/ext/couchbase/core/impl/term_facet.cxx +8 -8
- data/ext/couchbase/core/impl/term_facet_result.cxx +6 -6
- data/ext/couchbase/core/impl/term_query.cxx +25 -25
- data/ext/couchbase/core/impl/term_range_query.cxx +22 -22
- data/ext/couchbase/core/impl/transaction_error_category.cxx +21 -20
- data/ext/couchbase/core/impl/transaction_get_result.cxx +47 -30
- data/ext/couchbase/core/impl/transaction_op_error_category.cxx +55 -56
- data/ext/couchbase/core/impl/vector_query.cxx +15 -10
- data/ext/couchbase/core/impl/vector_search.cxx +9 -9
- data/ext/couchbase/core/impl/view_error_category.cxx +17 -16
- data/ext/couchbase/core/impl/wildcard_query.cxx +10 -10
- data/ext/couchbase/core/impl/with_legacy_durability.hxx +30 -29
- data/ext/couchbase/core/io/config_tracker.cxx +685 -0
- data/ext/couchbase/core/io/config_tracker.hxx +122 -0
- data/ext/couchbase/core/io/dns_client.cxx +263 -231
- data/ext/couchbase/core/io/dns_client.hxx +19 -18
- data/ext/couchbase/core/io/dns_codec.hxx +156 -154
- data/ext/couchbase/core/io/dns_config.cxx +119 -112
- data/ext/couchbase/core/io/dns_config.hxx +15 -13
- data/ext/couchbase/core/io/dns_message.hxx +365 -342
- data/ext/couchbase/core/io/http_command.hxx +212 -134
- data/ext/couchbase/core/io/http_context.hxx +5 -5
- data/ext/couchbase/core/io/http_message.hxx +78 -71
- data/ext/couchbase/core/io/http_parser.cxx +70 -67
- data/ext/couchbase/core/io/http_parser.hxx +18 -18
- data/ext/couchbase/core/io/http_session.cxx +792 -0
- data/ext/couchbase/core/io/http_session.hxx +181 -546
- data/ext/couchbase/core/io/http_session_manager.hxx +763 -306
- data/ext/couchbase/core/io/http_streaming_parser.cxx +166 -0
- data/ext/couchbase/core/io/http_streaming_parser.hxx +62 -0
- data/ext/couchbase/core/io/http_streaming_response.cxx +226 -0
- data/ext/couchbase/core/io/http_streaming_response.hxx +73 -0
- data/ext/couchbase/core/io/http_traits.hxx +7 -0
- data/ext/couchbase/core/io/ip_protocol.hxx +3 -3
- data/ext/couchbase/core/io/mcbp_command.hxx +298 -278
- data/ext/couchbase/core/io/mcbp_context.hxx +7 -6
- data/ext/couchbase/core/io/mcbp_message.cxx +8 -8
- data/ext/couchbase/core/io/mcbp_message.hxx +20 -20
- data/ext/couchbase/core/io/mcbp_parser.cxx +60 -51
- data/ext/couchbase/core/io/mcbp_parser.hxx +21 -17
- data/ext/couchbase/core/io/mcbp_session.cxx +1976 -1615
- data/ext/couchbase/core/io/mcbp_session.hxx +83 -61
- data/ext/couchbase/core/io/query_cache.hxx +34 -34
- data/ext/couchbase/core/io/retry_context.hxx +45 -45
- data/ext/couchbase/core/io/retry_orchestrator.hxx +52 -42
- data/ext/couchbase/core/io/streams.hxx +215 -192
- data/ext/couchbase/core/json_string.hxx +47 -47
- data/ext/couchbase/core/key_value_config.cxx +8 -8
- data/ext/couchbase/core/key_value_config.hxx +12 -11
- data/ext/couchbase/core/logger/configuration.hxx +35 -35
- data/ext/couchbase/core/logger/custom_rotating_file_sink.cxx +73 -72
- data/ext/couchbase/core/logger/custom_rotating_file_sink.hxx +20 -18
- data/ext/couchbase/core/logger/level.hxx +9 -1
- data/ext/couchbase/core/logger/logger.cxx +291 -254
- data/ext/couchbase/core/logger/logger.hxx +111 -59
- data/ext/couchbase/core/management/analytics_dataset.hxx +4 -4
- data/ext/couchbase/core/management/analytics_index.hxx +4 -4
- data/ext/couchbase/core/management/analytics_link_azure_blob_external.cxx +35 -33
- data/ext/couchbase/core/management/analytics_link_azure_blob_external.hxx +36 -35
- data/ext/couchbase/core/management/analytics_link_azure_blob_external_json.hxx +24 -20
- data/ext/couchbase/core/management/analytics_link_couchbase_remote.cxx +66 -65
- data/ext/couchbase/core/management/analytics_link_couchbase_remote.hxx +77 -70
- data/ext/couchbase/core/management/analytics_link_couchbase_remote_json.hxx +38 -32
- data/ext/couchbase/core/management/analytics_link_s3_external.cxx +26 -25
- data/ext/couchbase/core/management/analytics_link_s3_external.hxx +30 -30
- data/ext/couchbase/core/management/analytics_link_s3_external_json.hxx +18 -16
- data/ext/couchbase/core/management/bucket_settings.hxx +109 -91
- data/ext/couchbase/core/management/bucket_settings_json.hxx +112 -94
- data/ext/couchbase/core/management/design_document.hxx +9 -9
- data/ext/couchbase/core/management/eventing_function.hxx +124 -121
- data/ext/couchbase/core/management/eventing_function_json.hxx +228 -184
- data/ext/couchbase/core/management/eventing_status.hxx +41 -41
- data/ext/couchbase/core/management/eventing_status_json.hxx +53 -45
- data/ext/couchbase/core/management/rbac.hxx +33 -28
- data/ext/couchbase/core/management/rbac_fmt.hxx +21 -21
- data/ext/couchbase/core/management/rbac_json.hxx +132 -125
- data/ext/couchbase/core/management/search_index.cxx +78 -0
- data/ext/couchbase/core/management/search_index.hxx +11 -10
- data/ext/couchbase/core/management/search_index_json.hxx +27 -26
- data/ext/couchbase/core/mcbp/barrier_frame.hxx +4 -3
- data/ext/couchbase/core/mcbp/big_endian.cxx +22 -22
- data/ext/couchbase/core/mcbp/buffer_writer.cxx +22 -19
- data/ext/couchbase/core/mcbp/buffer_writer.hxx +9 -9
- data/ext/couchbase/core/mcbp/codec.cxx +421 -397
- data/ext/couchbase/core/mcbp/codec.hxx +15 -12
- data/ext/couchbase/core/mcbp/command_code.cxx +48 -48
- data/ext/couchbase/core/mcbp/completion_token.hxx +33 -33
- data/ext/couchbase/core/mcbp/datatype.hxx +3 -3
- data/ext/couchbase/core/mcbp/durability_level.hxx +8 -7
- data/ext/couchbase/core/mcbp/durability_level_frame.hxx +3 -2
- data/ext/couchbase/core/mcbp/durability_timeout_frame.hxx +4 -3
- data/ext/couchbase/core/mcbp/open_tracing_frame.hxx +3 -2
- data/ext/couchbase/core/mcbp/operation_consumer.cxx +3 -3
- data/ext/couchbase/core/mcbp/operation_consumer.hxx +9 -9
- data/ext/couchbase/core/mcbp/operation_queue.cxx +82 -74
- data/ext/couchbase/core/mcbp/operation_queue.hxx +18 -17
- data/ext/couchbase/core/mcbp/packet.cxx +67 -51
- data/ext/couchbase/core/mcbp/packet.hxx +25 -25
- data/ext/couchbase/core/mcbp/preserve_expiry_frame.hxx +4 -2
- data/ext/couchbase/core/mcbp/queue_callback.hxx +3 -2
- data/ext/couchbase/core/mcbp/queue_request.cxx +69 -63
- data/ext/couchbase/core/mcbp/queue_request.hxx +54 -52
- data/ext/couchbase/core/mcbp/queue_request_connection_info.hxx +3 -3
- data/ext/couchbase/core/mcbp/queue_response.hxx +7 -7
- data/ext/couchbase/core/mcbp/read_units_frame.hxx +3 -2
- data/ext/couchbase/core/mcbp/server_duration.cxx +7 -7
- data/ext/couchbase/core/mcbp/server_duration_frame.hxx +3 -2
- data/ext/couchbase/core/mcbp/stream_id_frame.hxx +3 -2
- data/ext/couchbase/core/mcbp/unsupported_frame.hxx +4 -3
- data/ext/couchbase/core/mcbp/user_impersonation_frame.hxx +1 -1
- data/ext/couchbase/core/mcbp/write_units_frame.hxx +3 -2
- data/ext/couchbase/core/meta/CMakeLists.txt +3 -1
- data/ext/couchbase/core/meta/features.hxx +58 -0
- data/ext/couchbase/core/meta/version.cxx +262 -204
- data/ext/couchbase/core/meta/version.hxx +31 -20
- data/ext/couchbase/core/metrics/CMakeLists.txt +3 -1
- data/ext/couchbase/core/metrics/logging_meter.cxx +162 -156
- data/ext/couchbase/core/metrics/logging_meter.hxx +16 -15
- data/ext/couchbase/core/metrics/logging_meter_options.hxx +1 -1
- data/ext/couchbase/core/metrics/noop_meter.hxx +14 -13
- data/ext/couchbase/core/mozilla_ca_bundle.hxx +4 -3
- data/ext/couchbase/core/n1ql_query_options.cxx +31 -31
- data/ext/couchbase/core/n1ql_query_options.hxx +22 -21
- data/ext/couchbase/core/operation_map.hxx +3 -3
- data/ext/couchbase/core/operations/document_analytics.cxx +189 -176
- data/ext/couchbase/core/operations/document_analytics.hxx +79 -71
- data/ext/couchbase/core/operations/document_append.cxx +18 -15
- data/ext/couchbase/core/operations/document_append.hxx +18 -16
- data/ext/couchbase/core/operations/document_decrement.cxx +26 -23
- data/ext/couchbase/core/operations/document_decrement.hxx +24 -20
- data/ext/couchbase/core/operations/document_exists.cxx +23 -21
- data/ext/couchbase/core/operations/document_exists.hxx +25 -23
- data/ext/couchbase/core/operations/document_get.cxx +17 -15
- data/ext/couchbase/core/operations/document_get.hxx +17 -15
- data/ext/couchbase/core/operations/document_get_all_replicas.hxx +121 -92
- data/ext/couchbase/core/operations/document_get_and_lock.cxx +19 -16
- data/ext/couchbase/core/operations/document_get_and_lock.hxx +21 -17
- data/ext/couchbase/core/operations/document_get_and_touch.cxx +19 -16
- data/ext/couchbase/core/operations/document_get_and_touch.hxx +22 -18
- data/ext/couchbase/core/operations/document_get_any_replica.hxx +111 -82
- data/ext/couchbase/core/operations/document_get_projected.cxx +198 -185
- data/ext/couchbase/core/operations/document_get_projected.hxx +25 -21
- data/ext/couchbase/core/operations/document_increment.cxx +26 -23
- data/ext/couchbase/core/operations/document_increment.hxx +24 -20
- data/ext/couchbase/core/operations/document_insert.cxx +23 -20
- data/ext/couchbase/core/operations/document_insert.hxx +20 -18
- data/ext/couchbase/core/operations/document_lookup_in.cxx +80 -67
- data/ext/couchbase/core/operations/document_lookup_in.hxx +31 -27
- data/ext/couchbase/core/operations/document_lookup_in_all_replicas.hxx +187 -149
- data/ext/couchbase/core/operations/document_lookup_in_any_replica.hxx +179 -145
- data/ext/couchbase/core/operations/document_mutate_in.cxx +98 -80
- data/ext/couchbase/core/operations/document_mutate_in.hxx +38 -33
- data/ext/couchbase/core/operations/document_prepend.cxx +18 -15
- data/ext/couchbase/core/operations/document_prepend.hxx +18 -16
- data/ext/couchbase/core/operations/document_query.cxx +373 -353
- data/ext/couchbase/core/operations/document_query.hxx +83 -79
- data/ext/couchbase/core/operations/document_remove.cxx +18 -15
- data/ext/couchbase/core/operations/document_remove.hxx +18 -16
- data/ext/couchbase/core/operations/document_replace.cxx +27 -24
- data/ext/couchbase/core/operations/document_replace.hxx +22 -20
- data/ext/couchbase/core/operations/document_search.cxx +322 -308
- data/ext/couchbase/core/operations/document_search.hxx +125 -121
- data/ext/couchbase/core/operations/document_touch.cxx +16 -14
- data/ext/couchbase/core/operations/document_touch.hxx +19 -17
- data/ext/couchbase/core/operations/document_unlock.cxx +16 -14
- data/ext/couchbase/core/operations/document_unlock.hxx +19 -17
- data/ext/couchbase/core/operations/document_upsert.cxx +26 -23
- data/ext/couchbase/core/operations/document_upsert.hxx +21 -19
- data/ext/couchbase/core/operations/document_view.cxx +171 -159
- data/ext/couchbase/core/operations/document_view.hxx +68 -65
- data/ext/couchbase/core/operations/http_noop.cxx +38 -35
- data/ext/couchbase/core/operations/http_noop.hxx +12 -10
- data/ext/couchbase/core/operations/management/analytics_dataset_create.cxx +64 -58
- data/ext/couchbase/core/operations/management/analytics_dataset_create.hxx +20 -17
- data/ext/couchbase/core/operations/management/analytics_dataset_drop.cxx +55 -46
- data/ext/couchbase/core/operations/management/analytics_dataset_drop.hxx +18 -15
- data/ext/couchbase/core/operations/management/analytics_dataset_get_all.cxx +51 -45
- data/ext/couchbase/core/operations/management/analytics_dataset_get_all.hxx +16 -13
- data/ext/couchbase/core/operations/management/analytics_dataverse_create.cxx +54 -45
- data/ext/couchbase/core/operations/management/analytics_dataverse_create.hxx +17 -14
- data/ext/couchbase/core/operations/management/analytics_dataverse_drop.cxx +54 -45
- data/ext/couchbase/core/operations/management/analytics_dataverse_drop.hxx +17 -14
- data/ext/couchbase/core/operations/management/analytics_get_pending_mutations.cxx +43 -37
- data/ext/couchbase/core/operations/management/analytics_get_pending_mutations.hxx +16 -14
- data/ext/couchbase/core/operations/management/analytics_index_create.cxx +75 -68
- data/ext/couchbase/core/operations/management/analytics_index_create.hxx +20 -17
- data/ext/couchbase/core/operations/management/analytics_index_drop.cxx +62 -53
- data/ext/couchbase/core/operations/management/analytics_index_drop.hxx +19 -16
- data/ext/couchbase/core/operations/management/analytics_index_get_all.cxx +49 -44
- data/ext/couchbase/core/operations/management/analytics_index_get_all.hxx +16 -13
- data/ext/couchbase/core/operations/management/analytics_link_connect.cxx +55 -45
- data/ext/couchbase/core/operations/management/analytics_link_connect.hxx +23 -20
- data/ext/couchbase/core/operations/management/analytics_link_create.cxx +60 -57
- data/ext/couchbase/core/operations/management/analytics_link_create.hxx +33 -30
- data/ext/couchbase/core/operations/management/analytics_link_disconnect.cxx +52 -44
- data/ext/couchbase/core/operations/management/analytics_link_disconnect.hxx +22 -19
- data/ext/couchbase/core/operations/management/analytics_link_drop.cxx +76 -69
- data/ext/couchbase/core/operations/management/analytics_link_drop.hxx +22 -19
- data/ext/couchbase/core/operations/management/analytics_link_get_all.cxx +98 -87
- data/ext/couchbase/core/operations/management/analytics_link_get_all.hxx +27 -24
- data/ext/couchbase/core/operations/management/analytics_link_replace.cxx +60 -57
- data/ext/couchbase/core/operations/management/analytics_link_replace.hxx +33 -30
- data/ext/couchbase/core/operations/management/analytics_link_utils.hxx +6 -4
- data/ext/couchbase/core/operations/management/analytics_problem.hxx +2 -2
- data/ext/couchbase/core/operations/management/bucket_create.cxx +165 -152
- data/ext/couchbase/core/operations/management/bucket_create.hxx +14 -12
- data/ext/couchbase/core/operations/management/bucket_describe.cxx +127 -48
- data/ext/couchbase/core/operations/management/bucket_describe.hxx +47 -22
- data/ext/couchbase/core/operations/management/bucket_drop.cxx +23 -21
- data/ext/couchbase/core/operations/management/bucket_drop.hxx +13 -11
- data/ext/couchbase/core/operations/management/bucket_flush.cxx +29 -27
- data/ext/couchbase/core/operations/management/bucket_flush.hxx +13 -11
- data/ext/couchbase/core/operations/management/bucket_get.cxx +29 -25
- data/ext/couchbase/core/operations/management/bucket_get.hxx +14 -12
- data/ext/couchbase/core/operations/management/bucket_get_all.cxx +32 -26
- data/ext/couchbase/core/operations/management/bucket_get_all.hxx +13 -11
- data/ext/couchbase/core/operations/management/bucket_update.cxx +119 -110
- data/ext/couchbase/core/operations/management/bucket_update.hxx +15 -13
- data/ext/couchbase/core/operations/management/change_password.cxx +27 -23
- data/ext/couchbase/core/operations/management/change_password.hxx +13 -11
- data/ext/couchbase/core/operations/management/cluster_describe.cxx +57 -52
- data/ext/couchbase/core/operations/management/cluster_describe.hxx +31 -29
- data/ext/couchbase/core/operations/management/cluster_developer_preview_enable.cxx +18 -14
- data/ext/couchbase/core/operations/management/cluster_developer_preview_enable.hxx +13 -11
- data/ext/couchbase/core/operations/management/collection_create.cxx +56 -51
- data/ext/couchbase/core/operations/management/collection_create.hxx +19 -16
- data/ext/couchbase/core/operations/management/collection_drop.cxx +45 -40
- data/ext/couchbase/core/operations/management/collection_drop.hxx +16 -14
- data/ext/couchbase/core/operations/management/collection_update.cxx +55 -50
- data/ext/couchbase/core/operations/management/collection_update.hxx +19 -16
- data/ext/couchbase/core/operations/management/collections_manifest_get.cxx +14 -11
- data/ext/couchbase/core/operations/management/collections_manifest_get.hxx +17 -13
- data/ext/couchbase/core/operations/management/error_utils.cxx +230 -209
- data/ext/couchbase/core/operations/management/error_utils.hxx +3 -1
- data/ext/couchbase/core/operations/management/eventing_deploy_function.cxx +34 -30
- data/ext/couchbase/core/operations/management/eventing_deploy_function.hxx +17 -14
- data/ext/couchbase/core/operations/management/eventing_drop_function.cxx +35 -31
- data/ext/couchbase/core/operations/management/eventing_drop_function.hxx +17 -14
- data/ext/couchbase/core/operations/management/eventing_get_all_functions.cxx +54 -45
- data/ext/couchbase/core/operations/management/eventing_get_all_functions.hxx +17 -14
- data/ext/couchbase/core/operations/management/eventing_get_function.cxx +33 -29
- data/ext/couchbase/core/operations/management/eventing_get_function.hxx +18 -15
- data/ext/couchbase/core/operations/management/eventing_get_status.cxx +50 -41
- data/ext/couchbase/core/operations/management/eventing_get_status.hxx +17 -14
- data/ext/couchbase/core/operations/management/eventing_pause_function.cxx +34 -30
- data/ext/couchbase/core/operations/management/eventing_pause_function.hxx +17 -14
- data/ext/couchbase/core/operations/management/eventing_problem.hxx +3 -3
- data/ext/couchbase/core/operations/management/eventing_resume_function.cxx +34 -30
- data/ext/couchbase/core/operations/management/eventing_resume_function.hxx +17 -14
- data/ext/couchbase/core/operations/management/eventing_undeploy_function.cxx +34 -30
- data/ext/couchbase/core/operations/management/eventing_undeploy_function.hxx +17 -14
- data/ext/couchbase/core/operations/management/eventing_upsert_function.cxx +335 -320
- data/ext/couchbase/core/operations/management/eventing_upsert_function.hxx +17 -14
- data/ext/couchbase/core/operations/management/freeform.cxx +27 -25
- data/ext/couchbase/core/operations/management/freeform.hxx +19 -17
- data/ext/couchbase/core/operations/management/group_drop.cxx +22 -20
- data/ext/couchbase/core/operations/management/group_drop.hxx +13 -11
- data/ext/couchbase/core/operations/management/group_get.cxx +30 -26
- data/ext/couchbase/core/operations/management/group_get.hxx +14 -12
- data/ext/couchbase/core/operations/management/group_get_all.cxx +30 -25
- data/ext/couchbase/core/operations/management/group_get_all.hxx +13 -11
- data/ext/couchbase/core/operations/management/group_upsert.cxx +64 -58
- data/ext/couchbase/core/operations/management/group_upsert.hxx +14 -12
- data/ext/couchbase/core/operations/management/query_index_build.cxx +60 -52
- data/ext/couchbase/core/operations/management/query_index_build.hxx +25 -22
- data/ext/couchbase/core/operations/management/query_index_build_deferred.hxx +75 -67
- data/ext/couchbase/core/operations/management/query_index_create.cxx +133 -124
- data/ext/couchbase/core/operations/management/query_index_create.hxx +31 -28
- data/ext/couchbase/core/operations/management/query_index_drop.cxx +102 -96
- data/ext/couchbase/core/operations/management/query_index_drop.hxx +26 -24
- data/ext/couchbase/core/operations/management/query_index_get_all.cxx +106 -95
- data/ext/couchbase/core/operations/management/query_index_get_all.hxx +24 -21
- data/ext/couchbase/core/operations/management/query_index_get_all_deferred.cxx +73 -64
- data/ext/couchbase/core/operations/management/query_index_get_all_deferred.hxx +24 -22
- data/ext/couchbase/core/operations/management/role_get_all.cxx +30 -25
- data/ext/couchbase/core/operations/management/role_get_all.hxx +13 -11
- data/ext/couchbase/core/operations/management/scope_create.cxx +43 -39
- data/ext/couchbase/core/operations/management/scope_create.hxx +15 -13
- data/ext/couchbase/core/operations/management/scope_drop.cxx +40 -37
- data/ext/couchbase/core/operations/management/scope_drop.hxx +15 -13
- data/ext/couchbase/core/operations/management/scope_get_all.cxx +33 -28
- data/ext/couchbase/core/operations/management/scope_get_all.hxx +14 -12
- data/ext/couchbase/core/operations/management/search_get_stats.cxx +15 -12
- data/ext/couchbase/core/operations/management/search_get_stats.hxx +13 -11
- data/ext/couchbase/core/operations/management/search_index_analyze_document.cxx +77 -69
- data/ext/couchbase/core/operations/management/search_index_analyze_document.hxx +20 -18
- data/ext/couchbase/core/operations/management/search_index_control_ingest.cxx +66 -61
- data/ext/couchbase/core/operations/management/search_index_control_ingest.hxx +19 -16
- data/ext/couchbase/core/operations/management/search_index_control_plan_freeze.cxx +67 -61
- data/ext/couchbase/core/operations/management/search_index_control_plan_freeze.hxx +19 -17
- data/ext/couchbase/core/operations/management/search_index_control_query.cxx +66 -61
- data/ext/couchbase/core/operations/management/search_index_control_query.hxx +19 -16
- data/ext/couchbase/core/operations/management/search_index_drop.cxx +62 -57
- data/ext/couchbase/core/operations/management/search_index_drop.hxx +18 -15
- data/ext/couchbase/core/operations/management/search_index_get.cxx +63 -58
- data/ext/couchbase/core/operations/management/search_index_get.hxx +18 -16
- data/ext/couchbase/core/operations/management/search_index_get_all.cxx +55 -48
- data/ext/couchbase/core/operations/management/search_index_get_all.hxx +18 -15
- data/ext/couchbase/core/operations/management/search_index_get_documents_count.cxx +73 -63
- data/ext/couchbase/core/operations/management/search_index_get_documents_count.hxx +19 -17
- data/ext/couchbase/core/operations/management/search_index_get_stats.cxx +44 -38
- data/ext/couchbase/core/operations/management/search_index_get_stats.hxx +17 -14
- data/ext/couchbase/core/operations/management/search_index_upsert.cxx +102 -97
- data/ext/couchbase/core/operations/management/search_index_upsert.hxx +20 -17
- data/ext/couchbase/core/operations/management/user_drop.cxx +22 -20
- data/ext/couchbase/core/operations/management/user_drop.hxx +16 -12
- data/ext/couchbase/core/operations/management/user_get.cxx +31 -26
- data/ext/couchbase/core/operations/management/user_get.hxx +17 -13
- data/ext/couchbase/core/operations/management/user_get_all.cxx +30 -25
- data/ext/couchbase/core/operations/management/user_get_all.hxx +16 -12
- data/ext/couchbase/core/operations/management/user_upsert.cxx +69 -63
- data/ext/couchbase/core/operations/management/user_upsert.hxx +17 -13
- data/ext/couchbase/core/operations/management/view_index_drop.cxx +22 -15
- data/ext/couchbase/core/operations/management/view_index_drop.hxx +15 -13
- data/ext/couchbase/core/operations/management/view_index_get.cxx +46 -38
- data/ext/couchbase/core/operations/management/view_index_get.hxx +16 -14
- data/ext/couchbase/core/operations/management/view_index_get_all.cxx +77 -71
- data/ext/couchbase/core/operations/management/view_index_get_all.hxx +16 -13
- data/ext/couchbase/core/operations/management/view_index_upsert.cxx +43 -37
- data/ext/couchbase/core/operations/management/view_index_upsert.hxx +15 -12
- data/ext/couchbase/core/origin.cxx +292 -277
- data/ext/couchbase/core/origin.hxx +55 -49
- data/ext/couchbase/core/pending_operation.hxx +3 -3
- data/ext/couchbase/core/pending_operation_connection_info.hxx +32 -0
- data/ext/couchbase/core/ping_collector.hxx +3 -3
- data/ext/couchbase/core/ping_options.hxx +30 -30
- data/ext/couchbase/core/ping_reporter.hxx +3 -3
- data/ext/couchbase/core/platform/backtrace.c +100 -91
- data/ext/couchbase/core/platform/base64.cc +135 -131
- data/ext/couchbase/core/platform/dirutils.cc +69 -63
- data/ext/couchbase/core/platform/random.cc +47 -44
- data/ext/couchbase/core/platform/random.h +4 -4
- data/ext/couchbase/core/platform/string_hex.cc +47 -40
- data/ext/couchbase/core/platform/terminate_handler.cc +55 -52
- data/ext/couchbase/core/platform/uuid.cc +53 -48
- data/ext/couchbase/core/protocol/client_opcode.hxx +336 -327
- data/ext/couchbase/core/protocol/client_opcode_fmt.hxx +291 -291
- data/ext/couchbase/core/protocol/client_request.cxx +13 -10
- data/ext/couchbase/core/protocol/client_request.hxx +133 -132
- data/ext/couchbase/core/protocol/client_response.cxx +41 -40
- data/ext/couchbase/core/protocol/client_response.hxx +153 -150
- data/ext/couchbase/core/protocol/cmd_append.cxx +24 -23
- data/ext/couchbase/core/protocol/cmd_append.hxx +65 -65
- data/ext/couchbase/core/protocol/cmd_cluster_map_change_notification.cxx +28 -22
- data/ext/couchbase/core/protocol/cmd_cluster_map_change_notification.hxx +33 -25
- data/ext/couchbase/core/protocol/cmd_decrement.cxx +38 -38
- data/ext/couchbase/core/protocol/cmd_decrement.hxx +87 -87
- data/ext/couchbase/core/protocol/cmd_get.cxx +17 -17
- data/ext/couchbase/core/protocol/cmd_get.hxx +59 -59
- data/ext/couchbase/core/protocol/cmd_get_and_lock.cxx +20 -20
- data/ext/couchbase/core/protocol/cmd_get_and_lock.hxx +72 -72
- data/ext/couchbase/core/protocol/cmd_get_and_touch.cxx +20 -20
- data/ext/couchbase/core/protocol/cmd_get_and_touch.hxx +72 -72
- data/ext/couchbase/core/protocol/cmd_get_cluster_config.cxx +47 -39
- data/ext/couchbase/core/protocol/cmd_get_cluster_config.hxx +57 -49
- data/ext/couchbase/core/protocol/cmd_get_collection_id.cxx +17 -17
- data/ext/couchbase/core/protocol/cmd_get_collection_id.hxx +59 -59
- data/ext/couchbase/core/protocol/cmd_get_collections_manifest.cxx +17 -14
- data/ext/couchbase/core/protocol/cmd_get_collections_manifest.hxx +39 -39
- data/ext/couchbase/core/protocol/cmd_get_error_map.cxx +19 -17
- data/ext/couchbase/core/protocol/cmd_get_error_map.hxx +62 -62
- data/ext/couchbase/core/protocol/cmd_get_meta.cxx +24 -23
- data/ext/couchbase/core/protocol/cmd_get_meta.hxx +81 -79
- data/ext/couchbase/core/protocol/cmd_get_replica.cxx +23 -23
- data/ext/couchbase/core/protocol/cmd_get_replica.hxx +44 -44
- data/ext/couchbase/core/protocol/cmd_hello.cxx +28 -27
- data/ext/couchbase/core/protocol/cmd_hello.hxx +106 -105
- data/ext/couchbase/core/protocol/cmd_increment.cxx +38 -38
- data/ext/couchbase/core/protocol/cmd_increment.hxx +87 -87
- data/ext/couchbase/core/protocol/cmd_info.hxx +3 -3
- data/ext/couchbase/core/protocol/cmd_insert.cxx +27 -27
- data/ext/couchbase/core/protocol/cmd_insert.hxx +81 -81
- data/ext/couchbase/core/protocol/cmd_lookup_in.cxx +54 -51
- data/ext/couchbase/core/protocol/cmd_lookup_in.hxx +90 -90
- data/ext/couchbase/core/protocol/cmd_lookup_in_replica.cxx +54 -51
- data/ext/couchbase/core/protocol/cmd_lookup_in_replica.hxx +88 -88
- data/ext/couchbase/core/protocol/cmd_mutate_in.cxx +105 -97
- data/ext/couchbase/core/protocol/cmd_mutate_in.hxx +161 -153
- data/ext/couchbase/core/protocol/cmd_noop.cxx +4 -4
- data/ext/couchbase/core/protocol/cmd_noop.hxx +32 -32
- data/ext/couchbase/core/protocol/cmd_observe_seqno.cxx +45 -42
- data/ext/couchbase/core/protocol/cmd_observe_seqno.hxx +89 -89
- data/ext/couchbase/core/protocol/cmd_prepend.cxx +22 -22
- data/ext/couchbase/core/protocol/cmd_prepend.hxx +63 -63
- data/ext/couchbase/core/protocol/cmd_remove.cxx +23 -23
- data/ext/couchbase/core/protocol/cmd_remove.hxx +54 -54
- data/ext/couchbase/core/protocol/cmd_replace.cxx +28 -28
- data/ext/couchbase/core/protocol/cmd_replace.hxx +88 -88
- data/ext/couchbase/core/protocol/cmd_sasl_auth.cxx +17 -15
- data/ext/couchbase/core/protocol/cmd_sasl_auth.hxx +56 -56
- data/ext/couchbase/core/protocol/cmd_sasl_list_mechs.cxx +24 -19
- data/ext/couchbase/core/protocol/cmd_sasl_list_mechs.hxx +39 -39
- data/ext/couchbase/core/protocol/cmd_sasl_step.cxx +17 -15
- data/ext/couchbase/core/protocol/cmd_sasl_step.hxx +56 -56
- data/ext/couchbase/core/protocol/cmd_select_bucket.cxx +6 -6
- data/ext/couchbase/core/protocol/cmd_select_bucket.hxx +36 -36
- data/ext/couchbase/core/protocol/cmd_touch.cxx +8 -8
- data/ext/couchbase/core/protocol/cmd_touch.hxx +38 -38
- data/ext/couchbase/core/protocol/cmd_unlock.cxx +5 -5
- data/ext/couchbase/core/protocol/cmd_unlock.hxx +36 -36
- data/ext/couchbase/core/protocol/cmd_upsert.cxx +28 -28
- data/ext/couchbase/core/protocol/cmd_upsert.hxx +83 -83
- data/ext/couchbase/core/protocol/datatype.hxx +19 -18
- data/ext/couchbase/core/protocol/frame_info_id.hxx +108 -103
- data/ext/couchbase/core/protocol/frame_info_id_fmt.hxx +45 -45
- data/ext/couchbase/core/protocol/frame_info_utils.cxx +24 -21
- data/ext/couchbase/core/protocol/frame_info_utils.hxx +3 -1
- data/ext/couchbase/core/protocol/hello_feature.hxx +211 -175
- data/ext/couchbase/core/protocol/hello_feature_fmt.hxx +93 -90
- data/ext/couchbase/core/protocol/magic.hxx +24 -24
- data/ext/couchbase/core/protocol/magic_fmt.hxx +30 -30
- data/ext/couchbase/core/protocol/server_opcode.hxx +11 -11
- data/ext/couchbase/core/protocol/server_opcode_fmt.hxx +18 -18
- data/ext/couchbase/core/protocol/server_request.hxx +90 -86
- data/ext/couchbase/core/protocol/status.cxx +137 -138
- data/ext/couchbase/core/protocol/status.hxx +86 -86
- data/ext/couchbase/core/query_context.hxx +44 -43
- data/ext/couchbase/core/range_scan_load_balancer.cxx +52 -50
- data/ext/couchbase/core/range_scan_load_balancer.hxx +26 -26
- data/ext/couchbase/core/range_scan_options.cxx +2 -2
- data/ext/couchbase/core/range_scan_options.hxx +62 -59
- data/ext/couchbase/core/range_scan_orchestrator.cxx +530 -468
- data/ext/couchbase/core/range_scan_orchestrator.hxx +23 -18
- data/ext/couchbase/core/range_scan_orchestrator_options.hxx +10 -10
- data/ext/couchbase/core/resource_units.hxx +2 -2
- data/ext/couchbase/core/response_handler.hxx +8 -8
- data/ext/couchbase/core/retry_orchestrator.cxx +27 -19
- data/ext/couchbase/core/retry_orchestrator.hxx +3 -2
- data/ext/couchbase/core/row_streamer.cxx +239 -0
- data/ext/couchbase/core/row_streamer.hxx +68 -0
- data/ext/couchbase/core/sasl/client.cc +22 -18
- data/ext/couchbase/core/sasl/client.h +66 -62
- data/ext/couchbase/core/sasl/context.cc +4 -4
- data/ext/couchbase/core/sasl/context.h +19 -19
- data/ext/couchbase/core/sasl/error.h +12 -1
- data/ext/couchbase/core/sasl/error_fmt.h +42 -42
- data/ext/couchbase/core/sasl/mechanism.cc +13 -10
- data/ext/couchbase/core/sasl/mechanism.h +8 -3
- data/ext/couchbase/core/sasl/plain/plain.cc +8 -8
- data/ext/couchbase/core/sasl/plain/plain.h +25 -24
- data/ext/couchbase/core/sasl/scram-sha/scram-sha.cc +225 -218
- data/ext/couchbase/core/sasl/scram-sha/scram-sha.h +133 -115
- data/ext/couchbase/core/sasl/scram-sha/stringutils.cc +20 -20
- data/ext/couchbase/core/scan_result.cxx +38 -38
- data/ext/couchbase/core/scan_result.hxx +16 -16
- data/ext/couchbase/core/search_highlight_style.hxx +4 -1
- data/ext/couchbase/core/search_query_options.cxx +21 -21
- data/ext/couchbase/core/search_query_options.hxx +19 -18
- data/ext/couchbase/core/search_scan_consistency.hxx +3 -1
- data/ext/couchbase/core/seed_config.cxx +10 -7
- data/ext/couchbase/core/seed_config.hxx +8 -8
- data/ext/couchbase/core/service_type.hxx +7 -7
- data/ext/couchbase/core/service_type_fmt.hxx +33 -33
- data/ext/couchbase/core/stats_options.hxx +13 -13
- data/ext/couchbase/core/subdoc_options.hxx +60 -58
- data/ext/couchbase/core/timeout_defaults.hxx +1 -0
- data/ext/couchbase/core/tls_verify_mode.hxx +2 -2
- data/ext/couchbase/core/topology/capabilities.hxx +83 -83
- data/ext/couchbase/core/topology/capabilities_fmt.hxx +111 -111
- data/ext/couchbase/core/topology/collections_manifest.hxx +14 -14
- data/ext/couchbase/core/topology/collections_manifest_fmt.hxx +23 -21
- data/ext/couchbase/core/topology/collections_manifest_json.hxx +26 -25
- data/ext/couchbase/core/topology/configuration.cxx +213 -192
- data/ext/couchbase/core/topology/configuration.hxx +104 -91
- data/ext/couchbase/core/topology/configuration_fmt.hxx +131 -128
- data/ext/couchbase/core/topology/configuration_json.hxx +276 -242
- data/ext/couchbase/core/topology/error_map.hxx +5 -5
- data/ext/couchbase/core/topology/error_map_json.hxx +65 -60
- data/ext/couchbase/core/tracing/CMakeLists.txt +3 -1
- data/ext/couchbase/core/tracing/constants.hxx +153 -153
- data/ext/couchbase/core/tracing/noop_tracer.hxx +29 -28
- data/ext/couchbase/core/tracing/threshold_logging_options.hxx +30 -30
- data/ext/couchbase/core/tracing/threshold_logging_tracer.cxx +354 -344
- data/ext/couchbase/core/tracing/threshold_logging_tracer.hxx +12 -12
- data/ext/couchbase/core/transactions/active_transaction_record.cxx +152 -33
- data/ext/couchbase/core/transactions/active_transaction_record.hxx +30 -118
- data/ext/couchbase/core/transactions/async_attempt_context.cxx +8 -2
- data/ext/couchbase/core/transactions/async_attempt_context.hxx +166 -130
- data/ext/couchbase/core/transactions/atr_cleanup_entry.cxx +376 -340
- data/ext/couchbase/core/transactions/atr_ids.cxx +272 -186
- data/ext/couchbase/core/transactions/atr_ids.hxx +4 -4
- data/ext/couchbase/core/transactions/attempt_context.cxx +9 -5
- data/ext/couchbase/core/transactions/attempt_context.hxx +194 -154
- data/ext/couchbase/core/transactions/attempt_context_impl.cxx +3356 -2134
- data/ext/couchbase/core/transactions/attempt_context_impl.hxx +408 -562
- data/ext/couchbase/core/transactions/attempt_context_testing_hooks.cxx +18 -10
- data/ext/couchbase/core/transactions/attempt_context_testing_hooks.hxx +58 -49
- data/ext/couchbase/core/transactions/attempt_state.hxx +72 -72
- data/ext/couchbase/core/transactions/binary.cxx +3 -3
- data/ext/couchbase/core/transactions/cleanup_testing_hooks.cxx +4 -3
- data/ext/couchbase/core/transactions/cleanup_testing_hooks.hxx +28 -24
- data/ext/couchbase/core/transactions/document_metadata.hxx +68 -68
- data/ext/couchbase/core/transactions/durability_level.hxx +53 -53
- data/ext/couchbase/core/transactions/error_class.hxx +12 -12
- data/ext/couchbase/core/transactions/error_list.hxx +22 -22
- data/ext/couchbase/core/transactions/exceptions.cxx +167 -115
- data/ext/couchbase/core/transactions/exceptions.hxx +170 -139
- data/ext/couchbase/core/transactions/exceptions_fmt.hxx +105 -0
- data/ext/couchbase/core/transactions/forward_compat.cxx +231 -0
- data/ext/couchbase/core/transactions/forward_compat.hxx +63 -207
- data/ext/couchbase/core/transactions/internal/atr_cleanup_entry.hxx +111 -102
- data/ext/couchbase/core/transactions/internal/atr_entry.hxx +144 -144
- data/ext/couchbase/core/transactions/internal/client_record.hxx +53 -50
- data/ext/couchbase/core/transactions/internal/doc_record.cxx +7 -7
- data/ext/couchbase/core/transactions/internal/doc_record.hxx +38 -35
- data/ext/couchbase/core/transactions/internal/doc_record_fmt.hxx +17 -16
- data/ext/couchbase/core/transactions/internal/exceptions_internal.hxx +238 -281
- data/ext/couchbase/core/transactions/internal/exceptions_internal_fmt.hxx +103 -0
- data/ext/couchbase/core/transactions/internal/logging.hxx +52 -29
- data/ext/couchbase/core/transactions/internal/transaction_attempt.hxx +3 -3
- data/ext/couchbase/core/transactions/internal/transaction_context.hxx +113 -147
- data/ext/couchbase/core/transactions/internal/transaction_fields.hxx +2 -1
- data/ext/couchbase/core/transactions/internal/transactions_cleanup.hxx +129 -123
- data/ext/couchbase/core/transactions/internal/utils.hxx +247 -221
- data/ext/couchbase/core/transactions/result.cxx +41 -40
- data/ext/couchbase/core/transactions/result.hxx +143 -141
- data/ext/couchbase/core/transactions/result_fmt.hxx +21 -20
- data/ext/couchbase/core/transactions/staged_mutation.cxx +772 -632
- data/ext/couchbase/core/transactions/staged_mutation.hxx +177 -156
- data/ext/couchbase/core/transactions/transaction_context.cxx +343 -181
- data/ext/couchbase/core/transactions/transaction_get_result.cxx +189 -198
- data/ext/couchbase/core/transactions/transaction_get_result.hxx +202 -225
- data/ext/couchbase/core/transactions/transaction_keyspace.cxx +15 -11
- data/ext/couchbase/core/transactions/transaction_links.cxx +96 -7
- data/ext/couchbase/core/transactions/transaction_links.hxx +192 -230
- data/ext/couchbase/core/transactions/transaction_options.cxx +45 -41
- data/ext/couchbase/core/transactions/transactions.cxx +171 -126
- data/ext/couchbase/core/transactions/transactions_cleanup.cxx +497 -439
- data/ext/couchbase/core/transactions/transactions_config.cxx +26 -22
- data/ext/couchbase/core/transactions/uid_generator.cxx +6 -4
- data/ext/couchbase/core/transactions/uid_generator.hxx +2 -2
- data/ext/couchbase/core/transactions/utils.cxx +79 -66
- data/ext/couchbase/core/transactions/waitable_op_list.hxx +154 -140
- data/ext/couchbase/core/transactions.hxx +183 -180
- data/ext/couchbase/core/utils/binary.cxx +3 -3
- data/ext/couchbase/core/utils/binary.hxx +19 -15
- data/ext/couchbase/core/utils/byteswap.hxx +17 -17
- data/ext/couchbase/core/utils/connection_string.cxx +408 -329
- data/ext/couchbase/core/utils/connection_string.hxx +37 -36
- data/ext/couchbase/core/utils/crc32.hxx +42 -34
- data/ext/couchbase/core/utils/duration_parser.cxx +146 -135
- data/ext/couchbase/core/utils/duration_parser.hxx +9 -9
- data/ext/couchbase/core/utils/join_strings.hxx +24 -24
- data/ext/couchbase/core/utils/json.cxx +244 -228
- data/ext/couchbase/core/utils/json.hxx +13 -13
- data/ext/couchbase/core/utils/json_stream_control.hxx +8 -8
- data/ext/couchbase/core/utils/json_streaming_lexer.cxx +328 -268
- data/ext/couchbase/core/utils/json_streaming_lexer.hxx +24 -17
- data/ext/couchbase/core/utils/keyspace.hxx +22 -21
- data/ext/couchbase/core/utils/movable_function.hxx +78 -76
- data/ext/couchbase/core/utils/mutation_token.cxx +7 -3
- data/ext/couchbase/core/utils/mutation_token.hxx +3 -1
- data/ext/couchbase/core/utils/name_codec.hxx +13 -13
- data/ext/couchbase/core/utils/split_string.cxx +9 -9
- data/ext/couchbase/core/utils/split_string.hxx +2 -2
- data/ext/couchbase/core/utils/unsigned_leb128.hxx +92 -88
- data/ext/couchbase/core/utils/url_codec.cxx +304 -297
- data/ext/couchbase/core/utils/url_codec.hxx +35 -35
- data/ext/couchbase/core/vector_query_combination.hxx +4 -1
- data/ext/couchbase/core/view_on_error.hxx +4 -3
- data/ext/couchbase/core/view_query_options.cxx +21 -21
- data/ext/couchbase/core/view_query_options.hxx +23 -22
- data/ext/couchbase/core/view_scan_consistency.hxx +3 -3
- data/ext/couchbase/core/view_sort_order.hxx +4 -1
- data/ext/couchbase/core/wait_until_ready_options.hxx +11 -10
- data/ext/couchbase/couchbase/allow_querying_search_index_options.hxx +11 -11
- data/ext/couchbase/couchbase/analytics_index_manager.hxx +424 -406
- data/ext/couchbase/couchbase/analytics_meta_data.hxx +105 -105
- data/ext/couchbase/couchbase/analytics_metrics.hxx +120 -118
- data/ext/couchbase/couchbase/analytics_options.hxx +318 -292
- data/ext/couchbase/couchbase/analytics_result.hxx +56 -55
- data/ext/couchbase/couchbase/analytics_scan_consistency.hxx +24 -21
- data/ext/couchbase/couchbase/analytics_status.hxx +10 -10
- data/ext/couchbase/couchbase/analytics_warning.hxx +44 -43
- data/ext/couchbase/couchbase/analyze_document_options.hxx +9 -9
- data/ext/couchbase/couchbase/append_options.hxx +51 -47
- data/ext/couchbase/couchbase/behavior_options.hxx +75 -69
- data/ext/couchbase/couchbase/best_effort_retry_strategy.hxx +12 -10
- data/ext/couchbase/couchbase/binary_collection.hxx +213 -183
- data/ext/couchbase/couchbase/boolean_field_query.hxx +38 -38
- data/ext/couchbase/couchbase/boolean_query.hxx +166 -157
- data/ext/couchbase/couchbase/bucket.hxx +69 -68
- data/ext/couchbase/couchbase/bucket_manager.hxx +98 -88
- data/ext/couchbase/couchbase/build_query_index_options.hxx +22 -21
- data/ext/couchbase/couchbase/cas.hxx +74 -73
- data/ext/couchbase/couchbase/certificate_authenticator.hxx +10 -10
- data/ext/couchbase/couchbase/cluster.hxx +266 -310
- data/ext/couchbase/couchbase/cluster_options.hxx +235 -241
- data/ext/couchbase/couchbase/codec/binary_noop_serializer.hxx +11 -11
- data/ext/couchbase/couchbase/codec/codec_flags.hxx +39 -35
- data/ext/couchbase/couchbase/codec/encoded_value.hxx +15 -2
- data/ext/couchbase/couchbase/codec/json_transcoder.hxx +17 -15
- data/ext/couchbase/couchbase/codec/raw_binary_transcoder.hxx +19 -17
- data/ext/couchbase/couchbase/codec/raw_json_transcoder.hxx +31 -24
- data/ext/couchbase/couchbase/codec/raw_string_transcoder.hxx +20 -18
- data/ext/couchbase/couchbase/codec/tao_json_serializer.hxx +38 -30
- data/ext/couchbase/couchbase/collection.hxx +1007 -902
- data/ext/couchbase/couchbase/collection_manager.hxx +115 -107
- data/ext/couchbase/couchbase/collection_query_index_manager.hxx +200 -188
- data/ext/couchbase/couchbase/common_durability_options.hxx +68 -62
- data/ext/couchbase/couchbase/common_options.hxx +67 -67
- data/ext/couchbase/couchbase/compression_options.hxx +33 -33
- data/ext/couchbase/couchbase/configuration_profile.hxx +12 -11
- data/ext/couchbase/couchbase/configuration_profiles_registry.hxx +24 -22
- data/ext/couchbase/couchbase/conjunction_query.hxx +47 -45
- data/ext/couchbase/couchbase/connect_link_analytics_options.hxx +74 -72
- data/ext/couchbase/couchbase/counter_result.hxx +32 -32
- data/ext/couchbase/couchbase/create_bucket_options.hxx +10 -10
- data/ext/couchbase/couchbase/create_collection_options.hxx +35 -34
- data/ext/couchbase/couchbase/create_dataset_analytics_options.hxx +76 -76
- data/ext/couchbase/couchbase/create_dataverse_analytics_options.hxx +44 -44
- data/ext/couchbase/couchbase/create_index_analytics_options.hxx +60 -60
- data/ext/couchbase/couchbase/create_link_analytics_options.hxx +25 -25
- data/ext/couchbase/couchbase/create_primary_query_index_options.hxx +95 -94
- data/ext/couchbase/couchbase/create_query_index_options.hxx +97 -96
- data/ext/couchbase/couchbase/create_scope_options.hxx +9 -9
- data/ext/couchbase/couchbase/date_range.hxx +29 -27
- data/ext/couchbase/couchbase/date_range_facet.hxx +20 -20
- data/ext/couchbase/couchbase/date_range_facet_result.hxx +15 -14
- data/ext/couchbase/couchbase/date_range_query.hxx +219 -205
- data/ext/couchbase/couchbase/decrement_options.hxx +93 -91
- data/ext/couchbase/couchbase/diagnostics_options.hxx +42 -41
- data/ext/couchbase/couchbase/diagnostics_result.hxx +82 -83
- data/ext/couchbase/couchbase/disallow_querying_search_index_options.hxx +11 -10
- data/ext/couchbase/couchbase/disconnect_link_analytics_options.hxx +62 -62
- data/ext/couchbase/couchbase/disjunction_query.hxx +61 -60
- data/ext/couchbase/couchbase/dns_options.hxx +30 -30
- data/ext/couchbase/couchbase/doc_id_query.hxx +69 -69
- data/ext/couchbase/couchbase/drop_bucket_options.hxx +12 -12
- data/ext/couchbase/couchbase/drop_collection_options.hxx +9 -9
- data/ext/couchbase/couchbase/drop_dataset_analytics_options.hxx +60 -60
- data/ext/couchbase/couchbase/drop_dataverse_analytics_options.hxx +44 -44
- data/ext/couchbase/couchbase/drop_index_analytics_options.hxx +60 -60
- data/ext/couchbase/couchbase/drop_link_analytics_options.hxx +25 -25
- data/ext/couchbase/couchbase/drop_primary_query_index_options.hxx +58 -58
- data/ext/couchbase/couchbase/drop_query_index_options.hxx +44 -44
- data/ext/couchbase/couchbase/drop_scope_options.hxx +9 -9
- data/ext/couchbase/couchbase/drop_search_index_options.hxx +9 -9
- data/ext/couchbase/couchbase/durability_level.hxx +32 -29
- data/ext/couchbase/couchbase/endpoint_diagnostics.hxx +171 -171
- data/ext/couchbase/couchbase/endpoint_ping_report.hxx +166 -169
- data/ext/couchbase/couchbase/error.hxx +51 -0
- data/ext/couchbase/couchbase/error_codes.hxx +975 -940
- data/ext/couchbase/couchbase/error_context.hxx +19 -152
- data/ext/couchbase/couchbase/exists_options.hxx +25 -24
- data/ext/couchbase/couchbase/exists_result.hxx +32 -32
- data/ext/couchbase/couchbase/expiry.hxx +2 -2
- data/ext/couchbase/couchbase/fail_fast_retry_strategy.hxx +4 -4
- data/ext/couchbase/couchbase/flush_bucket_options.hxx +11 -13
- data/ext/couchbase/couchbase/fmt/analytics_scan_consistency.hxx +18 -18
- data/ext/couchbase/couchbase/fmt/analytics_status.hxx +42 -42
- data/ext/couchbase/couchbase/fmt/cas.hxx +10 -10
- data/ext/couchbase/couchbase/fmt/durability_level.hxx +24 -24
- data/ext/couchbase/couchbase/fmt/error.hxx +53 -0
- data/ext/couchbase/couchbase/fmt/error_context.hxx +43 -0
- data/ext/couchbase/couchbase/fmt/mutation_token.hxx +15 -11
- data/ext/couchbase/couchbase/fmt/query_profile.hxx +21 -21
- data/ext/couchbase/couchbase/fmt/query_scan_consistency.hxx +18 -18
- data/ext/couchbase/couchbase/fmt/query_status.hxx +42 -42
- data/ext/couchbase/couchbase/fmt/retry_reason.hxx +75 -75
- data/ext/couchbase/couchbase/fmt/search_scan_consistency.hxx +15 -15
- data/ext/couchbase/couchbase/fmt/tls_verify_mode.hxx +18 -18
- data/ext/couchbase/couchbase/fmt/transaction_keyspace.hxx +15 -11
- data/ext/couchbase/couchbase/fork_event.hxx +12 -12
- data/ext/couchbase/couchbase/freeze_plan_search_index_options.hxx +9 -9
- data/ext/couchbase/couchbase/geo_bounding_box_query.hxx +71 -64
- data/ext/couchbase/couchbase/geo_distance_query.hxx +73 -66
- data/ext/couchbase/couchbase/geo_point.hxx +2 -2
- data/ext/couchbase/couchbase/geo_polygon_query.hxx +40 -39
- data/ext/couchbase/couchbase/get_all_buckets_options.hxx +11 -12
- data/ext/couchbase/couchbase/get_all_datasets_analytics_options.hxx +25 -25
- data/ext/couchbase/couchbase/get_all_indexes_analytics_options.hxx +26 -25
- data/ext/couchbase/couchbase/get_all_query_indexes_options.hxx +27 -25
- data/ext/couchbase/couchbase/get_all_replicas_options.hxx +49 -26
- data/ext/couchbase/couchbase/get_all_scopes_options.hxx +9 -9
- data/ext/couchbase/couchbase/get_all_search_indexes_options.hxx +9 -9
- data/ext/couchbase/couchbase/get_and_lock_options.hxx +25 -24
- data/ext/couchbase/couchbase/get_and_touch_options.hxx +25 -24
- data/ext/couchbase/couchbase/get_any_replica_options.hxx +49 -26
- data/ext/couchbase/couchbase/get_bucket_options.hxx +11 -12
- data/ext/couchbase/couchbase/get_indexed_search_index_options.hxx +9 -9
- data/ext/couchbase/couchbase/get_links_analytics_options.hxx +74 -74
- data/ext/couchbase/couchbase/get_options.hxx +63 -60
- data/ext/couchbase/couchbase/get_pending_mutations_analytics_options.hxx +30 -28
- data/ext/couchbase/couchbase/get_replica_result.hxx +79 -75
- data/ext/couchbase/couchbase/get_result.hxx +86 -80
- data/ext/couchbase/couchbase/get_search_index_options.hxx +9 -9
- data/ext/couchbase/couchbase/highlight_style.hxx +14 -14
- data/ext/couchbase/couchbase/increment_options.hxx +94 -91
- data/ext/couchbase/couchbase/insert_options.hxx +62 -59
- data/ext/couchbase/couchbase/ip_protocol.hxx +3 -3
- data/ext/couchbase/couchbase/logger.hxx +51 -0
- data/ext/couchbase/couchbase/lookup_in_all_replicas_options.hxx +54 -43
- data/ext/couchbase/couchbase/lookup_in_any_replica_options.hxx +54 -44
- data/ext/couchbase/couchbase/lookup_in_options.hxx +40 -40
- data/ext/couchbase/couchbase/lookup_in_replica_result.hxx +38 -35
- data/ext/couchbase/couchbase/lookup_in_result.hxx +222 -216
- data/ext/couchbase/couchbase/lookup_in_specs.hxx +101 -101
- data/ext/couchbase/couchbase/management/analytics_dataset.hxx +16 -16
- data/ext/couchbase/couchbase/management/analytics_index.hxx +16 -16
- data/ext/couchbase/couchbase/management/analytics_link.hxx +193 -189
- data/ext/couchbase/couchbase/management/bucket_settings.hxx +91 -75
- data/ext/couchbase/couchbase/management/collection_spec.hxx +4 -4
- data/ext/couchbase/couchbase/management/query_index.hxx +10 -10
- data/ext/couchbase/couchbase/management/scope_spec.hxx +2 -2
- data/ext/couchbase/couchbase/management/search_index.hxx +9 -9
- data/ext/couchbase/couchbase/match_all_query.hxx +10 -9
- data/ext/couchbase/couchbase/match_none_query.hxx +10 -9
- data/ext/couchbase/couchbase/match_operator.hxx +15 -14
- data/ext/couchbase/couchbase/match_phrase_query.hxx +70 -65
- data/ext/couchbase/couchbase/match_query.hxx +115 -114
- data/ext/couchbase/couchbase/metrics/meter.hxx +33 -30
- data/ext/couchbase/couchbase/metrics/otel_meter.hxx +86 -74
- data/ext/couchbase/couchbase/metrics_options.hxx +34 -34
- data/ext/couchbase/couchbase/mutate_in_options.hxx +160 -149
- data/ext/couchbase/couchbase/mutate_in_result.hxx +130 -123
- data/ext/couchbase/couchbase/mutate_in_specs.hxx +473 -454
- data/ext/couchbase/couchbase/mutation_result.hxx +32 -32
- data/ext/couchbase/couchbase/mutation_state.hxx +35 -34
- data/ext/couchbase/couchbase/mutation_token.hxx +78 -78
- data/ext/couchbase/couchbase/network_options.hxx +101 -72
- data/ext/couchbase/couchbase/numeric_range.hxx +26 -26
- data/ext/couchbase/couchbase/numeric_range_facet.hxx +20 -20
- data/ext/couchbase/couchbase/numeric_range_facet_result.hxx +14 -14
- data/ext/couchbase/couchbase/numeric_range_query.hxx +97 -95
- data/ext/couchbase/couchbase/password_authenticator.hxx +17 -17
- data/ext/couchbase/couchbase/pause_ingest_search_index_options.hxx +11 -10
- data/ext/couchbase/couchbase/persist_to.hxx +45 -44
- data/ext/couchbase/couchbase/phrase_query.hxx +69 -65
- data/ext/couchbase/couchbase/ping_options.hxx +55 -54
- data/ext/couchbase/couchbase/ping_result.hxx +79 -77
- data/ext/couchbase/couchbase/prefix_query.hxx +43 -40
- data/ext/couchbase/couchbase/prepend_options.hxx +51 -47
- data/ext/couchbase/couchbase/query_index_manager.hxx +207 -199
- data/ext/couchbase/couchbase/query_meta_data.hxx +120 -120
- data/ext/couchbase/couchbase/query_metrics.hxx +135 -133
- data/ext/couchbase/couchbase/query_options.hxx +518 -493
- data/ext/couchbase/couchbase/query_profile.hxx +29 -26
- data/ext/couchbase/couchbase/query_result.hxx +56 -58
- data/ext/couchbase/couchbase/query_scan_consistency.hxx +24 -21
- data/ext/couchbase/couchbase/query_status.hxx +10 -10
- data/ext/couchbase/couchbase/query_string_query.hxx +34 -29
- data/ext/couchbase/couchbase/query_warning.hxx +75 -71
- data/ext/couchbase/couchbase/read_preference.hxx +58 -0
- data/ext/couchbase/couchbase/regexp_query.hxx +40 -39
- data/ext/couchbase/couchbase/remove_options.hxx +51 -47
- data/ext/couchbase/couchbase/replace_link_analytics_options.hxx +25 -25
- data/ext/couchbase/couchbase/replace_options.hxx +112 -104
- data/ext/couchbase/couchbase/replicate_to.hxx +28 -28
- data/ext/couchbase/couchbase/result.hxx +28 -28
- data/ext/couchbase/couchbase/resume_ingest_search_index_options.hxx +11 -10
- data/ext/couchbase/couchbase/retry_action.hxx +10 -10
- data/ext/couchbase/couchbase/retry_reason.hxx +53 -51
- data/ext/couchbase/couchbase/retry_request.hxx +7 -7
- data/ext/couchbase/couchbase/retry_strategy.hxx +4 -4
- data/ext/couchbase/couchbase/scan_options.hxx +114 -108
- data/ext/couchbase/couchbase/scan_result.hxx +97 -96
- data/ext/couchbase/couchbase/scan_result_item.hxx +120 -118
- data/ext/couchbase/couchbase/scan_type.hxx +237 -232
- data/ext/couchbase/couchbase/scope.hxx +164 -157
- data/ext/couchbase/couchbase/scope_search_index_manager.hxx +263 -238
- data/ext/couchbase/couchbase/search_date_range.hxx +32 -29
- data/ext/couchbase/couchbase/search_facet.hxx +25 -25
- data/ext/couchbase/couchbase/search_facet_result.hxx +11 -11
- data/ext/couchbase/couchbase/search_geo_distance_units.hxx +11 -1
- data/ext/couchbase/couchbase/search_index_manager.hxx +261 -238
- data/ext/couchbase/couchbase/search_meta_data.hxx +40 -37
- data/ext/couchbase/couchbase/search_metrics.hxx +84 -83
- data/ext/couchbase/couchbase/search_numeric_range.hxx +32 -32
- data/ext/couchbase/couchbase/search_options.hxx +449 -435
- data/ext/couchbase/couchbase/search_query.hxx +32 -30
- data/ext/couchbase/couchbase/search_request.hxx +69 -68
- data/ext/couchbase/couchbase/search_result.hxx +29 -26
- data/ext/couchbase/couchbase/search_row.hxx +55 -52
- data/ext/couchbase/couchbase/search_row_location.hxx +21 -20
- data/ext/couchbase/couchbase/search_row_locations.hxx +43 -38
- data/ext/couchbase/couchbase/search_scan_consistency.hxx +11 -10
- data/ext/couchbase/couchbase/search_sort.hxx +20 -20
- data/ext/couchbase/couchbase/search_sort_field.hxx +77 -71
- data/ext/couchbase/couchbase/search_sort_field_missing.hxx +2 -2
- data/ext/couchbase/couchbase/search_sort_field_mode.hxx +3 -3
- data/ext/couchbase/couchbase/search_sort_field_type.hxx +4 -4
- data/ext/couchbase/couchbase/search_sort_geo_distance.hxx +41 -41
- data/ext/couchbase/couchbase/search_sort_id.hxx +23 -23
- data/ext/couchbase/couchbase/search_sort_score.hxx +23 -23
- data/ext/couchbase/couchbase/search_term_range.hxx +17 -17
- data/ext/couchbase/couchbase/security_options.hxx +50 -50
- data/ext/couchbase/couchbase/service_type.hxx +34 -34
- data/ext/couchbase/couchbase/store_semantics.hxx +28 -28
- data/ext/couchbase/couchbase/subdoc/array_add_unique.hxx +54 -54
- data/ext/couchbase/couchbase/subdoc/array_append.hxx +40 -40
- data/ext/couchbase/couchbase/subdoc/array_insert.hxx +41 -41
- data/ext/couchbase/couchbase/subdoc/array_prepend.hxx +41 -41
- data/ext/couchbase/couchbase/subdoc/count.hxx +24 -24
- data/ext/couchbase/couchbase/subdoc/counter.hxx +41 -41
- data/ext/couchbase/couchbase/subdoc/exists.hxx +24 -24
- data/ext/couchbase/couchbase/subdoc/get.hxx +45 -29
- data/ext/couchbase/couchbase/subdoc/insert.hxx +70 -54
- data/ext/couchbase/couchbase/subdoc/lookup_in_macro.hxx +14 -13
- data/ext/couchbase/couchbase/subdoc/mutate_in_macro.hxx +7 -2
- data/ext/couchbase/couchbase/subdoc/remove.hxx +24 -24
- data/ext/couchbase/couchbase/subdoc/replace.hxx +55 -39
- data/ext/couchbase/couchbase/subdoc/upsert.hxx +70 -54
- data/ext/couchbase/couchbase/term_facet.hxx +16 -16
- data/ext/couchbase/couchbase/term_facet_result.hxx +14 -14
- data/ext/couchbase/couchbase/term_query.hxx +107 -104
- data/ext/couchbase/couchbase/term_range_query.hxx +99 -96
- data/ext/couchbase/couchbase/timeout_options.hxx +118 -112
- data/ext/couchbase/couchbase/tls_verify_mode.hxx +2 -2
- data/ext/couchbase/couchbase/touch_options.hxx +25 -24
- data/ext/couchbase/couchbase/tracing/otel_tracer.hxx +45 -44
- data/ext/couchbase/couchbase/tracing/request_span.hxx +34 -34
- data/ext/couchbase/couchbase/tracing/request_tracer.hxx +27 -25
- data/ext/couchbase/couchbase/tracing_options.hxx +147 -142
- data/ext/couchbase/couchbase/transactions/async_attempt_context.hxx +149 -115
- data/ext/couchbase/couchbase/transactions/attempt_context.hxx +146 -95
- data/ext/couchbase/couchbase/transactions/transaction_get_result.hxx +52 -80
- data/ext/couchbase/couchbase/transactions/transaction_keyspace.hxx +33 -29
- data/ext/couchbase/couchbase/transactions/transaction_options.hxx +101 -96
- data/ext/couchbase/couchbase/transactions/transaction_query_options.hxx +228 -223
- data/ext/couchbase/couchbase/transactions/transaction_query_result.hxx +11 -12
- data/ext/couchbase/couchbase/transactions/transaction_result.hxx +2 -3
- data/ext/couchbase/couchbase/transactions/transactions_cleanup_config.hxx +105 -104
- data/ext/couchbase/couchbase/transactions/transactions_config.hxx +191 -187
- data/ext/couchbase/couchbase/transactions/transactions_query_config.hxx +32 -32
- data/ext/couchbase/couchbase/transactions.hxx +56 -37
- data/ext/couchbase/couchbase/unfreeze_plan_search_index_options.hxx +11 -10
- data/ext/couchbase/couchbase/unlock_options.hxx +25 -24
- data/ext/couchbase/couchbase/update_bucket_options.hxx +12 -12
- data/ext/couchbase/couchbase/update_collection_options.hxx +35 -34
- data/ext/couchbase/couchbase/upsert_options.hxx +85 -80
- data/ext/couchbase/couchbase/upsert_search_index_options.hxx +9 -9
- data/ext/couchbase/couchbase/vector_query.hxx +82 -62
- data/ext/couchbase/couchbase/vector_search.hxx +51 -47
- data/ext/couchbase/couchbase/vector_search_options.hxx +45 -41
- data/ext/couchbase/couchbase/wan_development_configuration_profile.hxx +13 -13
- data/ext/couchbase/couchbase/watch_query_indexes_options.hxx +41 -41
- data/ext/couchbase/couchbase/wildcard_query.hxx +42 -41
- data/ext/couchbase/third_party/expected/include/tl/expected.hpp +1746 -1584
- data/ext/couchbase/third_party/jsonsl/jsonsl.c +2664 -2638
- data/ext/couchbase/third_party/jsonsl/jsonsl.h +359 -342
- data/ext/couchbase.cxx +43 -9568
- data/ext/extconf.rb +5 -0
- data/ext/rcb_analytics.cxx +1195 -0
- data/ext/rcb_analytics.hxx +29 -0
- data/ext/rcb_backend.cxx +530 -0
- data/ext/rcb_backend.hxx +46 -0
- data/ext/rcb_buckets.cxx +624 -0
- data/ext/rcb_buckets.hxx +29 -0
- data/ext/rcb_collections.cxx +377 -0
- data/ext/rcb_collections.hxx +29 -0
- data/ext/rcb_crud.cxx +1544 -0
- data/ext/rcb_crud.hxx +29 -0
- data/ext/rcb_diagnostics.cxx +264 -0
- data/ext/rcb_diagnostics.hxx +29 -0
- data/ext/rcb_exceptions.cxx +963 -0
- data/ext/rcb_exceptions.hxx +111 -0
- data/ext/rcb_extras.cxx +394 -0
- data/ext/rcb_extras.hxx +29 -0
- data/ext/rcb_logger.cxx +319 -0
- data/ext/rcb_logger.hxx +36 -0
- data/ext/rcb_multi.cxx +343 -0
- data/ext/rcb_multi.hxx +29 -0
- data/ext/rcb_query.cxx +1316 -0
- data/ext/rcb_query.hxx +29 -0
- data/ext/rcb_range_scan.cxx +358 -0
- data/ext/rcb_range_scan.hxx +29 -0
- data/ext/rcb_search.cxx +1216 -0
- data/ext/rcb_search.hxx +29 -0
- data/ext/rcb_users.cxx +636 -0
- data/ext/rcb_users.hxx +29 -0
- data/ext/rcb_utils.cxx +590 -0
- data/ext/rcb_utils.hxx +564 -0
- data/ext/rcb_version.cxx +139 -0
- data/ext/rcb_version.hxx +34 -0
- data/ext/rcb_views.cxx +485 -0
- data/ext/rcb_views.hxx +29 -0
- data/lib/active_support/cache/couchbase_store.rb +4 -1
- data/lib/couchbase/analytics_options.rb +2 -0
- data/lib/couchbase/authenticator.rb +2 -0
- data/lib/couchbase/binary_collection.rb +2 -0
- data/lib/couchbase/binary_collection_options.rb +2 -0
- data/lib/couchbase/bucket.rb +2 -0
- data/lib/couchbase/cluster.rb +2 -0
- data/lib/couchbase/collection.rb +3 -1
- data/lib/couchbase/collection_options.rb +2 -0
- data/lib/couchbase/config_profiles.rb +2 -0
- data/lib/couchbase/configuration.rb +2 -0
- data/lib/couchbase/datastructures/couchbase_list.rb +4 -4
- data/lib/couchbase/datastructures/couchbase_map.rb +4 -4
- data/lib/couchbase/datastructures/couchbase_queue.rb +4 -4
- data/lib/couchbase/datastructures/couchbase_set.rb +4 -4
- data/lib/couchbase/datastructures.rb +2 -0
- data/lib/couchbase/diagnostics.rb +2 -0
- data/lib/couchbase/errors.rb +46 -8
- data/lib/couchbase/json_transcoder.rb +2 -0
- data/lib/couchbase/key_value_scan.rb +2 -0
- data/lib/couchbase/logger.rb +2 -0
- data/lib/couchbase/management/analytics_index_manager.rb +2 -0
- data/lib/couchbase/management/bucket_manager.rb +2 -0
- data/lib/couchbase/management/collection_manager.rb +2 -0
- data/lib/couchbase/management/collection_query_index_manager.rb +2 -0
- data/lib/couchbase/management/query_index_manager.rb +2 -0
- data/lib/couchbase/management/scope_search_index_manager.rb +2 -0
- data/lib/couchbase/management/search_index_manager.rb +2 -0
- data/lib/couchbase/management/user_manager.rb +2 -0
- data/lib/couchbase/management/view_index_manager.rb +2 -0
- data/lib/couchbase/management.rb +2 -0
- data/lib/couchbase/mutation_state.rb +2 -0
- data/lib/couchbase/options.rb +2 -0
- data/lib/couchbase/protostellar/request_generator/kv.rb +1 -1
- data/lib/couchbase/query_options.rb +2 -0
- data/lib/couchbase/railtie.rb +2 -0
- data/lib/couchbase/raw_binary_transcoder.rb +2 -0
- data/lib/couchbase/raw_json_transcoder.rb +2 -0
- data/lib/couchbase/raw_string_transcoder.rb +2 -0
- data/lib/couchbase/scope.rb +2 -0
- data/lib/couchbase/search_options.rb +91 -63
- data/lib/couchbase/subdoc.rb +5 -3
- data/lib/couchbase/transcoder_flags.rb +2 -0
- data/lib/couchbase/utils/generic_logger_adapter.rb +3 -1
- data/lib/couchbase/utils/stdlib_logger_adapter.rb +2 -0
- data/lib/couchbase/utils/time.rb +3 -1
- data/lib/couchbase/utils.rb +2 -0
- data/lib/couchbase/version.rb +3 -1
- data/lib/couchbase/view_options.rb +2 -0
- data/lib/couchbase.rb +2 -0
- data/lib/rails/generators/couchbase/config/config_generator.rb +2 -0
- metadata +906 -925
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_completion_executor.hpp +0 -336
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_completion_handler.hpp +0 -812
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/any_io_executor.hpp +0 -351
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/append.hpp +0 -65
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/as_tuple.hpp +0 -126
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_allocator.hpp +0 -214
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_cancellation_slot.hpp +0 -221
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_executor.hpp +0 -235
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associated_immediate_executor.hpp +0 -280
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/associator.hpp +0 -35
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/async_result.hpp +0 -893
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/awaitable.hpp +0 -142
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_datagram_socket.hpp +0 -1362
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_deadline_timer.hpp +0 -710
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_file.hpp +0 -824
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_io_object.hpp +0 -286
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_random_access_file.hpp +0 -689
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_raw_socket.hpp +0 -1356
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_readable_pipe.hpp +0 -626
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_seq_packet_socket.hpp +0 -823
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_serial_port.hpp +0 -987
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_signal_set.hpp +0 -648
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket.hpp +0 -1936
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_acceptor.hpp +0 -2708
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_iostream.hpp +0 -331
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_socket_streambuf.hpp +0 -642
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_stream_file.hpp +0 -744
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_stream_socket.hpp +0 -1163
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_streambuf.hpp +0 -450
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_streambuf_fwd.hpp +0 -36
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_waitable_timer.hpp +0 -824
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/basic_writable_pipe.hpp +0 -622
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_allocator.hpp +0 -524
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_cancellation_slot.hpp +0 -536
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_executor.hpp +0 -576
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/bind_immediate_executor.hpp +0 -543
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffer.hpp +0 -2751
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffer_registration.hpp +0 -318
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_read_stream.hpp +0 -273
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_read_stream_fwd.hpp +0 -25
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_stream.hpp +0 -292
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_stream_fwd.hpp +0 -25
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_write_stream.hpp +0 -265
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffered_write_stream_fwd.hpp +0 -25
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/buffers_iterator.hpp +0 -521
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_signal.hpp +0 -245
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_state.hpp +0 -235
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/cancellation_type.hpp +0 -157
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/co_spawn.hpp +0 -523
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/completion_condition.hpp +0 -218
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/compose.hpp +0 -319
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/connect.hpp +0 -1180
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/connect_pipe.hpp +0 -83
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/consign.hpp +0 -75
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/coroutine.hpp +0 -328
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/deadline_timer.hpp +0 -38
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/defer.hpp +0 -218
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/deferred.hpp +0 -715
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detached.hpp +0 -105
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/array.hpp +0 -30
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/array_fwd.hpp +0 -32
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/assert.hpp +0 -32
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/atomic_count.hpp +0 -59
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/base_from_cancellation_state.hpp +0 -164
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/base_from_completion_cond.hpp +0 -69
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/bind_handler.hpp +0 -711
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/blocking_executor_op.hpp +0 -107
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/buffer_resize_guard.hpp +0 -66
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/buffer_sequence_adapter.hpp +0 -837
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/buffered_stream_storage.hpp +0 -126
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/call_stack.hpp +0 -125
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/chrono.hpp +0 -45
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/chrono_time_traits.hpp +0 -190
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/completion_handler.hpp +0 -88
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/composed_work.hpp +0 -252
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/concurrency_hint.hpp +0 -94
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/conditionally_enabled_event.hpp +0 -120
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/conditionally_enabled_mutex.hpp +0 -149
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/config.hpp +0 -1422
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/consuming_buffers.hpp +0 -443
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/cstddef.hpp +0 -27
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/cstdint.hpp +0 -40
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/date_time_fwd.hpp +0 -34
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/deadline_timer_service.hpp +0 -335
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/dependent_type.hpp +0 -36
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/descriptor_ops.hpp +0 -179
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/descriptor_read_op.hpp +0 -188
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/descriptor_write_op.hpp +0 -187
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/dev_poll_reactor.hpp +0 -247
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/epoll_reactor.hpp +0 -295
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/event.hpp +0 -46
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/eventfd_select_interrupter.hpp +0 -83
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/exception.hpp +0 -29
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/executor_function.hpp +0 -152
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/executor_op.hpp +0 -84
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/fd_set_adapter.hpp +0 -39
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/fenced_block.hpp +0 -40
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/functional.hpp +0 -33
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/future.hpp +0 -32
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/global.hpp +0 -50
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_alloc_helpers.hpp +0 -225
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_cont_helpers.hpp +0 -45
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_tracking.hpp +0 -264
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_type_requirements.hpp +0 -553
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/handler_work.hpp +0 -511
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/hash_map.hpp +0 -331
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/buffer_sequence_adapter.ipp +0 -118
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/descriptor_ops.ipp +0 -970
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/dev_poll_reactor.hpp +0 -111
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/dev_poll_reactor.ipp +0 -469
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/epoll_reactor.hpp +0 -109
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/epoll_reactor.ipp +0 -826
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/eventfd_select_interrupter.ipp +0 -171
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/handler_tracking.ipp +0 -398
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_descriptor_service.ipp +0 -205
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_file_service.ipp +0 -140
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_service.hpp +0 -112
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_service.ipp +0 -914
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/io_uring_socket_service_base.ipp +0 -249
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/kqueue_reactor.hpp +0 -113
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/kqueue_reactor.ipp +0 -608
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/null_event.ipp +0 -74
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/pipe_select_interrupter.ipp +0 -129
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_event.ipp +0 -63
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_mutex.ipp +0 -46
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_serial_port_service.ipp +0 -168
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_thread.ipp +0 -84
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/posix_tss_ptr.ipp +0 -46
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/reactive_descriptor_service.ipp +0 -230
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/reactive_socket_service_base.ipp +0 -310
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/resolver_service_base.ipp +0 -158
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/scheduler.ipp +0 -675
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/select_reactor.hpp +0 -124
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/select_reactor.ipp +0 -400
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/service_registry.hpp +0 -93
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/service_registry.ipp +0 -197
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/signal_set_service.ipp +0 -826
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/socket_ops.ipp +0 -3977
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/socket_select_interrupter.ipp +0 -185
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_executor_service.hpp +0 -346
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_executor_service.ipp +0 -158
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_service.hpp +0 -86
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/strand_service.ipp +0 -202
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/thread_context.ipp +0 -35
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/throw_error.ipp +0 -49
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/timer_queue_ptime.ipp +0 -97
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/timer_queue_set.ipp +0 -101
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_event.ipp +0 -76
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_file_service.ipp +0 -265
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_handle_service.ipp +0 -619
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_io_context.hpp +0 -119
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_io_context.ipp +0 -614
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_serial_port_service.ipp +0 -200
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_iocp_socket_service_base.ipp +0 -821
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_mutex.ipp +0 -84
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_object_handle_service.ipp +0 -452
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_static_mutex.ipp +0 -136
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_thread.ipp +0 -150
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/win_tss_ptr.ipp +0 -57
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winrt_ssocket_service_base.ipp +0 -626
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.hpp +0 -92
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winrt_timer_scheduler.ipp +0 -121
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/impl/winsock_init.ipp +0 -82
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_defer.hpp +0 -207
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_dispatch.hpp +0 -193
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/initiate_post.hpp +0 -207
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_control.hpp +0 -84
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_object_impl.hpp +0 -177
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_read_at_op.hpp +0 -195
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_read_op.hpp +0 -190
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_service.hpp +0 -687
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_write_at_op.hpp +0 -189
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_descriptor_write_op.hpp +0 -185
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_file_service.hpp +0 -261
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_null_buffers_op.hpp +0 -114
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_operation.hpp +0 -84
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_service.hpp +0 -319
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_accept_op.hpp +0 -280
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_connect_op.hpp +0 -140
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recv_op.hpp +0 -205
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recvfrom_op.hpp +0 -206
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_recvmsg_op.hpp +0 -192
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_send_op.hpp +0 -191
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_sendto_op.hpp +0 -194
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_service.hpp +0 -629
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_socket_service_base.hpp +0 -663
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/io_uring_wait_op.hpp +0 -112
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/is_buffer_sequence.hpp +0 -296
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/is_executor.hpp +0 -126
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/keyword_tss_ptr.hpp +0 -70
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/kqueue_reactor.hpp +0 -271
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/local_free_on_block_exit.hpp +0 -59
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/memory.hpp +0 -126
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/mutex.hpp +0 -46
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/non_const_lvalue.hpp +0 -43
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/noncopyable.hpp +0 -43
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_event.hpp +0 -106
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_fenced_block.hpp +0 -47
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_global.hpp +0 -59
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_mutex.hpp +0 -60
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_reactor.hpp +0 -83
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_signal_blocker.hpp +0 -69
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_socket_service.hpp +0 -519
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_static_mutex.hpp +0 -60
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_thread.hpp +0 -67
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/null_tss_ptr.hpp +0 -68
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/object_pool.hpp +0 -171
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/old_win_sdk_compat.hpp +0 -214
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/op_queue.hpp +0 -162
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/operation.hpp +0 -38
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/pipe_select_interrupter.hpp +0 -89
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/pop_options.hpp +0 -157
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_event.hpp +0 -175
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_fd_set_adapter.hpp +0 -118
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_global.hpp +0 -80
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_mutex.hpp +0 -76
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_serial_port_service.hpp +0 -249
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_signal_blocker.hpp +0 -85
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_static_mutex.hpp +0 -64
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_thread.hpp +0 -109
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/posix_tss_ptr.hpp +0 -79
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/push_options.hpp +0 -228
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_descriptor_service.hpp +0 -566
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_null_buffers_op.hpp +0 -131
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_accept_op.hpp +0 -323
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_connect_op.hpp +0 -162
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recv_op.hpp +0 -197
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recvfrom_op.hpp +0 -203
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_recvmsg_op.hpp +0 -184
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_send_op.hpp +0 -201
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_sendto_op.hpp +0 -194
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_service.hpp +0 -633
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_socket_service_base.hpp +0 -750
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactive_wait_op.hpp +0 -131
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactor.hpp +0 -54
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactor_op.hpp +0 -71
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/reactor_op_queue.hpp +0 -212
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/recycling_allocator.hpp +0 -105
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/regex_fwd.hpp +0 -35
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolve_endpoint_op.hpp +0 -140
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolve_op.hpp +0 -45
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolve_query_op.hpp +0 -150
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolver_service.hpp +0 -147
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/resolver_service_base.hpp +0 -158
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scheduler.hpp +0 -241
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scheduler_operation.hpp +0 -78
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scheduler_task.hpp +0 -49
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scheduler_thread_info.hpp +0 -40
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scoped_lock.hpp +0 -101
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/scoped_ptr.hpp +0 -87
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/select_interrupter.hpp +0 -46
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/select_reactor.hpp +0 -291
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/service_registry.hpp +0 -163
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_blocker.hpp +0 -44
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_handler.hpp +0 -90
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_init.hpp +0 -47
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_op.hpp +0 -53
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/signal_set_service.hpp +0 -292
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_holder.hpp +0 -98
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_ops.hpp +0 -375
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_option.hpp +0 -316
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_select_interrupter.hpp +0 -91
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/socket_types.hpp +0 -427
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/source_location.hpp +0 -45
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/static_mutex.hpp +0 -50
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_event.hpp +0 -183
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_fenced_block.hpp +0 -57
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_global.hpp +0 -65
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_mutex.hpp +0 -68
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_static_mutex.hpp +0 -76
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/std_thread.hpp +0 -66
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/strand_executor_service.hpp +0 -173
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/strand_service.hpp +0 -144
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/string_view.hpp +0 -47
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread.hpp +0 -58
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread_context.hpp +0 -51
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread_group.hpp +0 -99
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/thread_info_base.hpp +0 -250
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/throw_error.hpp +0 -62
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/throw_exception.hpp +0 -55
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue.hpp +0 -389
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue_base.hpp +0 -68
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue_ptime.hpp +0 -103
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_queue_set.hpp +0 -66
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_scheduler.hpp +0 -37
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/timer_scheduler_fwd.hpp +0 -42
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/tss_ptr.hpp +0 -69
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/type_traits.hpp +0 -178
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/utility.hpp +0 -83
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wait_handler.hpp +0 -90
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wait_op.hpp +0 -49
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_event.hpp +0 -164
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_fd_set_adapter.hpp +0 -149
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_global.hpp +0 -71
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_file_service.hpp +0 -287
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_read_op.hpp +0 -119
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_service.hpp +0 -431
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_handle_write_op.hpp +0 -114
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_io_context.hpp +0 -347
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_null_buffers_op.hpp +0 -129
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_operation.hpp +0 -96
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_overlapped_op.hpp +0 -100
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_overlapped_ptr.hpp +0 -171
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_serial_port_service.hpp +0 -233
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_accept_op.hpp +0 -339
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_connect_op.hpp +0 -138
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recv_op.hpp +0 -126
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recvfrom_op.hpp +0 -135
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_recvmsg_op.hpp +0 -127
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_send_op.hpp +0 -120
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_service.hpp +0 -680
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_socket_service_base.hpp +0 -829
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_thread_info.hpp +0 -34
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_iocp_wait_op.hpp +0 -130
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_mutex.hpp +0 -78
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_object_handle_service.hpp +0 -194
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_static_mutex.hpp +0 -74
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_thread.hpp +0 -147
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/win_tss_ptr.hpp +0 -79
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winapp_thread.hpp +0 -124
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wince_thread.hpp +0 -124
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_async_manager.hpp +0 -305
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_async_op.hpp +0 -65
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_resolve_op.hpp +0 -125
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_resolver_service.hpp +0 -212
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_connect_op.hpp +0 -98
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_recv_op.hpp +0 -119
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_socket_send_op.hpp +0 -110
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_ssocket_service.hpp +0 -250
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_ssocket_service_base.hpp +0 -362
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_timer_scheduler.hpp +0 -147
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winrt_utils.hpp +0 -106
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/winsock_init.hpp +0 -128
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/work_dispatcher.hpp +0 -143
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/detail/wrapped_handler.hpp +0 -217
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/dispatch.hpp +0 -197
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/error.hpp +0 -389
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/error_code.hpp +0 -39
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/allocator.hpp +0 -278
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/any_executor.hpp +0 -1933
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/bad_executor.hpp +0 -46
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/blocking.hpp +0 -1360
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/blocking_adaptation.hpp +0 -1080
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/context.hpp +0 -191
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/context_as.hpp +0 -190
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/executor.hpp +0 -116
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/impl/bad_executor.ipp +0 -40
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/invocable_archetype.hpp +0 -43
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/mapping.hpp +0 -1002
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/occupancy.hpp +0 -184
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/outstanding_work.hpp +0 -753
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/prefer_only.hpp +0 -328
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution/relationship.hpp +0 -751
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution.hpp +0 -33
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/execution_context.hpp +0 -388
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/executor.hpp +0 -343
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/executor_work_guard.hpp +0 -362
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/append.hpp +0 -36
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/as_single.hpp +0 -132
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/as_tuple.hpp +0 -36
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/awaitable_operators.hpp +0 -536
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/basic_channel.hpp +0 -513
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/basic_concurrent_channel.hpp +0 -513
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/cancellation_condition.hpp +0 -152
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel.hpp +0 -70
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel_error.hpp +0 -82
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/channel_traits.hpp +0 -301
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/co_composed.hpp +0 -145
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/concurrent_channel.hpp +0 -70
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/deferred.hpp +0 -36
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_handler.hpp +0 -77
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_message.hpp +0 -129
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_operation.hpp +0 -361
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_payload.hpp +0 -222
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_receive_op.hpp +0 -127
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_send_functions.hpp +0 -192
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_send_op.hpp +0 -148
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/channel_service.hpp +0 -677
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/has_signature.hpp +0 -54
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/detail/impl/channel_service.hpp +0 -620
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/as_single.hpp +0 -176
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/channel_error.ipp +0 -61
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/co_composed.hpp +0 -1174
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/impl/parallel_group.hpp +0 -787
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/parallel_group.hpp +0 -456
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/experimental/prepend.hpp +0 -36
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/file_base.hpp +0 -166
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/basic_endpoint.hpp +0 -189
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/datagram_protocol.hpp +0 -123
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/detail/endpoint.hpp +0 -133
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/detail/impl/endpoint.ipp +0 -110
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/raw_protocol.hpp +0 -121
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/seq_packet_protocol.hpp +0 -122
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/generic/stream_protocol.hpp +0 -127
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/handler_continuation_hook.hpp +0 -54
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/high_resolution_timer.hpp +0 -39
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/any_completion_executor.ipp +0 -126
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/any_io_executor.ipp +0 -134
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/append.hpp +0 -162
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/as_tuple.hpp +0 -245
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/awaitable.hpp +0 -1195
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/buffered_read_stream.hpp +0 -404
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/buffered_write_stream.hpp +0 -384
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/cancellation_signal.ipp +0 -96
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/co_spawn.hpp +0 -440
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/connect.hpp +0 -809
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/connect_pipe.hpp +0 -73
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/connect_pipe.ipp +0 -149
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/consign.hpp +0 -137
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/deferred.hpp +0 -147
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/detached.hpp +0 -77
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/error.ipp +0 -128
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/error_code.ipp +0 -206
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/execution_context.hpp +0 -77
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/execution_context.ipp +0 -82
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/executor.hpp +0 -300
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/executor.ipp +0 -43
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/io_context.hpp +0 -433
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/io_context.ipp +0 -176
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/multiple_exceptions.ipp +0 -45
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/prepend.hpp +0 -163
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read.hpp +0 -1053
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read_at.hpp +0 -628
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/read_until.hpp +0 -2941
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/redirect_error.hpp +0 -250
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/serial_port_base.hpp +0 -59
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/serial_port_base.ipp +0 -554
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/spawn.hpp +0 -1400
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/src.hpp +0 -94
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_context.hpp +0 -34
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_context.ipp +0 -92
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/system_executor.hpp +0 -179
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/thread_pool.hpp +0 -277
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/thread_pool.ipp +0 -142
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/use_awaitable.hpp +0 -301
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/use_future.hpp +0 -707
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/write.hpp +0 -939
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/impl/write_at.hpp +0 -551
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_context.hpp +0 -1509
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_context_strand.hpp +0 -385
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_service.hpp +0 -33
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/io_service_strand.hpp +0 -20
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address.hpp +0 -281
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4.hpp +0 -421
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4_iterator.hpp +0 -156
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v4_range.hpp +0 -128
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6.hpp +0 -407
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6_iterator.hpp +0 -178
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/address_v6_range.hpp +0 -124
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/bad_address_cast.hpp +0 -63
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_endpoint.hpp +0 -282
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver.hpp +0 -1112
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_entry.hpp +0 -113
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_iterator.hpp +0 -188
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_query.hpp +0 -244
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/basic_resolver_results.hpp +0 -307
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/detail/endpoint.hpp +0 -141
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/detail/impl/endpoint.ipp +0 -195
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/detail/socket_option.hpp +0 -566
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/host_name.hpp +0 -42
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/icmp.hpp +0 -115
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address.hpp +0 -67
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address.ipp +0 -235
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v4.hpp +0 -67
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v4.ipp +0 -206
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v6.hpp +0 -67
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/address_v6.ipp +0 -342
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/basic_endpoint.hpp +0 -43
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/host_name.ipp +0 -54
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v4.hpp +0 -54
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v4.ipp +0 -218
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v6.hpp +0 -53
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/impl/network_v6.ipp +0 -187
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/multicast.hpp +0 -191
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/network_v4.hpp +0 -257
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/network_v6.hpp +0 -231
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/resolver_base.hpp +0 -129
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/resolver_query_base.hpp +0 -43
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/tcp.hpp +0 -155
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/udp.hpp +0 -111
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/unicast.hpp +0 -70
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ip/v6_only.hpp +0 -69
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_applicable_property.hpp +0 -61
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_contiguous_iterator.hpp +0 -45
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_executor.hpp +0 -46
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_read_buffered.hpp +0 -59
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/is_write_buffered.hpp +0 -59
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/basic_endpoint.hpp +0 -243
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/connect_pair.hpp +0 -101
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/datagram_protocol.hpp +0 -80
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/detail/endpoint.hpp +0 -139
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/detail/impl/endpoint.ipp +0 -131
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/seq_packet_protocol.hpp +0 -84
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/local/stream_protocol.hpp +0 -90
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/multiple_exceptions.hpp +0 -52
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/packaged_task.hpp +0 -66
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/placeholders.hpp +0 -75
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/basic_descriptor.hpp +0 -773
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/basic_stream_descriptor.hpp +0 -559
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/descriptor.hpp +0 -37
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/descriptor_base.hpp +0 -90
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/posix/stream_descriptor.hpp +0 -37
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/post.hpp +0 -213
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/prefer.hpp +0 -577
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/prepend.hpp +0 -66
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/query.hpp +0 -311
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/random_access_file.hpp +0 -35
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read.hpp +0 -1448
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read_at.hpp +0 -778
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/read_until.hpp +0 -3124
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/readable_pipe.hpp +0 -35
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/recycling_allocator.hpp +0 -138
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/redirect_error.hpp +0 -64
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/registered_buffer.hpp +0 -344
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/require.hpp +0 -433
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/require_concept.hpp +0 -343
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/serial_port.hpp +0 -36
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/serial_port_base.hpp +0 -167
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/signal_set.hpp +0 -28
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/signal_set_base.hpp +0 -171
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/socket_base.hpp +0 -559
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/spawn.hpp +0 -872
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/context.hpp +0 -762
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/context_base.hpp +0 -209
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/buffered_handshake_op.hpp +0 -119
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/engine.hpp +0 -169
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/handshake_op.hpp +0 -67
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/impl/engine.ipp +0 -377
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/impl/openssl_init.ipp +0 -169
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/io.hpp +0 -376
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/openssl_init.hpp +0 -101
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/openssl_types.hpp +0 -34
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/password_callback.hpp +0 -66
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/read_op.hpp +0 -72
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/shutdown_op.hpp +0 -69
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/stream_core.hpp +0 -217
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/verify_callback.hpp +0 -62
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/detail/write_op.hpp +0 -76
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/error.hpp +0 -123
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/host_name_verification.hpp +0 -90
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/context.hpp +0 -67
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/context.ipp +0 -1319
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/error.ipp +0 -124
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/host_name_verification.ipp +0 -73
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/rfc2818_verification.ipp +0 -164
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/impl/src.hpp +0 -29
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/rfc2818_verification.hpp +0 -98
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/stream.hpp +0 -1038
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/stream_base.hpp +0 -52
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/verify_context.hpp +0 -67
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl/verify_mode.hpp +0 -63
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ssl.hpp +0 -28
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/static_thread_pool.hpp +0 -31
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/steady_timer.hpp +0 -37
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/strand.hpp +0 -557
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/stream_file.hpp +0 -35
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/streambuf.hpp +0 -33
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_context.hpp +0 -90
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_error.hpp +0 -31
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_executor.hpp +0 -671
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/system_timer.hpp +0 -37
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/this_coro.hpp +0 -267
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/thread.hpp +0 -92
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/thread_pool.hpp +0 -963
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/time_traits.hpp +0 -86
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/equality_comparable.hpp +0 -100
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/execute_member.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/prefer_free.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/prefer_member.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_free.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_member.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/query_static_constexpr_member.hpp +0 -101
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_concept_free.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_concept_member.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_free.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/require_member.hpp +0 -104
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_query.hpp +0 -102
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_require.hpp +0 -115
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/traits/static_require_concept.hpp +0 -116
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/buffer.hpp +0 -24
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/executor.hpp +0 -35
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/internet.hpp +0 -40
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/io_context.hpp +0 -20
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/net.hpp +0 -26
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/netfwd.hpp +0 -236
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/socket.hpp +0 -27
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/ts/timer.hpp +0 -26
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/unyield.hpp +0 -21
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/use_awaitable.hpp +0 -161
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/use_future.hpp +0 -159
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/uses_executor.hpp +0 -67
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/version.hpp +0 -23
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/wait_traits.hpp +0 -56
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_object_handle.hpp +0 -485
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_overlapped_handle.hpp +0 -455
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_random_access_handle.hpp +0 -567
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/basic_stream_handle.hpp +0 -551
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/object_handle.hpp +0 -38
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/overlapped_handle.hpp +0 -39
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/overlapped_ptr.hpp +0 -145
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/random_access_handle.hpp +0 -37
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/windows/stream_handle.hpp +0 -37
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/writable_pipe.hpp +0 -35
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/write.hpp +0 -1414
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/write_at.hpp +0 -789
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio/yield.hpp +0 -23
- data/ext/cache/asio/41f31469d0dd420500b334dc8c2fd3ffe7320d8e/asio/asio/include/asio.hpp +0 -199
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/CMakeLists.txt +0 -338
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-assertion-result.h +0 -237
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-death-test.h +0 -345
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-matchers.h +0 -923
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-message.h +0 -220
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-param-test.h +0 -546
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-printers.h +0 -1139
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-spi.h +0 -250
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-test-part.h +0 -192
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest-typed-test.h +0 -331
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest.h +0 -2318
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest_pred_impl.h +0 -279
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/gtest_prod.h +0 -60
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/custom/gtest-port.h +0 -37
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/custom/gtest-printers.h +0 -42
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/custom/gtest.h +0 -37
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-death-test-internal.h +0 -307
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-filepath.h +0 -227
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-internal.h +0 -1559
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-param-util.h +0 -1026
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-port-arch.h +0 -118
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-port.h +0 -2529
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-string.h +0 -178
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/include/gtest/internal/gtest-type-util.h +0 -220
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/prime_tables.h +0 -125
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample1.cc +0 -66
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample1.h +0 -41
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample10_unittest.cc +0 -138
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample1_unittest.cc +0 -148
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample2.cc +0 -54
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample2.h +0 -79
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample2_unittest.cc +0 -107
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample3-inl.h +0 -171
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample3_unittest.cc +0 -146
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample4.cc +0 -50
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample4.h +0 -53
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample4_unittest.cc +0 -53
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample5_unittest.cc +0 -189
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample6_unittest.cc +0 -214
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample7_unittest.cc +0 -113
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample8_unittest.cc +0 -154
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/samples/sample9_unittest.cc +0 -148
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-all.cc +0 -49
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-assertion-result.cc +0 -77
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-death-test.cc +0 -1585
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-filepath.cc +0 -412
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-internal-inl.h +0 -1218
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-matchers.cc +0 -98
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-port.cc +0 -1392
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-printers.cc +0 -555
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-test-part.cc +0 -106
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest-typed-test.cc +0 -108
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest.cc +0 -6919
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/src/gtest_main.cc +0 -65
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-break-on-failure-unittest_.cc +0 -83
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-catch-exceptions-test_.cc +0 -289
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-color-test_.cc +0 -60
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-death-test-test.cc +0 -1508
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-death-test_ex_test.cc +0 -91
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-env-var-test_.cc +0 -130
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-failfast-unittest_.cc +0 -166
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-filepath-test.cc +0 -671
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-filter-unittest_.cc +0 -106
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-global-environment-unittest_.cc +0 -58
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-list-tests-unittest_.cc +0 -143
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-listener-test.cc +0 -509
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-message-test.cc +0 -161
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-options-test.cc +0 -222
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-output-test_.cc +0 -1052
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test-invalid-name1-test_.cc +0 -46
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test-invalid-name2-test_.cc +0 -52
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test-test.cc +0 -1173
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test-test.h +0 -49
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-param-test2-test.cc +0 -58
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-port-test.cc +0 -1301
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-printers-test.cc +0 -1990
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-setuptestsuite-test_.cc +0 -44
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-shuffle-test_.cc +0 -99
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-test-part-test.cc +0 -220
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-throw-on-failure-test_.cc +0 -71
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/googletest-uninitialized-test_.cc +0 -39
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest-typed-test2_test.cc +0 -39
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest-typed-test_test.cc +0 -423
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest-typed-test_test.h +0 -57
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest-unittest-api_test.cc +0 -328
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_all_test.cc +0 -46
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_assert_by_exception_test.cc +0 -112
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_dirs_test.cc +0 -101
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_environment_test.cc +0 -179
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_help_test_.cc +0 -44
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_list_output_unittest_.cc +0 -77
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_main_unittest.cc +0 -42
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_no_test_unittest.cc +0 -54
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_pred_impl_unittest.cc +0 -2070
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_premature_exit_test.cc +0 -128
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_prod_test.cc +0 -56
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_repeat_test.cc +0 -222
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_skip_in_environment_setup_test.cc +0 -50
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_skip_test.cc +0 -51
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_sole_header_test.cc +0 -54
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_stress_test.cc +0 -245
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_test_macro_stack_footprint_test.cc +0 -89
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_testbridge_test_.cc +0 -42
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_throw_on_failure_ex_test.cc +0 -90
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_unittest.cc +0 -7767
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_xml_outfile1_test_.cc +0 -43
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_xml_outfile2_test_.cc +0 -77
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/gtest_xml_output_unittest_.cc +0 -197
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/production.cc +0 -35
- data/ext/cache/boringssl/e31ea00c1ea52052d2d78d44006cc88c80fa24a9/boringssl/src/third_party/googletest/test/production.h +0 -55
- data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/CMakeLists.txt +0 -453
- data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/ChangeLog.md +0 -5533
- data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/README.md +0 -490
- data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/src/fmt.cc +0 -108
- data/ext/cache/fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/src/os.cc +0 -402
- data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/CMakeLists.txt +0 -117
- data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/include/llhttp.h +0 -903
- data/ext/cache/llhttp/b74a6759ffeff2e9b72f62f790afbc73362a526b/llhttp/src/llhttp.c +0 -10149
- data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/CMakeLists.txt +0 -420
- data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/cmake/config.h.in +0 -66
- data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/snappy-internal.h +0 -395
- data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/snappy-stubs-internal.h +0 -525
- data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/snappy.cc +0 -2427
- data/ext/cache/snappy/76d5cfe9eb57e13784ae53647f505edbe9341bdf/snappy/snappy.h +0 -222
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/CMakeLists.txt +0 -359
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/async_logger-inl.h +0 -84
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/common.h +0 -411
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/circular_q.h +0 -113
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/file_helper-inl.h +0 -152
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/os-inl.h +0 -585
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/periodic_worker.h +0 -57
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/registry-inl.h +0 -265
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/registry.h +0 -122
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/thread_pool-inl.h +0 -127
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/details/thread_pool.h +0 -117
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/args.h +0 -234
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/chrono.h +0 -2069
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/color.h +0 -651
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/compile.h +0 -611
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/core.h +0 -3323
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/format-inl.h +0 -1723
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/format.h +0 -4217
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/os.h +0 -478
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/ostream.h +0 -237
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/printf.h +0 -640
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/ranges.h +0 -722
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/std.h +0 -171
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/bundled/xchar.h +0 -229
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/fmt/fmt.h +0 -34
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/pattern_formatter-inl.h +0 -1268
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/sinks/qt_sinks.h +0 -304
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/stopwatch.h +0 -62
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/include/spdlog/version.h +0 -11
- data/ext/cache/spdlog/25435891d500fa18cdfc40bd923333e006159907/spdlog/src/bundled_fmtlib_format.cpp +0 -49
- data/ext/couchbase/core/impl/internal_manager_error_context.cxx +0 -113
- data/ext/couchbase/core/impl/internal_manager_error_context.hxx +0 -60
- data/ext/couchbase/core/impl/manager_error_context.cxx +0 -100
- data/ext/couchbase/core/impl/search_error_context.cxx +0 -147
- data/ext/couchbase/couchbase/analytics_error_context.hxx +0 -143
- data/ext/couchbase/couchbase/fmt/key_value_error_map_attribute.hxx +0 -100
- data/ext/couchbase/couchbase/fmt/key_value_extended_error_info.hxx +0 -52
- data/ext/couchbase/couchbase/fmt/key_value_status_code.hxx +0 -269
- data/ext/couchbase/couchbase/key_value_error_context.hxx +0 -229
- data/ext/couchbase/couchbase/key_value_error_map_attribute.hxx +0 -136
- data/ext/couchbase/couchbase/key_value_error_map_info.hxx +0 -138
- data/ext/couchbase/couchbase/key_value_extended_error_info.hxx +0 -86
- data/ext/couchbase/couchbase/key_value_status_code.hxx +0 -109
- data/ext/couchbase/couchbase/manager_error_context.hxx +0 -111
- data/ext/couchbase/couchbase/query_error_context.hxx +0 -145
- data/ext/couchbase/couchbase/search_error_context.hxx +0 -138
- data/ext/couchbase/couchbase/subdocument_error_context.hxx +0 -147
- data/ext/couchbase/couchbase/transaction_error_context.hxx +0 -49
- data/ext/couchbase/couchbase/transaction_op_error_context.hxx +0 -76
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/detail/limits.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/co_spawn.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/coro.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/coro_traits.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/detail/coro_completion_handler.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/detail/coro_promise_allocator.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/detail/partial_promise.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/impl/coro.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/impl/promise.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/impl/use_coro.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/impl/use_promise.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/promise.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/use_coro.hpp +0 -0
- /data/ext/cache/asio/{41f31469d0dd420500b334dc8c2fd3ffe7320d8e → 6a3b5a552ffb18a235024ec851619cfcb1337a98}/asio/asio/include/asio/experimental/use_promise.hpp +0 -0
- /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/LICENSE +0 -0
- /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/src/format.cc +0 -0
- /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/support/cmake/FindSetEnv.cmake +0 -0
- /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/support/cmake/JoinPaths.cmake +0 -0
- /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/support/cmake/fmt-config.cmake.in +0 -0
- /data/ext/cache/fmt/{d3c862243fcf1c41b4c09903f35479bd42f135b7 → 141a17a028e6c29914e109691389f6cf87f9cfe3}/fmt/support/cmake/fmt.pc.in +0 -0
- /data/ext/cache/llhttp/{b74a6759ffeff2e9b72f62f790afbc73362a526b → c67596e14f24b689a867a26fa36e02bdba733b9b}/llhttp/LICENSE-MIT +0 -0
- /data/ext/cache/llhttp/{b74a6759ffeff2e9b72f62f790afbc73362a526b → c67596e14f24b689a867a26fa36e02bdba733b9b}/llhttp/libllhttp.pc.in +0 -0
- /data/ext/cache/llhttp/{b74a6759ffeff2e9b72f62f790afbc73362a526b → c67596e14f24b689a867a26fa36e02bdba733b9b}/llhttp/src/api.c +0 -0
- /data/ext/cache/llhttp/{b74a6759ffeff2e9b72f62f790afbc73362a526b → c67596e14f24b689a867a26fa36e02bdba733b9b}/llhttp/src/http.c +0 -0
- /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/COPYING +0 -0
- /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/cmake/SnappyConfig.cmake.in +0 -0
- /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-c.cc +0 -0
- /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-c.h +0 -0
- /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-sinksource.cc +0 -0
- /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-sinksource.h +0 -0
- /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-stubs-internal.cc +0 -0
- /data/ext/cache/snappy/{76d5cfe9eb57e13784ae53647f505edbe9341bdf → 585305c8dbb8f762f2c2e17f937f1cf3ac6cbc9c}/snappy/snappy-stubs-public.h.in +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/LICENSE +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/ide.cmake +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/pch.h.in +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/spdlog.pc.in +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/spdlogCPack.cmake +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/spdlogConfig.cmake.in +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/utils.cmake +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/cmake/version.rc.in +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/async.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/async_logger.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/cfg/argv.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/cfg/env.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/cfg/helpers-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/cfg/helpers.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/common-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/backtracer-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/backtracer.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/console_globals.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/file_helper.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/fmt_helper.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/log_msg-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/log_msg.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/log_msg_buffer-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/log_msg_buffer.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/mpmc_blocking_q.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/null_mutex.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/os.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/periodic_worker-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/synchronous_factory.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/tcp_client-windows.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/tcp_client.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/udp_client-windows.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/udp_client.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/details/windows_include.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/bin_to_hex.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/args.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/chrono.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/color.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/compile.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/core.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/bundled/fmt.license.rst +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/format-inl.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/format.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/bundled/locale.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/os.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/ostream.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/printf.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/ranges.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/std.h +0 -0
- /data/ext/cache/{fmt/d3c862243fcf1c41b4c09903f35479bd42f135b7/fmt/include/fmt → spdlog/19df5d3d8e5526c255d27414e09568671ef87483/spdlog/include/spdlog/fmt/bundled}/xchar.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/chrono.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/compile.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/ostr.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/ranges.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/std.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fmt/xchar.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/formatter.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/fwd.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/logger-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/logger.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/pattern_formatter.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/android_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/ansicolor_sink-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/ansicolor_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/base_sink-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/base_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/basic_file_sink-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/basic_file_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/callback_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/daily_file_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/dist_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/dup_filter_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/hourly_file_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/kafka_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/mongo_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/msvc_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/null_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/ostream_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/ringbuffer_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/rotating_file_sink-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/rotating_file_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/sink-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/stdout_color_sinks-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/stdout_color_sinks.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/stdout_sinks-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/stdout_sinks.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/syslog_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/systemd_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/tcp_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/udp_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/win_eventlog_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/wincolor_sink-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/sinks/wincolor_sink.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/spdlog-inl.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/spdlog.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/include/spdlog/tweakme.h +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/async.cpp +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/cfg.cpp +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/color_sinks.cpp +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/file_sinks.cpp +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/spdlog.cpp +0 -0
- /data/ext/cache/spdlog/{25435891d500fa18cdfc40bd923333e006159907 → 19df5d3d8e5526c255d27414e09568671ef87483}/spdlog/src/stdout_sinks.cpp +0 -0
@@ -1,3977 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// detail/impl/socket_ops.ipp
|
3
|
-
// ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
4
|
-
//
|
5
|
-
// Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com)
|
6
|
-
//
|
7
|
-
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
8
|
-
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
9
|
-
//
|
10
|
-
|
11
|
-
#ifndef ASIO_DETAIL_SOCKET_OPS_IPP
|
12
|
-
#define ASIO_DETAIL_SOCKET_OPS_IPP
|
13
|
-
|
14
|
-
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
|
15
|
-
# pragma once
|
16
|
-
#endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
|
17
|
-
|
18
|
-
#include "asio/detail/config.hpp"
|
19
|
-
|
20
|
-
#include <cctype>
|
21
|
-
#include <cstdio>
|
22
|
-
#include <cstdlib>
|
23
|
-
#include <cstring>
|
24
|
-
#include <cerrno>
|
25
|
-
#include <new>
|
26
|
-
#include "asio/detail/assert.hpp"
|
27
|
-
#include "asio/detail/socket_ops.hpp"
|
28
|
-
#include "asio/error.hpp"
|
29
|
-
|
30
|
-
#if defined(ASIO_WINDOWS_RUNTIME)
|
31
|
-
# include <codecvt>
|
32
|
-
# include <locale>
|
33
|
-
# include <string>
|
34
|
-
#endif // defined(ASIO_WINDOWS_RUNTIME)
|
35
|
-
|
36
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__) \
|
37
|
-
|| defined(__MACH__) && defined(__APPLE__)
|
38
|
-
# if defined(ASIO_HAS_PTHREADS)
|
39
|
-
# include <pthread.h>
|
40
|
-
# endif // defined(ASIO_HAS_PTHREADS)
|
41
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
42
|
-
// || defined(__MACH__) && defined(__APPLE__)
|
43
|
-
|
44
|
-
#include "asio/detail/push_options.hpp"
|
45
|
-
|
46
|
-
namespace asio {
|
47
|
-
namespace detail {
|
48
|
-
namespace socket_ops {
|
49
|
-
|
50
|
-
#if !defined(ASIO_WINDOWS_RUNTIME)
|
51
|
-
|
52
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
53
|
-
struct msghdr { int msg_namelen; };
|
54
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
55
|
-
|
56
|
-
#if defined(__hpux)
|
57
|
-
// HP-UX doesn't declare these functions extern "C", so they are declared again
|
58
|
-
// here to avoid linker errors about undefined symbols.
|
59
|
-
extern "C" char* if_indextoname(unsigned int, char*);
|
60
|
-
extern "C" unsigned int if_nametoindex(const char*);
|
61
|
-
#endif // defined(__hpux)
|
62
|
-
|
63
|
-
#endif // !defined(ASIO_WINDOWS_RUNTIME)
|
64
|
-
|
65
|
-
inline void clear_last_error()
|
66
|
-
{
|
67
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
68
|
-
WSASetLastError(0);
|
69
|
-
#else
|
70
|
-
errno = 0;
|
71
|
-
#endif
|
72
|
-
}
|
73
|
-
|
74
|
-
#if !defined(ASIO_WINDOWS_RUNTIME)
|
75
|
-
|
76
|
-
inline void get_last_error(
|
77
|
-
asio::error_code& ec, bool is_error_condition)
|
78
|
-
{
|
79
|
-
if (!is_error_condition)
|
80
|
-
{
|
81
|
-
asio::error::clear(ec);
|
82
|
-
}
|
83
|
-
else
|
84
|
-
{
|
85
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
86
|
-
ec = asio::error_code(WSAGetLastError(),
|
87
|
-
asio::error::get_system_category());
|
88
|
-
#else
|
89
|
-
ec = asio::error_code(errno,
|
90
|
-
asio::error::get_system_category());
|
91
|
-
#endif
|
92
|
-
}
|
93
|
-
}
|
94
|
-
|
95
|
-
template <typename SockLenType>
|
96
|
-
inline socket_type call_accept(SockLenType msghdr::*,
|
97
|
-
socket_type s, void* addr, std::size_t* addrlen)
|
98
|
-
{
|
99
|
-
SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0;
|
100
|
-
socket_type result = ::accept(s,
|
101
|
-
static_cast<socket_addr_type*>(addr),
|
102
|
-
addrlen ? &tmp_addrlen : 0);
|
103
|
-
if (addrlen)
|
104
|
-
*addrlen = (std::size_t)tmp_addrlen;
|
105
|
-
return result;
|
106
|
-
}
|
107
|
-
|
108
|
-
socket_type accept(socket_type s, void* addr,
|
109
|
-
std::size_t* addrlen, asio::error_code& ec)
|
110
|
-
{
|
111
|
-
if (s == invalid_socket)
|
112
|
-
{
|
113
|
-
ec = asio::error::bad_descriptor;
|
114
|
-
return invalid_socket;
|
115
|
-
}
|
116
|
-
|
117
|
-
socket_type new_s = call_accept(&msghdr::msg_namelen, s, addr, addrlen);
|
118
|
-
get_last_error(ec, new_s == invalid_socket);
|
119
|
-
if (new_s == invalid_socket)
|
120
|
-
return new_s;
|
121
|
-
|
122
|
-
#if defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
|
123
|
-
int optval = 1;
|
124
|
-
int result = ::setsockopt(new_s, SOL_SOCKET,
|
125
|
-
SO_NOSIGPIPE, &optval, sizeof(optval));
|
126
|
-
get_last_error(ec, result != 0);
|
127
|
-
if (result != 0)
|
128
|
-
{
|
129
|
-
::close(new_s);
|
130
|
-
return invalid_socket;
|
131
|
-
}
|
132
|
-
#endif
|
133
|
-
|
134
|
-
asio::error::clear(ec);
|
135
|
-
return new_s;
|
136
|
-
}
|
137
|
-
|
138
|
-
socket_type sync_accept(socket_type s, state_type state,
|
139
|
-
void* addr, std::size_t* addrlen, asio::error_code& ec)
|
140
|
-
{
|
141
|
-
// Accept a socket.
|
142
|
-
for (;;)
|
143
|
-
{
|
144
|
-
// Try to complete the operation without blocking.
|
145
|
-
socket_type new_socket = socket_ops::accept(s, addr, addrlen, ec);
|
146
|
-
|
147
|
-
// Check if operation succeeded.
|
148
|
-
if (new_socket != invalid_socket)
|
149
|
-
return new_socket;
|
150
|
-
|
151
|
-
// Operation failed.
|
152
|
-
if (ec == asio::error::would_block
|
153
|
-
|| ec == asio::error::try_again)
|
154
|
-
{
|
155
|
-
if (state & user_set_non_blocking)
|
156
|
-
return invalid_socket;
|
157
|
-
// Fall through to retry operation.
|
158
|
-
}
|
159
|
-
else if (ec == asio::error::connection_aborted)
|
160
|
-
{
|
161
|
-
if (state & enable_connection_aborted)
|
162
|
-
return invalid_socket;
|
163
|
-
// Fall through to retry operation.
|
164
|
-
}
|
165
|
-
#if defined(EPROTO)
|
166
|
-
else if (ec.value() == EPROTO)
|
167
|
-
{
|
168
|
-
if (state & enable_connection_aborted)
|
169
|
-
return invalid_socket;
|
170
|
-
// Fall through to retry operation.
|
171
|
-
}
|
172
|
-
#endif // defined(EPROTO)
|
173
|
-
else
|
174
|
-
return invalid_socket;
|
175
|
-
|
176
|
-
// Wait for socket to become ready.
|
177
|
-
if (socket_ops::poll_read(s, 0, -1, ec) < 0)
|
178
|
-
return invalid_socket;
|
179
|
-
}
|
180
|
-
}
|
181
|
-
|
182
|
-
#if defined(ASIO_HAS_IOCP)
|
183
|
-
|
184
|
-
void complete_iocp_accept(socket_type s, void* output_buffer,
|
185
|
-
DWORD address_length, void* addr, std::size_t* addrlen,
|
186
|
-
socket_type new_socket, asio::error_code& ec)
|
187
|
-
{
|
188
|
-
// Map non-portable errors to their portable counterparts.
|
189
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
190
|
-
ec = asio::error::connection_aborted;
|
191
|
-
|
192
|
-
if (!ec)
|
193
|
-
{
|
194
|
-
// Get the address of the peer.
|
195
|
-
if (addr && addrlen)
|
196
|
-
{
|
197
|
-
LPSOCKADDR local_addr = 0;
|
198
|
-
int local_addr_length = 0;
|
199
|
-
LPSOCKADDR remote_addr = 0;
|
200
|
-
int remote_addr_length = 0;
|
201
|
-
GetAcceptExSockaddrs(output_buffer, 0, address_length,
|
202
|
-
address_length, &local_addr, &local_addr_length,
|
203
|
-
&remote_addr, &remote_addr_length);
|
204
|
-
if (static_cast<std::size_t>(remote_addr_length) > *addrlen)
|
205
|
-
{
|
206
|
-
ec = asio::error::invalid_argument;
|
207
|
-
}
|
208
|
-
else
|
209
|
-
{
|
210
|
-
using namespace std; // For memcpy.
|
211
|
-
memcpy(addr, remote_addr, remote_addr_length);
|
212
|
-
*addrlen = static_cast<std::size_t>(remote_addr_length);
|
213
|
-
}
|
214
|
-
}
|
215
|
-
|
216
|
-
// Need to set the SO_UPDATE_ACCEPT_CONTEXT option so that getsockname
|
217
|
-
// and getpeername will work on the accepted socket.
|
218
|
-
SOCKET update_ctx_param = s;
|
219
|
-
socket_ops::state_type state = 0;
|
220
|
-
socket_ops::setsockopt(new_socket, state,
|
221
|
-
SOL_SOCKET, SO_UPDATE_ACCEPT_CONTEXT,
|
222
|
-
&update_ctx_param, sizeof(SOCKET), ec);
|
223
|
-
}
|
224
|
-
}
|
225
|
-
|
226
|
-
#else // defined(ASIO_HAS_IOCP)
|
227
|
-
|
228
|
-
bool non_blocking_accept(socket_type s,
|
229
|
-
state_type state, void* addr, std::size_t* addrlen,
|
230
|
-
asio::error_code& ec, socket_type& new_socket)
|
231
|
-
{
|
232
|
-
for (;;)
|
233
|
-
{
|
234
|
-
// Accept the waiting connection.
|
235
|
-
new_socket = socket_ops::accept(s, addr, addrlen, ec);
|
236
|
-
|
237
|
-
// Check if operation succeeded.
|
238
|
-
if (new_socket != invalid_socket)
|
239
|
-
return true;
|
240
|
-
|
241
|
-
// Retry operation if interrupted by signal.
|
242
|
-
if (ec == asio::error::interrupted)
|
243
|
-
continue;
|
244
|
-
|
245
|
-
// Operation failed.
|
246
|
-
if (ec == asio::error::would_block
|
247
|
-
|| ec == asio::error::try_again)
|
248
|
-
{
|
249
|
-
// Fall through to retry operation.
|
250
|
-
}
|
251
|
-
else if (ec == asio::error::connection_aborted)
|
252
|
-
{
|
253
|
-
if (state & enable_connection_aborted)
|
254
|
-
return true;
|
255
|
-
// Fall through to retry operation.
|
256
|
-
}
|
257
|
-
#if defined(EPROTO)
|
258
|
-
else if (ec.value() == EPROTO)
|
259
|
-
{
|
260
|
-
if (state & enable_connection_aborted)
|
261
|
-
return true;
|
262
|
-
// Fall through to retry operation.
|
263
|
-
}
|
264
|
-
#endif // defined(EPROTO)
|
265
|
-
else
|
266
|
-
return true;
|
267
|
-
|
268
|
-
return false;
|
269
|
-
}
|
270
|
-
}
|
271
|
-
|
272
|
-
#endif // defined(ASIO_HAS_IOCP)
|
273
|
-
|
274
|
-
template <typename SockLenType>
|
275
|
-
inline int call_bind(SockLenType msghdr::*,
|
276
|
-
socket_type s, const void* addr, std::size_t addrlen)
|
277
|
-
{
|
278
|
-
return ::bind(s, static_cast<const socket_addr_type*>(addr),
|
279
|
-
(SockLenType)addrlen);
|
280
|
-
}
|
281
|
-
|
282
|
-
int bind(socket_type s, const void* addr,
|
283
|
-
std::size_t addrlen, asio::error_code& ec)
|
284
|
-
{
|
285
|
-
if (s == invalid_socket)
|
286
|
-
{
|
287
|
-
ec = asio::error::bad_descriptor;
|
288
|
-
return socket_error_retval;
|
289
|
-
}
|
290
|
-
|
291
|
-
int result = call_bind(&msghdr::msg_namelen, s, addr, addrlen);
|
292
|
-
get_last_error(ec, result != 0);
|
293
|
-
return result;
|
294
|
-
}
|
295
|
-
|
296
|
-
int close(socket_type s, state_type& state,
|
297
|
-
bool destruction, asio::error_code& ec)
|
298
|
-
{
|
299
|
-
int result = 0;
|
300
|
-
if (s != invalid_socket)
|
301
|
-
{
|
302
|
-
// We don't want the destructor to block, so set the socket to linger in
|
303
|
-
// the background. If the user doesn't like this behaviour then they need
|
304
|
-
// to explicitly close the socket.
|
305
|
-
if (destruction && (state & user_set_linger))
|
306
|
-
{
|
307
|
-
::linger opt;
|
308
|
-
opt.l_onoff = 0;
|
309
|
-
opt.l_linger = 0;
|
310
|
-
asio::error_code ignored_ec;
|
311
|
-
socket_ops::setsockopt(s, state, SOL_SOCKET,
|
312
|
-
SO_LINGER, &opt, sizeof(opt), ignored_ec);
|
313
|
-
}
|
314
|
-
|
315
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
316
|
-
result = ::closesocket(s);
|
317
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
318
|
-
result = ::close(s);
|
319
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
320
|
-
get_last_error(ec, result != 0);
|
321
|
-
|
322
|
-
if (result != 0
|
323
|
-
&& (ec == asio::error::would_block
|
324
|
-
|| ec == asio::error::try_again))
|
325
|
-
{
|
326
|
-
// According to UNIX Network Programming Vol. 1, it is possible for
|
327
|
-
// close() to fail with EWOULDBLOCK under certain circumstances. What
|
328
|
-
// isn't clear is the state of the descriptor after this error. The one
|
329
|
-
// current OS where this behaviour is seen, Windows, says that the socket
|
330
|
-
// remains open. Therefore we'll put the descriptor back into blocking
|
331
|
-
// mode and have another attempt at closing it.
|
332
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
333
|
-
ioctl_arg_type arg = 0;
|
334
|
-
::ioctlsocket(s, FIONBIO, &arg);
|
335
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
336
|
-
# if defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
337
|
-
int flags = ::fcntl(s, F_GETFL, 0);
|
338
|
-
if (flags >= 0)
|
339
|
-
::fcntl(s, F_SETFL, flags & ~O_NONBLOCK);
|
340
|
-
# else // defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
341
|
-
ioctl_arg_type arg = 0;
|
342
|
-
::ioctl(s, FIONBIO, &arg);
|
343
|
-
# endif // defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
344
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
345
|
-
state &= ~non_blocking;
|
346
|
-
|
347
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
348
|
-
result = ::closesocket(s);
|
349
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
350
|
-
result = ::close(s);
|
351
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
352
|
-
get_last_error(ec, result != 0);
|
353
|
-
}
|
354
|
-
}
|
355
|
-
|
356
|
-
return result;
|
357
|
-
}
|
358
|
-
|
359
|
-
bool set_user_non_blocking(socket_type s,
|
360
|
-
state_type& state, bool value, asio::error_code& ec)
|
361
|
-
{
|
362
|
-
if (s == invalid_socket)
|
363
|
-
{
|
364
|
-
ec = asio::error::bad_descriptor;
|
365
|
-
return false;
|
366
|
-
}
|
367
|
-
|
368
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
369
|
-
ioctl_arg_type arg = (value ? 1 : 0);
|
370
|
-
int result = ::ioctlsocket(s, FIONBIO, &arg);
|
371
|
-
get_last_error(ec, result < 0);
|
372
|
-
#elif defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
373
|
-
int result = ::fcntl(s, F_GETFL, 0);
|
374
|
-
get_last_error(ec, result < 0);
|
375
|
-
if (result >= 0)
|
376
|
-
{
|
377
|
-
int flag = (value ? (result | O_NONBLOCK) : (result & ~O_NONBLOCK));
|
378
|
-
result = ::fcntl(s, F_SETFL, flag);
|
379
|
-
get_last_error(ec, result < 0);
|
380
|
-
}
|
381
|
-
#else
|
382
|
-
ioctl_arg_type arg = (value ? 1 : 0);
|
383
|
-
int result = ::ioctl(s, FIONBIO, &arg);
|
384
|
-
get_last_error(ec, result < 0);
|
385
|
-
#endif
|
386
|
-
|
387
|
-
if (result >= 0)
|
388
|
-
{
|
389
|
-
if (value)
|
390
|
-
state |= user_set_non_blocking;
|
391
|
-
else
|
392
|
-
{
|
393
|
-
// Clearing the user-set non-blocking mode always overrides any
|
394
|
-
// internally-set non-blocking flag. Any subsequent asynchronous
|
395
|
-
// operations will need to re-enable non-blocking I/O.
|
396
|
-
state &= ~(user_set_non_blocking | internal_non_blocking);
|
397
|
-
}
|
398
|
-
return true;
|
399
|
-
}
|
400
|
-
|
401
|
-
return false;
|
402
|
-
}
|
403
|
-
|
404
|
-
bool set_internal_non_blocking(socket_type s,
|
405
|
-
state_type& state, bool value, asio::error_code& ec)
|
406
|
-
{
|
407
|
-
if (s == invalid_socket)
|
408
|
-
{
|
409
|
-
ec = asio::error::bad_descriptor;
|
410
|
-
return false;
|
411
|
-
}
|
412
|
-
|
413
|
-
if (!value && (state & user_set_non_blocking))
|
414
|
-
{
|
415
|
-
// It does not make sense to clear the internal non-blocking flag if the
|
416
|
-
// user still wants non-blocking behaviour. Return an error and let the
|
417
|
-
// caller figure out whether to update the user-set non-blocking flag.
|
418
|
-
ec = asio::error::invalid_argument;
|
419
|
-
return false;
|
420
|
-
}
|
421
|
-
|
422
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
423
|
-
ioctl_arg_type arg = (value ? 1 : 0);
|
424
|
-
int result = ::ioctlsocket(s, FIONBIO, &arg);
|
425
|
-
get_last_error(ec, result < 0);
|
426
|
-
#elif defined(__SYMBIAN32__) || defined(__EMSCRIPTEN__)
|
427
|
-
int result = ::fcntl(s, F_GETFL, 0);
|
428
|
-
get_last_error(ec, result < 0);
|
429
|
-
if (result >= 0)
|
430
|
-
{
|
431
|
-
int flag = (value ? (result | O_NONBLOCK) : (result & ~O_NONBLOCK));
|
432
|
-
result = ::fcntl(s, F_SETFL, flag);
|
433
|
-
get_last_error(ec, result < 0);
|
434
|
-
}
|
435
|
-
#else
|
436
|
-
ioctl_arg_type arg = (value ? 1 : 0);
|
437
|
-
int result = ::ioctl(s, FIONBIO, &arg);
|
438
|
-
get_last_error(ec, result < 0);
|
439
|
-
#endif
|
440
|
-
|
441
|
-
if (result >= 0)
|
442
|
-
{
|
443
|
-
if (value)
|
444
|
-
state |= internal_non_blocking;
|
445
|
-
else
|
446
|
-
state &= ~internal_non_blocking;
|
447
|
-
return true;
|
448
|
-
}
|
449
|
-
|
450
|
-
return false;
|
451
|
-
}
|
452
|
-
|
453
|
-
int shutdown(socket_type s, int what, asio::error_code& ec)
|
454
|
-
{
|
455
|
-
if (s == invalid_socket)
|
456
|
-
{
|
457
|
-
ec = asio::error::bad_descriptor;
|
458
|
-
return socket_error_retval;
|
459
|
-
}
|
460
|
-
|
461
|
-
int result = ::shutdown(s, what);
|
462
|
-
get_last_error(ec, result != 0);
|
463
|
-
return result;
|
464
|
-
}
|
465
|
-
|
466
|
-
template <typename SockLenType>
|
467
|
-
inline int call_connect(SockLenType msghdr::*,
|
468
|
-
socket_type s, const void* addr, std::size_t addrlen)
|
469
|
-
{
|
470
|
-
return ::connect(s, static_cast<const socket_addr_type*>(addr),
|
471
|
-
(SockLenType)addrlen);
|
472
|
-
}
|
473
|
-
|
474
|
-
int connect(socket_type s, const void* addr,
|
475
|
-
std::size_t addrlen, asio::error_code& ec)
|
476
|
-
{
|
477
|
-
if (s == invalid_socket)
|
478
|
-
{
|
479
|
-
ec = asio::error::bad_descriptor;
|
480
|
-
return socket_error_retval;
|
481
|
-
}
|
482
|
-
|
483
|
-
int result = call_connect(&msghdr::msg_namelen, s, addr, addrlen);
|
484
|
-
get_last_error(ec, result != 0);
|
485
|
-
#if defined(__linux__)
|
486
|
-
if (result != 0 && ec == asio::error::try_again)
|
487
|
-
{
|
488
|
-
if (static_cast<const socket_addr_type*>(addr)->sa_family == AF_UNIX)
|
489
|
-
ec = asio::error::in_progress;
|
490
|
-
else
|
491
|
-
ec = asio::error::no_buffer_space;
|
492
|
-
}
|
493
|
-
#endif // defined(__linux__)
|
494
|
-
return result;
|
495
|
-
}
|
496
|
-
|
497
|
-
void sync_connect(socket_type s, const void* addr,
|
498
|
-
std::size_t addrlen, asio::error_code& ec)
|
499
|
-
{
|
500
|
-
// Perform the connect operation.
|
501
|
-
socket_ops::connect(s, addr, addrlen, ec);
|
502
|
-
if (ec != asio::error::in_progress
|
503
|
-
&& ec != asio::error::would_block)
|
504
|
-
{
|
505
|
-
// The connect operation finished immediately.
|
506
|
-
return;
|
507
|
-
}
|
508
|
-
|
509
|
-
// Wait for socket to become ready.
|
510
|
-
if (socket_ops::poll_connect(s, -1, ec) < 0)
|
511
|
-
return;
|
512
|
-
|
513
|
-
// Get the error code from the connect operation.
|
514
|
-
int connect_error = 0;
|
515
|
-
size_t connect_error_len = sizeof(connect_error);
|
516
|
-
if (socket_ops::getsockopt(s, 0, SOL_SOCKET, SO_ERROR,
|
517
|
-
&connect_error, &connect_error_len, ec) == socket_error_retval)
|
518
|
-
return;
|
519
|
-
|
520
|
-
// Return the result of the connect operation.
|
521
|
-
ec = asio::error_code(connect_error,
|
522
|
-
asio::error::get_system_category());
|
523
|
-
}
|
524
|
-
|
525
|
-
#if defined(ASIO_HAS_IOCP)
|
526
|
-
|
527
|
-
void complete_iocp_connect(socket_type s, asio::error_code& ec)
|
528
|
-
{
|
529
|
-
// Map non-portable errors to their portable counterparts.
|
530
|
-
switch (ec.value())
|
531
|
-
{
|
532
|
-
case ERROR_CONNECTION_REFUSED:
|
533
|
-
ec = asio::error::connection_refused;
|
534
|
-
break;
|
535
|
-
case ERROR_NETWORK_UNREACHABLE:
|
536
|
-
ec = asio::error::network_unreachable;
|
537
|
-
break;
|
538
|
-
case ERROR_HOST_UNREACHABLE:
|
539
|
-
ec = asio::error::host_unreachable;
|
540
|
-
break;
|
541
|
-
case ERROR_SEM_TIMEOUT:
|
542
|
-
ec = asio::error::timed_out;
|
543
|
-
break;
|
544
|
-
default:
|
545
|
-
break;
|
546
|
-
}
|
547
|
-
|
548
|
-
if (!ec)
|
549
|
-
{
|
550
|
-
// Need to set the SO_UPDATE_CONNECT_CONTEXT option so that getsockname
|
551
|
-
// and getpeername will work on the connected socket.
|
552
|
-
socket_ops::state_type state = 0;
|
553
|
-
const int so_update_connect_context = 0x7010;
|
554
|
-
socket_ops::setsockopt(s, state, SOL_SOCKET,
|
555
|
-
so_update_connect_context, 0, 0, ec);
|
556
|
-
}
|
557
|
-
}
|
558
|
-
|
559
|
-
#endif // defined(ASIO_HAS_IOCP)
|
560
|
-
|
561
|
-
bool non_blocking_connect(socket_type s, asio::error_code& ec)
|
562
|
-
{
|
563
|
-
// Check if the connect operation has finished. This is required since we may
|
564
|
-
// get spurious readiness notifications from the reactor.
|
565
|
-
#if defined(ASIO_WINDOWS) \
|
566
|
-
|| defined(__CYGWIN__) \
|
567
|
-
|| defined(__SYMBIAN32__)
|
568
|
-
fd_set write_fds;
|
569
|
-
FD_ZERO(&write_fds);
|
570
|
-
FD_SET(s, &write_fds);
|
571
|
-
fd_set except_fds;
|
572
|
-
FD_ZERO(&except_fds);
|
573
|
-
FD_SET(s, &except_fds);
|
574
|
-
timeval zero_timeout;
|
575
|
-
zero_timeout.tv_sec = 0;
|
576
|
-
zero_timeout.tv_usec = 0;
|
577
|
-
int ready = ::select(s + 1, 0, &write_fds, &except_fds, &zero_timeout);
|
578
|
-
#else // defined(ASIO_WINDOWS)
|
579
|
-
// || defined(__CYGWIN__)
|
580
|
-
// || defined(__SYMBIAN32__)
|
581
|
-
pollfd fds;
|
582
|
-
fds.fd = s;
|
583
|
-
fds.events = POLLOUT;
|
584
|
-
fds.revents = 0;
|
585
|
-
int ready = ::poll(&fds, 1, 0);
|
586
|
-
#endif // defined(ASIO_WINDOWS)
|
587
|
-
// || defined(__CYGWIN__)
|
588
|
-
// || defined(__SYMBIAN32__)
|
589
|
-
if (ready == 0)
|
590
|
-
{
|
591
|
-
// The asynchronous connect operation is still in progress.
|
592
|
-
return false;
|
593
|
-
}
|
594
|
-
|
595
|
-
// Get the error code from the connect operation.
|
596
|
-
int connect_error = 0;
|
597
|
-
size_t connect_error_len = sizeof(connect_error);
|
598
|
-
if (socket_ops::getsockopt(s, 0, SOL_SOCKET, SO_ERROR,
|
599
|
-
&connect_error, &connect_error_len, ec) == 0)
|
600
|
-
{
|
601
|
-
if (connect_error)
|
602
|
-
{
|
603
|
-
ec = asio::error_code(connect_error,
|
604
|
-
asio::error::get_system_category());
|
605
|
-
}
|
606
|
-
else
|
607
|
-
asio::error::clear(ec);
|
608
|
-
}
|
609
|
-
|
610
|
-
return true;
|
611
|
-
}
|
612
|
-
|
613
|
-
int socketpair(int af, int type, int protocol,
|
614
|
-
socket_type sv[2], asio::error_code& ec)
|
615
|
-
{
|
616
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
617
|
-
(void)(af);
|
618
|
-
(void)(type);
|
619
|
-
(void)(protocol);
|
620
|
-
(void)(sv);
|
621
|
-
ec = asio::error::operation_not_supported;
|
622
|
-
return socket_error_retval;
|
623
|
-
#else
|
624
|
-
int result = ::socketpair(af, type, protocol, sv);
|
625
|
-
get_last_error(ec, result != 0);
|
626
|
-
return result;
|
627
|
-
#endif
|
628
|
-
}
|
629
|
-
|
630
|
-
bool sockatmark(socket_type s, asio::error_code& ec)
|
631
|
-
{
|
632
|
-
if (s == invalid_socket)
|
633
|
-
{
|
634
|
-
ec = asio::error::bad_descriptor;
|
635
|
-
return false;
|
636
|
-
}
|
637
|
-
|
638
|
-
#if defined(SIOCATMARK)
|
639
|
-
ioctl_arg_type value = 0;
|
640
|
-
# if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
641
|
-
int result = ::ioctlsocket(s, SIOCATMARK, &value);
|
642
|
-
# else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
643
|
-
int result = ::ioctl(s, SIOCATMARK, &value);
|
644
|
-
# endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
645
|
-
get_last_error(ec, result < 0);
|
646
|
-
# if defined(ENOTTY)
|
647
|
-
if (ec.value() == ENOTTY)
|
648
|
-
ec = asio::error::not_socket;
|
649
|
-
# endif // defined(ENOTTY)
|
650
|
-
#else // defined(SIOCATMARK)
|
651
|
-
int value = ::sockatmark(s);
|
652
|
-
get_last_error(ec, value < 0);
|
653
|
-
#endif // defined(SIOCATMARK)
|
654
|
-
|
655
|
-
return ec ? false : value != 0;
|
656
|
-
}
|
657
|
-
|
658
|
-
size_t available(socket_type s, asio::error_code& ec)
|
659
|
-
{
|
660
|
-
if (s == invalid_socket)
|
661
|
-
{
|
662
|
-
ec = asio::error::bad_descriptor;
|
663
|
-
return 0;
|
664
|
-
}
|
665
|
-
|
666
|
-
ioctl_arg_type value = 0;
|
667
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
668
|
-
int result = ::ioctlsocket(s, FIONREAD, &value);
|
669
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
670
|
-
int result = ::ioctl(s, FIONREAD, &value);
|
671
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
672
|
-
get_last_error(ec, result < 0);
|
673
|
-
#if defined(ENOTTY)
|
674
|
-
if (ec.value() == ENOTTY)
|
675
|
-
ec = asio::error::not_socket;
|
676
|
-
#endif // defined(ENOTTY)
|
677
|
-
|
678
|
-
return ec ? static_cast<size_t>(0) : static_cast<size_t>(value);
|
679
|
-
}
|
680
|
-
|
681
|
-
int listen(socket_type s, int backlog, asio::error_code& ec)
|
682
|
-
{
|
683
|
-
if (s == invalid_socket)
|
684
|
-
{
|
685
|
-
ec = asio::error::bad_descriptor;
|
686
|
-
return socket_error_retval;
|
687
|
-
}
|
688
|
-
|
689
|
-
int result = ::listen(s, backlog);
|
690
|
-
get_last_error(ec, result != 0);
|
691
|
-
return result;
|
692
|
-
}
|
693
|
-
|
694
|
-
inline void init_buf_iov_base(void*& base, void* addr)
|
695
|
-
{
|
696
|
-
base = addr;
|
697
|
-
}
|
698
|
-
|
699
|
-
template <typename T>
|
700
|
-
inline void init_buf_iov_base(T& base, void* addr)
|
701
|
-
{
|
702
|
-
base = static_cast<T>(addr);
|
703
|
-
}
|
704
|
-
|
705
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
706
|
-
typedef WSABUF buf;
|
707
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
708
|
-
typedef iovec buf;
|
709
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
710
|
-
|
711
|
-
void init_buf(buf& b, void* data, size_t size)
|
712
|
-
{
|
713
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
714
|
-
b.buf = static_cast<char*>(data);
|
715
|
-
b.len = static_cast<u_long>(size);
|
716
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
717
|
-
init_buf_iov_base(b.iov_base, data);
|
718
|
-
b.iov_len = size;
|
719
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
720
|
-
}
|
721
|
-
|
722
|
-
void init_buf(buf& b, const void* data, size_t size)
|
723
|
-
{
|
724
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
725
|
-
b.buf = static_cast<char*>(const_cast<void*>(data));
|
726
|
-
b.len = static_cast<u_long>(size);
|
727
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
728
|
-
init_buf_iov_base(b.iov_base, const_cast<void*>(data));
|
729
|
-
b.iov_len = size;
|
730
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
731
|
-
}
|
732
|
-
|
733
|
-
inline void init_msghdr_msg_name(void*& name, void* addr)
|
734
|
-
{
|
735
|
-
name = static_cast<socket_addr_type*>(addr);
|
736
|
-
}
|
737
|
-
|
738
|
-
inline void init_msghdr_msg_name(void*& name, const socket_addr_type* addr)
|
739
|
-
{
|
740
|
-
name = const_cast<socket_addr_type*>(addr);
|
741
|
-
}
|
742
|
-
|
743
|
-
template <typename T>
|
744
|
-
inline void init_msghdr_msg_name(T& name, void* addr)
|
745
|
-
{
|
746
|
-
name = static_cast<T>(addr);
|
747
|
-
}
|
748
|
-
|
749
|
-
template <typename T>
|
750
|
-
inline void init_msghdr_msg_name(T& name, const void* addr)
|
751
|
-
{
|
752
|
-
name = static_cast<T>(const_cast<void*>(addr));
|
753
|
-
}
|
754
|
-
|
755
|
-
signed_size_type recv(socket_type s, buf* bufs, size_t count,
|
756
|
-
int flags, asio::error_code& ec)
|
757
|
-
{
|
758
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
759
|
-
// Receive some data.
|
760
|
-
DWORD recv_buf_count = static_cast<DWORD>(count);
|
761
|
-
DWORD bytes_transferred = 0;
|
762
|
-
DWORD recv_flags = flags;
|
763
|
-
int result = ::WSARecv(s, bufs, recv_buf_count,
|
764
|
-
&bytes_transferred, &recv_flags, 0, 0);
|
765
|
-
get_last_error(ec, true);
|
766
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
767
|
-
ec = asio::error::connection_reset;
|
768
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
769
|
-
ec = asio::error::connection_refused;
|
770
|
-
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
771
|
-
result = 0;
|
772
|
-
if (result != 0)
|
773
|
-
return socket_error_retval;
|
774
|
-
asio::error::clear(ec);
|
775
|
-
return bytes_transferred;
|
776
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
777
|
-
msghdr msg = msghdr();
|
778
|
-
msg.msg_iov = bufs;
|
779
|
-
msg.msg_iovlen = static_cast<int>(count);
|
780
|
-
signed_size_type result = ::recvmsg(s, &msg, flags);
|
781
|
-
get_last_error(ec, result < 0);
|
782
|
-
return result;
|
783
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
784
|
-
}
|
785
|
-
|
786
|
-
signed_size_type recv1(socket_type s, void* data, size_t size,
|
787
|
-
int flags, asio::error_code& ec)
|
788
|
-
{
|
789
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
790
|
-
// Receive some data.
|
791
|
-
WSABUF buf;
|
792
|
-
buf.buf = const_cast<char*>(static_cast<const char*>(data));
|
793
|
-
buf.len = static_cast<ULONG>(size);
|
794
|
-
DWORD bytes_transferred = 0;
|
795
|
-
DWORD recv_flags = flags;
|
796
|
-
int result = ::WSARecv(s, &buf, 1,
|
797
|
-
&bytes_transferred, &recv_flags, 0, 0);
|
798
|
-
get_last_error(ec, true);
|
799
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
800
|
-
ec = asio::error::connection_reset;
|
801
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
802
|
-
ec = asio::error::connection_refused;
|
803
|
-
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
804
|
-
result = 0;
|
805
|
-
if (result != 0)
|
806
|
-
return socket_error_retval;
|
807
|
-
asio::error::clear(ec);
|
808
|
-
return bytes_transferred;
|
809
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
810
|
-
signed_size_type result = ::recv(s, static_cast<char*>(data), size, flags);
|
811
|
-
get_last_error(ec, result < 0);
|
812
|
-
return result;
|
813
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
814
|
-
}
|
815
|
-
|
816
|
-
size_t sync_recv(socket_type s, state_type state, buf* bufs,
|
817
|
-
size_t count, int flags, bool all_empty, asio::error_code& ec)
|
818
|
-
{
|
819
|
-
if (s == invalid_socket)
|
820
|
-
{
|
821
|
-
ec = asio::error::bad_descriptor;
|
822
|
-
return 0;
|
823
|
-
}
|
824
|
-
|
825
|
-
// A request to read 0 bytes on a stream is a no-op.
|
826
|
-
if (all_empty && (state & stream_oriented))
|
827
|
-
{
|
828
|
-
asio::error::clear(ec);
|
829
|
-
return 0;
|
830
|
-
}
|
831
|
-
|
832
|
-
// Read some data.
|
833
|
-
for (;;)
|
834
|
-
{
|
835
|
-
// Try to complete the operation without blocking.
|
836
|
-
signed_size_type bytes = socket_ops::recv(s, bufs, count, flags, ec);
|
837
|
-
|
838
|
-
// Check for EOF.
|
839
|
-
if ((state & stream_oriented) && bytes == 0)
|
840
|
-
{
|
841
|
-
ec = asio::error::eof;
|
842
|
-
return 0;
|
843
|
-
}
|
844
|
-
|
845
|
-
// Check if operation succeeded.
|
846
|
-
if (bytes >= 0)
|
847
|
-
return bytes;
|
848
|
-
|
849
|
-
// Operation failed.
|
850
|
-
if ((state & user_set_non_blocking)
|
851
|
-
|| (ec != asio::error::would_block
|
852
|
-
&& ec != asio::error::try_again))
|
853
|
-
return 0;
|
854
|
-
|
855
|
-
// Wait for socket to become ready.
|
856
|
-
if (socket_ops::poll_read(s, 0, -1, ec) < 0)
|
857
|
-
return 0;
|
858
|
-
}
|
859
|
-
}
|
860
|
-
|
861
|
-
size_t sync_recv1(socket_type s, state_type state, void* data,
|
862
|
-
size_t size, int flags, asio::error_code& ec)
|
863
|
-
{
|
864
|
-
if (s == invalid_socket)
|
865
|
-
{
|
866
|
-
ec = asio::error::bad_descriptor;
|
867
|
-
return 0;
|
868
|
-
}
|
869
|
-
|
870
|
-
// A request to read 0 bytes on a stream is a no-op.
|
871
|
-
if (size == 0 && (state & stream_oriented))
|
872
|
-
{
|
873
|
-
asio::error::clear(ec);
|
874
|
-
return 0;
|
875
|
-
}
|
876
|
-
|
877
|
-
// Read some data.
|
878
|
-
for (;;)
|
879
|
-
{
|
880
|
-
// Try to complete the operation without blocking.
|
881
|
-
signed_size_type bytes = socket_ops::recv1(s, data, size, flags, ec);
|
882
|
-
|
883
|
-
// Check for EOF.
|
884
|
-
if ((state & stream_oriented) && bytes == 0)
|
885
|
-
{
|
886
|
-
ec = asio::error::eof;
|
887
|
-
return 0;
|
888
|
-
}
|
889
|
-
|
890
|
-
// Check if operation succeeded.
|
891
|
-
if (bytes >= 0)
|
892
|
-
return bytes;
|
893
|
-
|
894
|
-
// Operation failed.
|
895
|
-
if ((state & user_set_non_blocking)
|
896
|
-
|| (ec != asio::error::would_block
|
897
|
-
&& ec != asio::error::try_again))
|
898
|
-
return 0;
|
899
|
-
|
900
|
-
// Wait for socket to become ready.
|
901
|
-
if (socket_ops::poll_read(s, 0, -1, ec) < 0)
|
902
|
-
return 0;
|
903
|
-
}
|
904
|
-
}
|
905
|
-
|
906
|
-
#if defined(ASIO_HAS_IOCP)
|
907
|
-
|
908
|
-
void complete_iocp_recv(state_type state,
|
909
|
-
const weak_cancel_token_type& cancel_token, bool all_empty,
|
910
|
-
asio::error_code& ec, size_t bytes_transferred)
|
911
|
-
{
|
912
|
-
// Map non-portable errors to their portable counterparts.
|
913
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
914
|
-
{
|
915
|
-
if (cancel_token.expired())
|
916
|
-
ec = asio::error::operation_aborted;
|
917
|
-
else
|
918
|
-
ec = asio::error::connection_reset;
|
919
|
-
}
|
920
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
921
|
-
{
|
922
|
-
ec = asio::error::connection_refused;
|
923
|
-
}
|
924
|
-
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
925
|
-
{
|
926
|
-
asio::error::clear(ec);
|
927
|
-
}
|
928
|
-
|
929
|
-
// Check for connection closed.
|
930
|
-
else if (!ec && bytes_transferred == 0
|
931
|
-
&& (state & stream_oriented) != 0
|
932
|
-
&& !all_empty)
|
933
|
-
{
|
934
|
-
ec = asio::error::eof;
|
935
|
-
}
|
936
|
-
}
|
937
|
-
|
938
|
-
#else // defined(ASIO_HAS_IOCP)
|
939
|
-
|
940
|
-
bool non_blocking_recv(socket_type s,
|
941
|
-
buf* bufs, size_t count, int flags, bool is_stream,
|
942
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
943
|
-
{
|
944
|
-
for (;;)
|
945
|
-
{
|
946
|
-
// Read some data.
|
947
|
-
signed_size_type bytes = socket_ops::recv(s, bufs, count, flags, ec);
|
948
|
-
|
949
|
-
// Check for end of stream.
|
950
|
-
if (is_stream && bytes == 0)
|
951
|
-
{
|
952
|
-
ec = asio::error::eof;
|
953
|
-
return true;
|
954
|
-
}
|
955
|
-
|
956
|
-
// Check if operation succeeded.
|
957
|
-
if (bytes >= 0)
|
958
|
-
{
|
959
|
-
bytes_transferred = bytes;
|
960
|
-
return true;
|
961
|
-
}
|
962
|
-
|
963
|
-
// Retry operation if interrupted by signal.
|
964
|
-
if (ec == asio::error::interrupted)
|
965
|
-
continue;
|
966
|
-
|
967
|
-
// Check if we need to run the operation again.
|
968
|
-
if (ec == asio::error::would_block
|
969
|
-
|| ec == asio::error::try_again)
|
970
|
-
return false;
|
971
|
-
|
972
|
-
// Operation failed.
|
973
|
-
bytes_transferred = 0;
|
974
|
-
return true;
|
975
|
-
}
|
976
|
-
}
|
977
|
-
|
978
|
-
bool non_blocking_recv1(socket_type s,
|
979
|
-
void* data, size_t size, int flags, bool is_stream,
|
980
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
981
|
-
{
|
982
|
-
for (;;)
|
983
|
-
{
|
984
|
-
// Read some data.
|
985
|
-
signed_size_type bytes = socket_ops::recv1(s, data, size, flags, ec);
|
986
|
-
|
987
|
-
// Check for end of stream.
|
988
|
-
if (is_stream && bytes == 0)
|
989
|
-
{
|
990
|
-
ec = asio::error::eof;
|
991
|
-
return true;
|
992
|
-
}
|
993
|
-
|
994
|
-
// Check if operation succeeded.
|
995
|
-
if (bytes >= 0)
|
996
|
-
{
|
997
|
-
bytes_transferred = bytes;
|
998
|
-
return true;
|
999
|
-
}
|
1000
|
-
|
1001
|
-
// Retry operation if interrupted by signal.
|
1002
|
-
if (ec == asio::error::interrupted)
|
1003
|
-
continue;
|
1004
|
-
|
1005
|
-
// Check if we need to run the operation again.
|
1006
|
-
if (ec == asio::error::would_block
|
1007
|
-
|| ec == asio::error::try_again)
|
1008
|
-
return false;
|
1009
|
-
|
1010
|
-
// Operation failed.
|
1011
|
-
bytes_transferred = 0;
|
1012
|
-
return true;
|
1013
|
-
}
|
1014
|
-
}
|
1015
|
-
|
1016
|
-
#endif // defined(ASIO_HAS_IOCP)
|
1017
|
-
|
1018
|
-
signed_size_type recvfrom(socket_type s, buf* bufs, size_t count,
|
1019
|
-
int flags, void* addr, std::size_t* addrlen, asio::error_code& ec)
|
1020
|
-
{
|
1021
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1022
|
-
// Receive some data.
|
1023
|
-
DWORD recv_buf_count = static_cast<DWORD>(count);
|
1024
|
-
DWORD bytes_transferred = 0;
|
1025
|
-
DWORD recv_flags = flags;
|
1026
|
-
int tmp_addrlen = (int)*addrlen;
|
1027
|
-
int result = ::WSARecvFrom(s, bufs, recv_buf_count, &bytes_transferred,
|
1028
|
-
&recv_flags, static_cast<socket_addr_type*>(addr), &tmp_addrlen, 0, 0);
|
1029
|
-
get_last_error(ec, true);
|
1030
|
-
*addrlen = (std::size_t)tmp_addrlen;
|
1031
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1032
|
-
ec = asio::error::connection_reset;
|
1033
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1034
|
-
ec = asio::error::connection_refused;
|
1035
|
-
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
1036
|
-
result = 0;
|
1037
|
-
if (result != 0)
|
1038
|
-
return socket_error_retval;
|
1039
|
-
asio::error::clear(ec);
|
1040
|
-
return bytes_transferred;
|
1041
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1042
|
-
msghdr msg = msghdr();
|
1043
|
-
init_msghdr_msg_name(msg.msg_name, addr);
|
1044
|
-
msg.msg_namelen = static_cast<int>(*addrlen);
|
1045
|
-
msg.msg_iov = bufs;
|
1046
|
-
msg.msg_iovlen = static_cast<int>(count);
|
1047
|
-
signed_size_type result = ::recvmsg(s, &msg, flags);
|
1048
|
-
get_last_error(ec, result < 0);
|
1049
|
-
*addrlen = msg.msg_namelen;
|
1050
|
-
return result;
|
1051
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1052
|
-
}
|
1053
|
-
|
1054
|
-
template <typename SockLenType>
|
1055
|
-
inline signed_size_type call_recvfrom(SockLenType msghdr::*, socket_type s,
|
1056
|
-
void* data, size_t size, int flags, void* addr, std::size_t* addrlen)
|
1057
|
-
{
|
1058
|
-
SockLenType tmp_addrlen = addrlen ? (SockLenType)*addrlen : 0;
|
1059
|
-
signed_size_type result = ::recvfrom(s, static_cast<char*>(data), size,
|
1060
|
-
flags, static_cast<socket_addr_type*>(addr), addrlen ? &tmp_addrlen : 0);
|
1061
|
-
if (addrlen)
|
1062
|
-
*addrlen = (std::size_t)tmp_addrlen;
|
1063
|
-
return result;
|
1064
|
-
}
|
1065
|
-
|
1066
|
-
signed_size_type recvfrom1(socket_type s, void* data, size_t size,
|
1067
|
-
int flags, void* addr, std::size_t* addrlen, asio::error_code& ec)
|
1068
|
-
{
|
1069
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1070
|
-
// Receive some data.
|
1071
|
-
WSABUF buf;
|
1072
|
-
buf.buf = static_cast<char*>(data);
|
1073
|
-
buf.len = static_cast<ULONG>(size);
|
1074
|
-
DWORD bytes_transferred = 0;
|
1075
|
-
DWORD recv_flags = flags;
|
1076
|
-
int tmp_addrlen = (int)*addrlen;
|
1077
|
-
int result = ::WSARecvFrom(s, &buf, 1, &bytes_transferred, &recv_flags,
|
1078
|
-
static_cast<socket_addr_type*>(addr), &tmp_addrlen, 0, 0);
|
1079
|
-
get_last_error(ec, true);
|
1080
|
-
*addrlen = (std::size_t)tmp_addrlen;
|
1081
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1082
|
-
ec = asio::error::connection_reset;
|
1083
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1084
|
-
ec = asio::error::connection_refused;
|
1085
|
-
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
1086
|
-
result = 0;
|
1087
|
-
if (result != 0)
|
1088
|
-
return socket_error_retval;
|
1089
|
-
asio::error::clear(ec);
|
1090
|
-
return bytes_transferred;
|
1091
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1092
|
-
signed_size_type result = call_recvfrom(&msghdr::msg_namelen,
|
1093
|
-
s, data, size, flags, addr, addrlen);
|
1094
|
-
get_last_error(ec, result < 0);
|
1095
|
-
return result;
|
1096
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1097
|
-
}
|
1098
|
-
|
1099
|
-
size_t sync_recvfrom(socket_type s, state_type state, buf* bufs, size_t count,
|
1100
|
-
int flags, void* addr, std::size_t* addrlen, asio::error_code& ec)
|
1101
|
-
{
|
1102
|
-
if (s == invalid_socket)
|
1103
|
-
{
|
1104
|
-
ec = asio::error::bad_descriptor;
|
1105
|
-
return 0;
|
1106
|
-
}
|
1107
|
-
|
1108
|
-
// Read some data.
|
1109
|
-
for (;;)
|
1110
|
-
{
|
1111
|
-
// Try to complete the operation without blocking.
|
1112
|
-
signed_size_type bytes = socket_ops::recvfrom(
|
1113
|
-
s, bufs, count, flags, addr, addrlen, ec);
|
1114
|
-
|
1115
|
-
// Check if operation succeeded.
|
1116
|
-
if (bytes >= 0)
|
1117
|
-
return bytes;
|
1118
|
-
|
1119
|
-
// Operation failed.
|
1120
|
-
if ((state & user_set_non_blocking)
|
1121
|
-
|| (ec != asio::error::would_block
|
1122
|
-
&& ec != asio::error::try_again))
|
1123
|
-
return 0;
|
1124
|
-
|
1125
|
-
// Wait for socket to become ready.
|
1126
|
-
if (socket_ops::poll_read(s, 0, -1, ec) < 0)
|
1127
|
-
return 0;
|
1128
|
-
}
|
1129
|
-
}
|
1130
|
-
|
1131
|
-
size_t sync_recvfrom1(socket_type s, state_type state, void* data, size_t size,
|
1132
|
-
int flags, void* addr, std::size_t* addrlen, asio::error_code& ec)
|
1133
|
-
{
|
1134
|
-
if (s == invalid_socket)
|
1135
|
-
{
|
1136
|
-
ec = asio::error::bad_descriptor;
|
1137
|
-
return 0;
|
1138
|
-
}
|
1139
|
-
|
1140
|
-
// Read some data.
|
1141
|
-
for (;;)
|
1142
|
-
{
|
1143
|
-
// Try to complete the operation without blocking.
|
1144
|
-
signed_size_type bytes = socket_ops::recvfrom1(
|
1145
|
-
s, data, size, flags, addr, addrlen, ec);
|
1146
|
-
|
1147
|
-
// Check if operation succeeded.
|
1148
|
-
if (bytes >= 0)
|
1149
|
-
return bytes;
|
1150
|
-
|
1151
|
-
// Operation failed.
|
1152
|
-
if ((state & user_set_non_blocking)
|
1153
|
-
|| (ec != asio::error::would_block
|
1154
|
-
&& ec != asio::error::try_again))
|
1155
|
-
return 0;
|
1156
|
-
|
1157
|
-
// Wait for socket to become ready.
|
1158
|
-
if (socket_ops::poll_read(s, 0, -1, ec) < 0)
|
1159
|
-
return 0;
|
1160
|
-
}
|
1161
|
-
}
|
1162
|
-
|
1163
|
-
#if defined(ASIO_HAS_IOCP)
|
1164
|
-
|
1165
|
-
void complete_iocp_recvfrom(
|
1166
|
-
const weak_cancel_token_type& cancel_token,
|
1167
|
-
asio::error_code& ec)
|
1168
|
-
{
|
1169
|
-
// Map non-portable errors to their portable counterparts.
|
1170
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1171
|
-
{
|
1172
|
-
if (cancel_token.expired())
|
1173
|
-
ec = asio::error::operation_aborted;
|
1174
|
-
else
|
1175
|
-
ec = asio::error::connection_reset;
|
1176
|
-
}
|
1177
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1178
|
-
{
|
1179
|
-
ec = asio::error::connection_refused;
|
1180
|
-
}
|
1181
|
-
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
1182
|
-
{
|
1183
|
-
asio::error::clear(ec);
|
1184
|
-
}
|
1185
|
-
}
|
1186
|
-
|
1187
|
-
#else // defined(ASIO_HAS_IOCP)
|
1188
|
-
|
1189
|
-
bool non_blocking_recvfrom(socket_type s, buf* bufs,
|
1190
|
-
size_t count, int flags, void* addr, std::size_t* addrlen,
|
1191
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
1192
|
-
{
|
1193
|
-
for (;;)
|
1194
|
-
{
|
1195
|
-
// Read some data.
|
1196
|
-
signed_size_type bytes = socket_ops::recvfrom(
|
1197
|
-
s, bufs, count, flags, addr, addrlen, ec);
|
1198
|
-
|
1199
|
-
// Check if operation succeeded.
|
1200
|
-
if (bytes >= 0)
|
1201
|
-
{
|
1202
|
-
bytes_transferred = bytes;
|
1203
|
-
return true;
|
1204
|
-
}
|
1205
|
-
|
1206
|
-
// Retry operation if interrupted by signal.
|
1207
|
-
if (ec == asio::error::interrupted)
|
1208
|
-
continue;
|
1209
|
-
|
1210
|
-
// Check if we need to run the operation again.
|
1211
|
-
if (ec == asio::error::would_block
|
1212
|
-
|| ec == asio::error::try_again)
|
1213
|
-
return false;
|
1214
|
-
|
1215
|
-
// Operation failed.
|
1216
|
-
bytes_transferred = 0;
|
1217
|
-
return true;
|
1218
|
-
}
|
1219
|
-
}
|
1220
|
-
|
1221
|
-
bool non_blocking_recvfrom1(socket_type s, void* data,
|
1222
|
-
size_t size, int flags, void* addr, std::size_t* addrlen,
|
1223
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
1224
|
-
{
|
1225
|
-
for (;;)
|
1226
|
-
{
|
1227
|
-
// Read some data.
|
1228
|
-
signed_size_type bytes = socket_ops::recvfrom1(
|
1229
|
-
s, data, size, flags, addr, addrlen, ec);
|
1230
|
-
|
1231
|
-
// Check if operation succeeded.
|
1232
|
-
if (bytes >= 0)
|
1233
|
-
{
|
1234
|
-
bytes_transferred = bytes;
|
1235
|
-
return true;
|
1236
|
-
}
|
1237
|
-
|
1238
|
-
// Retry operation if interrupted by signal.
|
1239
|
-
if (ec == asio::error::interrupted)
|
1240
|
-
continue;
|
1241
|
-
|
1242
|
-
// Check if we need to run the operation again.
|
1243
|
-
if (ec == asio::error::would_block
|
1244
|
-
|| ec == asio::error::try_again)
|
1245
|
-
return false;
|
1246
|
-
|
1247
|
-
// Operation failed.
|
1248
|
-
bytes_transferred = 0;
|
1249
|
-
return true;
|
1250
|
-
}
|
1251
|
-
}
|
1252
|
-
|
1253
|
-
#endif // defined(ASIO_HAS_IOCP)
|
1254
|
-
|
1255
|
-
signed_size_type recvmsg(socket_type s, buf* bufs, size_t count,
|
1256
|
-
int in_flags, int& out_flags, asio::error_code& ec)
|
1257
|
-
{
|
1258
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1259
|
-
out_flags = 0;
|
1260
|
-
return socket_ops::recv(s, bufs, count, in_flags, ec);
|
1261
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1262
|
-
msghdr msg = msghdr();
|
1263
|
-
msg.msg_iov = bufs;
|
1264
|
-
msg.msg_iovlen = static_cast<int>(count);
|
1265
|
-
signed_size_type result = ::recvmsg(s, &msg, in_flags);
|
1266
|
-
get_last_error(ec, result < 0);
|
1267
|
-
if (result >= 0)
|
1268
|
-
out_flags = msg.msg_flags;
|
1269
|
-
else
|
1270
|
-
out_flags = 0;
|
1271
|
-
return result;
|
1272
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1273
|
-
}
|
1274
|
-
|
1275
|
-
size_t sync_recvmsg(socket_type s, state_type state,
|
1276
|
-
buf* bufs, size_t count, int in_flags, int& out_flags,
|
1277
|
-
asio::error_code& ec)
|
1278
|
-
{
|
1279
|
-
if (s == invalid_socket)
|
1280
|
-
{
|
1281
|
-
ec = asio::error::bad_descriptor;
|
1282
|
-
return 0;
|
1283
|
-
}
|
1284
|
-
|
1285
|
-
// Read some data.
|
1286
|
-
for (;;)
|
1287
|
-
{
|
1288
|
-
// Try to complete the operation without blocking.
|
1289
|
-
signed_size_type bytes = socket_ops::recvmsg(
|
1290
|
-
s, bufs, count, in_flags, out_flags, ec);
|
1291
|
-
|
1292
|
-
// Check if operation succeeded.
|
1293
|
-
if (bytes >= 0)
|
1294
|
-
return bytes;
|
1295
|
-
|
1296
|
-
// Operation failed.
|
1297
|
-
if ((state & user_set_non_blocking)
|
1298
|
-
|| (ec != asio::error::would_block
|
1299
|
-
&& ec != asio::error::try_again))
|
1300
|
-
return 0;
|
1301
|
-
|
1302
|
-
// Wait for socket to become ready.
|
1303
|
-
if (socket_ops::poll_read(s, 0, -1, ec) < 0)
|
1304
|
-
return 0;
|
1305
|
-
}
|
1306
|
-
}
|
1307
|
-
|
1308
|
-
#if defined(ASIO_HAS_IOCP)
|
1309
|
-
|
1310
|
-
void complete_iocp_recvmsg(
|
1311
|
-
const weak_cancel_token_type& cancel_token,
|
1312
|
-
asio::error_code& ec)
|
1313
|
-
{
|
1314
|
-
// Map non-portable errors to their portable counterparts.
|
1315
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1316
|
-
{
|
1317
|
-
if (cancel_token.expired())
|
1318
|
-
ec = asio::error::operation_aborted;
|
1319
|
-
else
|
1320
|
-
ec = asio::error::connection_reset;
|
1321
|
-
}
|
1322
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1323
|
-
{
|
1324
|
-
ec = asio::error::connection_refused;
|
1325
|
-
}
|
1326
|
-
else if (ec.value() == WSAEMSGSIZE || ec.value() == ERROR_MORE_DATA)
|
1327
|
-
{
|
1328
|
-
asio::error::clear(ec);
|
1329
|
-
}
|
1330
|
-
}
|
1331
|
-
|
1332
|
-
#else // defined(ASIO_HAS_IOCP)
|
1333
|
-
|
1334
|
-
bool non_blocking_recvmsg(socket_type s,
|
1335
|
-
buf* bufs, size_t count, int in_flags, int& out_flags,
|
1336
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
1337
|
-
{
|
1338
|
-
for (;;)
|
1339
|
-
{
|
1340
|
-
// Read some data.
|
1341
|
-
signed_size_type bytes = socket_ops::recvmsg(
|
1342
|
-
s, bufs, count, in_flags, out_flags, ec);
|
1343
|
-
|
1344
|
-
// Check if operation succeeded.
|
1345
|
-
if (bytes >= 0)
|
1346
|
-
{
|
1347
|
-
bytes_transferred = bytes;
|
1348
|
-
return true;
|
1349
|
-
}
|
1350
|
-
|
1351
|
-
// Retry operation if interrupted by signal.
|
1352
|
-
if (ec == asio::error::interrupted)
|
1353
|
-
continue;
|
1354
|
-
|
1355
|
-
// Check if we need to run the operation again.
|
1356
|
-
if (ec == asio::error::would_block
|
1357
|
-
|| ec == asio::error::try_again)
|
1358
|
-
return false;
|
1359
|
-
|
1360
|
-
// Operation failed.
|
1361
|
-
bytes_transferred = 0;
|
1362
|
-
return true;
|
1363
|
-
}
|
1364
|
-
}
|
1365
|
-
|
1366
|
-
#endif // defined(ASIO_HAS_IOCP)
|
1367
|
-
|
1368
|
-
signed_size_type send(socket_type s, const buf* bufs, size_t count,
|
1369
|
-
int flags, asio::error_code& ec)
|
1370
|
-
{
|
1371
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1372
|
-
// Send the data.
|
1373
|
-
DWORD send_buf_count = static_cast<DWORD>(count);
|
1374
|
-
DWORD bytes_transferred = 0;
|
1375
|
-
DWORD send_flags = flags;
|
1376
|
-
int result = ::WSASend(s, const_cast<buf*>(bufs),
|
1377
|
-
send_buf_count, &bytes_transferred, send_flags, 0, 0);
|
1378
|
-
get_last_error(ec, true);
|
1379
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1380
|
-
ec = asio::error::connection_reset;
|
1381
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1382
|
-
ec = asio::error::connection_refused;
|
1383
|
-
if (result != 0)
|
1384
|
-
return socket_error_retval;
|
1385
|
-
asio::error::clear(ec);
|
1386
|
-
return bytes_transferred;
|
1387
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1388
|
-
msghdr msg = msghdr();
|
1389
|
-
msg.msg_iov = const_cast<buf*>(bufs);
|
1390
|
-
msg.msg_iovlen = static_cast<int>(count);
|
1391
|
-
#if defined(ASIO_HAS_MSG_NOSIGNAL)
|
1392
|
-
flags |= MSG_NOSIGNAL;
|
1393
|
-
#endif // defined(ASIO_HAS_MSG_NOSIGNAL)
|
1394
|
-
signed_size_type result = ::sendmsg(s, &msg, flags);
|
1395
|
-
get_last_error(ec, result < 0);
|
1396
|
-
return result;
|
1397
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1398
|
-
}
|
1399
|
-
|
1400
|
-
signed_size_type send1(socket_type s, const void* data, size_t size,
|
1401
|
-
int flags, asio::error_code& ec)
|
1402
|
-
{
|
1403
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1404
|
-
// Send the data.
|
1405
|
-
WSABUF buf;
|
1406
|
-
buf.buf = const_cast<char*>(static_cast<const char*>(data));
|
1407
|
-
buf.len = static_cast<ULONG>(size);
|
1408
|
-
DWORD bytes_transferred = 0;
|
1409
|
-
DWORD send_flags = flags;
|
1410
|
-
int result = ::WSASend(s, &buf, 1,
|
1411
|
-
&bytes_transferred, send_flags, 0, 0);
|
1412
|
-
get_last_error(ec, true);
|
1413
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1414
|
-
ec = asio::error::connection_reset;
|
1415
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1416
|
-
ec = asio::error::connection_refused;
|
1417
|
-
if (result != 0)
|
1418
|
-
return socket_error_retval;
|
1419
|
-
asio::error::clear(ec);
|
1420
|
-
return bytes_transferred;
|
1421
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1422
|
-
#if defined(ASIO_HAS_MSG_NOSIGNAL)
|
1423
|
-
flags |= MSG_NOSIGNAL;
|
1424
|
-
#endif // defined(ASIO_HAS_MSG_NOSIGNAL)
|
1425
|
-
signed_size_type result = ::send(s,
|
1426
|
-
static_cast<const char*>(data), size, flags);
|
1427
|
-
get_last_error(ec, result < 0);
|
1428
|
-
return result;
|
1429
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1430
|
-
}
|
1431
|
-
|
1432
|
-
size_t sync_send(socket_type s, state_type state, const buf* bufs,
|
1433
|
-
size_t count, int flags, bool all_empty, asio::error_code& ec)
|
1434
|
-
{
|
1435
|
-
if (s == invalid_socket)
|
1436
|
-
{
|
1437
|
-
ec = asio::error::bad_descriptor;
|
1438
|
-
return 0;
|
1439
|
-
}
|
1440
|
-
|
1441
|
-
// A request to write 0 bytes to a stream is a no-op.
|
1442
|
-
if (all_empty && (state & stream_oriented))
|
1443
|
-
{
|
1444
|
-
asio::error::clear(ec);
|
1445
|
-
return 0;
|
1446
|
-
}
|
1447
|
-
|
1448
|
-
// Read some data.
|
1449
|
-
for (;;)
|
1450
|
-
{
|
1451
|
-
// Try to complete the operation without blocking.
|
1452
|
-
signed_size_type bytes = socket_ops::send(s, bufs, count, flags, ec);
|
1453
|
-
|
1454
|
-
// Check if operation succeeded.
|
1455
|
-
if (bytes >= 0)
|
1456
|
-
return bytes;
|
1457
|
-
|
1458
|
-
// Operation failed.
|
1459
|
-
if ((state & user_set_non_blocking)
|
1460
|
-
|| (ec != asio::error::would_block
|
1461
|
-
&& ec != asio::error::try_again))
|
1462
|
-
return 0;
|
1463
|
-
|
1464
|
-
// Wait for socket to become ready.
|
1465
|
-
if (socket_ops::poll_write(s, 0, -1, ec) < 0)
|
1466
|
-
return 0;
|
1467
|
-
}
|
1468
|
-
}
|
1469
|
-
|
1470
|
-
size_t sync_send1(socket_type s, state_type state, const void* data,
|
1471
|
-
size_t size, int flags, asio::error_code& ec)
|
1472
|
-
{
|
1473
|
-
if (s == invalid_socket)
|
1474
|
-
{
|
1475
|
-
ec = asio::error::bad_descriptor;
|
1476
|
-
return 0;
|
1477
|
-
}
|
1478
|
-
|
1479
|
-
// A request to write 0 bytes to a stream is a no-op.
|
1480
|
-
if (size == 0 && (state & stream_oriented))
|
1481
|
-
{
|
1482
|
-
asio::error::clear(ec);
|
1483
|
-
return 0;
|
1484
|
-
}
|
1485
|
-
|
1486
|
-
// Read some data.
|
1487
|
-
for (;;)
|
1488
|
-
{
|
1489
|
-
// Try to complete the operation without blocking.
|
1490
|
-
signed_size_type bytes = socket_ops::send1(s, data, size, flags, ec);
|
1491
|
-
|
1492
|
-
// Check if operation succeeded.
|
1493
|
-
if (bytes >= 0)
|
1494
|
-
return bytes;
|
1495
|
-
|
1496
|
-
// Operation failed.
|
1497
|
-
if ((state & user_set_non_blocking)
|
1498
|
-
|| (ec != asio::error::would_block
|
1499
|
-
&& ec != asio::error::try_again))
|
1500
|
-
return 0;
|
1501
|
-
|
1502
|
-
// Wait for socket to become ready.
|
1503
|
-
if (socket_ops::poll_write(s, 0, -1, ec) < 0)
|
1504
|
-
return 0;
|
1505
|
-
}
|
1506
|
-
}
|
1507
|
-
|
1508
|
-
#if defined(ASIO_HAS_IOCP)
|
1509
|
-
|
1510
|
-
void complete_iocp_send(
|
1511
|
-
const weak_cancel_token_type& cancel_token,
|
1512
|
-
asio::error_code& ec)
|
1513
|
-
{
|
1514
|
-
// Map non-portable errors to their portable counterparts.
|
1515
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1516
|
-
{
|
1517
|
-
if (cancel_token.expired())
|
1518
|
-
ec = asio::error::operation_aborted;
|
1519
|
-
else
|
1520
|
-
ec = asio::error::connection_reset;
|
1521
|
-
}
|
1522
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1523
|
-
{
|
1524
|
-
ec = asio::error::connection_refused;
|
1525
|
-
}
|
1526
|
-
}
|
1527
|
-
|
1528
|
-
#else // defined(ASIO_HAS_IOCP)
|
1529
|
-
|
1530
|
-
bool non_blocking_send(socket_type s,
|
1531
|
-
const buf* bufs, size_t count, int flags,
|
1532
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
1533
|
-
{
|
1534
|
-
for (;;)
|
1535
|
-
{
|
1536
|
-
// Write some data.
|
1537
|
-
signed_size_type bytes = socket_ops::send(s, bufs, count, flags, ec);
|
1538
|
-
|
1539
|
-
// Check if operation succeeded.
|
1540
|
-
if (bytes >= 0)
|
1541
|
-
{
|
1542
|
-
bytes_transferred = bytes;
|
1543
|
-
return true;
|
1544
|
-
}
|
1545
|
-
|
1546
|
-
// Retry operation if interrupted by signal.
|
1547
|
-
if (ec == asio::error::interrupted)
|
1548
|
-
continue;
|
1549
|
-
|
1550
|
-
// Check if we need to run the operation again.
|
1551
|
-
if (ec == asio::error::would_block
|
1552
|
-
|| ec == asio::error::try_again)
|
1553
|
-
return false;
|
1554
|
-
|
1555
|
-
// Operation failed.
|
1556
|
-
bytes_transferred = 0;
|
1557
|
-
return true;
|
1558
|
-
}
|
1559
|
-
}
|
1560
|
-
|
1561
|
-
bool non_blocking_send1(socket_type s,
|
1562
|
-
const void* data, size_t size, int flags,
|
1563
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
1564
|
-
{
|
1565
|
-
for (;;)
|
1566
|
-
{
|
1567
|
-
// Write some data.
|
1568
|
-
signed_size_type bytes = socket_ops::send1(s, data, size, flags, ec);
|
1569
|
-
|
1570
|
-
// Check if operation succeeded.
|
1571
|
-
if (bytes >= 0)
|
1572
|
-
{
|
1573
|
-
bytes_transferred = bytes;
|
1574
|
-
return true;
|
1575
|
-
}
|
1576
|
-
|
1577
|
-
// Retry operation if interrupted by signal.
|
1578
|
-
if (ec == asio::error::interrupted)
|
1579
|
-
continue;
|
1580
|
-
|
1581
|
-
// Check if we need to run the operation again.
|
1582
|
-
if (ec == asio::error::would_block
|
1583
|
-
|| ec == asio::error::try_again)
|
1584
|
-
return false;
|
1585
|
-
|
1586
|
-
// Operation failed.
|
1587
|
-
bytes_transferred = 0;
|
1588
|
-
return true;
|
1589
|
-
}
|
1590
|
-
}
|
1591
|
-
|
1592
|
-
#endif // defined(ASIO_HAS_IOCP)
|
1593
|
-
|
1594
|
-
signed_size_type sendto(socket_type s, const buf* bufs,
|
1595
|
-
size_t count, int flags, const void* addr,
|
1596
|
-
std::size_t addrlen, asio::error_code& ec)
|
1597
|
-
{
|
1598
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1599
|
-
// Send the data.
|
1600
|
-
DWORD send_buf_count = static_cast<DWORD>(count);
|
1601
|
-
DWORD bytes_transferred = 0;
|
1602
|
-
int result = ::WSASendTo(s, const_cast<buf*>(bufs),
|
1603
|
-
send_buf_count, &bytes_transferred, flags,
|
1604
|
-
static_cast<const socket_addr_type*>(addr),
|
1605
|
-
static_cast<int>(addrlen), 0, 0);
|
1606
|
-
get_last_error(ec, true);
|
1607
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1608
|
-
ec = asio::error::connection_reset;
|
1609
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1610
|
-
ec = asio::error::connection_refused;
|
1611
|
-
if (result != 0)
|
1612
|
-
return socket_error_retval;
|
1613
|
-
asio::error::clear(ec);
|
1614
|
-
return bytes_transferred;
|
1615
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1616
|
-
msghdr msg = msghdr();
|
1617
|
-
init_msghdr_msg_name(msg.msg_name, addr);
|
1618
|
-
msg.msg_namelen = static_cast<int>(addrlen);
|
1619
|
-
msg.msg_iov = const_cast<buf*>(bufs);
|
1620
|
-
msg.msg_iovlen = static_cast<int>(count);
|
1621
|
-
#if defined(ASIO_HAS_MSG_NOSIGNAL)
|
1622
|
-
flags |= MSG_NOSIGNAL;
|
1623
|
-
#endif // defined(ASIO_HAS_MSG_NOSIGNAL)
|
1624
|
-
signed_size_type result = ::sendmsg(s, &msg, flags);
|
1625
|
-
get_last_error(ec, result < 0);
|
1626
|
-
return result;
|
1627
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1628
|
-
}
|
1629
|
-
|
1630
|
-
template <typename SockLenType>
|
1631
|
-
inline signed_size_type call_sendto(SockLenType msghdr::*,
|
1632
|
-
socket_type s, const void* data, size_t size, int flags,
|
1633
|
-
const void* addr, std::size_t addrlen)
|
1634
|
-
{
|
1635
|
-
return ::sendto(s, static_cast<char*>(const_cast<void*>(data)), size, flags,
|
1636
|
-
static_cast<const socket_addr_type*>(addr), (SockLenType)addrlen);
|
1637
|
-
}
|
1638
|
-
|
1639
|
-
signed_size_type sendto1(socket_type s, const void* data,
|
1640
|
-
size_t size, int flags, const void* addr,
|
1641
|
-
std::size_t addrlen, asio::error_code& ec)
|
1642
|
-
{
|
1643
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1644
|
-
// Send the data.
|
1645
|
-
WSABUF buf;
|
1646
|
-
buf.buf = const_cast<char*>(static_cast<const char*>(data));
|
1647
|
-
buf.len = static_cast<ULONG>(size);
|
1648
|
-
DWORD bytes_transferred = 0;
|
1649
|
-
int result = ::WSASendTo(s, &buf, 1, &bytes_transferred, flags,
|
1650
|
-
static_cast<const socket_addr_type*>(addr),
|
1651
|
-
static_cast<int>(addrlen), 0, 0);
|
1652
|
-
get_last_error(ec, true);
|
1653
|
-
if (ec.value() == ERROR_NETNAME_DELETED)
|
1654
|
-
ec = asio::error::connection_reset;
|
1655
|
-
else if (ec.value() == ERROR_PORT_UNREACHABLE)
|
1656
|
-
ec = asio::error::connection_refused;
|
1657
|
-
if (result != 0)
|
1658
|
-
return socket_error_retval;
|
1659
|
-
asio::error::clear(ec);
|
1660
|
-
return bytes_transferred;
|
1661
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1662
|
-
#if defined(ASIO_HAS_MSG_NOSIGNAL)
|
1663
|
-
flags |= MSG_NOSIGNAL;
|
1664
|
-
#endif // defined(ASIO_HAS_MSG_NOSIGNAL)
|
1665
|
-
signed_size_type result = call_sendto(&msghdr::msg_namelen,
|
1666
|
-
s, data, size, flags, addr, addrlen);
|
1667
|
-
get_last_error(ec, result < 0);
|
1668
|
-
return result;
|
1669
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1670
|
-
}
|
1671
|
-
|
1672
|
-
size_t sync_sendto(socket_type s, state_type state,
|
1673
|
-
const buf* bufs, size_t count, int flags, const void* addr,
|
1674
|
-
std::size_t addrlen, asio::error_code& ec)
|
1675
|
-
{
|
1676
|
-
if (s == invalid_socket)
|
1677
|
-
{
|
1678
|
-
ec = asio::error::bad_descriptor;
|
1679
|
-
return 0;
|
1680
|
-
}
|
1681
|
-
|
1682
|
-
// Write some data.
|
1683
|
-
for (;;)
|
1684
|
-
{
|
1685
|
-
// Try to complete the operation without blocking.
|
1686
|
-
signed_size_type bytes = socket_ops::sendto(
|
1687
|
-
s, bufs, count, flags, addr, addrlen, ec);
|
1688
|
-
|
1689
|
-
// Check if operation succeeded.
|
1690
|
-
if (bytes >= 0)
|
1691
|
-
return bytes;
|
1692
|
-
|
1693
|
-
// Operation failed.
|
1694
|
-
if ((state & user_set_non_blocking)
|
1695
|
-
|| (ec != asio::error::would_block
|
1696
|
-
&& ec != asio::error::try_again))
|
1697
|
-
return 0;
|
1698
|
-
|
1699
|
-
// Wait for socket to become ready.
|
1700
|
-
if (socket_ops::poll_write(s, 0, -1, ec) < 0)
|
1701
|
-
return 0;
|
1702
|
-
}
|
1703
|
-
}
|
1704
|
-
|
1705
|
-
size_t sync_sendto1(socket_type s, state_type state,
|
1706
|
-
const void* data, size_t size, int flags, const void* addr,
|
1707
|
-
std::size_t addrlen, asio::error_code& ec)
|
1708
|
-
{
|
1709
|
-
if (s == invalid_socket)
|
1710
|
-
{
|
1711
|
-
ec = asio::error::bad_descriptor;
|
1712
|
-
return 0;
|
1713
|
-
}
|
1714
|
-
|
1715
|
-
// Write some data.
|
1716
|
-
for (;;)
|
1717
|
-
{
|
1718
|
-
// Try to complete the operation without blocking.
|
1719
|
-
signed_size_type bytes = socket_ops::sendto1(
|
1720
|
-
s, data, size, flags, addr, addrlen, ec);
|
1721
|
-
|
1722
|
-
// Check if operation succeeded.
|
1723
|
-
if (bytes >= 0)
|
1724
|
-
return bytes;
|
1725
|
-
|
1726
|
-
// Operation failed.
|
1727
|
-
if ((state & user_set_non_blocking)
|
1728
|
-
|| (ec != asio::error::would_block
|
1729
|
-
&& ec != asio::error::try_again))
|
1730
|
-
return 0;
|
1731
|
-
|
1732
|
-
// Wait for socket to become ready.
|
1733
|
-
if (socket_ops::poll_write(s, 0, -1, ec) < 0)
|
1734
|
-
return 0;
|
1735
|
-
}
|
1736
|
-
}
|
1737
|
-
|
1738
|
-
#if !defined(ASIO_HAS_IOCP)
|
1739
|
-
|
1740
|
-
bool non_blocking_sendto(socket_type s,
|
1741
|
-
const buf* bufs, size_t count, int flags,
|
1742
|
-
const void* addr, std::size_t addrlen,
|
1743
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
1744
|
-
{
|
1745
|
-
for (;;)
|
1746
|
-
{
|
1747
|
-
// Write some data.
|
1748
|
-
signed_size_type bytes = socket_ops::sendto(
|
1749
|
-
s, bufs, count, flags, addr, addrlen, ec);
|
1750
|
-
|
1751
|
-
// Check if operation succeeded.
|
1752
|
-
if (bytes >= 0)
|
1753
|
-
{
|
1754
|
-
bytes_transferred = bytes;
|
1755
|
-
return true;
|
1756
|
-
}
|
1757
|
-
|
1758
|
-
// Retry operation if interrupted by signal.
|
1759
|
-
if (ec == asio::error::interrupted)
|
1760
|
-
continue;
|
1761
|
-
|
1762
|
-
// Check if we need to run the operation again.
|
1763
|
-
if (ec == asio::error::would_block
|
1764
|
-
|| ec == asio::error::try_again)
|
1765
|
-
return false;
|
1766
|
-
|
1767
|
-
// Operation failed.
|
1768
|
-
bytes_transferred = 0;
|
1769
|
-
return true;
|
1770
|
-
}
|
1771
|
-
}
|
1772
|
-
|
1773
|
-
bool non_blocking_sendto1(socket_type s,
|
1774
|
-
const void* data, size_t size, int flags,
|
1775
|
-
const void* addr, std::size_t addrlen,
|
1776
|
-
asio::error_code& ec, size_t& bytes_transferred)
|
1777
|
-
{
|
1778
|
-
for (;;)
|
1779
|
-
{
|
1780
|
-
// Write some data.
|
1781
|
-
signed_size_type bytes = socket_ops::sendto1(
|
1782
|
-
s, data, size, flags, addr, addrlen, ec);
|
1783
|
-
|
1784
|
-
// Check if operation succeeded.
|
1785
|
-
if (bytes >= 0)
|
1786
|
-
{
|
1787
|
-
bytes_transferred = bytes;
|
1788
|
-
return true;
|
1789
|
-
}
|
1790
|
-
|
1791
|
-
// Retry operation if interrupted by signal.
|
1792
|
-
if (ec == asio::error::interrupted)
|
1793
|
-
continue;
|
1794
|
-
|
1795
|
-
// Check if we need to run the operation again.
|
1796
|
-
if (ec == asio::error::would_block
|
1797
|
-
|| ec == asio::error::try_again)
|
1798
|
-
return false;
|
1799
|
-
|
1800
|
-
// Operation failed.
|
1801
|
-
bytes_transferred = 0;
|
1802
|
-
return true;
|
1803
|
-
}
|
1804
|
-
}
|
1805
|
-
|
1806
|
-
#endif // !defined(ASIO_HAS_IOCP)
|
1807
|
-
|
1808
|
-
socket_type socket(int af, int type, int protocol,
|
1809
|
-
asio::error_code& ec)
|
1810
|
-
{
|
1811
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
1812
|
-
socket_type s = ::WSASocketW(af, type, protocol, 0, 0, WSA_FLAG_OVERLAPPED);
|
1813
|
-
get_last_error(ec, s == invalid_socket);
|
1814
|
-
if (s == invalid_socket)
|
1815
|
-
return s;
|
1816
|
-
|
1817
|
-
if (af == ASIO_OS_DEF(AF_INET6))
|
1818
|
-
{
|
1819
|
-
// Try to enable the POSIX default behaviour of having IPV6_V6ONLY set to
|
1820
|
-
// false. This will only succeed on Windows Vista and later versions of
|
1821
|
-
// Windows, where a dual-stack IPv4/v6 implementation is available.
|
1822
|
-
DWORD optval = 0;
|
1823
|
-
::setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
|
1824
|
-
reinterpret_cast<const char*>(&optval), sizeof(optval));
|
1825
|
-
}
|
1826
|
-
|
1827
|
-
return s;
|
1828
|
-
#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__)
|
1829
|
-
socket_type s = ::socket(af, type, protocol);
|
1830
|
-
get_last_error(ec, s == invalid_socket);
|
1831
|
-
if (s == invalid_socket)
|
1832
|
-
return s;
|
1833
|
-
|
1834
|
-
int optval = 1;
|
1835
|
-
int result = ::setsockopt(s, SOL_SOCKET,
|
1836
|
-
SO_NOSIGPIPE, &optval, sizeof(optval));
|
1837
|
-
get_last_error(ec, result != 0);
|
1838
|
-
if (result != 0)
|
1839
|
-
{
|
1840
|
-
::close(s);
|
1841
|
-
return invalid_socket;
|
1842
|
-
}
|
1843
|
-
|
1844
|
-
return s;
|
1845
|
-
#else
|
1846
|
-
int s = ::socket(af, type, protocol);
|
1847
|
-
get_last_error(ec, s < 0);
|
1848
|
-
return s;
|
1849
|
-
#endif
|
1850
|
-
}
|
1851
|
-
|
1852
|
-
template <typename SockLenType>
|
1853
|
-
inline int call_setsockopt(SockLenType msghdr::*,
|
1854
|
-
socket_type s, int level, int optname,
|
1855
|
-
const void* optval, std::size_t optlen)
|
1856
|
-
{
|
1857
|
-
return ::setsockopt(s, level, optname,
|
1858
|
-
(const char*)optval, (SockLenType)optlen);
|
1859
|
-
}
|
1860
|
-
|
1861
|
-
int setsockopt(socket_type s, state_type& state, int level, int optname,
|
1862
|
-
const void* optval, std::size_t optlen, asio::error_code& ec)
|
1863
|
-
{
|
1864
|
-
if (s == invalid_socket)
|
1865
|
-
{
|
1866
|
-
ec = asio::error::bad_descriptor;
|
1867
|
-
return socket_error_retval;
|
1868
|
-
}
|
1869
|
-
|
1870
|
-
if (level == custom_socket_option_level && optname == always_fail_option)
|
1871
|
-
{
|
1872
|
-
ec = asio::error::invalid_argument;
|
1873
|
-
return socket_error_retval;
|
1874
|
-
}
|
1875
|
-
|
1876
|
-
if (level == custom_socket_option_level
|
1877
|
-
&& optname == enable_connection_aborted_option)
|
1878
|
-
{
|
1879
|
-
if (optlen != sizeof(int))
|
1880
|
-
{
|
1881
|
-
ec = asio::error::invalid_argument;
|
1882
|
-
return socket_error_retval;
|
1883
|
-
}
|
1884
|
-
|
1885
|
-
if (*static_cast<const int*>(optval))
|
1886
|
-
state |= enable_connection_aborted;
|
1887
|
-
else
|
1888
|
-
state &= ~enable_connection_aborted;
|
1889
|
-
asio::error::clear(ec);
|
1890
|
-
return 0;
|
1891
|
-
}
|
1892
|
-
|
1893
|
-
if (level == SOL_SOCKET && optname == SO_LINGER)
|
1894
|
-
state |= user_set_linger;
|
1895
|
-
|
1896
|
-
#if defined(__BORLANDC__)
|
1897
|
-
// Mysteriously, using the getsockopt and setsockopt functions directly with
|
1898
|
-
// Borland C++ results in incorrect values being set and read. The bug can be
|
1899
|
-
// worked around by using function addresses resolved with GetProcAddress.
|
1900
|
-
if (HMODULE winsock_module = ::GetModuleHandleA("ws2_32"))
|
1901
|
-
{
|
1902
|
-
typedef int (WSAAPI *sso_t)(SOCKET, int, int, const char*, int);
|
1903
|
-
if (sso_t sso = (sso_t)::GetProcAddress(winsock_module, "setsockopt"))
|
1904
|
-
{
|
1905
|
-
int result = sso(s, level, optname,
|
1906
|
-
reinterpret_cast<const char*>(optval),
|
1907
|
-
static_cast<int>(optlen));
|
1908
|
-
get_last_error(ec, result != 0);
|
1909
|
-
return result;
|
1910
|
-
}
|
1911
|
-
}
|
1912
|
-
ec = asio::error::fault;
|
1913
|
-
return socket_error_retval;
|
1914
|
-
#else // defined(__BORLANDC__)
|
1915
|
-
int result = call_setsockopt(&msghdr::msg_namelen,
|
1916
|
-
s, level, optname, optval, optlen);
|
1917
|
-
get_last_error(ec, result != 0);
|
1918
|
-
if (result == 0)
|
1919
|
-
{
|
1920
|
-
#if defined(__MACH__) && defined(__APPLE__) \
|
1921
|
-
|| defined(__NetBSD__) || defined(__FreeBSD__) \
|
1922
|
-
|| defined(__OpenBSD__) || defined(__QNX__)
|
1923
|
-
// To implement portable behaviour for SO_REUSEADDR with UDP sockets we
|
1924
|
-
// need to also set SO_REUSEPORT on BSD-based platforms.
|
1925
|
-
if ((state & datagram_oriented)
|
1926
|
-
&& level == SOL_SOCKET && optname == SO_REUSEADDR)
|
1927
|
-
{
|
1928
|
-
call_setsockopt(&msghdr::msg_namelen, s,
|
1929
|
-
SOL_SOCKET, SO_REUSEPORT, optval, optlen);
|
1930
|
-
}
|
1931
|
-
#endif
|
1932
|
-
}
|
1933
|
-
|
1934
|
-
return result;
|
1935
|
-
#endif // defined(__BORLANDC__)
|
1936
|
-
}
|
1937
|
-
|
1938
|
-
template <typename SockLenType>
|
1939
|
-
inline int call_getsockopt(SockLenType msghdr::*,
|
1940
|
-
socket_type s, int level, int optname,
|
1941
|
-
void* optval, std::size_t* optlen)
|
1942
|
-
{
|
1943
|
-
SockLenType tmp_optlen = (SockLenType)*optlen;
|
1944
|
-
int result = ::getsockopt(s, level, optname, (char*)optval, &tmp_optlen);
|
1945
|
-
*optlen = (std::size_t)tmp_optlen;
|
1946
|
-
return result;
|
1947
|
-
}
|
1948
|
-
|
1949
|
-
int getsockopt(socket_type s, state_type state, int level, int optname,
|
1950
|
-
void* optval, size_t* optlen, asio::error_code& ec)
|
1951
|
-
{
|
1952
|
-
if (s == invalid_socket)
|
1953
|
-
{
|
1954
|
-
ec = asio::error::bad_descriptor;
|
1955
|
-
return socket_error_retval;
|
1956
|
-
}
|
1957
|
-
|
1958
|
-
if (level == custom_socket_option_level && optname == always_fail_option)
|
1959
|
-
{
|
1960
|
-
ec = asio::error::invalid_argument;
|
1961
|
-
return socket_error_retval;
|
1962
|
-
}
|
1963
|
-
|
1964
|
-
if (level == custom_socket_option_level
|
1965
|
-
&& optname == enable_connection_aborted_option)
|
1966
|
-
{
|
1967
|
-
if (*optlen != sizeof(int))
|
1968
|
-
{
|
1969
|
-
ec = asio::error::invalid_argument;
|
1970
|
-
return socket_error_retval;
|
1971
|
-
}
|
1972
|
-
|
1973
|
-
*static_cast<int*>(optval) = (state & enable_connection_aborted) ? 1 : 0;
|
1974
|
-
asio::error::clear(ec);
|
1975
|
-
return 0;
|
1976
|
-
}
|
1977
|
-
|
1978
|
-
#if defined(__BORLANDC__)
|
1979
|
-
// Mysteriously, using the getsockopt and setsockopt functions directly with
|
1980
|
-
// Borland C++ results in incorrect values being set and read. The bug can be
|
1981
|
-
// worked around by using function addresses resolved with GetProcAddress.
|
1982
|
-
if (HMODULE winsock_module = ::GetModuleHandleA("ws2_32"))
|
1983
|
-
{
|
1984
|
-
typedef int (WSAAPI *gso_t)(SOCKET, int, int, char*, int*);
|
1985
|
-
if (gso_t gso = (gso_t)::GetProcAddress(winsock_module, "getsockopt"))
|
1986
|
-
{
|
1987
|
-
int tmp_optlen = static_cast<int>(*optlen);
|
1988
|
-
int result = gso(s, level, optname,
|
1989
|
-
reinterpret_cast<char*>(optval), &tmp_optlen);
|
1990
|
-
get_last_error(ec, result != 0);
|
1991
|
-
*optlen = static_cast<size_t>(tmp_optlen);
|
1992
|
-
if (result != 0 && level == IPPROTO_IPV6 && optname == IPV6_V6ONLY
|
1993
|
-
&& ec.value() == WSAENOPROTOOPT && *optlen == sizeof(DWORD))
|
1994
|
-
{
|
1995
|
-
// Dual-stack IPv4/v6 sockets, and the IPV6_V6ONLY socket option, are
|
1996
|
-
// only supported on Windows Vista and later. To simplify program logic
|
1997
|
-
// we will fake success of getting this option and specify that the
|
1998
|
-
// value is non-zero (i.e. true). This corresponds to the behavior of
|
1999
|
-
// IPv6 sockets on Windows platforms pre-Vista.
|
2000
|
-
*static_cast<DWORD*>(optval) = 1;
|
2001
|
-
asio::error::clear(ec);
|
2002
|
-
}
|
2003
|
-
return result;
|
2004
|
-
}
|
2005
|
-
}
|
2006
|
-
ec = asio::error::fault;
|
2007
|
-
return socket_error_retval;
|
2008
|
-
#elif defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2009
|
-
int result = call_getsockopt(&msghdr::msg_namelen,
|
2010
|
-
s, level, optname, optval, optlen);
|
2011
|
-
get_last_error(ec, result != 0);
|
2012
|
-
if (result != 0 && level == IPPROTO_IPV6 && optname == IPV6_V6ONLY
|
2013
|
-
&& ec.value() == WSAENOPROTOOPT && *optlen == sizeof(DWORD))
|
2014
|
-
{
|
2015
|
-
// Dual-stack IPv4/v6 sockets, and the IPV6_V6ONLY socket option, are only
|
2016
|
-
// supported on Windows Vista and later. To simplify program logic we will
|
2017
|
-
// fake success of getting this option and specify that the value is
|
2018
|
-
// non-zero (i.e. true). This corresponds to the behavior of IPv6 sockets
|
2019
|
-
// on Windows platforms pre-Vista.
|
2020
|
-
*static_cast<DWORD*>(optval) = 1;
|
2021
|
-
asio::error::clear(ec);
|
2022
|
-
}
|
2023
|
-
return result;
|
2024
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2025
|
-
int result = call_getsockopt(&msghdr::msg_namelen,
|
2026
|
-
s, level, optname, optval, optlen);
|
2027
|
-
get_last_error(ec, result != 0);
|
2028
|
-
#if defined(__linux__)
|
2029
|
-
if (result == 0 && level == SOL_SOCKET && *optlen == sizeof(int)
|
2030
|
-
&& (optname == SO_SNDBUF || optname == SO_RCVBUF))
|
2031
|
-
{
|
2032
|
-
// On Linux, setting SO_SNDBUF or SO_RCVBUF to N actually causes the kernel
|
2033
|
-
// to set the buffer size to N*2. Linux puts additional stuff into the
|
2034
|
-
// buffers so that only about half is actually available to the application.
|
2035
|
-
// The retrieved value is divided by 2 here to make it appear as though the
|
2036
|
-
// correct value has been set.
|
2037
|
-
*static_cast<int*>(optval) /= 2;
|
2038
|
-
}
|
2039
|
-
#endif // defined(__linux__)
|
2040
|
-
return result;
|
2041
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2042
|
-
}
|
2043
|
-
|
2044
|
-
template <typename SockLenType>
|
2045
|
-
inline int call_getpeername(SockLenType msghdr::*,
|
2046
|
-
socket_type s, void* addr, std::size_t* addrlen)
|
2047
|
-
{
|
2048
|
-
SockLenType tmp_addrlen = (SockLenType)*addrlen;
|
2049
|
-
int result = ::getpeername(s,
|
2050
|
-
static_cast<socket_addr_type*>(addr), &tmp_addrlen);
|
2051
|
-
*addrlen = (std::size_t)tmp_addrlen;
|
2052
|
-
return result;
|
2053
|
-
}
|
2054
|
-
|
2055
|
-
int getpeername(socket_type s, void* addr, std::size_t* addrlen,
|
2056
|
-
bool cached, asio::error_code& ec)
|
2057
|
-
{
|
2058
|
-
if (s == invalid_socket)
|
2059
|
-
{
|
2060
|
-
ec = asio::error::bad_descriptor;
|
2061
|
-
return socket_error_retval;
|
2062
|
-
}
|
2063
|
-
|
2064
|
-
#if defined(ASIO_WINDOWS) && !defined(ASIO_WINDOWS_APP) \
|
2065
|
-
|| defined(__CYGWIN__)
|
2066
|
-
if (cached)
|
2067
|
-
{
|
2068
|
-
// Check if socket is still connected.
|
2069
|
-
DWORD connect_time = 0;
|
2070
|
-
size_t connect_time_len = sizeof(connect_time);
|
2071
|
-
if (socket_ops::getsockopt(s, 0, SOL_SOCKET, SO_CONNECT_TIME,
|
2072
|
-
&connect_time, &connect_time_len, ec) == socket_error_retval)
|
2073
|
-
{
|
2074
|
-
return socket_error_retval;
|
2075
|
-
}
|
2076
|
-
if (connect_time == 0xFFFFFFFF)
|
2077
|
-
{
|
2078
|
-
ec = asio::error::not_connected;
|
2079
|
-
return socket_error_retval;
|
2080
|
-
}
|
2081
|
-
|
2082
|
-
// The cached value is still valid.
|
2083
|
-
asio::error::clear(ec);
|
2084
|
-
return 0;
|
2085
|
-
}
|
2086
|
-
#else // defined(ASIO_WINDOWS) && !defined(ASIO_WINDOWS_APP)
|
2087
|
-
// || defined(__CYGWIN__)
|
2088
|
-
(void)cached;
|
2089
|
-
#endif // defined(ASIO_WINDOWS) && !defined(ASIO_WINDOWS_APP)
|
2090
|
-
// || defined(__CYGWIN__)
|
2091
|
-
|
2092
|
-
int result = call_getpeername(&msghdr::msg_namelen, s, addr, addrlen);
|
2093
|
-
get_last_error(ec, result != 0);
|
2094
|
-
return result;
|
2095
|
-
}
|
2096
|
-
|
2097
|
-
template <typename SockLenType>
|
2098
|
-
inline int call_getsockname(SockLenType msghdr::*,
|
2099
|
-
socket_type s, void* addr, std::size_t* addrlen)
|
2100
|
-
{
|
2101
|
-
SockLenType tmp_addrlen = (SockLenType)*addrlen;
|
2102
|
-
int result = ::getsockname(s,
|
2103
|
-
static_cast<socket_addr_type*>(addr), &tmp_addrlen);
|
2104
|
-
*addrlen = (std::size_t)tmp_addrlen;
|
2105
|
-
return result;
|
2106
|
-
}
|
2107
|
-
|
2108
|
-
int getsockname(socket_type s, void* addr,
|
2109
|
-
std::size_t* addrlen, asio::error_code& ec)
|
2110
|
-
{
|
2111
|
-
if (s == invalid_socket)
|
2112
|
-
{
|
2113
|
-
ec = asio::error::bad_descriptor;
|
2114
|
-
return socket_error_retval;
|
2115
|
-
}
|
2116
|
-
|
2117
|
-
int result = call_getsockname(&msghdr::msg_namelen, s, addr, addrlen);
|
2118
|
-
get_last_error(ec, result != 0);
|
2119
|
-
return result;
|
2120
|
-
}
|
2121
|
-
|
2122
|
-
int ioctl(socket_type s, state_type& state, int cmd,
|
2123
|
-
ioctl_arg_type* arg, asio::error_code& ec)
|
2124
|
-
{
|
2125
|
-
if (s == invalid_socket)
|
2126
|
-
{
|
2127
|
-
ec = asio::error::bad_descriptor;
|
2128
|
-
return socket_error_retval;
|
2129
|
-
}
|
2130
|
-
|
2131
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2132
|
-
int result = ::ioctlsocket(s, cmd, arg);
|
2133
|
-
#elif defined(__MACH__) && defined(__APPLE__) \
|
2134
|
-
|| defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
2135
|
-
int result = ::ioctl(s, static_cast<unsigned int>(cmd), arg);
|
2136
|
-
#else
|
2137
|
-
int result = ::ioctl(s, cmd, arg);
|
2138
|
-
#endif
|
2139
|
-
get_last_error(ec, result < 0);
|
2140
|
-
if (result >= 0)
|
2141
|
-
{
|
2142
|
-
// When updating the non-blocking mode we always perform the ioctl syscall,
|
2143
|
-
// even if the flags would otherwise indicate that the socket is already in
|
2144
|
-
// the correct state. This ensures that the underlying socket is put into
|
2145
|
-
// the state that has been requested by the user. If the ioctl syscall was
|
2146
|
-
// successful then we need to update the flags to match.
|
2147
|
-
if (cmd == static_cast<int>(FIONBIO))
|
2148
|
-
{
|
2149
|
-
if (*arg)
|
2150
|
-
{
|
2151
|
-
state |= user_set_non_blocking;
|
2152
|
-
}
|
2153
|
-
else
|
2154
|
-
{
|
2155
|
-
// Clearing the non-blocking mode always overrides any internally-set
|
2156
|
-
// non-blocking flag. Any subsequent asynchronous operations will need
|
2157
|
-
// to re-enable non-blocking I/O.
|
2158
|
-
state &= ~(user_set_non_blocking | internal_non_blocking);
|
2159
|
-
}
|
2160
|
-
}
|
2161
|
-
}
|
2162
|
-
|
2163
|
-
return result;
|
2164
|
-
}
|
2165
|
-
|
2166
|
-
int select(int nfds, fd_set* readfds, fd_set* writefds,
|
2167
|
-
fd_set* exceptfds, timeval* timeout, asio::error_code& ec)
|
2168
|
-
{
|
2169
|
-
#if defined(__EMSCRIPTEN__)
|
2170
|
-
exceptfds = 0;
|
2171
|
-
#endif // defined(__EMSCRIPTEN__)
|
2172
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2173
|
-
if (!readfds && !writefds && !exceptfds && timeout)
|
2174
|
-
{
|
2175
|
-
DWORD milliseconds = timeout->tv_sec * 1000 + timeout->tv_usec / 1000;
|
2176
|
-
if (milliseconds == 0)
|
2177
|
-
milliseconds = 1; // Force context switch.
|
2178
|
-
::Sleep(milliseconds);
|
2179
|
-
asio::error::clear(ec);
|
2180
|
-
return 0;
|
2181
|
-
}
|
2182
|
-
|
2183
|
-
// The select() call allows timeout values measured in microseconds, but the
|
2184
|
-
// system clock (as wrapped by boost::posix_time::microsec_clock) typically
|
2185
|
-
// has a resolution of 10 milliseconds. This can lead to a spinning select
|
2186
|
-
// reactor, meaning increased CPU usage, when waiting for the earliest
|
2187
|
-
// scheduled timeout if it's less than 10 milliseconds away. To avoid a tight
|
2188
|
-
// spin we'll use a minimum timeout of 1 millisecond.
|
2189
|
-
if (timeout && timeout->tv_sec == 0
|
2190
|
-
&& timeout->tv_usec > 0 && timeout->tv_usec < 1000)
|
2191
|
-
timeout->tv_usec = 1000;
|
2192
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2193
|
-
|
2194
|
-
#if defined(__hpux) && defined(__SELECT)
|
2195
|
-
timespec ts;
|
2196
|
-
ts.tv_sec = timeout ? timeout->tv_sec : 0;
|
2197
|
-
ts.tv_nsec = timeout ? timeout->tv_usec * 1000 : 0;
|
2198
|
-
int result = ::pselect(nfds, readfds,
|
2199
|
-
writefds, exceptfds, timeout ? &ts : 0, 0);
|
2200
|
-
#else
|
2201
|
-
int result = ::select(nfds, readfds, writefds, exceptfds, timeout);
|
2202
|
-
#endif
|
2203
|
-
get_last_error(ec, result < 0);
|
2204
|
-
return result;
|
2205
|
-
}
|
2206
|
-
|
2207
|
-
int poll_read(socket_type s, state_type state,
|
2208
|
-
int msec, asio::error_code& ec)
|
2209
|
-
{
|
2210
|
-
if (s == invalid_socket)
|
2211
|
-
{
|
2212
|
-
ec = asio::error::bad_descriptor;
|
2213
|
-
return socket_error_retval;
|
2214
|
-
}
|
2215
|
-
|
2216
|
-
#if defined(ASIO_WINDOWS) \
|
2217
|
-
|| defined(__CYGWIN__) \
|
2218
|
-
|| defined(__SYMBIAN32__)
|
2219
|
-
fd_set fds;
|
2220
|
-
FD_ZERO(&fds);
|
2221
|
-
FD_SET(s, &fds);
|
2222
|
-
timeval timeout_obj;
|
2223
|
-
timeval* timeout;
|
2224
|
-
if (state & user_set_non_blocking)
|
2225
|
-
{
|
2226
|
-
timeout_obj.tv_sec = 0;
|
2227
|
-
timeout_obj.tv_usec = 0;
|
2228
|
-
timeout = &timeout_obj;
|
2229
|
-
}
|
2230
|
-
else if (msec >= 0)
|
2231
|
-
{
|
2232
|
-
timeout_obj.tv_sec = msec / 1000;
|
2233
|
-
timeout_obj.tv_usec = (msec % 1000) * 1000;
|
2234
|
-
timeout = &timeout_obj;
|
2235
|
-
}
|
2236
|
-
else
|
2237
|
-
timeout = 0;
|
2238
|
-
int result = ::select(s + 1, &fds, 0, 0, timeout);
|
2239
|
-
get_last_error(ec, result < 0);
|
2240
|
-
#else // defined(ASIO_WINDOWS)
|
2241
|
-
// || defined(__CYGWIN__)
|
2242
|
-
// || defined(__SYMBIAN32__)
|
2243
|
-
pollfd fds;
|
2244
|
-
fds.fd = s;
|
2245
|
-
fds.events = POLLIN;
|
2246
|
-
fds.revents = 0;
|
2247
|
-
int timeout = (state & user_set_non_blocking) ? 0 : msec;
|
2248
|
-
int result = ::poll(&fds, 1, timeout);
|
2249
|
-
get_last_error(ec, result < 0);
|
2250
|
-
#endif // defined(ASIO_WINDOWS)
|
2251
|
-
// || defined(__CYGWIN__)
|
2252
|
-
// || defined(__SYMBIAN32__)
|
2253
|
-
if (result == 0)
|
2254
|
-
if (state & user_set_non_blocking)
|
2255
|
-
ec = asio::error::would_block;
|
2256
|
-
return result;
|
2257
|
-
}
|
2258
|
-
|
2259
|
-
int poll_write(socket_type s, state_type state,
|
2260
|
-
int msec, asio::error_code& ec)
|
2261
|
-
{
|
2262
|
-
if (s == invalid_socket)
|
2263
|
-
{
|
2264
|
-
ec = asio::error::bad_descriptor;
|
2265
|
-
return socket_error_retval;
|
2266
|
-
}
|
2267
|
-
|
2268
|
-
#if defined(ASIO_WINDOWS) \
|
2269
|
-
|| defined(__CYGWIN__) \
|
2270
|
-
|| defined(__SYMBIAN32__)
|
2271
|
-
fd_set fds;
|
2272
|
-
FD_ZERO(&fds);
|
2273
|
-
FD_SET(s, &fds);
|
2274
|
-
timeval timeout_obj;
|
2275
|
-
timeval* timeout;
|
2276
|
-
if (state & user_set_non_blocking)
|
2277
|
-
{
|
2278
|
-
timeout_obj.tv_sec = 0;
|
2279
|
-
timeout_obj.tv_usec = 0;
|
2280
|
-
timeout = &timeout_obj;
|
2281
|
-
}
|
2282
|
-
else if (msec >= 0)
|
2283
|
-
{
|
2284
|
-
timeout_obj.tv_sec = msec / 1000;
|
2285
|
-
timeout_obj.tv_usec = (msec % 1000) * 1000;
|
2286
|
-
timeout = &timeout_obj;
|
2287
|
-
}
|
2288
|
-
else
|
2289
|
-
timeout = 0;
|
2290
|
-
int result = ::select(s + 1, 0, &fds, 0, timeout);
|
2291
|
-
get_last_error(ec, result < 0);
|
2292
|
-
#else // defined(ASIO_WINDOWS)
|
2293
|
-
// || defined(__CYGWIN__)
|
2294
|
-
// || defined(__SYMBIAN32__)
|
2295
|
-
pollfd fds;
|
2296
|
-
fds.fd = s;
|
2297
|
-
fds.events = POLLOUT;
|
2298
|
-
fds.revents = 0;
|
2299
|
-
int timeout = (state & user_set_non_blocking) ? 0 : msec;
|
2300
|
-
int result = ::poll(&fds, 1, timeout);
|
2301
|
-
get_last_error(ec, result < 0);
|
2302
|
-
#endif // defined(ASIO_WINDOWS)
|
2303
|
-
// || defined(__CYGWIN__)
|
2304
|
-
// || defined(__SYMBIAN32__)
|
2305
|
-
if (result == 0)
|
2306
|
-
if (state & user_set_non_blocking)
|
2307
|
-
ec = asio::error::would_block;
|
2308
|
-
return result;
|
2309
|
-
}
|
2310
|
-
|
2311
|
-
int poll_error(socket_type s, state_type state,
|
2312
|
-
int msec, asio::error_code& ec)
|
2313
|
-
{
|
2314
|
-
if (s == invalid_socket)
|
2315
|
-
{
|
2316
|
-
ec = asio::error::bad_descriptor;
|
2317
|
-
return socket_error_retval;
|
2318
|
-
}
|
2319
|
-
|
2320
|
-
#if defined(ASIO_WINDOWS) \
|
2321
|
-
|| defined(__CYGWIN__) \
|
2322
|
-
|| defined(__SYMBIAN32__)
|
2323
|
-
fd_set fds;
|
2324
|
-
FD_ZERO(&fds);
|
2325
|
-
FD_SET(s, &fds);
|
2326
|
-
timeval timeout_obj;
|
2327
|
-
timeval* timeout;
|
2328
|
-
if (state & user_set_non_blocking)
|
2329
|
-
{
|
2330
|
-
timeout_obj.tv_sec = 0;
|
2331
|
-
timeout_obj.tv_usec = 0;
|
2332
|
-
timeout = &timeout_obj;
|
2333
|
-
}
|
2334
|
-
else if (msec >= 0)
|
2335
|
-
{
|
2336
|
-
timeout_obj.tv_sec = msec / 1000;
|
2337
|
-
timeout_obj.tv_usec = (msec % 1000) * 1000;
|
2338
|
-
timeout = &timeout_obj;
|
2339
|
-
}
|
2340
|
-
else
|
2341
|
-
timeout = 0;
|
2342
|
-
int result = ::select(s + 1, 0, 0, &fds, timeout);
|
2343
|
-
get_last_error(ec, result < 0);
|
2344
|
-
#else // defined(ASIO_WINDOWS)
|
2345
|
-
// || defined(__CYGWIN__)
|
2346
|
-
// || defined(__SYMBIAN32__)
|
2347
|
-
pollfd fds;
|
2348
|
-
fds.fd = s;
|
2349
|
-
fds.events = POLLPRI | POLLERR | POLLHUP;
|
2350
|
-
fds.revents = 0;
|
2351
|
-
int timeout = (state & user_set_non_blocking) ? 0 : msec;
|
2352
|
-
int result = ::poll(&fds, 1, timeout);
|
2353
|
-
get_last_error(ec, result < 0);
|
2354
|
-
#endif // defined(ASIO_WINDOWS)
|
2355
|
-
// || defined(__CYGWIN__)
|
2356
|
-
// || defined(__SYMBIAN32__)
|
2357
|
-
if (result == 0)
|
2358
|
-
if (state & user_set_non_blocking)
|
2359
|
-
ec = asio::error::would_block;
|
2360
|
-
return result;
|
2361
|
-
}
|
2362
|
-
|
2363
|
-
int poll_connect(socket_type s, int msec, asio::error_code& ec)
|
2364
|
-
{
|
2365
|
-
if (s == invalid_socket)
|
2366
|
-
{
|
2367
|
-
ec = asio::error::bad_descriptor;
|
2368
|
-
return socket_error_retval;
|
2369
|
-
}
|
2370
|
-
|
2371
|
-
#if defined(ASIO_WINDOWS) \
|
2372
|
-
|| defined(__CYGWIN__) \
|
2373
|
-
|| defined(__SYMBIAN32__)
|
2374
|
-
fd_set write_fds;
|
2375
|
-
FD_ZERO(&write_fds);
|
2376
|
-
FD_SET(s, &write_fds);
|
2377
|
-
fd_set except_fds;
|
2378
|
-
FD_ZERO(&except_fds);
|
2379
|
-
FD_SET(s, &except_fds);
|
2380
|
-
timeval timeout_obj;
|
2381
|
-
timeval* timeout;
|
2382
|
-
if (msec >= 0)
|
2383
|
-
{
|
2384
|
-
timeout_obj.tv_sec = msec / 1000;
|
2385
|
-
timeout_obj.tv_usec = (msec % 1000) * 1000;
|
2386
|
-
timeout = &timeout_obj;
|
2387
|
-
}
|
2388
|
-
else
|
2389
|
-
timeout = 0;
|
2390
|
-
int result = ::select(s + 1, 0, &write_fds, &except_fds, timeout);
|
2391
|
-
get_last_error(ec, result < 0);
|
2392
|
-
return result;
|
2393
|
-
#else // defined(ASIO_WINDOWS)
|
2394
|
-
// || defined(__CYGWIN__)
|
2395
|
-
// || defined(__SYMBIAN32__)
|
2396
|
-
pollfd fds;
|
2397
|
-
fds.fd = s;
|
2398
|
-
fds.events = POLLOUT;
|
2399
|
-
fds.revents = 0;
|
2400
|
-
int result = ::poll(&fds, 1, msec);
|
2401
|
-
get_last_error(ec, result < 0);
|
2402
|
-
return result;
|
2403
|
-
#endif // defined(ASIO_WINDOWS)
|
2404
|
-
// || defined(__CYGWIN__)
|
2405
|
-
// || defined(__SYMBIAN32__)
|
2406
|
-
}
|
2407
|
-
|
2408
|
-
#endif // !defined(ASIO_WINDOWS_RUNTIME)
|
2409
|
-
|
2410
|
-
const char* inet_ntop(int af, const void* src, char* dest, size_t length,
|
2411
|
-
unsigned long scope_id, asio::error_code& ec)
|
2412
|
-
{
|
2413
|
-
clear_last_error();
|
2414
|
-
#if defined(ASIO_WINDOWS_RUNTIME)
|
2415
|
-
using namespace std; // For sprintf.
|
2416
|
-
const unsigned char* bytes = static_cast<const unsigned char*>(src);
|
2417
|
-
if (af == ASIO_OS_DEF(AF_INET))
|
2418
|
-
{
|
2419
|
-
sprintf_s(dest, length, "%u.%u.%u.%u",
|
2420
|
-
bytes[0], bytes[1], bytes[2], bytes[3]);
|
2421
|
-
return dest;
|
2422
|
-
}
|
2423
|
-
else if (af == ASIO_OS_DEF(AF_INET6))
|
2424
|
-
{
|
2425
|
-
size_t n = 0, b = 0, z = 0;
|
2426
|
-
while (n < length && b < 16)
|
2427
|
-
{
|
2428
|
-
if (bytes[b] == 0 && bytes[b + 1] == 0 && z == 0)
|
2429
|
-
{
|
2430
|
-
do b += 2; while (b < 16 && bytes[b] == 0 && bytes[b + 1] == 0);
|
2431
|
-
n += sprintf_s(dest + n, length - n, ":%s", b < 16 ? "" : ":"), ++z;
|
2432
|
-
}
|
2433
|
-
else
|
2434
|
-
{
|
2435
|
-
n += sprintf_s(dest + n, length - n, "%s%x", b ? ":" : "",
|
2436
|
-
(static_cast<u_long_type>(bytes[b]) << 8) | bytes[b + 1]);
|
2437
|
-
b += 2;
|
2438
|
-
}
|
2439
|
-
}
|
2440
|
-
if (scope_id)
|
2441
|
-
n += sprintf_s(dest + n, length - n, "%%%lu", scope_id);
|
2442
|
-
return dest;
|
2443
|
-
}
|
2444
|
-
else
|
2445
|
-
{
|
2446
|
-
ec = asio::error::address_family_not_supported;
|
2447
|
-
return 0;
|
2448
|
-
}
|
2449
|
-
#elif defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2450
|
-
using namespace std; // For memcpy.
|
2451
|
-
|
2452
|
-
if (af != ASIO_OS_DEF(AF_INET) && af != ASIO_OS_DEF(AF_INET6))
|
2453
|
-
{
|
2454
|
-
ec = asio::error::address_family_not_supported;
|
2455
|
-
return 0;
|
2456
|
-
}
|
2457
|
-
|
2458
|
-
union
|
2459
|
-
{
|
2460
|
-
socket_addr_type base;
|
2461
|
-
sockaddr_storage_type storage;
|
2462
|
-
sockaddr_in4_type v4;
|
2463
|
-
sockaddr_in6_type v6;
|
2464
|
-
} address;
|
2465
|
-
DWORD address_length;
|
2466
|
-
if (af == ASIO_OS_DEF(AF_INET))
|
2467
|
-
{
|
2468
|
-
address_length = sizeof(sockaddr_in4_type);
|
2469
|
-
address.v4.sin_family = ASIO_OS_DEF(AF_INET);
|
2470
|
-
address.v4.sin_port = 0;
|
2471
|
-
memcpy(&address.v4.sin_addr, src, sizeof(in4_addr_type));
|
2472
|
-
}
|
2473
|
-
else // AF_INET6
|
2474
|
-
{
|
2475
|
-
address_length = sizeof(sockaddr_in6_type);
|
2476
|
-
address.v6.sin6_family = ASIO_OS_DEF(AF_INET6);
|
2477
|
-
address.v6.sin6_port = 0;
|
2478
|
-
address.v6.sin6_flowinfo = 0;
|
2479
|
-
address.v6.sin6_scope_id = scope_id;
|
2480
|
-
memcpy(&address.v6.sin6_addr, src, sizeof(in6_addr_type));
|
2481
|
-
}
|
2482
|
-
|
2483
|
-
DWORD string_length = static_cast<DWORD>(length);
|
2484
|
-
#if defined(BOOST_NO_ANSI_APIS) || (defined(_MSC_VER) && (_MSC_VER >= 1800))
|
2485
|
-
LPWSTR string_buffer = (LPWSTR)_alloca(length * sizeof(WCHAR));
|
2486
|
-
int result = ::WSAAddressToStringW(&address.base,
|
2487
|
-
address_length, 0, string_buffer, &string_length);
|
2488
|
-
get_last_error(ec, true);
|
2489
|
-
::WideCharToMultiByte(CP_ACP, 0, string_buffer, -1,
|
2490
|
-
dest, static_cast<int>(length), 0, 0);
|
2491
|
-
#else
|
2492
|
-
int result = ::WSAAddressToStringA(&address.base,
|
2493
|
-
address_length, 0, dest, &string_length);
|
2494
|
-
get_last_error(ec, true);
|
2495
|
-
#endif
|
2496
|
-
|
2497
|
-
// Windows may set error code on success.
|
2498
|
-
if (result != socket_error_retval)
|
2499
|
-
asio::error::clear(ec);
|
2500
|
-
|
2501
|
-
// Windows may not set an error code on failure.
|
2502
|
-
else if (result == socket_error_retval && !ec)
|
2503
|
-
ec = asio::error::invalid_argument;
|
2504
|
-
|
2505
|
-
return result == socket_error_retval ? 0 : dest;
|
2506
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2507
|
-
const char* result = ::inet_ntop(af, src, dest, static_cast<int>(length));
|
2508
|
-
get_last_error(ec, true);
|
2509
|
-
if (result == 0 && !ec)
|
2510
|
-
ec = asio::error::invalid_argument;
|
2511
|
-
if (result != 0 && af == ASIO_OS_DEF(AF_INET6) && scope_id != 0)
|
2512
|
-
{
|
2513
|
-
using namespace std; // For strcat and sprintf.
|
2514
|
-
char if_name[(IF_NAMESIZE > 21 ? IF_NAMESIZE : 21) + 1] = "%";
|
2515
|
-
const in6_addr_type* ipv6_address = static_cast<const in6_addr_type*>(src);
|
2516
|
-
bool is_link_local = ((ipv6_address->s6_addr[0] == 0xfe)
|
2517
|
-
&& ((ipv6_address->s6_addr[1] & 0xc0) == 0x80));
|
2518
|
-
bool is_multicast_link_local = ((ipv6_address->s6_addr[0] == 0xff)
|
2519
|
-
&& ((ipv6_address->s6_addr[1] & 0x0f) == 0x02));
|
2520
|
-
if ((!is_link_local && !is_multicast_link_local)
|
2521
|
-
|| if_indextoname(static_cast<unsigned>(scope_id), if_name + 1) == 0)
|
2522
|
-
#if defined(ASIO_HAS_SNPRINTF)
|
2523
|
-
snprintf(if_name + 1, sizeof(if_name) - 1, "%lu", scope_id);
|
2524
|
-
#else // defined(ASIO_HAS_SNPRINTF)
|
2525
|
-
sprintf(if_name + 1, "%lu", scope_id);
|
2526
|
-
#endif // defined(ASIO_HAS_SNPRINTF)
|
2527
|
-
strcat(dest, if_name);
|
2528
|
-
}
|
2529
|
-
return result;
|
2530
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2531
|
-
}
|
2532
|
-
|
2533
|
-
int inet_pton(int af, const char* src, void* dest,
|
2534
|
-
unsigned long* scope_id, asio::error_code& ec)
|
2535
|
-
{
|
2536
|
-
clear_last_error();
|
2537
|
-
#if defined(ASIO_WINDOWS_RUNTIME)
|
2538
|
-
using namespace std; // For sscanf.
|
2539
|
-
unsigned char* bytes = static_cast<unsigned char*>(dest);
|
2540
|
-
if (af == ASIO_OS_DEF(AF_INET))
|
2541
|
-
{
|
2542
|
-
unsigned int b0, b1, b2, b3;
|
2543
|
-
if (sscanf_s(src, "%u.%u.%u.%u", &b0, &b1, &b2, &b3) != 4)
|
2544
|
-
{
|
2545
|
-
ec = asio::error::invalid_argument;
|
2546
|
-
return -1;
|
2547
|
-
}
|
2548
|
-
if (b0 > 255 || b1 > 255 || b2 > 255 || b3 > 255)
|
2549
|
-
{
|
2550
|
-
ec = asio::error::invalid_argument;
|
2551
|
-
return -1;
|
2552
|
-
}
|
2553
|
-
bytes[0] = static_cast<unsigned char>(b0);
|
2554
|
-
bytes[1] = static_cast<unsigned char>(b1);
|
2555
|
-
bytes[2] = static_cast<unsigned char>(b2);
|
2556
|
-
bytes[3] = static_cast<unsigned char>(b3);
|
2557
|
-
asio::error::clear(ec);
|
2558
|
-
return 1;
|
2559
|
-
}
|
2560
|
-
else if (af == ASIO_OS_DEF(AF_INET6))
|
2561
|
-
{
|
2562
|
-
unsigned char* bytes = static_cast<unsigned char*>(dest);
|
2563
|
-
std::memset(bytes, 0, 16);
|
2564
|
-
unsigned char back_bytes[16] = { 0 };
|
2565
|
-
int num_front_bytes = 0, num_back_bytes = 0;
|
2566
|
-
const char* p = src;
|
2567
|
-
|
2568
|
-
enum { fword, fcolon, bword, scope, done } state = fword;
|
2569
|
-
unsigned long current_word = 0;
|
2570
|
-
while (state != done)
|
2571
|
-
{
|
2572
|
-
if (current_word > 0xFFFF)
|
2573
|
-
{
|
2574
|
-
ec = asio::error::invalid_argument;
|
2575
|
-
return -1;
|
2576
|
-
}
|
2577
|
-
|
2578
|
-
switch (state)
|
2579
|
-
{
|
2580
|
-
case fword:
|
2581
|
-
if (*p >= '0' && *p <= '9')
|
2582
|
-
current_word = current_word * 16 + *p++ - '0';
|
2583
|
-
else if (*p >= 'a' && *p <= 'f')
|
2584
|
-
current_word = current_word * 16 + *p++ - 'a' + 10;
|
2585
|
-
else if (*p >= 'A' && *p <= 'F')
|
2586
|
-
current_word = current_word * 16 + *p++ - 'A' + 10;
|
2587
|
-
else
|
2588
|
-
{
|
2589
|
-
if (num_front_bytes == 16)
|
2590
|
-
{
|
2591
|
-
ec = asio::error::invalid_argument;
|
2592
|
-
return -1;
|
2593
|
-
}
|
2594
|
-
|
2595
|
-
bytes[num_front_bytes++] = (current_word >> 8) & 0xFF;
|
2596
|
-
bytes[num_front_bytes++] = current_word & 0xFF;
|
2597
|
-
current_word = 0;
|
2598
|
-
|
2599
|
-
if (*p == ':')
|
2600
|
-
state = fcolon, ++p;
|
2601
|
-
else if (*p == '%')
|
2602
|
-
state = scope, ++p;
|
2603
|
-
else if (*p == 0)
|
2604
|
-
state = done;
|
2605
|
-
else
|
2606
|
-
{
|
2607
|
-
ec = asio::error::invalid_argument;
|
2608
|
-
return -1;
|
2609
|
-
}
|
2610
|
-
}
|
2611
|
-
break;
|
2612
|
-
|
2613
|
-
case fcolon:
|
2614
|
-
if (*p == ':')
|
2615
|
-
state = bword, ++p;
|
2616
|
-
else
|
2617
|
-
state = fword;
|
2618
|
-
break;
|
2619
|
-
|
2620
|
-
case bword:
|
2621
|
-
if (*p >= '0' && *p <= '9')
|
2622
|
-
current_word = current_word * 16 + *p++ - '0';
|
2623
|
-
else if (*p >= 'a' && *p <= 'f')
|
2624
|
-
current_word = current_word * 16 + *p++ - 'a' + 10;
|
2625
|
-
else if (*p >= 'A' && *p <= 'F')
|
2626
|
-
current_word = current_word * 16 + *p++ - 'A' + 10;
|
2627
|
-
else
|
2628
|
-
{
|
2629
|
-
if (num_front_bytes + num_back_bytes == 16)
|
2630
|
-
{
|
2631
|
-
ec = asio::error::invalid_argument;
|
2632
|
-
return -1;
|
2633
|
-
}
|
2634
|
-
|
2635
|
-
back_bytes[num_back_bytes++] = (current_word >> 8) & 0xFF;
|
2636
|
-
back_bytes[num_back_bytes++] = current_word & 0xFF;
|
2637
|
-
current_word = 0;
|
2638
|
-
|
2639
|
-
if (*p == ':')
|
2640
|
-
state = bword, ++p;
|
2641
|
-
else if (*p == '%')
|
2642
|
-
state = scope, ++p;
|
2643
|
-
else if (*p == 0)
|
2644
|
-
state = done;
|
2645
|
-
else
|
2646
|
-
{
|
2647
|
-
ec = asio::error::invalid_argument;
|
2648
|
-
return -1;
|
2649
|
-
}
|
2650
|
-
}
|
2651
|
-
break;
|
2652
|
-
|
2653
|
-
case scope:
|
2654
|
-
if (*p >= '0' && *p <= '9')
|
2655
|
-
current_word = current_word * 10 + *p++ - '0';
|
2656
|
-
else if (*p == 0)
|
2657
|
-
*scope_id = current_word, state = done;
|
2658
|
-
else
|
2659
|
-
{
|
2660
|
-
ec = asio::error::invalid_argument;
|
2661
|
-
return -1;
|
2662
|
-
}
|
2663
|
-
break;
|
2664
|
-
|
2665
|
-
default:
|
2666
|
-
break;
|
2667
|
-
}
|
2668
|
-
}
|
2669
|
-
|
2670
|
-
for (int i = 0; i < num_back_bytes; ++i)
|
2671
|
-
bytes[16 - num_back_bytes + i] = back_bytes[i];
|
2672
|
-
|
2673
|
-
asio::error::clear(ec);
|
2674
|
-
return 1;
|
2675
|
-
}
|
2676
|
-
else
|
2677
|
-
{
|
2678
|
-
ec = asio::error::address_family_not_supported;
|
2679
|
-
return -1;
|
2680
|
-
}
|
2681
|
-
#elif defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2682
|
-
using namespace std; // For memcpy and strcmp.
|
2683
|
-
|
2684
|
-
if (af != ASIO_OS_DEF(AF_INET) && af != ASIO_OS_DEF(AF_INET6))
|
2685
|
-
{
|
2686
|
-
ec = asio::error::address_family_not_supported;
|
2687
|
-
return -1;
|
2688
|
-
}
|
2689
|
-
|
2690
|
-
union
|
2691
|
-
{
|
2692
|
-
socket_addr_type base;
|
2693
|
-
sockaddr_storage_type storage;
|
2694
|
-
sockaddr_in4_type v4;
|
2695
|
-
sockaddr_in6_type v6;
|
2696
|
-
} address;
|
2697
|
-
int address_length = sizeof(sockaddr_storage_type);
|
2698
|
-
#if defined(BOOST_NO_ANSI_APIS) || (defined(_MSC_VER) && (_MSC_VER >= 1800))
|
2699
|
-
int num_wide_chars = static_cast<int>(strlen(src)) + 1;
|
2700
|
-
LPWSTR wide_buffer = (LPWSTR)_alloca(num_wide_chars * sizeof(WCHAR));
|
2701
|
-
::MultiByteToWideChar(CP_ACP, 0, src, -1, wide_buffer, num_wide_chars);
|
2702
|
-
int result = ::WSAStringToAddressW(wide_buffer,
|
2703
|
-
af, 0, &address.base, &address_length);
|
2704
|
-
get_last_error(ec, true);
|
2705
|
-
#else
|
2706
|
-
int result = ::WSAStringToAddressA(const_cast<char*>(src),
|
2707
|
-
af, 0, &address.base, &address_length);
|
2708
|
-
get_last_error(ec, true);
|
2709
|
-
#endif
|
2710
|
-
|
2711
|
-
if (af == ASIO_OS_DEF(AF_INET))
|
2712
|
-
{
|
2713
|
-
if (result != socket_error_retval)
|
2714
|
-
{
|
2715
|
-
memcpy(dest, &address.v4.sin_addr, sizeof(in4_addr_type));
|
2716
|
-
asio::error::clear(ec);
|
2717
|
-
}
|
2718
|
-
else if (strcmp(src, "255.255.255.255") == 0)
|
2719
|
-
{
|
2720
|
-
static_cast<in4_addr_type*>(dest)->s_addr = INADDR_NONE;
|
2721
|
-
asio::error::clear(ec);
|
2722
|
-
}
|
2723
|
-
}
|
2724
|
-
else // AF_INET6
|
2725
|
-
{
|
2726
|
-
if (result != socket_error_retval)
|
2727
|
-
{
|
2728
|
-
memcpy(dest, &address.v6.sin6_addr, sizeof(in6_addr_type));
|
2729
|
-
if (scope_id)
|
2730
|
-
*scope_id = address.v6.sin6_scope_id;
|
2731
|
-
asio::error::clear(ec);
|
2732
|
-
}
|
2733
|
-
}
|
2734
|
-
|
2735
|
-
// Windows may not set an error code on failure.
|
2736
|
-
if (result == socket_error_retval && !ec)
|
2737
|
-
ec = asio::error::invalid_argument;
|
2738
|
-
|
2739
|
-
if (result != socket_error_retval)
|
2740
|
-
asio::error::clear(ec);
|
2741
|
-
|
2742
|
-
return result == socket_error_retval ? -1 : 1;
|
2743
|
-
#else // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2744
|
-
using namespace std; // For strchr, memcpy and atoi.
|
2745
|
-
|
2746
|
-
// On some platforms, inet_pton fails if an address string contains a scope
|
2747
|
-
// id. Detect and remove the scope id before passing the string to inet_pton.
|
2748
|
-
const bool is_v6 = (af == ASIO_OS_DEF(AF_INET6));
|
2749
|
-
const char* if_name = is_v6 ? strchr(src, '%') : 0;
|
2750
|
-
char src_buf[max_addr_v6_str_len + 1];
|
2751
|
-
const char* src_ptr = src;
|
2752
|
-
if (if_name != 0)
|
2753
|
-
{
|
2754
|
-
if (if_name - src > max_addr_v6_str_len)
|
2755
|
-
{
|
2756
|
-
ec = asio::error::invalid_argument;
|
2757
|
-
return 0;
|
2758
|
-
}
|
2759
|
-
memcpy(src_buf, src, if_name - src);
|
2760
|
-
src_buf[if_name - src] = 0;
|
2761
|
-
src_ptr = src_buf;
|
2762
|
-
}
|
2763
|
-
|
2764
|
-
int result = ::inet_pton(af, src_ptr, dest);
|
2765
|
-
get_last_error(ec, true);
|
2766
|
-
if (result <= 0 && !ec)
|
2767
|
-
ec = asio::error::invalid_argument;
|
2768
|
-
if (result > 0 && is_v6 && scope_id)
|
2769
|
-
{
|
2770
|
-
using namespace std; // For strchr and atoi.
|
2771
|
-
*scope_id = 0;
|
2772
|
-
if (if_name != 0)
|
2773
|
-
{
|
2774
|
-
in6_addr_type* ipv6_address = static_cast<in6_addr_type*>(dest);
|
2775
|
-
bool is_link_local = ((ipv6_address->s6_addr[0] == 0xfe)
|
2776
|
-
&& ((ipv6_address->s6_addr[1] & 0xc0) == 0x80));
|
2777
|
-
bool is_multicast_link_local = ((ipv6_address->s6_addr[0] == 0xff)
|
2778
|
-
&& ((ipv6_address->s6_addr[1] & 0x0f) == 0x02));
|
2779
|
-
if (is_link_local || is_multicast_link_local)
|
2780
|
-
*scope_id = if_nametoindex(if_name + 1);
|
2781
|
-
if (*scope_id == 0)
|
2782
|
-
*scope_id = atoi(if_name + 1);
|
2783
|
-
}
|
2784
|
-
}
|
2785
|
-
return result;
|
2786
|
-
#endif // defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2787
|
-
}
|
2788
|
-
|
2789
|
-
int gethostname(char* name, int namelen, asio::error_code& ec)
|
2790
|
-
{
|
2791
|
-
#if defined(ASIO_WINDOWS_RUNTIME)
|
2792
|
-
try
|
2793
|
-
{
|
2794
|
-
using namespace Windows::Foundation::Collections;
|
2795
|
-
using namespace Windows::Networking;
|
2796
|
-
using namespace Windows::Networking::Connectivity;
|
2797
|
-
IVectorView<HostName^>^ hostnames = NetworkInformation::GetHostNames();
|
2798
|
-
for (unsigned i = 0; i < hostnames->Size; ++i)
|
2799
|
-
{
|
2800
|
-
HostName^ hostname = hostnames->GetAt(i);
|
2801
|
-
if (hostname->Type == HostNameType::DomainName)
|
2802
|
-
{
|
2803
|
-
std::wstring_convert<std::codecvt_utf8<wchar_t>> converter;
|
2804
|
-
std::string raw_name = converter.to_bytes(hostname->RawName->Data());
|
2805
|
-
if (namelen > 0 && raw_name.size() < static_cast<std::size_t>(namelen))
|
2806
|
-
{
|
2807
|
-
strcpy_s(name, namelen, raw_name.c_str());
|
2808
|
-
return 0;
|
2809
|
-
}
|
2810
|
-
}
|
2811
|
-
}
|
2812
|
-
return -1;
|
2813
|
-
}
|
2814
|
-
catch (Platform::Exception^ e)
|
2815
|
-
{
|
2816
|
-
ec = asio::error_code(e->HResult,
|
2817
|
-
asio::system_category());
|
2818
|
-
return -1;
|
2819
|
-
}
|
2820
|
-
#else // defined(ASIO_WINDOWS_RUNTIME)
|
2821
|
-
int result = ::gethostname(name, namelen);
|
2822
|
-
get_last_error(ec, result != 0);
|
2823
|
-
return result;
|
2824
|
-
#endif // defined(ASIO_WINDOWS_RUNTIME)
|
2825
|
-
}
|
2826
|
-
|
2827
|
-
#if !defined(ASIO_WINDOWS_RUNTIME)
|
2828
|
-
|
2829
|
-
#if !defined(ASIO_HAS_GETADDRINFO)
|
2830
|
-
|
2831
|
-
// The following functions are only needed for emulation of getaddrinfo and
|
2832
|
-
// getnameinfo.
|
2833
|
-
|
2834
|
-
inline asio::error_code translate_netdb_error(int error)
|
2835
|
-
{
|
2836
|
-
switch (error)
|
2837
|
-
{
|
2838
|
-
case 0:
|
2839
|
-
return asio::error_code();
|
2840
|
-
case HOST_NOT_FOUND:
|
2841
|
-
return asio::error::host_not_found;
|
2842
|
-
case TRY_AGAIN:
|
2843
|
-
return asio::error::host_not_found_try_again;
|
2844
|
-
case NO_RECOVERY:
|
2845
|
-
return asio::error::no_recovery;
|
2846
|
-
case NO_DATA:
|
2847
|
-
return asio::error::no_data;
|
2848
|
-
default:
|
2849
|
-
ASIO_ASSERT(false);
|
2850
|
-
return asio::error::invalid_argument;
|
2851
|
-
}
|
2852
|
-
}
|
2853
|
-
|
2854
|
-
inline hostent* gethostbyaddr(const char* addr, int length, int af,
|
2855
|
-
hostent* result, char* buffer, int buflength, asio::error_code& ec)
|
2856
|
-
{
|
2857
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2858
|
-
(void)(buffer);
|
2859
|
-
(void)(buflength);
|
2860
|
-
hostent* retval = ::gethostbyaddr(addr, length, af);
|
2861
|
-
get_last_error(ec, !retval);
|
2862
|
-
if (!retval)
|
2863
|
-
return 0;
|
2864
|
-
*result = *retval;
|
2865
|
-
return retval;
|
2866
|
-
#elif defined(__sun) || defined(__QNX__)
|
2867
|
-
int error = 0;
|
2868
|
-
hostent* retval = ::gethostbyaddr_r(addr, length,
|
2869
|
-
af, result, buffer, buflength, &error);
|
2870
|
-
get_last_error(ec, !retval);
|
2871
|
-
if (error)
|
2872
|
-
ec = translate_netdb_error(error);
|
2873
|
-
return retval;
|
2874
|
-
#elif defined(__MACH__) && defined(__APPLE__)
|
2875
|
-
(void)(buffer);
|
2876
|
-
(void)(buflength);
|
2877
|
-
int error = 0;
|
2878
|
-
hostent* retval = ::getipnodebyaddr(addr, length, af, &error);
|
2879
|
-
get_last_error(ec, !retval);
|
2880
|
-
if (error)
|
2881
|
-
ec = translate_netdb_error(error);
|
2882
|
-
if (!retval)
|
2883
|
-
return 0;
|
2884
|
-
*result = *retval;
|
2885
|
-
return retval;
|
2886
|
-
#else
|
2887
|
-
hostent* retval = 0;
|
2888
|
-
int error = 0;
|
2889
|
-
clear_last_error();
|
2890
|
-
::gethostbyaddr_r(addr, length, af, result,
|
2891
|
-
buffer, buflength, &retval, &error);
|
2892
|
-
get_last_error(ec, true);
|
2893
|
-
if (error)
|
2894
|
-
ec = translate_netdb_error(error);
|
2895
|
-
return retval;
|
2896
|
-
#endif
|
2897
|
-
}
|
2898
|
-
|
2899
|
-
inline hostent* gethostbyname(const char* name, int af, struct hostent* result,
|
2900
|
-
char* buffer, int buflength, int ai_flags, asio::error_code& ec)
|
2901
|
-
{
|
2902
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
2903
|
-
(void)(buffer);
|
2904
|
-
(void)(buflength);
|
2905
|
-
(void)(ai_flags);
|
2906
|
-
if (af != ASIO_OS_DEF(AF_INET))
|
2907
|
-
{
|
2908
|
-
ec = asio::error::address_family_not_supported;
|
2909
|
-
return 0;
|
2910
|
-
}
|
2911
|
-
hostent* retval = ::gethostbyname(name);
|
2912
|
-
get_last_error(ec, !retval);
|
2913
|
-
if (!retval)
|
2914
|
-
return 0;
|
2915
|
-
*result = *retval;
|
2916
|
-
return result;
|
2917
|
-
#elif defined(__sun) || defined(__QNX__)
|
2918
|
-
(void)(ai_flags);
|
2919
|
-
if (af != ASIO_OS_DEF(AF_INET))
|
2920
|
-
{
|
2921
|
-
ec = asio::error::address_family_not_supported;
|
2922
|
-
return 0;
|
2923
|
-
}
|
2924
|
-
int error = 0;
|
2925
|
-
hostent* retval = ::gethostbyname_r(name, result, buffer, buflength, &error);
|
2926
|
-
get_last_error(ec, !retval);
|
2927
|
-
if (error)
|
2928
|
-
ec = translate_netdb_error(error);
|
2929
|
-
return retval;
|
2930
|
-
#elif defined(__MACH__) && defined(__APPLE__)
|
2931
|
-
(void)(buffer);
|
2932
|
-
(void)(buflength);
|
2933
|
-
int error = 0;
|
2934
|
-
hostent* retval = ::getipnodebyname(name, af, ai_flags, &error);
|
2935
|
-
get_last_error(ec, !retval);
|
2936
|
-
if (error)
|
2937
|
-
ec = translate_netdb_error(error);
|
2938
|
-
if (!retval)
|
2939
|
-
return 0;
|
2940
|
-
*result = *retval;
|
2941
|
-
return retval;
|
2942
|
-
#else
|
2943
|
-
(void)(ai_flags);
|
2944
|
-
if (af != ASIO_OS_DEF(AF_INET))
|
2945
|
-
{
|
2946
|
-
ec = asio::error::address_family_not_supported;
|
2947
|
-
return 0;
|
2948
|
-
}
|
2949
|
-
hostent* retval = 0;
|
2950
|
-
int error = 0;
|
2951
|
-
clear_last_error();
|
2952
|
-
::gethostbyname_r(name, result, buffer, buflength, &retval, &error);
|
2953
|
-
get_last_error(ec, true);
|
2954
|
-
if (error)
|
2955
|
-
ec = translate_netdb_error(error);
|
2956
|
-
return retval;
|
2957
|
-
#endif
|
2958
|
-
}
|
2959
|
-
|
2960
|
-
inline void freehostent(hostent* h)
|
2961
|
-
{
|
2962
|
-
#if defined(__MACH__) && defined(__APPLE__)
|
2963
|
-
if (h)
|
2964
|
-
::freehostent(h);
|
2965
|
-
#else
|
2966
|
-
(void)(h);
|
2967
|
-
#endif
|
2968
|
-
}
|
2969
|
-
|
2970
|
-
// Emulation of getaddrinfo based on implementation in:
|
2971
|
-
// Stevens, W. R., UNIX Network Programming Vol. 1, 2nd Ed., Prentice-Hall 1998.
|
2972
|
-
|
2973
|
-
struct gai_search
|
2974
|
-
{
|
2975
|
-
const char* host;
|
2976
|
-
int family;
|
2977
|
-
};
|
2978
|
-
|
2979
|
-
inline int gai_nsearch(const char* host,
|
2980
|
-
const addrinfo_type* hints, gai_search (&search)[2])
|
2981
|
-
{
|
2982
|
-
int search_count = 0;
|
2983
|
-
if (host == 0 || host[0] == '\0')
|
2984
|
-
{
|
2985
|
-
if (hints->ai_flags & AI_PASSIVE)
|
2986
|
-
{
|
2987
|
-
// No host and AI_PASSIVE implies wildcard bind.
|
2988
|
-
switch (hints->ai_family)
|
2989
|
-
{
|
2990
|
-
case ASIO_OS_DEF(AF_INET):
|
2991
|
-
search[search_count].host = "0.0.0.0";
|
2992
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET);
|
2993
|
-
++search_count;
|
2994
|
-
break;
|
2995
|
-
case ASIO_OS_DEF(AF_INET6):
|
2996
|
-
search[search_count].host = "0::0";
|
2997
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET6);
|
2998
|
-
++search_count;
|
2999
|
-
break;
|
3000
|
-
case ASIO_OS_DEF(AF_UNSPEC):
|
3001
|
-
search[search_count].host = "0::0";
|
3002
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET6);
|
3003
|
-
++search_count;
|
3004
|
-
search[search_count].host = "0.0.0.0";
|
3005
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET);
|
3006
|
-
++search_count;
|
3007
|
-
break;
|
3008
|
-
default:
|
3009
|
-
break;
|
3010
|
-
}
|
3011
|
-
}
|
3012
|
-
else
|
3013
|
-
{
|
3014
|
-
// No host and not AI_PASSIVE means connect to local host.
|
3015
|
-
switch (hints->ai_family)
|
3016
|
-
{
|
3017
|
-
case ASIO_OS_DEF(AF_INET):
|
3018
|
-
search[search_count].host = "localhost";
|
3019
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET);
|
3020
|
-
++search_count;
|
3021
|
-
break;
|
3022
|
-
case ASIO_OS_DEF(AF_INET6):
|
3023
|
-
search[search_count].host = "localhost";
|
3024
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET6);
|
3025
|
-
++search_count;
|
3026
|
-
break;
|
3027
|
-
case ASIO_OS_DEF(AF_UNSPEC):
|
3028
|
-
search[search_count].host = "localhost";
|
3029
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET6);
|
3030
|
-
++search_count;
|
3031
|
-
search[search_count].host = "localhost";
|
3032
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET);
|
3033
|
-
++search_count;
|
3034
|
-
break;
|
3035
|
-
default:
|
3036
|
-
break;
|
3037
|
-
}
|
3038
|
-
}
|
3039
|
-
}
|
3040
|
-
else
|
3041
|
-
{
|
3042
|
-
// Host is specified.
|
3043
|
-
switch (hints->ai_family)
|
3044
|
-
{
|
3045
|
-
case ASIO_OS_DEF(AF_INET):
|
3046
|
-
search[search_count].host = host;
|
3047
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET);
|
3048
|
-
++search_count;
|
3049
|
-
break;
|
3050
|
-
case ASIO_OS_DEF(AF_INET6):
|
3051
|
-
search[search_count].host = host;
|
3052
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET6);
|
3053
|
-
++search_count;
|
3054
|
-
break;
|
3055
|
-
case ASIO_OS_DEF(AF_UNSPEC):
|
3056
|
-
search[search_count].host = host;
|
3057
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET6);
|
3058
|
-
++search_count;
|
3059
|
-
search[search_count].host = host;
|
3060
|
-
search[search_count].family = ASIO_OS_DEF(AF_INET);
|
3061
|
-
++search_count;
|
3062
|
-
break;
|
3063
|
-
default:
|
3064
|
-
break;
|
3065
|
-
}
|
3066
|
-
}
|
3067
|
-
return search_count;
|
3068
|
-
}
|
3069
|
-
|
3070
|
-
template <typename T>
|
3071
|
-
inline T* gai_alloc(std::size_t size = sizeof(T))
|
3072
|
-
{
|
3073
|
-
using namespace std;
|
3074
|
-
T* p = static_cast<T*>(::operator new(size, std::nothrow));
|
3075
|
-
if (p)
|
3076
|
-
memset(p, 0, size);
|
3077
|
-
return p;
|
3078
|
-
}
|
3079
|
-
|
3080
|
-
inline void gai_free(void* p)
|
3081
|
-
{
|
3082
|
-
::operator delete(p);
|
3083
|
-
}
|
3084
|
-
|
3085
|
-
inline void gai_strcpy(char* target, const char* source, std::size_t max_size)
|
3086
|
-
{
|
3087
|
-
using namespace std;
|
3088
|
-
#if defined(ASIO_HAS_SECURE_RTL)
|
3089
|
-
strcpy_s(target, max_size, source);
|
3090
|
-
#else // defined(ASIO_HAS_SECURE_RTL)
|
3091
|
-
*target = 0;
|
3092
|
-
if (max_size > 0)
|
3093
|
-
strncat(target, source, max_size - 1);
|
3094
|
-
#endif // defined(ASIO_HAS_SECURE_RTL)
|
3095
|
-
}
|
3096
|
-
|
3097
|
-
enum { gai_clone_flag = 1 << 30 };
|
3098
|
-
|
3099
|
-
inline int gai_aistruct(addrinfo_type*** next, const addrinfo_type* hints,
|
3100
|
-
const void* addr, int family)
|
3101
|
-
{
|
3102
|
-
using namespace std;
|
3103
|
-
|
3104
|
-
addrinfo_type* ai = gai_alloc<addrinfo_type>();
|
3105
|
-
if (ai == 0)
|
3106
|
-
return EAI_MEMORY;
|
3107
|
-
|
3108
|
-
ai->ai_next = 0;
|
3109
|
-
**next = ai;
|
3110
|
-
*next = &ai->ai_next;
|
3111
|
-
|
3112
|
-
ai->ai_canonname = 0;
|
3113
|
-
ai->ai_socktype = hints->ai_socktype;
|
3114
|
-
if (ai->ai_socktype == 0)
|
3115
|
-
ai->ai_flags |= gai_clone_flag;
|
3116
|
-
ai->ai_protocol = hints->ai_protocol;
|
3117
|
-
ai->ai_family = family;
|
3118
|
-
|
3119
|
-
switch (ai->ai_family)
|
3120
|
-
{
|
3121
|
-
case ASIO_OS_DEF(AF_INET):
|
3122
|
-
{
|
3123
|
-
sockaddr_in4_type* sinptr = gai_alloc<sockaddr_in4_type>();
|
3124
|
-
if (sinptr == 0)
|
3125
|
-
return EAI_MEMORY;
|
3126
|
-
sinptr->sin_family = ASIO_OS_DEF(AF_INET);
|
3127
|
-
memcpy(&sinptr->sin_addr, addr, sizeof(in4_addr_type));
|
3128
|
-
ai->ai_addr = reinterpret_cast<sockaddr*>(sinptr);
|
3129
|
-
ai->ai_addrlen = sizeof(sockaddr_in4_type);
|
3130
|
-
break;
|
3131
|
-
}
|
3132
|
-
case ASIO_OS_DEF(AF_INET6):
|
3133
|
-
{
|
3134
|
-
sockaddr_in6_type* sin6ptr = gai_alloc<sockaddr_in6_type>();
|
3135
|
-
if (sin6ptr == 0)
|
3136
|
-
return EAI_MEMORY;
|
3137
|
-
sin6ptr->sin6_family = ASIO_OS_DEF(AF_INET6);
|
3138
|
-
memcpy(&sin6ptr->sin6_addr, addr, sizeof(in6_addr_type));
|
3139
|
-
ai->ai_addr = reinterpret_cast<sockaddr*>(sin6ptr);
|
3140
|
-
ai->ai_addrlen = sizeof(sockaddr_in6_type);
|
3141
|
-
break;
|
3142
|
-
}
|
3143
|
-
default:
|
3144
|
-
break;
|
3145
|
-
}
|
3146
|
-
|
3147
|
-
return 0;
|
3148
|
-
}
|
3149
|
-
|
3150
|
-
inline addrinfo_type* gai_clone(addrinfo_type* ai)
|
3151
|
-
{
|
3152
|
-
using namespace std;
|
3153
|
-
|
3154
|
-
addrinfo_type* new_ai = gai_alloc<addrinfo_type>();
|
3155
|
-
if (new_ai == 0)
|
3156
|
-
return new_ai;
|
3157
|
-
|
3158
|
-
new_ai->ai_next = ai->ai_next;
|
3159
|
-
ai->ai_next = new_ai;
|
3160
|
-
|
3161
|
-
new_ai->ai_flags = 0;
|
3162
|
-
new_ai->ai_family = ai->ai_family;
|
3163
|
-
new_ai->ai_socktype = ai->ai_socktype;
|
3164
|
-
new_ai->ai_protocol = ai->ai_protocol;
|
3165
|
-
new_ai->ai_canonname = 0;
|
3166
|
-
new_ai->ai_addrlen = ai->ai_addrlen;
|
3167
|
-
new_ai->ai_addr = gai_alloc<sockaddr>(ai->ai_addrlen);
|
3168
|
-
memcpy(new_ai->ai_addr, ai->ai_addr, ai->ai_addrlen);
|
3169
|
-
|
3170
|
-
return new_ai;
|
3171
|
-
}
|
3172
|
-
|
3173
|
-
inline int gai_port(addrinfo_type* aihead, int port, int socktype)
|
3174
|
-
{
|
3175
|
-
int num_found = 0;
|
3176
|
-
|
3177
|
-
for (addrinfo_type* ai = aihead; ai; ai = ai->ai_next)
|
3178
|
-
{
|
3179
|
-
if (ai->ai_flags & gai_clone_flag)
|
3180
|
-
{
|
3181
|
-
if (ai->ai_socktype != 0)
|
3182
|
-
{
|
3183
|
-
ai = gai_clone(ai);
|
3184
|
-
if (ai == 0)
|
3185
|
-
return -1;
|
3186
|
-
// ai now points to newly cloned entry.
|
3187
|
-
}
|
3188
|
-
}
|
3189
|
-
else if (ai->ai_socktype != socktype)
|
3190
|
-
{
|
3191
|
-
// Ignore if mismatch on socket type.
|
3192
|
-
continue;
|
3193
|
-
}
|
3194
|
-
|
3195
|
-
ai->ai_socktype = socktype;
|
3196
|
-
|
3197
|
-
switch (ai->ai_family)
|
3198
|
-
{
|
3199
|
-
case ASIO_OS_DEF(AF_INET):
|
3200
|
-
{
|
3201
|
-
sockaddr_in4_type* sinptr =
|
3202
|
-
reinterpret_cast<sockaddr_in4_type*>(ai->ai_addr);
|
3203
|
-
sinptr->sin_port = port;
|
3204
|
-
++num_found;
|
3205
|
-
break;
|
3206
|
-
}
|
3207
|
-
case ASIO_OS_DEF(AF_INET6):
|
3208
|
-
{
|
3209
|
-
sockaddr_in6_type* sin6ptr =
|
3210
|
-
reinterpret_cast<sockaddr_in6_type*>(ai->ai_addr);
|
3211
|
-
sin6ptr->sin6_port = port;
|
3212
|
-
++num_found;
|
3213
|
-
break;
|
3214
|
-
}
|
3215
|
-
default:
|
3216
|
-
break;
|
3217
|
-
}
|
3218
|
-
}
|
3219
|
-
|
3220
|
-
return num_found;
|
3221
|
-
}
|
3222
|
-
|
3223
|
-
inline int gai_serv(addrinfo_type* aihead,
|
3224
|
-
const addrinfo_type* hints, const char* serv)
|
3225
|
-
{
|
3226
|
-
using namespace std;
|
3227
|
-
|
3228
|
-
int num_found = 0;
|
3229
|
-
|
3230
|
-
if (
|
3231
|
-
#if defined(AI_NUMERICSERV)
|
3232
|
-
(hints->ai_flags & AI_NUMERICSERV) ||
|
3233
|
-
#endif
|
3234
|
-
isdigit(static_cast<unsigned char>(serv[0])))
|
3235
|
-
{
|
3236
|
-
int port = htons(atoi(serv));
|
3237
|
-
if (hints->ai_socktype)
|
3238
|
-
{
|
3239
|
-
// Caller specifies socket type.
|
3240
|
-
int rc = gai_port(aihead, port, hints->ai_socktype);
|
3241
|
-
if (rc < 0)
|
3242
|
-
return EAI_MEMORY;
|
3243
|
-
num_found += rc;
|
3244
|
-
}
|
3245
|
-
else
|
3246
|
-
{
|
3247
|
-
// Caller does not specify socket type.
|
3248
|
-
int rc = gai_port(aihead, port, SOCK_STREAM);
|
3249
|
-
if (rc < 0)
|
3250
|
-
return EAI_MEMORY;
|
3251
|
-
num_found += rc;
|
3252
|
-
rc = gai_port(aihead, port, SOCK_DGRAM);
|
3253
|
-
if (rc < 0)
|
3254
|
-
return EAI_MEMORY;
|
3255
|
-
num_found += rc;
|
3256
|
-
}
|
3257
|
-
}
|
3258
|
-
else
|
3259
|
-
{
|
3260
|
-
// Try service name with TCP first, then UDP.
|
3261
|
-
if (hints->ai_socktype == 0 || hints->ai_socktype == SOCK_STREAM)
|
3262
|
-
{
|
3263
|
-
servent* sptr = getservbyname(serv, "tcp");
|
3264
|
-
if (sptr != 0)
|
3265
|
-
{
|
3266
|
-
int rc = gai_port(aihead, sptr->s_port, SOCK_STREAM);
|
3267
|
-
if (rc < 0)
|
3268
|
-
return EAI_MEMORY;
|
3269
|
-
num_found += rc;
|
3270
|
-
}
|
3271
|
-
}
|
3272
|
-
if (hints->ai_socktype == 0 || hints->ai_socktype == SOCK_DGRAM)
|
3273
|
-
{
|
3274
|
-
servent* sptr = getservbyname(serv, "udp");
|
3275
|
-
if (sptr != 0)
|
3276
|
-
{
|
3277
|
-
int rc = gai_port(aihead, sptr->s_port, SOCK_DGRAM);
|
3278
|
-
if (rc < 0)
|
3279
|
-
return EAI_MEMORY;
|
3280
|
-
num_found += rc;
|
3281
|
-
}
|
3282
|
-
}
|
3283
|
-
}
|
3284
|
-
|
3285
|
-
if (num_found == 0)
|
3286
|
-
{
|
3287
|
-
if (hints->ai_socktype == 0)
|
3288
|
-
{
|
3289
|
-
// All calls to getservbyname() failed.
|
3290
|
-
return EAI_NONAME;
|
3291
|
-
}
|
3292
|
-
else
|
3293
|
-
{
|
3294
|
-
// Service not supported for socket type.
|
3295
|
-
return EAI_SERVICE;
|
3296
|
-
}
|
3297
|
-
}
|
3298
|
-
|
3299
|
-
return 0;
|
3300
|
-
}
|
3301
|
-
|
3302
|
-
inline int gai_echeck(const char* host, const char* service,
|
3303
|
-
int flags, int family, int socktype, int protocol)
|
3304
|
-
{
|
3305
|
-
(void)(flags);
|
3306
|
-
(void)(protocol);
|
3307
|
-
|
3308
|
-
// Host or service must be specified.
|
3309
|
-
if (host == 0 || host[0] == '\0')
|
3310
|
-
if (service == 0 || service[0] == '\0')
|
3311
|
-
return EAI_NONAME;
|
3312
|
-
|
3313
|
-
// Check combination of family and socket type.
|
3314
|
-
switch (family)
|
3315
|
-
{
|
3316
|
-
case ASIO_OS_DEF(AF_UNSPEC):
|
3317
|
-
break;
|
3318
|
-
case ASIO_OS_DEF(AF_INET):
|
3319
|
-
case ASIO_OS_DEF(AF_INET6):
|
3320
|
-
if (service != 0 && service[0] != '\0')
|
3321
|
-
if (socktype != 0 && socktype != SOCK_STREAM && socktype != SOCK_DGRAM)
|
3322
|
-
return EAI_SOCKTYPE;
|
3323
|
-
break;
|
3324
|
-
default:
|
3325
|
-
return EAI_FAMILY;
|
3326
|
-
}
|
3327
|
-
|
3328
|
-
return 0;
|
3329
|
-
}
|
3330
|
-
|
3331
|
-
inline void freeaddrinfo_emulation(addrinfo_type* aihead)
|
3332
|
-
{
|
3333
|
-
addrinfo_type* ai = aihead;
|
3334
|
-
while (ai)
|
3335
|
-
{
|
3336
|
-
gai_free(ai->ai_addr);
|
3337
|
-
gai_free(ai->ai_canonname);
|
3338
|
-
addrinfo_type* ainext = ai->ai_next;
|
3339
|
-
gai_free(ai);
|
3340
|
-
ai = ainext;
|
3341
|
-
}
|
3342
|
-
}
|
3343
|
-
|
3344
|
-
inline int getaddrinfo_emulation(const char* host, const char* service,
|
3345
|
-
const addrinfo_type* hintsp, addrinfo_type** result)
|
3346
|
-
{
|
3347
|
-
// Set up linked list of addrinfo structures.
|
3348
|
-
addrinfo_type* aihead = 0;
|
3349
|
-
addrinfo_type** ainext = &aihead;
|
3350
|
-
char* canon = 0;
|
3351
|
-
|
3352
|
-
// Supply default hints if not specified by caller.
|
3353
|
-
addrinfo_type hints = addrinfo_type();
|
3354
|
-
hints.ai_family = ASIO_OS_DEF(AF_UNSPEC);
|
3355
|
-
if (hintsp)
|
3356
|
-
hints = *hintsp;
|
3357
|
-
|
3358
|
-
// If the resolution is not specifically for AF_INET6, remove the AI_V4MAPPED
|
3359
|
-
// and AI_ALL flags.
|
3360
|
-
#if defined(AI_V4MAPPED)
|
3361
|
-
if (hints.ai_family != ASIO_OS_DEF(AF_INET6))
|
3362
|
-
hints.ai_flags &= ~AI_V4MAPPED;
|
3363
|
-
#endif
|
3364
|
-
#if defined(AI_ALL)
|
3365
|
-
if (hints.ai_family != ASIO_OS_DEF(AF_INET6))
|
3366
|
-
hints.ai_flags &= ~AI_ALL;
|
3367
|
-
#endif
|
3368
|
-
|
3369
|
-
// Basic error checking.
|
3370
|
-
int rc = gai_echeck(host, service, hints.ai_flags, hints.ai_family,
|
3371
|
-
hints.ai_socktype, hints.ai_protocol);
|
3372
|
-
if (rc != 0)
|
3373
|
-
{
|
3374
|
-
freeaddrinfo_emulation(aihead);
|
3375
|
-
return rc;
|
3376
|
-
}
|
3377
|
-
|
3378
|
-
gai_search search[2];
|
3379
|
-
int search_count = gai_nsearch(host, &hints, search);
|
3380
|
-
for (gai_search* sptr = search; sptr < search + search_count; ++sptr)
|
3381
|
-
{
|
3382
|
-
// Check for IPv4 dotted decimal string.
|
3383
|
-
in4_addr_type inaddr;
|
3384
|
-
asio::error_code ec;
|
3385
|
-
if (socket_ops::inet_pton(ASIO_OS_DEF(AF_INET),
|
3386
|
-
sptr->host, &inaddr, 0, ec) == 1)
|
3387
|
-
{
|
3388
|
-
if (hints.ai_family != ASIO_OS_DEF(AF_UNSPEC)
|
3389
|
-
&& hints.ai_family != ASIO_OS_DEF(AF_INET))
|
3390
|
-
{
|
3391
|
-
freeaddrinfo_emulation(aihead);
|
3392
|
-
gai_free(canon);
|
3393
|
-
return EAI_FAMILY;
|
3394
|
-
}
|
3395
|
-
if (sptr->family == ASIO_OS_DEF(AF_INET))
|
3396
|
-
{
|
3397
|
-
rc = gai_aistruct(&ainext, &hints, &inaddr, ASIO_OS_DEF(AF_INET));
|
3398
|
-
if (rc != 0)
|
3399
|
-
{
|
3400
|
-
freeaddrinfo_emulation(aihead);
|
3401
|
-
gai_free(canon);
|
3402
|
-
return rc;
|
3403
|
-
}
|
3404
|
-
}
|
3405
|
-
continue;
|
3406
|
-
}
|
3407
|
-
|
3408
|
-
// Check for IPv6 hex string.
|
3409
|
-
in6_addr_type in6addr;
|
3410
|
-
if (socket_ops::inet_pton(ASIO_OS_DEF(AF_INET6),
|
3411
|
-
sptr->host, &in6addr, 0, ec) == 1)
|
3412
|
-
{
|
3413
|
-
if (hints.ai_family != ASIO_OS_DEF(AF_UNSPEC)
|
3414
|
-
&& hints.ai_family != ASIO_OS_DEF(AF_INET6))
|
3415
|
-
{
|
3416
|
-
freeaddrinfo_emulation(aihead);
|
3417
|
-
gai_free(canon);
|
3418
|
-
return EAI_FAMILY;
|
3419
|
-
}
|
3420
|
-
if (sptr->family == ASIO_OS_DEF(AF_INET6))
|
3421
|
-
{
|
3422
|
-
rc = gai_aistruct(&ainext, &hints, &in6addr,
|
3423
|
-
ASIO_OS_DEF(AF_INET6));
|
3424
|
-
if (rc != 0)
|
3425
|
-
{
|
3426
|
-
freeaddrinfo_emulation(aihead);
|
3427
|
-
gai_free(canon);
|
3428
|
-
return rc;
|
3429
|
-
}
|
3430
|
-
}
|
3431
|
-
continue;
|
3432
|
-
}
|
3433
|
-
|
3434
|
-
// Look up hostname.
|
3435
|
-
hostent hent;
|
3436
|
-
char hbuf[8192] = "";
|
3437
|
-
hostent* hptr = socket_ops::gethostbyname(sptr->host,
|
3438
|
-
sptr->family, &hent, hbuf, sizeof(hbuf), hints.ai_flags, ec);
|
3439
|
-
if (hptr == 0)
|
3440
|
-
{
|
3441
|
-
if (search_count == 2)
|
3442
|
-
{
|
3443
|
-
// Failure is OK if there are multiple searches.
|
3444
|
-
continue;
|
3445
|
-
}
|
3446
|
-
freeaddrinfo_emulation(aihead);
|
3447
|
-
gai_free(canon);
|
3448
|
-
if (ec == asio::error::host_not_found)
|
3449
|
-
return EAI_NONAME;
|
3450
|
-
if (ec == asio::error::host_not_found_try_again)
|
3451
|
-
return EAI_AGAIN;
|
3452
|
-
if (ec == asio::error::no_recovery)
|
3453
|
-
return EAI_FAIL;
|
3454
|
-
if (ec == asio::error::no_data)
|
3455
|
-
return EAI_NONAME;
|
3456
|
-
return EAI_NONAME;
|
3457
|
-
}
|
3458
|
-
|
3459
|
-
// Check for address family mismatch if one was specified.
|
3460
|
-
if (hints.ai_family != ASIO_OS_DEF(AF_UNSPEC)
|
3461
|
-
&& hints.ai_family != hptr->h_addrtype)
|
3462
|
-
{
|
3463
|
-
freeaddrinfo_emulation(aihead);
|
3464
|
-
gai_free(canon);
|
3465
|
-
socket_ops::freehostent(hptr);
|
3466
|
-
return EAI_FAMILY;
|
3467
|
-
}
|
3468
|
-
|
3469
|
-
// Save canonical name first time.
|
3470
|
-
if (host != 0 && host[0] != '\0' && hptr->h_name && hptr->h_name[0]
|
3471
|
-
&& (hints.ai_flags & AI_CANONNAME) && canon == 0)
|
3472
|
-
{
|
3473
|
-
std::size_t canon_len = strlen(hptr->h_name) + 1;
|
3474
|
-
canon = gai_alloc<char>(canon_len);
|
3475
|
-
if (canon == 0)
|
3476
|
-
{
|
3477
|
-
freeaddrinfo_emulation(aihead);
|
3478
|
-
socket_ops::freehostent(hptr);
|
3479
|
-
return EAI_MEMORY;
|
3480
|
-
}
|
3481
|
-
gai_strcpy(canon, hptr->h_name, canon_len);
|
3482
|
-
}
|
3483
|
-
|
3484
|
-
// Create an addrinfo structure for each returned address.
|
3485
|
-
for (char** ap = hptr->h_addr_list; *ap; ++ap)
|
3486
|
-
{
|
3487
|
-
rc = gai_aistruct(&ainext, &hints, *ap, hptr->h_addrtype);
|
3488
|
-
if (rc != 0)
|
3489
|
-
{
|
3490
|
-
freeaddrinfo_emulation(aihead);
|
3491
|
-
gai_free(canon);
|
3492
|
-
socket_ops::freehostent(hptr);
|
3493
|
-
return EAI_FAMILY;
|
3494
|
-
}
|
3495
|
-
}
|
3496
|
-
|
3497
|
-
socket_ops::freehostent(hptr);
|
3498
|
-
}
|
3499
|
-
|
3500
|
-
// Check if we found anything.
|
3501
|
-
if (aihead == 0)
|
3502
|
-
{
|
3503
|
-
gai_free(canon);
|
3504
|
-
return EAI_NONAME;
|
3505
|
-
}
|
3506
|
-
|
3507
|
-
// Return canonical name in first entry.
|
3508
|
-
if (host != 0 && host[0] != '\0' && (hints.ai_flags & AI_CANONNAME))
|
3509
|
-
{
|
3510
|
-
if (canon)
|
3511
|
-
{
|
3512
|
-
aihead->ai_canonname = canon;
|
3513
|
-
canon = 0;
|
3514
|
-
}
|
3515
|
-
else
|
3516
|
-
{
|
3517
|
-
std::size_t canonname_len = strlen(search[0].host) + 1;
|
3518
|
-
aihead->ai_canonname = gai_alloc<char>(canonname_len);
|
3519
|
-
if (aihead->ai_canonname == 0)
|
3520
|
-
{
|
3521
|
-
freeaddrinfo_emulation(aihead);
|
3522
|
-
return EAI_MEMORY;
|
3523
|
-
}
|
3524
|
-
gai_strcpy(aihead->ai_canonname, search[0].host, canonname_len);
|
3525
|
-
}
|
3526
|
-
}
|
3527
|
-
gai_free(canon);
|
3528
|
-
|
3529
|
-
// Process the service name.
|
3530
|
-
if (service != 0 && service[0] != '\0')
|
3531
|
-
{
|
3532
|
-
rc = gai_serv(aihead, &hints, service);
|
3533
|
-
if (rc != 0)
|
3534
|
-
{
|
3535
|
-
freeaddrinfo_emulation(aihead);
|
3536
|
-
return rc;
|
3537
|
-
}
|
3538
|
-
}
|
3539
|
-
|
3540
|
-
// Return result to caller.
|
3541
|
-
*result = aihead;
|
3542
|
-
return 0;
|
3543
|
-
}
|
3544
|
-
|
3545
|
-
inline asio::error_code getnameinfo_emulation(
|
3546
|
-
const socket_addr_type* sa, std::size_t salen, char* host,
|
3547
|
-
std::size_t hostlen, char* serv, std::size_t servlen, int flags,
|
3548
|
-
asio::error_code& ec)
|
3549
|
-
{
|
3550
|
-
using namespace std;
|
3551
|
-
|
3552
|
-
const char* addr;
|
3553
|
-
size_t addr_len;
|
3554
|
-
unsigned short port;
|
3555
|
-
switch (sa->sa_family)
|
3556
|
-
{
|
3557
|
-
case ASIO_OS_DEF(AF_INET):
|
3558
|
-
if (salen != sizeof(sockaddr_in4_type))
|
3559
|
-
{
|
3560
|
-
return ec = asio::error::invalid_argument;
|
3561
|
-
}
|
3562
|
-
addr = reinterpret_cast<const char*>(
|
3563
|
-
&reinterpret_cast<const sockaddr_in4_type*>(sa)->sin_addr);
|
3564
|
-
addr_len = sizeof(in4_addr_type);
|
3565
|
-
port = reinterpret_cast<const sockaddr_in4_type*>(sa)->sin_port;
|
3566
|
-
break;
|
3567
|
-
case ASIO_OS_DEF(AF_INET6):
|
3568
|
-
if (salen != sizeof(sockaddr_in6_type))
|
3569
|
-
{
|
3570
|
-
return ec = asio::error::invalid_argument;
|
3571
|
-
}
|
3572
|
-
addr = reinterpret_cast<const char*>(
|
3573
|
-
&reinterpret_cast<const sockaddr_in6_type*>(sa)->sin6_addr);
|
3574
|
-
addr_len = sizeof(in6_addr_type);
|
3575
|
-
port = reinterpret_cast<const sockaddr_in6_type*>(sa)->sin6_port;
|
3576
|
-
break;
|
3577
|
-
default:
|
3578
|
-
return ec = asio::error::address_family_not_supported;
|
3579
|
-
}
|
3580
|
-
|
3581
|
-
if (host && hostlen > 0)
|
3582
|
-
{
|
3583
|
-
if (flags & NI_NUMERICHOST)
|
3584
|
-
{
|
3585
|
-
if (socket_ops::inet_ntop(sa->sa_family, addr, host, hostlen, 0, ec) == 0)
|
3586
|
-
{
|
3587
|
-
return ec;
|
3588
|
-
}
|
3589
|
-
}
|
3590
|
-
else
|
3591
|
-
{
|
3592
|
-
hostent hent;
|
3593
|
-
char hbuf[8192] = "";
|
3594
|
-
hostent* hptr = socket_ops::gethostbyaddr(addr,
|
3595
|
-
static_cast<int>(addr_len), sa->sa_family,
|
3596
|
-
&hent, hbuf, sizeof(hbuf), ec);
|
3597
|
-
if (hptr && hptr->h_name && hptr->h_name[0] != '\0')
|
3598
|
-
{
|
3599
|
-
if (flags & NI_NOFQDN)
|
3600
|
-
{
|
3601
|
-
char* dot = strchr(hptr->h_name, '.');
|
3602
|
-
if (dot)
|
3603
|
-
{
|
3604
|
-
*dot = 0;
|
3605
|
-
}
|
3606
|
-
}
|
3607
|
-
gai_strcpy(host, hptr->h_name, hostlen);
|
3608
|
-
socket_ops::freehostent(hptr);
|
3609
|
-
}
|
3610
|
-
else
|
3611
|
-
{
|
3612
|
-
socket_ops::freehostent(hptr);
|
3613
|
-
if (flags & NI_NAMEREQD)
|
3614
|
-
{
|
3615
|
-
return ec = asio::error::host_not_found;
|
3616
|
-
}
|
3617
|
-
if (socket_ops::inet_ntop(sa->sa_family,
|
3618
|
-
addr, host, hostlen, 0, ec) == 0)
|
3619
|
-
{
|
3620
|
-
return ec;
|
3621
|
-
}
|
3622
|
-
}
|
3623
|
-
}
|
3624
|
-
}
|
3625
|
-
|
3626
|
-
if (serv && servlen > 0)
|
3627
|
-
{
|
3628
|
-
if (flags & NI_NUMERICSERV)
|
3629
|
-
{
|
3630
|
-
if (servlen < 6)
|
3631
|
-
{
|
3632
|
-
return ec = asio::error::no_buffer_space;
|
3633
|
-
}
|
3634
|
-
#if defined(ASIO_HAS_SNPRINTF)
|
3635
|
-
snprintf(serv, servlen, "%u", ntohs(port));
|
3636
|
-
#elif defined(ASIO_HAS_SECURE_RTL)
|
3637
|
-
sprintf_s(serv, servlen, "%u", ntohs(port));
|
3638
|
-
#else // defined(ASIO_HAS_SECURE_RTL)
|
3639
|
-
sprintf(serv, "%u", ntohs(port));
|
3640
|
-
#endif // defined(ASIO_HAS_SECURE_RTL)
|
3641
|
-
}
|
3642
|
-
else
|
3643
|
-
{
|
3644
|
-
#if defined(ASIO_HAS_PTHREADS)
|
3645
|
-
static ::pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
|
3646
|
-
::pthread_mutex_lock(&mutex);
|
3647
|
-
#endif // defined(ASIO_HAS_PTHREADS)
|
3648
|
-
servent* sptr = ::getservbyport(port, (flags & NI_DGRAM) ? "udp" : 0);
|
3649
|
-
if (sptr && sptr->s_name && sptr->s_name[0] != '\0')
|
3650
|
-
{
|
3651
|
-
gai_strcpy(serv, sptr->s_name, servlen);
|
3652
|
-
}
|
3653
|
-
else
|
3654
|
-
{
|
3655
|
-
if (servlen < 6)
|
3656
|
-
{
|
3657
|
-
return ec = asio::error::no_buffer_space;
|
3658
|
-
}
|
3659
|
-
#if defined(ASIO_HAS_SNPRINTF)
|
3660
|
-
snprintf(serv, servlen, "%u", ntohs(port));
|
3661
|
-
#elif defined(ASIO_HAS_SECURE_RTL)
|
3662
|
-
sprintf_s(serv, servlen, "%u", ntohs(port));
|
3663
|
-
#else // defined(ASIO_HAS_SECURE_RTL)
|
3664
|
-
sprintf(serv, "%u", ntohs(port));
|
3665
|
-
#endif // defined(ASIO_HAS_SECURE_RTL)
|
3666
|
-
}
|
3667
|
-
#if defined(ASIO_HAS_PTHREADS)
|
3668
|
-
::pthread_mutex_unlock(&mutex);
|
3669
|
-
#endif // defined(ASIO_HAS_PTHREADS)
|
3670
|
-
}
|
3671
|
-
}
|
3672
|
-
|
3673
|
-
asio::error::clear(ec);
|
3674
|
-
return ec;
|
3675
|
-
}
|
3676
|
-
|
3677
|
-
#endif // !defined(ASIO_HAS_GETADDRINFO)
|
3678
|
-
|
3679
|
-
inline asio::error_code translate_addrinfo_error(int error)
|
3680
|
-
{
|
3681
|
-
switch (error)
|
3682
|
-
{
|
3683
|
-
case 0:
|
3684
|
-
return asio::error_code();
|
3685
|
-
case EAI_AGAIN:
|
3686
|
-
return asio::error::host_not_found_try_again;
|
3687
|
-
case EAI_BADFLAGS:
|
3688
|
-
return asio::error::invalid_argument;
|
3689
|
-
case EAI_FAIL:
|
3690
|
-
return asio::error::no_recovery;
|
3691
|
-
case EAI_FAMILY:
|
3692
|
-
return asio::error::address_family_not_supported;
|
3693
|
-
case EAI_MEMORY:
|
3694
|
-
return asio::error::no_memory;
|
3695
|
-
case EAI_NONAME:
|
3696
|
-
#if defined(EAI_ADDRFAMILY)
|
3697
|
-
case EAI_ADDRFAMILY:
|
3698
|
-
#endif
|
3699
|
-
#if defined(EAI_NODATA) && (EAI_NODATA != EAI_NONAME)
|
3700
|
-
case EAI_NODATA:
|
3701
|
-
#endif
|
3702
|
-
return asio::error::host_not_found;
|
3703
|
-
case EAI_SERVICE:
|
3704
|
-
return asio::error::service_not_found;
|
3705
|
-
case EAI_SOCKTYPE:
|
3706
|
-
return asio::error::socket_type_not_supported;
|
3707
|
-
default: // Possibly the non-portable EAI_SYSTEM.
|
3708
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
3709
|
-
return asio::error_code(
|
3710
|
-
WSAGetLastError(), asio::error::get_system_category());
|
3711
|
-
#else
|
3712
|
-
return asio::error_code(
|
3713
|
-
errno, asio::error::get_system_category());
|
3714
|
-
#endif
|
3715
|
-
}
|
3716
|
-
}
|
3717
|
-
|
3718
|
-
asio::error_code getaddrinfo(const char* host,
|
3719
|
-
const char* service, const addrinfo_type& hints,
|
3720
|
-
addrinfo_type** result, asio::error_code& ec)
|
3721
|
-
{
|
3722
|
-
host = (host && *host) ? host : 0;
|
3723
|
-
service = (service && *service) ? service : 0;
|
3724
|
-
clear_last_error();
|
3725
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
3726
|
-
# if defined(ASIO_HAS_GETADDRINFO)
|
3727
|
-
// Building for Windows XP, Windows Server 2003, or later.
|
3728
|
-
int error = ::getaddrinfo(host, service, &hints, result);
|
3729
|
-
return ec = translate_addrinfo_error(error);
|
3730
|
-
# else
|
3731
|
-
// Building for Windows 2000 or earlier.
|
3732
|
-
typedef int (WSAAPI *gai_t)(const char*,
|
3733
|
-
const char*, const addrinfo_type*, addrinfo_type**);
|
3734
|
-
if (HMODULE winsock_module = ::GetModuleHandleA("ws2_32"))
|
3735
|
-
{
|
3736
|
-
if (gai_t gai = (gai_t)::GetProcAddress(winsock_module, "getaddrinfo"))
|
3737
|
-
{
|
3738
|
-
int error = gai(host, service, &hints, result);
|
3739
|
-
return ec = translate_addrinfo_error(error);
|
3740
|
-
}
|
3741
|
-
}
|
3742
|
-
int error = getaddrinfo_emulation(host, service, &hints, result);
|
3743
|
-
return ec = translate_addrinfo_error(error);
|
3744
|
-
# endif
|
3745
|
-
#elif !defined(ASIO_HAS_GETADDRINFO)
|
3746
|
-
int error = getaddrinfo_emulation(host, service, &hints, result);
|
3747
|
-
return ec = translate_addrinfo_error(error);
|
3748
|
-
#else
|
3749
|
-
int error = ::getaddrinfo(host, service, &hints, result);
|
3750
|
-
#if defined(__MACH__) && defined(__APPLE__)
|
3751
|
-
using namespace std; // For isdigit and atoi.
|
3752
|
-
if (error == 0 && service && isdigit(static_cast<unsigned char>(service[0])))
|
3753
|
-
{
|
3754
|
-
u_short_type port = host_to_network_short(atoi(service));
|
3755
|
-
for (addrinfo_type* ai = *result; ai; ai = ai->ai_next)
|
3756
|
-
{
|
3757
|
-
switch (ai->ai_family)
|
3758
|
-
{
|
3759
|
-
case ASIO_OS_DEF(AF_INET):
|
3760
|
-
{
|
3761
|
-
sockaddr_in4_type* sinptr =
|
3762
|
-
reinterpret_cast<sockaddr_in4_type*>(ai->ai_addr);
|
3763
|
-
if (sinptr->sin_port == 0)
|
3764
|
-
sinptr->sin_port = port;
|
3765
|
-
break;
|
3766
|
-
}
|
3767
|
-
case ASIO_OS_DEF(AF_INET6):
|
3768
|
-
{
|
3769
|
-
sockaddr_in6_type* sin6ptr =
|
3770
|
-
reinterpret_cast<sockaddr_in6_type*>(ai->ai_addr);
|
3771
|
-
if (sin6ptr->sin6_port == 0)
|
3772
|
-
sin6ptr->sin6_port = port;
|
3773
|
-
break;
|
3774
|
-
}
|
3775
|
-
default:
|
3776
|
-
break;
|
3777
|
-
}
|
3778
|
-
}
|
3779
|
-
}
|
3780
|
-
#endif
|
3781
|
-
return ec = translate_addrinfo_error(error);
|
3782
|
-
#endif
|
3783
|
-
}
|
3784
|
-
|
3785
|
-
asio::error_code background_getaddrinfo(
|
3786
|
-
const weak_cancel_token_type& cancel_token, const char* host,
|
3787
|
-
const char* service, const addrinfo_type& hints,
|
3788
|
-
addrinfo_type** result, asio::error_code& ec)
|
3789
|
-
{
|
3790
|
-
if (cancel_token.expired())
|
3791
|
-
ec = asio::error::operation_aborted;
|
3792
|
-
else
|
3793
|
-
socket_ops::getaddrinfo(host, service, hints, result, ec);
|
3794
|
-
return ec;
|
3795
|
-
}
|
3796
|
-
|
3797
|
-
void freeaddrinfo(addrinfo_type* ai)
|
3798
|
-
{
|
3799
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
3800
|
-
# if defined(ASIO_HAS_GETADDRINFO)
|
3801
|
-
// Building for Windows XP, Windows Server 2003, or later.
|
3802
|
-
::freeaddrinfo(ai);
|
3803
|
-
# else
|
3804
|
-
// Building for Windows 2000 or earlier.
|
3805
|
-
typedef int (WSAAPI *fai_t)(addrinfo_type*);
|
3806
|
-
if (HMODULE winsock_module = ::GetModuleHandleA("ws2_32"))
|
3807
|
-
{
|
3808
|
-
if (fai_t fai = (fai_t)::GetProcAddress(winsock_module, "freeaddrinfo"))
|
3809
|
-
{
|
3810
|
-
fai(ai);
|
3811
|
-
return;
|
3812
|
-
}
|
3813
|
-
}
|
3814
|
-
freeaddrinfo_emulation(ai);
|
3815
|
-
# endif
|
3816
|
-
#elif !defined(ASIO_HAS_GETADDRINFO)
|
3817
|
-
freeaddrinfo_emulation(ai);
|
3818
|
-
#else
|
3819
|
-
::freeaddrinfo(ai);
|
3820
|
-
#endif
|
3821
|
-
}
|
3822
|
-
|
3823
|
-
asio::error_code getnameinfo(const void* addr,
|
3824
|
-
std::size_t addrlen, char* host, std::size_t hostlen,
|
3825
|
-
char* serv, std::size_t servlen, int flags, asio::error_code& ec)
|
3826
|
-
{
|
3827
|
-
#if defined(ASIO_WINDOWS) || defined(__CYGWIN__)
|
3828
|
-
# if defined(ASIO_HAS_GETADDRINFO)
|
3829
|
-
// Building for Windows XP, Windows Server 2003, or later.
|
3830
|
-
clear_last_error();
|
3831
|
-
int error = ::getnameinfo(static_cast<const socket_addr_type*>(addr),
|
3832
|
-
static_cast<socklen_t>(addrlen), host, static_cast<DWORD>(hostlen),
|
3833
|
-
serv, static_cast<DWORD>(servlen), flags);
|
3834
|
-
return ec = translate_addrinfo_error(error);
|
3835
|
-
# else
|
3836
|
-
// Building for Windows 2000 or earlier.
|
3837
|
-
typedef int (WSAAPI *gni_t)(const socket_addr_type*,
|
3838
|
-
int, char*, DWORD, char*, DWORD, int);
|
3839
|
-
if (HMODULE winsock_module = ::GetModuleHandleA("ws2_32"))
|
3840
|
-
{
|
3841
|
-
if (gni_t gni = (gni_t)::GetProcAddress(winsock_module, "getnameinfo"))
|
3842
|
-
{
|
3843
|
-
clear_last_error();
|
3844
|
-
int error = gni(static_cast<const socket_addr_type*>(addr),
|
3845
|
-
static_cast<int>(addrlen), host, static_cast<DWORD>(hostlen),
|
3846
|
-
serv, static_cast<DWORD>(servlen), flags);
|
3847
|
-
return ec = translate_addrinfo_error(error);
|
3848
|
-
}
|
3849
|
-
}
|
3850
|
-
clear_last_error();
|
3851
|
-
return getnameinfo_emulation(static_cast<const socket_addr_type*>(addr),
|
3852
|
-
addrlen, host, hostlen, serv, servlen, flags, ec);
|
3853
|
-
# endif
|
3854
|
-
#elif !defined(ASIO_HAS_GETADDRINFO)
|
3855
|
-
using namespace std; // For memcpy.
|
3856
|
-
sockaddr_storage_type tmp_addr;
|
3857
|
-
memcpy(&tmp_addr, addr, addrlen);
|
3858
|
-
addr = &tmp_addr;
|
3859
|
-
clear_last_error();
|
3860
|
-
return getnameinfo_emulation(static_cast<const socket_addr_type*>(addr),
|
3861
|
-
addrlen, host, hostlen, serv, servlen, flags, ec);
|
3862
|
-
#else
|
3863
|
-
clear_last_error();
|
3864
|
-
int error = ::getnameinfo(static_cast<const socket_addr_type*>(addr),
|
3865
|
-
addrlen, host, hostlen, serv, servlen, flags);
|
3866
|
-
return ec = translate_addrinfo_error(error);
|
3867
|
-
#endif
|
3868
|
-
}
|
3869
|
-
|
3870
|
-
asio::error_code sync_getnameinfo(const void* addr,
|
3871
|
-
std::size_t addrlen, char* host, std::size_t hostlen, char* serv,
|
3872
|
-
std::size_t servlen, int sock_type, asio::error_code& ec)
|
3873
|
-
{
|
3874
|
-
// First try resolving with the service name. If that fails try resolving
|
3875
|
-
// but allow the service to be returned as a number.
|
3876
|
-
int flags = (sock_type == SOCK_DGRAM) ? NI_DGRAM : 0;
|
3877
|
-
socket_ops::getnameinfo(addr, addrlen, host,
|
3878
|
-
hostlen, serv, servlen, flags, ec);
|
3879
|
-
if (ec)
|
3880
|
-
{
|
3881
|
-
socket_ops::getnameinfo(addr, addrlen, host, hostlen,
|
3882
|
-
serv, servlen, flags | NI_NUMERICSERV, ec);
|
3883
|
-
}
|
3884
|
-
|
3885
|
-
return ec;
|
3886
|
-
}
|
3887
|
-
|
3888
|
-
asio::error_code background_getnameinfo(
|
3889
|
-
const weak_cancel_token_type& cancel_token,
|
3890
|
-
const void* addr, std::size_t addrlen,
|
3891
|
-
char* host, std::size_t hostlen, char* serv,
|
3892
|
-
std::size_t servlen, int sock_type, asio::error_code& ec)
|
3893
|
-
{
|
3894
|
-
if (cancel_token.expired())
|
3895
|
-
{
|
3896
|
-
ec = asio::error::operation_aborted;
|
3897
|
-
}
|
3898
|
-
else
|
3899
|
-
{
|
3900
|
-
// First try resolving with the service name. If that fails try resolving
|
3901
|
-
// but allow the service to be returned as a number.
|
3902
|
-
int flags = (sock_type == SOCK_DGRAM) ? NI_DGRAM : 0;
|
3903
|
-
socket_ops::getnameinfo(addr, addrlen, host,
|
3904
|
-
hostlen, serv, servlen, flags, ec);
|
3905
|
-
if (ec)
|
3906
|
-
{
|
3907
|
-
socket_ops::getnameinfo(addr, addrlen, host, hostlen,
|
3908
|
-
serv, servlen, flags | NI_NUMERICSERV, ec);
|
3909
|
-
}
|
3910
|
-
}
|
3911
|
-
|
3912
|
-
return ec;
|
3913
|
-
}
|
3914
|
-
|
3915
|
-
#endif // !defined(ASIO_WINDOWS_RUNTIME)
|
3916
|
-
|
3917
|
-
u_long_type network_to_host_long(u_long_type value)
|
3918
|
-
{
|
3919
|
-
#if defined(ASIO_WINDOWS_RUNTIME)
|
3920
|
-
unsigned char* value_p = reinterpret_cast<unsigned char*>(&value);
|
3921
|
-
u_long_type result = (static_cast<u_long_type>(value_p[0]) << 24)
|
3922
|
-
| (static_cast<u_long_type>(value_p[1]) << 16)
|
3923
|
-
| (static_cast<u_long_type>(value_p[2]) << 8)
|
3924
|
-
| static_cast<u_long_type>(value_p[3]);
|
3925
|
-
return result;
|
3926
|
-
#else // defined(ASIO_WINDOWS_RUNTIME)
|
3927
|
-
return ntohl(value);
|
3928
|
-
#endif // defined(ASIO_WINDOWS_RUNTIME)
|
3929
|
-
}
|
3930
|
-
|
3931
|
-
u_long_type host_to_network_long(u_long_type value)
|
3932
|
-
{
|
3933
|
-
#if defined(ASIO_WINDOWS_RUNTIME)
|
3934
|
-
u_long_type result;
|
3935
|
-
unsigned char* result_p = reinterpret_cast<unsigned char*>(&result);
|
3936
|
-
result_p[0] = static_cast<unsigned char>((value >> 24) & 0xFF);
|
3937
|
-
result_p[1] = static_cast<unsigned char>((value >> 16) & 0xFF);
|
3938
|
-
result_p[2] = static_cast<unsigned char>((value >> 8) & 0xFF);
|
3939
|
-
result_p[3] = static_cast<unsigned char>(value & 0xFF);
|
3940
|
-
return result;
|
3941
|
-
#else // defined(ASIO_WINDOWS_RUNTIME)
|
3942
|
-
return htonl(value);
|
3943
|
-
#endif // defined(ASIO_WINDOWS_RUNTIME)
|
3944
|
-
}
|
3945
|
-
|
3946
|
-
u_short_type network_to_host_short(u_short_type value)
|
3947
|
-
{
|
3948
|
-
#if defined(ASIO_WINDOWS_RUNTIME)
|
3949
|
-
unsigned char* value_p = reinterpret_cast<unsigned char*>(&value);
|
3950
|
-
u_short_type result = (static_cast<u_short_type>(value_p[0]) << 8)
|
3951
|
-
| static_cast<u_short_type>(value_p[1]);
|
3952
|
-
return result;
|
3953
|
-
#else // defined(ASIO_WINDOWS_RUNTIME)
|
3954
|
-
return ntohs(value);
|
3955
|
-
#endif // defined(ASIO_WINDOWS_RUNTIME)
|
3956
|
-
}
|
3957
|
-
|
3958
|
-
u_short_type host_to_network_short(u_short_type value)
|
3959
|
-
{
|
3960
|
-
#if defined(ASIO_WINDOWS_RUNTIME)
|
3961
|
-
u_short_type result;
|
3962
|
-
unsigned char* result_p = reinterpret_cast<unsigned char*>(&result);
|
3963
|
-
result_p[0] = static_cast<unsigned char>((value >> 8) & 0xFF);
|
3964
|
-
result_p[1] = static_cast<unsigned char>(value & 0xFF);
|
3965
|
-
return result;
|
3966
|
-
#else // defined(ASIO_WINDOWS_RUNTIME)
|
3967
|
-
return htons(value);
|
3968
|
-
#endif // defined(ASIO_WINDOWS_RUNTIME)
|
3969
|
-
}
|
3970
|
-
|
3971
|
-
} // namespace socket_ops
|
3972
|
-
} // namespace detail
|
3973
|
-
} // namespace asio
|
3974
|
-
|
3975
|
-
#include "asio/detail/pop_options.hpp"
|
3976
|
-
|
3977
|
-
#endif // ASIO_DETAIL_SOCKET_OPS_IPP
|