Lines Matching refs:sce

161 	stat_cache_entry *sce = NULL;  in http_response_parse_range()  local
164 if (HANDLER_ERROR == stat_cache_get_entry(srv, con, con->physical.path, &sce)) { in http_response_parse_range()
169 end = sce->st.st_size - 1; in http_response_parse_range()
196 end = sce->st.st_size - 1; in http_response_parse_range()
197 start = sce->st.st_size + le; in http_response_parse_range()
202 end = sce->st.st_size - 1; in http_response_parse_range()
203 start = sce->st.st_size + le; in http_response_parse_range()
219 end = sce->st.st_size - 1; in http_response_parse_range()
226 end = sce->st.st_size - 1; in http_response_parse_range()
276 if (end > sce->st.st_size - 1) end = sce->st.st_size - 1; in http_response_parse_range()
278 if (start > sce->st.st_size - 1) { in http_response_parse_range()
301 buffer_append_off_t(b, sce->st.st_size); in http_response_parse_range()
348 buffer_append_off_t(p->range_buf, sce->st.st_size); in http_response_parse_range()
360 stat_cache_entry *sce = NULL; in URIHANDLER_FUNC() local
411 if (HANDLER_ERROR == stat_cache_get_entry(srv, con, con->physical.path, &sce)) { in URIHANDLER_FUNC()
423 if ((sce->is_symlink == 1) && !con->conf.follow_symlink) { in URIHANDLER_FUNC()
435 if (!S_ISREG(sce->st.st_mode)) { in URIHANDLER_FUNC()
441 "->", sce->name); in URIHANDLER_FUNC()
452 if (buffer_is_empty(sce->content_type)) { in URIHANDLER_FUNC()
463 …response_header_overwrite(srv, con, CONST_STR_LEN("Content-Type"), CONST_BUF_LEN(sce->content_type… in URIHANDLER_FUNC()
472 if (p->conf.etags_used && con->etag_flags != 0 && !buffer_is_empty(sce->etag)) { in URIHANDLER_FUNC()
475 etag_mutate(con->physical.etag, sce->etag); in URIHANDLER_FUNC()
483 mtime = strftime_cache_get(srv, sce->st.st_mtime); in URIHANDLER_FUNC()
539 http_chunk_append_file(srv, con, con->physical.path, 0, sce->st.st_size); in URIHANDLER_FUNC()