Hello,

You can find further details on the problem in the report I filed in Bug
12202 (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12202). The short
summary is that if FileETag is set to None, any HTTP request with an
If-None-Match header will result incorrectly in a 304 Not Modified
response from Apache 1.3.

I have attached a simple patch which fixes this.

Humbly,

Andrew

----------------------------------------------------------------------
Andrew Ho               http://www.tellme.com/       [EMAIL PROTECTED]
Engineer                   [EMAIL PROTECTED]          Voice 650-930-9062
Tellme Networks, Inc.       1-800-555-TELL            Fax 650-930-9101
----------------------------------------------------------------------
--- http_protocol.c.orig        Fri Aug 30 22:52:19 2002
+++ http_protocol.c     Fri Aug 30 22:48:16 2002
@@ -610,7 +610,7 @@
         if (r->method_number == M_GET) {
             if (if_nonematch[0] == '*')
                 return HTTP_NOT_MODIFIED;
-            if (etag != NULL) {
+            if (etag != NULL && *etag) {    /* ETag can be "" */
                 if (ap_table_get(r->headers_in, "Range")) {
                     if (etag[0] != 'W' &&
                         ap_find_list_item(r->pool, if_nonematch, etag)) {

Reply via email to