- do not use xattr for content-type handling unconditionally
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@1863 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.16
parent
450c7de76e
commit
6e332dd7bb
|
@ -610,7 +610,7 @@ handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_
|
|||
}
|
||||
etag_create(sce->etag, &(sce->st));
|
||||
#ifdef HAVE_XATTR
|
||||
if (buffer_is_empty(sce->content_type)) {
|
||||
if (con->conf.use_xattr && buffer_is_empty(sce->content_type)) {
|
||||
stat_cache_attr_get(sce->content_type, name->ptr);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue