mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
pass URL params
This commit is contained in:
parent
b15b38868d
commit
2e1e95d483
@ -122,6 +122,7 @@ namespace proxy
|
|||||||
m_address = url.host;
|
m_address = url.host;
|
||||||
m_port = url.port;
|
m_port = url.port;
|
||||||
m_path = url.path;
|
m_path = url.path;
|
||||||
|
if (url.query.length () > 0) m_path += "?" + url.query;
|
||||||
if (!m_port) m_port = 80;
|
if (!m_port) m_port = 80;
|
||||||
LogPrint(eLogDebug, "HTTPProxy: server: ", m_address, ", port: ", m_port, ", path: ", m_path);
|
LogPrint(eLogDebug, "HTTPProxy: server: ", m_address, ", port: ", m_port, ", path: ", m_path);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user