Don't allow speculative reads when message_out_of_band is specified.
diff --git a/asio/include/asio/detail/reactive_socket_service.hpp b/asio/include/asio/detail/reactive_socket_service.hpp index 1db0e65..20bd512 100644 --- a/asio/include/asio/detail/reactive_socket_service.hpp +++ b/asio/include/asio/detail/reactive_socket_service.hpp
@@ -1069,7 +1069,7 @@ start_op(impl, (flags & socket_base::message_out_of_band) ? reactor::except_op : reactor::read_op, - ptr.get(), true, + ptr.get(), (flags & socket_base::message_out_of_band) == 0, (impl.protocol_.type() == SOCK_STREAM && buffer_sequence_adapter<asio::mutable_buffer, MutableBufferSequence>::all_empty(buffers)));