]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years ago- Increased debugging level in "left dirty" pools report.
rousskov [Thu, 2 Apr 1998 07:22:00 +0000 (07:22 +0000)] 
- Increased debugging level in "left dirty" pools report.

27 years agohandle NULL bytes in HTTP replies which could throw off our gross
wessels [Thu, 2 Apr 1998 04:23:01 +0000 (04:23 +0000)] 
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

27 years agoFixed off_t/int malloc bug!!
wessels [Thu, 2 Apr 1998 02:39:18 +0000 (02:39 +0000)] 
Fixed off_t/int malloc bug!!

27 years ago- bug fixes
rousskov [Thu, 2 Apr 1998 01:02:19 +0000 (01:02 +0000)] 
- bug fixes

27 years ago- tmp modified icp detection algorithm: access log entries with hierarchy
rousskov [Thu, 2 Apr 1998 00:53:59 +0000 (00:53 +0000)] 
- 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.

27 years agorequire both start and stop to be non-zero for ICP query svc time counting
wessels [Thu, 2 Apr 1998 00:24:09 +0000 (00:24 +0000)] 
require both start and stop to be non-zero for ICP query svc time counting

27 years ago- trying new algorithm to detect end-of-clean swap.state condition; this time
rousskov [Wed, 1 Apr 1998 15:15:45 +0000 (15:15 +0000)] 
- 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.

27 years ago- Added assertion to double check the end of clean logs
rousskov [Wed, 1 Apr 1998 14:25:47 +0000 (14:25 +0000)] 
- Added assertion to double check the end of clean logs

27 years ago- removed paranoid Test() assertion to CacheDigest.c::cacheDigestAdd()
rousskov [Wed, 1 Apr 1998 14:14:05 +0000 (14:14 +0000)] 
- removed paranoid Test() assertion to CacheDigest.c::cacheDigestAdd()
- added stats on deletions from a cache digest

27 years ago- fixed digest size report
rousskov [Wed, 1 Apr 1998 14:07:16 +0000 (14:07 +0000)] 
- fixed digest size report
- added paranoid Test() assertion to CacheDigest.c::cacheDigestAdd()

27 years ago- better stats
rousskov [Wed, 1 Apr 1998 13:22:03 +0000 (13:22 +0000)] 
- better stats
- minor fixes

27 years ago- Add median service times to cachemgr 'info' page.
wessels [Wed, 1 Apr 1998 12:38:55 +0000 (12:38 +0000)] 
- 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!

27 years ago- access.log start time is now synced with swap.state start time
rousskov [Wed, 1 Apr 1998 12:02:21 +0000 (12:02 +0000)] 
- access.log start time is now synced with swap.state start time

27 years agodlinkAddTail
wessels [Wed, 1 Apr 1998 11:42:50 +0000 (11:42 +0000)] 
dlinkAddTail

27 years agomove RELEASE_REQUEST entries to the LRU list TAIL so they get
wessels [Wed, 1 Apr 1998 10:26:44 +0000 (10:26 +0000)] 
move RELEASE_REQUEST entries to the LRU list TAIL so they get
removed by the LRU procedure.

27 years ago- Added cacheDigestClone() method.
rousskov [Wed, 1 Apr 1998 07:14:00 +0000 (07:14 +0000)] 
- Added cacheDigestClone() method.
- major test_cache_digest updates

27 years agoremove special SYSLOG case for debug() macro. MOST systems have SYSLOG
wessels [Wed, 1 Apr 1998 07:13:14 +0000 (07:13 +0000)] 
remove special SYSLOG case for debug() macro.  MOST systems have SYSLOG
anyway, but more importantly, the _db_level var is needed for
stderr debugging.

27 years agotolower() hostnames in icon URLs
wessels [Wed, 1 Apr 1998 07:12:33 +0000 (07:12 +0000)] 
tolower() hostnames in icon URLs

27 years agosingle request line (no headers) fix
wessels [Wed, 1 Apr 1998 07:07:53 +0000 (07:07 +0000)] 
single request line (no headers) fix

27 years agopurify UMR fix
wessels [Wed, 1 Apr 1998 05:36:32 +0000 (05:36 +0000)] 
purify UMR fix

27 years agopotential alignment fix
wessels [Wed, 1 Apr 1998 03:36:04 +0000 (03:36 +0000)] 
potential alignment fix

27 years agoupdate
wessels [Wed, 1 Apr 1998 03:35:37 +0000 (03:35 +0000)] 
update

27 years agoAdded --enable-forw-via-db --> #define FORW_VIA_DB
wessels [Wed, 1 Apr 1998 01:57:47 +0000 (01:57 +0000)] 
Added --enable-forw-via-db --> #define FORW_VIA_DB

27 years agoturn debug(0,0) into real debugs (33,3)
wessels [Wed, 1 Apr 1998 01:45:58 +0000 (01:45 +0000)] 
turn debug(0,0) into real debugs (33,3)

27 years ago- Added a temporary hack to avoid coredumps when invalid hdr entry gets
rousskov [Wed, 1 Apr 1998 00:52:08 +0000 (00:52 +0000)] 
- Added a temporary hack to avoid coredumps when invalid hdr entry gets
destroyed.

27 years ago- Adding stuff.
rousskov [Tue, 31 Mar 1998 16:07:53 +0000 (16:07 +0000)] 
- Adding stuff.

27 years ago- HttpHeader now uses case-insensitive string cmp in DelByName().
rousskov [Tue, 31 Mar 1998 16:03:45 +0000 (16:03 +0000)] 
- HttpHeader now uses case-insensitive string cmp in DelByName().

27 years agodebugging
wessels [Tue, 31 Mar 1998 15:45:34 +0000 (15:45 +0000)] 
debugging

27 years agoneed to fully free and recreate FV hash_tables
wessels [Tue, 31 Mar 1998 15:37:29 +0000 (15:37 +0000)] 
need to fully free and recreate FV hash_tables

27 years agofix end-of-header detection
wessels [Tue, 31 Mar 1998 13:06:33 +0000 (13:06 +0000)] 
fix end-of-header detection

27 years agogindent
wessels [Tue, 31 Mar 1998 12:35:35 +0000 (12:35 +0000)] 
gindent

27 years agonew headersEnd() replaces mime_headers_end and eliminates buffer overruns
wessels [Tue, 31 Mar 1998 12:35:22 +0000 (12:35 +0000)] 
new headersEnd() replaces mime_headers_end and eliminates buffer overruns

27 years agoonly show the 'preparing for shutdown' message once
wessels [Tue, 31 Mar 1998 12:34:46 +0000 (12:34 +0000)] 
only show the 'preparing for shutdown' message once

27 years agoAdded HTCP socket close functions
wessels [Tue, 31 Mar 1998 11:45:24 +0000 (11:45 +0000)] 
Added HTCP socket close functions

27 years agouse a #define for pinger payload size
wessels [Tue, 31 Mar 1998 11:10:18 +0000 (11:10 +0000)] 
use a #define for pinger payload size

27 years agoclean up reconfigure/rotate/shutdown flags and stuff
wessels [Tue, 31 Mar 1998 11:09:48 +0000 (11:09 +0000)] 
clean up reconfigure/rotate/shutdown flags and stuff

27 years agouse assert instead of fatal_dump
wessels [Tue, 31 Mar 1998 11:08:32 +0000 (11:08 +0000)] 
use assert instead of fatal_dump

27 years agoadded x-forwarded-for and via header database
wessels [Tue, 31 Mar 1998 10:57:14 +0000 (10:57 +0000)] 
added x-forwarded-for and via header database

27 years agoFix cache hits (swapins) during reloading
wessels [Tue, 31 Mar 1998 10:12:57 +0000 (10:12 +0000)] 
Fix cache hits (swapins) during reloading

27 years ago- commented out printf()s on bad log entries.
rousskov [Tue, 31 Mar 1998 07:10:10 +0000 (07:10 +0000)] 
- commented out printf()s on bad log entries.

27 years ago- Adding more stuff to test_cache_digest
rousskov [Tue, 31 Mar 1998 07:03:55 +0000 (07:03 +0000)] 
- Adding more stuff to test_cache_digest

27 years agowhy did we close open swap logs if its not okay to write clean ones?
wessels [Tue, 31 Mar 1998 06:00:47 +0000 (06:00 +0000)] 
why did we close open swap logs if its not okay to write clean ones?

27 years agoDon't queue squid<->pinger messages, just send() them
wessels [Tue, 31 Mar 1998 06:00:12 +0000 (06:00 +0000)] 
Don't queue squid<->pinger messages, just send() them

27 years agoFixed probable memory accounting leak. We were calling free() when
wessels [Tue, 31 Mar 1998 05:58:51 +0000 (05:58 +0000)] 
Fixed probable memory accounting leak.  We were calling free() when
we should have been calling memFree() in cbdataUnlock()

27 years ago- Added a timer for a no-load hash scan
rousskov [Tue, 31 Mar 1998 04:16:10 +0000 (04:16 +0000)] 
- Added a timer for a no-load hash scan

27 years agoInitial revision.
rousskov [Tue, 31 Mar 1998 04:03:33 +0000 (04:03 +0000)] 
Initial revision.

27 years agoAdded test_cache_digest.c: a test-suite for playing with cache digests
rousskov [Tue, 31 Mar 1998 03:42:40 +0000 (03:42 +0000)] 
Added test_cache_digest.c: a test-suite for playing with cache digests

27 years agoComment regarding STRICT_HTTP_PARSER
rousskov [Mon, 30 Mar 1998 23:05:54 +0000 (23:05 +0000)] 
Comment regarding STRICT_HTTP_PARSER

27 years ago- Added STRICT_HTTP_PARSER pp directive to control parsing of invalid but
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.

27 years agoadd bogus NEIGHBOR_END enum to avoid comma-ending-list warnings
wessels [Mon, 30 Mar 1998 12:05:41 +0000 (12:05 +0000)] 
add bogus NEIGHBOR_END enum to avoid comma-ending-list warnings

27 years agoupdate
wessels [Mon, 30 Mar 1998 11:42:20 +0000 (11:42 +0000)] 
update

27 years agoTry httpRestart of httpReadReply read() returns < 0, not just == 0.
wessels [Mon, 30 Mar 1998 11:11:13 +0000 (11:11 +0000)] 
Try httpRestart of httpReadReply read() returns < 0, not just == 0.

27 years agoReduced the size of CacheEntry
rousskov [Mon, 30 Mar 1998 04:01:49 +0000 (04:01 +0000)] 
Reduced the size of CacheEntry

27 years ago- Report polishing
rousskov [Mon, 30 Mar 1998 03:42:46 +0000 (03:42 +0000)] 
- Report polishing

27 years ago- bug fixes
rousskov [Mon, 30 Mar 1998 03:39:53 +0000 (03:39 +0000)] 
- bug fixes

27 years agoMore detailed report
rousskov [Mon, 30 Mar 1998 03:32:16 +0000 (03:32 +0000)] 
More detailed report

27 years ago- Updated dependent list for cache_diff
rousskov [Mon, 30 Mar 1998 03:20:04 +0000 (03:20 +0000)] 
- Updated dependent list for cache_diff

27 years ago- Replaced calls to hash_delete_link() with hash_remove_link()
rousskov [Mon, 30 Mar 1998 03:18:46 +0000 (03:18 +0000)] 
- Replaced calls to hash_delete_link() with hash_remove_link()

27 years ago- Added cache_diff.c, a stand alone program that
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

27 years ago- fixed hash memory leaks from Proxy Auth ACL stuff
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

27 years agocompiler
wessels [Sun, 29 Mar 1998 06:31:21 +0000 (06:31 +0000)] 
compiler

27 years agoprintf errors/warnings
wessels [Sun, 29 Mar 1998 06:24:40 +0000 (06:24 +0000)] 
printf errors/warnings

27 years agocall clientWriteComplete so the client socket gets closed
wessels [Sun, 29 Mar 1998 03:33:45 +0000 (03:33 +0000)] 
call clientWriteComplete so the client socket gets closed

27 years agocheck for port == 0 in PASV reply
wessels [Sun, 29 Mar 1998 03:31:51 +0000 (03:31 +0000)] 
check for port == 0 in PASV reply

27 years agoprintf fixes
wessels [Sun, 29 Mar 1998 03:29:49 +0000 (03:29 +0000)] 
printf fixes

27 years agomore places we need to switch the timeout from the ctrl to the data
wessels [Sun, 29 Mar 1998 03:03:14 +0000 (03:03 +0000)] 
more places we need to switch the timeout from the ctrl to the data
socket

27 years agoupdate
wessels [Sun, 29 Mar 1998 02:04:22 +0000 (02:04 +0000)] 
update

27 years agoprotect htcp features with USE_HTCP
wessels [Sun, 29 Mar 1998 01:37:05 +0000 (01:37 +0000)] 
protect htcp features with USE_HTCP

27 years agoprogress
wessels [Sat, 28 Mar 1998 15:20:11 +0000 (15:20 +0000)] 
progress

27 years agochange HTCP vs ICP configuration to be a cache_peer flag instead of
wessels [Sat, 28 Mar 1998 13:26:42 +0000 (13:26 +0000)] 
change HTCP vs ICP configuration to be a cache_peer flag instead of
separate port members

27 years agodebugs and misc cleanup
wessels [Sat, 28 Mar 1998 12:30:05 +0000 (12:30 +0000)] 
debugs and misc cleanup

27 years agoHTCP prototypes
wessels [Sat, 28 Mar 1998 12:29:55 +0000 (12:29 +0000)] 
HTCP prototypes

27 years agosend HTCP instead of ICP if HTCP port set
wessels [Sat, 28 Mar 1998 12:28:54 +0000 (12:28 +0000)] 
send HTCP instead of ICP if HTCP port set

27 years agoparse HTCP port on cache_peer line as '4287/htcp'
wessels [Sat, 28 Mar 1998 12:26:08 +0000 (12:26 +0000)] 
parse HTCP port on cache_peer line as '4287/htcp'

27 years agorearrange
wessels [Sat, 28 Mar 1998 12:24:52 +0000 (12:24 +0000)] 
rearrange

27 years agoadd </BODY></HTML> to the end of our error pages
wessels [Sat, 28 Mar 1998 12:24:34 +0000 (12:24 +0000)] 
add </BODY></HTML> to the end of our error pages

27 years agopeer->ip_lookup_pending should not be needed any more
wessels [Sat, 28 Mar 1998 12:09:13 +0000 (12:09 +0000)] 
peer->ip_lookup_pending should not be needed any more

27 years agoadd configure setting of HTCP_OBJS for src/Makefile
wessels [Sat, 28 Mar 1998 11:41:14 +0000 (11:41 +0000)] 
add configure setting of HTCP_OBJS for src/Makefile

27 years agoadded HTCP
wessels [Sat, 28 Mar 1998 11:36:48 +0000 (11:36 +0000)] 
added HTCP

27 years agowriting --enable-htcp
wessels [Sat, 28 Mar 1998 11:33:38 +0000 (11:33 +0000)] 
writing --enable-htcp

27 years agoChanged comm connect routines so that the timeout value and handler
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.

27 years agoClear any FD timeouts before making the commConnect callback.
wessels [Sat, 28 Mar 1998 02:42:22 +0000 (02:42 +0000)] 
Clear any FD timeouts before making the commConnect callback.

27 years agodebugging
wessels [Sat, 28 Mar 1998 02:41:58 +0000 (02:41 +0000)] 
debugging

27 years agocomment
wessels [Sat, 28 Mar 1998 01:46:47 +0000 (01:46 +0000)] 
comment

27 years agoFix announcment sending. Can't have NULL callback data I guess.
wessels [Sat, 28 Mar 1998 01:41:12 +0000 (01:41 +0000)] 
Fix announcment sending.  Can't have NULL callback data I guess.
Also, don't require that announce_file be non-null and exist.

27 years agoname change never noticed before
wessels [Fri, 27 Mar 1998 12:41:48 +0000 (12:41 +0000)] 
name change never noticed before

27 years agodont mix hash_lookup and hash_next
wessels [Fri, 27 Mar 1998 12:36:55 +0000 (12:36 +0000)] 
dont mix hash_lookup and hash_next

27 years agoonly subtract file size if entry has been validated
wessels [Fri, 27 Mar 1998 11:45:21 +0000 (11:45 +0000)] 
only subtract file size if entry has been validated

27 years agowarn about adding duplicate/overlapping IP keys for binary trees
wessels [Fri, 27 Mar 1998 11:44:54 +0000 (11:44 +0000)] 
warn about adding duplicate/overlapping IP keys for binary trees

27 years agoisTcpHit needs to be global
wessels [Fri, 27 Mar 1998 11:41:32 +0000 (11:41 +0000)] 
isTcpHit needs to be global

27 years agoDW being anal
wessels [Fri, 27 Mar 1998 11:15:37 +0000 (11:15 +0000)] 
DW being anal

27 years agoWe only need to return IF the callback is made. This should
wessels [Fri, 27 Mar 1998 10:23:05 +0000 (10:23 +0000)] 
We only need to return IF the callback is made.  This should
fix the disk FD leak!

27 years agooops forgot to gindent
kostas [Wed, 25 Mar 1998 16:23:19 +0000 (16:23 +0000)] 
oops forgot to gindent

27 years ago- renovated mib and added descriptions and comments
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")

27 years ago1.2.beta19
wessels [Wed, 25 Mar 1998 12:59:39 +0000 (12:59 +0000)] 
1.2.beta19

27 years agoadd icp.replies_queued counter to stat outputs
wessels [Wed, 25 Mar 1998 12:50:41 +0000 (12:50 +0000)] 
add icp.replies_queued counter to stat outputs

27 years agonew Counter.icp.replies_queued member
wessels [Wed, 25 Mar 1998 12:45:51 +0000 (12:45 +0000)] 
new Counter.icp.replies_queued member

27 years agoTry sendto() for ICP replies instead of always queueing
wessels [Wed, 25 Mar 1998 12:44:48 +0000 (12:44 +0000)] 
Try sendto() for ICP replies instead of always queueing

27 years agoFrom: "Michael O'Reilly" <michael@metal.iinet.net.au>
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).

27 years agorename Mem.c to MemPool.c
wessels [Wed, 25 Mar 1998 12:29:50 +0000 (12:29 +0000)] 
rename Mem.c to MemPool.c