mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-11 12:04:10 +00:00
lt sync 2995 - add port number of host field in http requests
This commit is contained in:
parent
403d71fdbb
commit
a55901c87a
@ -100,7 +100,7 @@ void http_connection::get(std::string const& url, time_duration timeout, int pri
|
||||
else
|
||||
{
|
||||
headers << "GET " << path << " HTTP/1.0\r\n"
|
||||
"Host:" << hostname << "\r\n";
|
||||
"Host:" << hostname << ":" << port << "\r\n";
|
||||
}
|
||||
|
||||
if (!auth.empty())
|
||||
|
Loading…
x
Reference in New Issue
Block a user