Merged in TS fixes/unification (and other small changes) by Wouter Spruit
This commit is contained in:
parent
bd012b3b35
commit
6a6a8915d2
4 changed files with 362 additions and 453 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue