admin管理员组

文章数量:1415460

I have a secure websocket server written with Boost Beast. A significant portion of the connection code is documented here. I need to extend the code to make a runtime decision on whether the incoming connection is using TLSv1.3 or older (both are valid, but the server needs to have different runtime behavior). Where is the right place to do so?

Is it something on the boost::asio::ip::tcp::acceptor? Perhaps it is accessible from boost::beast::websocket::stream<boost::beast::ssl_stream<boost::beast::tcp_stream>>? Somehwere else?

本文标签: cboost beast secure websocket serverdetermine TLS version of incoming connectionStack Overflow