mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
* fix mistype
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user