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
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::system::system_error >'
what(): set_option: Bad file descriptor
Aborted (core dumped)
Am I misreading the documentation? It seems the only way to initialize this option is to store the socket pointer somewhere and do this in the connect callback (which works, tested).
The text was updated successfully, but these errors were encountered:
Websocketpp Version: Current development branch, head.
When using the websocketpp::config::asio_tls_client and handle_socket_init with something like:
void T::handle_socket_init(Connection, boost::asio::ssl::streamboost::asio::ip::tcp::socket& socket) {
boost::asio::ip::tcp::no_delay n(true);
socket.lowest_layer().set_option(n);
}
This gives:
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::system::system_error >'
what(): set_option: Bad file descriptor
Aborted (core dumped)
Am I misreading the documentation? It seems the only way to initialize this option is to store the socket pointer somewhere and do this in the connect callback (which works, tested).
The text was updated successfully, but these errors were encountered: