Skip to content

Commit 5ac04f5

Browse files
committed
Removing a copy of the request in the connection helper.
1 parent fad2d06 commit 5ac04f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/detail/connection_helper.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ namespace boost { namespace network { namespace http { namespace detail {
2121

2222
typedef typename string<Tag>::type string_type;
2323

24-
void create_request(boost::asio::streambuf & request_buffer, string_type const & method, basic_request<typename sync_only<Tag>::type> request_) const {
24+
void create_request(boost::asio::streambuf & request_buffer, string_type const & method, basic_request<typename sync_only<Tag>::type> const & request_) const {
2525
// TODO make this use Boost.Karma instead of an ad-hoc implementation
2626
std::ostream request_stream(&request_buffer);
2727

0 commit comments

Comments
 (0)