You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7bbebc7
Browse filesBrowse the repository at this point in the historyBrowse files
fix: four production bugs surfaced by the coverage push
- socket_option: IP_MULTICAST_LOOP and IP_MULTICAST_TTL are u_char options
on BSD-derived kernels; the previous int storage caused setsockopt to
return EINVAL on macOS. Add byte_boolean_option / byte_integer_option
(public ABI) and byte_boolean<> / byte_integer<> (native templates)
with single-byte storage; rebase multicast_loop_v4 and multicast_hops_v4
onto them. IPv6 variants are unaffected.
- native_local_datagram_socket: include of the deleted IOCP datagram
service was reachable in any IOCP build. Wrap the whole header in
BOOST_COROSIO_POSIX to mirror local_datagram_socket.hpp.
- posix_resolver_service and win_resolver_service: replace
make_service<thread_pool>() with use_service<thread_pool>(). The
original call threw 'invalid argument' whenever
io_context_options.thread_pool_size != 1 because pre_create_services
had already constructed the pool with non-default args.
- iocp wait_reactor and tcp_acceptor_service: resolve a pre-cancelled
stop_token race in wait() and accept() paths that caused tests to
hang on Windows IOCP under specific completion orderings.
0 commit comments