Merged in TS fixes/unification (and other small changes) by Wouter Spruit

This commit is contained in:
Thulinma 2015-03-05 12:13:23 +01:00
parent bd012b3b35
commit 6a6a8915d2
4 changed files with 362 additions and 453 deletions

View file

@ -561,6 +561,7 @@ void HTTP::Parser::Chunkify(const char * data, unsigned int size, Socket::Connec
}else{
SetHeader("Content-Length", body.length());
SendResponse("200", "OK", conn);
Clean();
}
return;
}
@ -587,6 +588,7 @@ void HTTP::Parser::Chunkify(const char * data, unsigned int size, Socket::Connec
//close the connection if this was the end of the file
if (!size) {
conn.close();
Clean();
}
}
}