~ubuntu-branches/ubuntu/hardy/lighttpd/hardy

« back to all changes in this revision

Viewing changes to src/stat_cache.c

  • Committer: Bazaar Package Importer
  • Author(s): Michele Angrisano
  • Date: 2007-07-28 20:33:22 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20070728203322-ut5ym6udh0xjxkma
Tags: 1.4.16-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add fam/gamin stat cache engine support.
  - Replace Depends: on perl with Depends: on libterm-readline-perl-perl.
  - Make sure that upgrades succeed, even if we can't restart lighttpd.
  - Clean environment in init.d script.
  - Update maintainer field in debian/control.

Show diffs side-by-side

added added

removed removed

Lines of Context:
608
608
                                break;
609
609
                        }
610
610
                }
611
 
                etag_create(sce->etag, &(sce->st));
 
611
                etag_create(sce->etag, &(sce->st), con->etag_flags);
612
612
#ifdef HAVE_XATTR
613
 
                if (buffer_is_empty(sce->content_type)) {
 
613
                if (con->conf.use_xattr && buffer_is_empty(sce->content_type)) {
614
614
                        stat_cache_attr_get(sce->content_type, name->ptr);
615
615
                }
616
616
#endif
617
617
        } else if (S_ISDIR(st.st_mode)) {
618
 
                etag_create(sce->etag, &(sce->st));
 
618
                etag_create(sce->etag, &(sce->st), con->etag_flags);
619
619
        }
620
620
 
621
621
#ifdef HAVE_FAM_H