最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

c++ - boost beast secure websocket server - determine TLS version of incoming connection - Stack Overflow

programmeradmin1浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论