mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
* fix mistype
This commit is contained in:
parent
aa764fbd1c
commit
e50c35d38c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue