SSL tunnel with Boost::Beast
问题 I want to connect to a proxy server that only allows HTTP connections, to speak with the target server by HTTPS. The proxy server documentation states that the only way to do that is by means of the HTTP Connect verb (they are planning to add direct HTTPS connections to the proxy server itself, but for the moment only HTTP connections are allowed). In my C++ program, I successfully connected and worked with the target server using ssl_stream 's during a couple of months, using boost::asio