added code to handle content-length > 0

This commit is contained in:
2010-11-15 07:54:03 +00:00
parent b7c4acf78e
commit d4f7ac1ca9
2 changed files with 106 additions and 84 deletions

View File

@ -40,15 +40,15 @@ struct qse_http_t
struct
{
/*qse_size_t pending;*/
int crlf; /* crlf status */
qse_size_t plen; /* raw request length excluding crlf */
qse_size_t need; /* number of octets needed for contents */
} state;
struct
{
qse_http_octb_t raw;
qse_http_octb_t con;
enum
{