mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
lt sync 2995 - add port number of host field in http requests
This commit is contained in:
parent
cfec86be75
commit
14e34c8f03
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue