Index: squid/src/client_side.c diff -c squid/src/client_side.c:1.561.2.57 squid/src/client_side.c:1.561.2.58 *** squid/src/client_side.c:1.561.2.57 Sat Jul 17 10:12:16 2004 --- squid/src/client_side.c Sat Jul 17 10:15:31 2004 *************** *** 1584,1598 **** if (checkNegativeHit(e)) { http->log_type = LOG_TCP_NEGATIVE_HIT; clientSendMoreData(data, buf, size); - } else if (r->method == METHOD_HEAD) { - /* - * RFC 2068 seems to indicate there is no "conditional HEAD" - * request. We cannot validate a cached object for a HEAD - * request, nor can we return 304. - */ - if (e->mem_status == IN_MEMORY) - http->log_type = LOG_TCP_MEM_HIT; - clientSendMoreData(data, buf, size); } else if (!Config.onoff.offline && refreshCheckHTTP(e, r) && !http->flags.internal) { debug(33, 5) ("clientCacheHit: in refreshCheck() block\n"); /* --- 1584,1589 ----

AltStyle によって変換されたページ (->オリジナル) /