mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 04:37:50 +02:00
English corrections.
This commit is contained in:
parent
7c924e13d9
commit
dd88e13b95
23 changed files with 48 additions and 48 deletions
|
@ -26,7 +26,7 @@ namespace proxy
|
|||
GET_METHOD,
|
||||
GET_HOSTNAME,
|
||||
GET_HTTPV,
|
||||
GET_HTTPVNL, //TODO: fallback to finding HOst: header if needed
|
||||
GET_HTTPVNL, //TODO: fallback to finding Host: header if needed
|
||||
DONE
|
||||
};
|
||||
|
||||
|
@ -87,7 +87,7 @@ namespace proxy
|
|||
}
|
||||
|
||||
/* All hope is lost beyond this point */
|
||||
//TODO: handle this apropriately
|
||||
//TODO: handle this appropriately
|
||||
void HTTPProxyHandler::HTTPRequestFailed(/*HTTPProxyHandler::errTypes error*/)
|
||||
{
|
||||
static std::string response = "HTTP/1.0 500 Internal Server Error\r\nContent-type: text/html\r\nContent-length: 0\r\n";
|
||||
|
@ -185,7 +185,7 @@ namespace proxy
|
|||
assert(len); // This should always be called with a least a byte left to parse
|
||||
while (len > 0)
|
||||
{
|
||||
//TODO: fallback to finding HOst: header if needed
|
||||
//TODO: fallback to finding Host: header if needed
|
||||
switch (m_state)
|
||||
{
|
||||
case GET_METHOD:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue