added code to handle a chunked request

This commit is contained in:
2010-11-25 07:53:55 +00:00
parent d4f7ac1ca9
commit c03b2467af
2 changed files with 173 additions and 12 deletions

View File

@ -43,6 +43,13 @@ struct qse_http_t
int crlf; /* crlf status */
qse_size_t plen; /* raw request length excluding crlf */
qse_size_t need; /* number of octets needed for contents */
struct
{
qse_size_t len;
qse_size_t count;
int phase;
} chunk;
} state;
struct