Fixed 'host' HTTP header not being sent

This commit is contained in:
Fred Nicolson
2016-12-11 15:14:23 +00:00
parent 98897dec02
commit 3b890972d1
7 changed files with 19 additions and 11 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ namespace fr
Socket::Status HttpSocket::send(const Http &request)
{
std::string data = request.construct();
std::string data = request.construct(remote_address);
return send_raw(&data[0], data.size());
}
}