]> granicus.if.org Git - apache/commit
Fix FileETag None directive.
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 1 Sep 2002 18:31:30 +0000 (18:31 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 1 Sep 2002 18:31:30 +0000 (18:31 +0000)
commita85a3814b8b873bb1f94bfe8141362229f49683b
tree136a5a42bb6578732482f96d18191abb6e53b421
parent482115b5f2712ff232be9d507bdb0c212d9a4f9e
Fix FileETag None directive.

- Fix segfault on strlen computation on the empty string in vlv case
- If the etag is "", don't set the ETag header to be "" - leave the
  header NULL instead.

Andrew's patch would change ap_meets_condition to accept "", but Justin
thinks it would be better just to sidestep it all together and not set
ETag when it would be "".

PR: 12207
Submitted by: Andrew Ho <andrew@tellme.com>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96609 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/http/http_protocol.c