enhanced httpd to support if-modified-since

This commit is contained in:
2012-09-14 16:18:35 +00:00
parent 7466287f93
commit 2179c2a88b
5 changed files with 147 additions and 45 deletions

View File

@ -64,6 +64,8 @@
(((qse_ntime_t)(sec) * QSE_MSECS_PER_SEC) + ((qse_ntime_t)(nsec) / QSE_NSECS_PER_MSEC))
#define QSE_SEC_TO_MSEC(sec) ((sec) * QSE_MSECS_PER_SEC)
#define QSE_MSEC_TO_SEC(sec) ((sec) / QSE_MSECS_PER_SEC)
/**
* The qse_ntime_t type defines a numeric time type expressed in the
* number of milliseconds since the Epoch (00:00:00 UTC, Jan 1, 1970).

View File

@ -180,12 +180,10 @@ int qse_parsehttprange (
qse_http_range_t* range
);
/*
int qse_parsehttptime (
const qse_mchar_t* str,
qse_ntime_t* t
qse_ntime_t* nt
);
*/
qse_mchar_t* qse_fmthttptime (
qse_ntime_t nt,