sockoutproxy params added

This commit is contained in:
orignal 2016-01-24 09:59:02 -05:00
parent f7e21dbe5c
commit 0c9ce6258c
4 changed files with 10 additions and 5 deletions

View file

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