mirror of
https://github.com/apache/httpd.git
synced 2026-10-23 22:49:01 +03:00
"[mod_dav_fs etag handling] should really honor the FileETag setting". - It now does. - Add "Digest" to FileETag directive, allowing a strong ETag to be generated using a file digest. - Add ap_make_etag_ex() and ap_set_etag_fd() to allow full control over ETag generation. - Add concept of "binary notes" to request_rec, allowing packed bit flags to be added to a request. - First binary note - AP_REQUEST_STRONG_ETAG - allows modules to force the ETag to a strong ETag to comply with RFC requirements, such as those mandated by various WebDAV extensions. Be defensive when the request is missing. Remove tabs. Use a dedicated constant for the base64 sha1 length. Be defensive when calculating the digest. Make sure the offset is initialised to zero before reading the current offset. Seek to the start of the file when calculating the ETag. Add log numbers to util_etag.c. Add MMAP support to ETag generation. Use a brigade instead of direct reads, allow APR to handle MMAP. Bump the logno. Submitted by: minfrin Reviewed by: minfrin, jim, ylavic git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1887384 13f79535-47bb-0310-9956-ffa450edef68
test modules have moved to httpd-test/perl-framework/c-modules