handle NULL bytes in HTTP replies which could throw off our gross
header processing.
surf-wessels 1004> client -h www.hcs.ohio-state.edu -p 80 '/random.cgi$cover.rnd' | od -c 0000000 H T T P / 1 . 0 3 0 2 F o u 0000020 n d \r \n S e r v e r : R a n d 0000040 o m U R L / 1 \r \n L o c a t i o 0000060 n : h t t p : / / 1 4 0 . 2 5 0000100 4 . 8 4 . 2 0 0 / i m a g e s / 0000120 h c s / c o v e r / c d 1 8 3 6 0000140 - 3 2 . g i f \r \n \0 \r \n \r \n
- tmp modified icp detection algorithm: access log entries with hierarchy
field other than NONE are considered for icp. this change was done to increse
the number of icp queries.
- trying new algorithm to detect end-of-clean swap.state condition; this time
we account for cc updates that may interleave new(dirty) entries with old
(clean) ones.
- Add median service times to cachemgr 'info' page.
- Fixed DNS service time calculation -- the start time was set as
the *dispatch* time, not the *request* time, so it only measured
how long the dnsserver took to process, and did not account for
queueing delays.
- Fixed ICP svc time calculation -- start time was set way too
early, before DNS lookups!
rousskov [Mon, 30 Mar 1998 13:56:24 +0000 (13:56 +0000)]
- Added STRICT_HTTP_PARSER pp directive to control parsing of invalid but
commonly used HTTP formats. Currently the presense of "HTTP/" sequence in a
GET request is affected.
rousskov [Mon, 30 Mar 1998 03:02:43 +0000 (03:02 +0000)]
- Added cache_diff.c, a stand alone program that
- Computes the difference between the contents of two caches using
swap logs
- Reports the percentage of common files and other stats
wessels [Sun, 29 Mar 1998 15:50:56 +0000 (15:50 +0000)]
- fixed hash memory leaks from Proxy Auth ACL stuff
- Moved common hash list free routines to hashFreeItems()
- removed hash_insert() and hash_delete()
- renamed hash_unlink() to hash_remove_link() and removed 'freelink' arg
wessels [Sat, 28 Mar 1998 05:44:18 +0000 (05:44 +0000)]
Changed comm connect routines so that the timeout value and handler
are CLEARED when connection succeeds. This means all the connect
callback (CNCB) functions need to re-set the timeout handlers.
kostas [Wed, 25 Mar 1998 16:21:39 +0000 (16:21 +0000)]
- renovated mib and added descriptions and comments
- added hit and byte counters to client_db , for cacheClientTable
- cacheClientTable, netdbTable, cachePeerTable, cacheConnTable and
fqdnCacheTable are now indexed by ip address. hash_lookup was enhanced
to allow for subsequent hash_next's similar to hash_first-hash_next,
to speed up getnext's in tables which refer to hash-table structures.
- added generic (well, sorf of) table indexing functionality
- added makefile dependencies for snmplib and cache_snmp.h
- WaisHost, WaisPort, Timeouts removed
- FdTable split into FdTable and ConnTable. FdTable simplified
- PeerTable and PeerStat merged and put into new cacheMesh group
- cacheClientTable added for client statistics and accounting (cacheMesh 2)
- cacheSec and cacheAccounting groups removed
- fixed acl bug when communities not defined
- acl config now survives bad configuration (public is defined "implicitly")
wessels [Wed, 25 Mar 1998 12:30:54 +0000 (12:30 +0000)]
From: "Michael O'Reilly" <michael@metal.iinet.net.au>
#2. More importantly, comm_select_incoming is getting called WAY too
often on machines with lot of file handles. It's getting called when a
filehandle is tested, rather than when a handler is actually called
(no point in doing it per check, the check is _very_ cheap. The
handler may not be).