Home
last modified time | relevance | path

Searched refs:lmtime (Results 1 – 5 of 5) sorted by relevance

/lighttpd1.4/src/t/
H A Dtest_mod_staticfile.c41 test_http_response_send_file (request_st * const r, time_t lmtime) in test_http_response_send_file() argument
104 lmtime ? lmtime-1 : lmtime); in test_http_response_send_file()
112 lmtime_len = http_date_time_to_str(lmtime_str,sizeof(lmtime_str),lmtime); in test_http_response_send_file()
120 lmtime_len = http_date_time_to_str(lmtime_str,sizeof(lmtime_str),lmtime+1); in test_http_response_send_file()
175 lmtime ? lmtime-1 : lmtime); in test_http_response_send_file()
187 lmtime_len = http_date_time_to_str(lmtime_str,sizeof(lmtime_str),lmtime); in test_http_response_send_file()
211 lmtime ? lmtime-1 : lmtime); in test_http_response_send_file()
223 lmtime_len = http_date_time_to_str(lmtime_str,sizeof(lmtime_str),lmtime); in test_http_response_send_file()
/lighttpd1.4/src/
H A Dresponse.h51 const buffer * http_response_set_last_modified(request_st *r, unix_time64_t lmtime);
52 int http_response_handle_cachable(request_st *r, const buffer *lmod, unix_time64_t lmtime);
H A Dhttp_date.c281 const unix_time64_t lmtime) in http_date_if_modified_since() argument
288 return (lmtime > ifmtime); in http_date_if_modified_since()
290 return (TIME64_CAST(lmtime) > TIME64_CAST(ifmtime) || ifmtime==(time_t)-1); in http_date_if_modified_since()
H A Dhttp_date.h23 int http_date_if_modified_since (const char *ifmod, uint32_t ifmodlen, unix_time64_t lmtime);
H A Dhttp-header-glue.c174 const buffer * http_response_set_last_modified(request_st * const r, const unix_time64_t lmtime) { in http_response_set_last_modified() argument
178 buffer_copy_buffer(vb, strftime_cache_get(lmtime)); in http_response_set_last_modified()
191 …tp_response_handle_cachable(request_st * const r, const buffer *lmod, const unix_time64_t lmtime) { in http_response_handle_cachable() argument
231 || !http_date_if_modified_since(BUF_PTR_LEN(vb), lmtime)) { in http_response_handle_cachable()