I’m running boost 1_74
and have found some behavior that is not described in the docs. With a call like:
http::async_read(*socket, data, request, read_handler);
where request
is a boost::beast::http::request<boost::beast::http::string_body>
, I’ve noted that the target string will always be empty when a malformed HTTP request is read.
Can this behavior be relied upon in the read_handler
?