Some small DTSC and HTTP library fixes
This commit is contained in:
parent
bf8ddcb300
commit
224e3a3f0d
3 changed files with 95 additions and 17 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue