Some small DTSC and HTTP library fixes

This commit is contained in:
Thulinma 2016-10-11 16:03:32 +02:00
parent bf8ddcb300
commit 224e3a3f0d
3 changed files with 95 additions and 17 deletions

View file

@ -696,7 +696,7 @@ void HTTP::Parser::Chunkify(const char * data, unsigned int size, Socket::Connec
if (sendingChunks) {
//prepend the chunk size and \r\n
if (!size){
conn.SendNow("0\r\n\r\n\r\n", 7);
conn.SendNow("0\r\n\r\n", 5);
}
size_t offset = 8;
unsigned int t_size = size;