Browse Source

* fix mistype

pull/509/merge
hagen 9 years ago
parent
commit
e50c35d38c
  1. 2
      HTTPProxy.cpp

2
HTTPProxy.cpp

@ -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);

Loading…
Cancel
Save