added a state field to htrd for determining if it's waiting for more feeds.
enhanced how it can determine client's half-close changed how to compose cgi environment variables fixed a few bugs for various edge cases.
This commit is contained in:
@ -97,6 +97,7 @@ struct qse_htrd_t
|
||||
} fed;
|
||||
|
||||
qse_htre_t re;
|
||||
int clean;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -59,7 +59,8 @@ typedef enum qse_httpd_errnum_t qse_httpd_errnum_t;
|
||||
enum qse_httpd_option_t
|
||||
{
|
||||
QSE_HTTPD_CGIERRTONUL = (1 << 0),
|
||||
QSE_HTTPD_CGINOCLOEXEC = (1 << 1)
|
||||
QSE_HTTPD_CGINOCLOEXEC = (1 << 1),
|
||||
QSE_HTTPD_CGINOCHUNKED = (1 << 2)
|
||||
};
|
||||
|
||||
typedef struct qse_httpd_stat_t qse_httpd_stat_t;
|
||||
|
Reference in New Issue
Block a user