File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Release/src/http/listener Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -291,17 +291,10 @@ void connection::handle_http_line(const boost::system::error_code& ec)
291
291
return ;
292
292
}
293
293
294
- // Get the host part of the address.
295
- uri_builder builder;
296
- builder.set_scheme (" http" );
297
- builder.set_host (m_p_parent->m_host , true );
298
- builder.set_port (m_p_parent->m_port );
299
-
300
294
// Get the path - remove the version portion and prefix space
301
- builder.append_path (http_path_and_version.substr (1 , http_path_and_version.size () - VersionPortionSize - 1 ));
302
295
try
303
296
{
304
- m_request.set_request_uri (builder. to_uri ( ));
297
+ m_request.set_request_uri (http_path_and_version. substr ( 1 , http_path_and_version. size () - VersionPortionSize - 1 ));
305
298
}
306
299
catch (const uri_exception &e)
307
300
{
You can’t perform that action at this time.
0 commit comments