mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
sockoutproxy params added
This commit is contained in:
parent
f7e21dbe5c
commit
0c9ce6258c
4 changed files with 10 additions and 5 deletions
|
@ -182,7 +182,8 @@ namespace proxy
|
|||
|
||||
bool HTTPProxyHandler::HandleData(uint8_t *http_buff, std::size_t len)
|
||||
{
|
||||
assert(len); // This should always be called with a least a byte left to parse
|
||||
// TODO: we should srtrip 'Referer' better, because it might be inside message body
|
||||
/*assert(len); // This should always be called with a least a byte left to parse
|
||||
|
||||
// remove "Referer" from http requst
|
||||
http_buff[len] = 0;
|
||||
|
@ -195,7 +196,7 @@ namespace proxy
|
|||
strncpy(start, end, (char *)(http_buff + len) - end);
|
||||
len -= (end - start);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
while (len > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue