mod_mem_cache sends back HTTP 304 incorrectly?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I'm having a problem with mod_mem_cache in Apache 2.0.58 where Apache
is sending back  HTTP 304 incorrectly.  This seems to happen
intermittently, about 1/8 requests if I hammer away on my server.

Here's my trace from wget - as you can see, there's no
If--Modified-Since or Etag header included, but the server spits back
a 304.

---request begin---
GET /static/yui/fonts/fonts.css HTTP/1.0
User-Agent: Wget/1.10.2
Accept: */*
Host: www.monkeybeanonline.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.0 304 Not Modified
Date: Sun, 10 Dec 2006 03:38:51 GMT
Server: Apache
Connection: close
ETag: "8648-31f-f3329680"
Expires: Sun, 10 Dec 2006 03:43:51 GMT
Cache-Control: max-age=300

---response end---
304 Not Modified
Closed fd 3
22:38:51 ERROR 304: Not Modified.

---------------

My Apache is compiled directly from source on Solaris 10 x86 using the
following command options:

./configure --prefix=/opt/apache/2.0.58 --enable-dir --enable-cache
--enable-disk-cache --enable-mem-cache --enable-deflate
--enable-security --enable-mods-shared=all file_cache cache deflat
logio proxy proxy_http proxy_connect ssl --with-mpm=prefork

Once I disable mod_mem_cache I no longer get the problem.

Has anyone else seen this behavior?

vic

--
"Never attribute to malice that which can be adequately explained by
stupidity."  - Hanlon's Razor

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux