rousskov [Wed, 4 Mar 1998 12:39:27 +0000 (12:39 +0000)]
- httpHeaderGet() is no longer public. This allows us to change internal
representation of header fields without danger of somebody still using the
wrong type.
- added missing httpHeaderGetInt().
rousskov [Tue, 3 Mar 1998 23:21:26 +0000 (23:21 +0000)]
- Config.mem_pools were used where Config.MemPools.limit should be. Fixed.
- Adjusted "doc" section for mem_pools_limit to reflect current implementation.
rousskov [Tue, 3 Mar 1998 07:30:54 +0000 (07:30 +0000)]
- Added "mem_pools_limit" configuration option. Semantics of
"mem_pools" option has also changed a bit to reflect new memory
management policy.
- Reorganized memory pools. Squid now allocates memory in big chunks
and distributes that memory among "frequently allocated" objects.
- memAllocate() has now only one parameter. Objects are always reset
with 0s.
- HttpHeader.c: fixed warnings generated by some compilers on member to union
conversions. Tested using DEC cc only.
- cachmgr.c now tries to interpret strings containing '\t' as table rows and
format them using html table attributes.
kostas [Thu, 26 Feb 1998 16:01:10 +0000 (16:01 +0000)]
Reorganized cachePerf.cacheProtoStats to cacheProtoAggregateStats and
cacheMedianSvcTable, which is a table who's row represents the minutes
of history used for medians.
Fixed cacheTimeout bug which returned cacheLogLevel
Fixed netdb, ipcache and fqdn returning wrong "timeticks"
Fixed cacheUptime to return SMI_TIMETICS.
Several memory allocation fixes (used dmalloc-3.3 to find them).
rousskov [Thu, 26 Feb 1998 06:56:51 +0000 (06:56 +0000)]
- Fixed(?) time-tick bug in stat.c. StatCounters where copied in a wrong way
resulting in using the same set of pointers in two objects.
- Added Squid "signature" to all ERR_ pages. The signature is hard-
-coded and is added on-the-fly. The signature may use %-escapes.
Added interface to add more hard-coded responses if needed (see
errorpage.c::error_hard_text).
- Both default and configured directories are searched for ERR_ pages
now. Configured directory is, of course, searched first. This allows
you to customize a subset of ERR_ pages (in a separate directory)
without danger of getting other copies out of sync.
wessels [Wed, 25 Feb 1998 04:17:01 +0000 (04:17 +0000)]
- Added more bytes in/out and service time tracking. There is one pair
of byte counters for the server-side (http,ftp,gopher,wais,ssl,pass).
- Also separately track cache hits, misses, and not-modified replies.
- Try to track ICP query service time, but this may not be implemented
right.
- Removed '60min' average, now we have 5 minutes max
wessels [Tue, 24 Feb 1998 23:39:22 +0000 (23:39 +0000)]
From: "Michael O'Reilly" <michael@metal.iinet.net.au>
so I've added the patch below, which checks the make sure the write
request really does match the data passed back from the async IO
call.
note that I haven't actually rebooted with this patch yet, so
'provisional' is an understatement.
rousskov [Mon, 23 Feb 1998 20:03:01 +0000 (20:03 +0000)]
- Cache Manager got new Web interface (cachemgr.cgi). New .cgi script forwards
basic authentication from browser to squid. Cachemgr.cgi now recognizes
"action protection" types described below.
- Added better recognition of available protection for actions in Cache
Manager. Actions are classified as "public" (no password needed),
"protected" (must specify a valid password), "disabled" (those with a
"disable" password in squid.conf), and "hidden" (actions that require a
password, but do not have corresponding cachemgr_passwd entry in squid.conf).