* fix mistype

This commit is contained in:
hagen 2016-06-03 00:00:00 +00:00
parent aa764fbd1c
commit e50c35d38c

View file

@ -191,7 +191,7 @@ namespace proxy {
SanitizeHTTPRequest(req); SanitizeHTTPRequest(req);
std::string dest_host = url.host; std::string dest_host = url.host;
uint16_t dest_host = url.port; uint16_t dest_port = url.port;
/* convert proxy-style http req to ordinary one: */ /* convert proxy-style http req to ordinary one: */
/* 1) replace Host header, 2) make relative url */ /* 1) replace Host header, 2) make relative url */
req.add_header("Host", url.host, true); req.add_header("Host", url.host, true);