John Line (as web server manager) wrote:
> It is not (or should not be) something as simple as "server didn't
> send content type", as Squid normally logs "unknown" in that case
> (judging by other log entries).
It is. If the server sends a blank content-type then a blank field is
logged..
> Anyone else seen this? Anyone worked out why it happens or how to fix it?
diff -u -w -r1.1.1.5 store_log.c
--- store_log.c 1998/07/23 20:38:02 1.1.1.5
+++ store_log.c 1999/02/27 12:48:57
@@ -71,7 +71,7 @@
(int) reply->date,
(int) reply->last_modified,
(int) reply->expires,
- strBuf(reply->content_type) ? strBuf(reply->content_type) : "unknown",
+ strLen(reply->content_type) ? strBuf(reply->content_type) : "unknown",
reply->content_length,
(int) (mem->inmem_hi - mem->reply->hdr_sz),
RequestMethodStr[mem->method],
--- Henrik Nordstrom Spare time Squid hackerReceived on Sat Feb 27 1999 - 19:07:44 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:47 MST