mirror of
https://github.com/boostorg/mqtt5.git
synced 2025-11-06 10:51:37 +01:00
Open and set socket options on the lowest layer before initiating connect_op
Summary: related to T13767 Reviewers: ivica Reviewed By: ivica Subscribers: miljen, iljazovic Differential Revision: https://repo.mireo.local/D28111
This commit is contained in:
@@ -143,7 +143,7 @@ public:
|
||||
if (ec == asio::error::host_not_found)
|
||||
return complete(asio::error::no_recovery);
|
||||
|
||||
auto sptr = _owner.construct_next_layer();
|
||||
auto sptr = _owner.construct_and_open_next_layer();
|
||||
|
||||
if constexpr (has_tls_context<typename Owner::stream_context_type>)
|
||||
setup_tls_sni(
|
||||
|
||||
Reference in New Issue
Block a user