Browse Source

removed extra lines

pull/335/head
xcps 9 years ago
parent
commit
939c28b74b
  1. 2
      HTTPProxy.cpp

2
HTTPProxy.cpp

@ -184,7 +184,6 @@ namespace proxy
{ {
assert(len); // This should always be called with a least a byte left to parse assert(len); // This should always be called with a least a byte left to parse
// remove "Referer" from http requst // remove "Referer" from http requst
http_buff[len] = '\0'; http_buff[len] = '\0';
char *start = strstr((char *)http_buff, "\nReferer:"); char *start = strstr((char *)http_buff, "\nReferer:");
@ -195,7 +194,6 @@ namespace proxy
len = len - (end - start); len = len - (end - start);
} }
while (len > 0) while (len > 0)
{ {
//TODO: fallback to finding HOst: header if needed //TODO: fallback to finding HOst: header if needed

Loading…
Cancel
Save