]>
git.ipfire.org Git - thirdparty/squid.git/log
wessels [Sat, 4 Apr 1998 07:23:13 +0000 (07:23 +0000)]
"MemBuf" leak fix and initial CACHE_DIGEST code
wessels [Sat, 4 Apr 1998 07:22:15 +0000 (07:22 +0000)]
commenting
rousskov [Sat, 4 Apr 1998 05:26:32 +0000 (05:26 +0000)]
- added httpHeaderGetLastStr() to find last X-Cache
the implementation is not optimized yet (searches from the beginning)
rousskov [Sat, 4 Apr 1998 05:05:56 +0000 (05:05 +0000)]
- default SQUID_MAINTAIN_CACHE_DIGEST to 1
rousskov [Sat, 4 Apr 1998 05:05:09 +0000 (05:05 +0000)]
- added code to create/rebuild/rewrite store_digest
- to disable local digest support,
set squid.h::SQUID_MAINTAIN_CACHE_DIGEST to 0
- added a hack to support simple IMS requests for ENTRY_SPECIAL entries
wessels [Sat, 4 Apr 1998 01:07:31 +0000 (01:07 +0000)]
missing newline in cachemgr output
wessels [Fri, 3 Apr 1998 14:36:02 +0000 (14:36 +0000)]
new dns cachemgr output
wessels [Fri, 3 Apr 1998 13:27:04 +0000 (13:27 +0000)]
Changed squid/dnsserver communication to single-line replies. Removed
all the unused cruft.
wessels [Fri, 3 Apr 1998 05:58:14 +0000 (05:58 +0000)]
Fix DnsStats.replies to count full replies, not just read()s!
rousskov [Fri, 3 Apr 1998 00:11:20 +0000 (00:11 +0000)]
- Added internal support for cache digest (store_digest). The digest is
maintained as a "mirror" of store_hash table. storeHashInsert/Delete forward
public key objects to the store_digest object. Sending digests to other
caches is not yet supported. Periodic digest rebuild is not yet supported.
- Rudimental reporting for store digest is done via cache manager.
wessels [Thu, 2 Apr 1998 14:40:31 +0000 (14:40 +0000)]
Make 'cache_host_domain' AND'ed with 'cache_host_acl'
wessels [Thu, 2 Apr 1998 14:37:16 +0000 (14:37 +0000)]
Only call comm_write() (et al) from clientSendMoreData(). other special
reply generators were modified to create and write into StoreEntries.
wessels [Thu, 2 Apr 1998 13:35:51 +0000 (13:35 +0000)]
Fixed clientSendIMSComplete() to NOT just comm_close() the
connection if it should be Keep-Alive'd
rousskov [Thu, 2 Apr 1998 12:35:21 +0000 (12:35 +0000)]
- Removed calls to httpHeaderTestParser()
- Removed lrand48() from httpHeaderTestParser()
rousskov [Thu, 2 Apr 1998 11:47:54 +0000 (11:47 +0000)]
- Added support for only-if-cached cache-control directive.
rousskov [Thu, 2 Apr 1998 11:45:03 +0000 (11:45 +0000)]
- added mime_get_header_field() to support multiple header fields
with the same field-name
- enabled support for only-if-cached directive
rousskov [Thu, 2 Apr 1998 07:22:00 +0000 (07:22 +0000)]
- Increased debugging level in "left dirty" pools report.
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
wessels [Thu, 2 Apr 1998 02:39:18 +0000 (02:39 +0000)]
Fixed off_t/int malloc bug!!
rousskov [Thu, 2 Apr 1998 01:02:19 +0000 (01:02 +0000)]
- bug fixes
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.
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
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.
rousskov [Wed, 1 Apr 1998 14:25:47 +0000 (14:25 +0000)]
- Added assertion to double check the end of clean logs
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
rousskov [Wed, 1 Apr 1998 14:07:16 +0000 (14:07 +0000)]
- fixed digest size report
- added paranoid Test() assertion to CacheDigest.c::cacheDigestAdd()
rousskov [Wed, 1 Apr 1998 13:22:03 +0000 (13:22 +0000)]
- better stats
- minor fixes
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!
rousskov [Wed, 1 Apr 1998 12:02:21 +0000 (12:02 +0000)]
- access.log start time is now synced with swap.state start time
wessels [Wed, 1 Apr 1998 11:42:50 +0000 (11:42 +0000)]
dlinkAddTail
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.
rousskov [Wed, 1 Apr 1998 07:14:00 +0000 (07:14 +0000)]
- Added cacheDigestClone() method.
- major test_cache_digest updates
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.
wessels [Wed, 1 Apr 1998 07:12:33 +0000 (07:12 +0000)]
tolower() hostnames in icon URLs
wessels [Wed, 1 Apr 1998 07:07:53 +0000 (07:07 +0000)]
single request line (no headers) fix
wessels [Wed, 1 Apr 1998 05:36:32 +0000 (05:36 +0000)]
purify UMR fix
wessels [Wed, 1 Apr 1998 03:36:04 +0000 (03:36 +0000)]
potential alignment fix
wessels [Wed, 1 Apr 1998 03:35:37 +0000 (03:35 +0000)]
update
wessels [Wed, 1 Apr 1998 01:57:47 +0000 (01:57 +0000)]
Added --enable-forw-via-db --> #define FORW_VIA_DB
wessels [Wed, 1 Apr 1998 01:45:58 +0000 (01:45 +0000)]
turn debug(0,0) into real debugs (33,3)
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.
rousskov [Tue, 31 Mar 1998 16:07:53 +0000 (16:07 +0000)]
- Adding stuff.
rousskov [Tue, 31 Mar 1998 16:03:45 +0000 (16:03 +0000)]
- HttpHeader now uses case-insensitive string cmp in DelByName().
wessels [Tue, 31 Mar 1998 15:45:34 +0000 (15:45 +0000)]
debugging
wessels [Tue, 31 Mar 1998 15:37:29 +0000 (15:37 +0000)]
need to fully free and recreate FV hash_tables
wessels [Tue, 31 Mar 1998 13:06:33 +0000 (13:06 +0000)]
fix end-of-header detection
wessels [Tue, 31 Mar 1998 12:35:35 +0000 (12:35 +0000)]
gindent
wessels [Tue, 31 Mar 1998 12:35:22 +0000 (12:35 +0000)]
new headersEnd() replaces mime_headers_end and eliminates buffer overruns
wessels [Tue, 31 Mar 1998 12:34:46 +0000 (12:34 +0000)]
only show the 'preparing for shutdown' message once
wessels [Tue, 31 Mar 1998 11:45:24 +0000 (11:45 +0000)]
Added HTCP socket close functions
wessels [Tue, 31 Mar 1998 11:10:18 +0000 (11:10 +0000)]
use a #define for pinger payload size
wessels [Tue, 31 Mar 1998 11:09:48 +0000 (11:09 +0000)]
clean up reconfigure/rotate/shutdown flags and stuff
wessels [Tue, 31 Mar 1998 11:08:32 +0000 (11:08 +0000)]
use assert instead of fatal_dump
wessels [Tue, 31 Mar 1998 10:57:14 +0000 (10:57 +0000)]
added x-forwarded-for and via header database
wessels [Tue, 31 Mar 1998 10:12:57 +0000 (10:12 +0000)]
Fix cache hits (swapins) during reloading
rousskov [Tue, 31 Mar 1998 07:10:10 +0000 (07:10 +0000)]
- commented out printf()s on bad log entries.
rousskov [Tue, 31 Mar 1998 07:03:55 +0000 (07:03 +0000)]
- Adding more stuff to test_cache_digest
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?
wessels [Tue, 31 Mar 1998 06:00:12 +0000 (06:00 +0000)]
Don't queue squid<->pinger messages, just send() them
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()
rousskov [Tue, 31 Mar 1998 04:16:10 +0000 (04:16 +0000)]
- Added a timer for a no-load hash scan
rousskov [Tue, 31 Mar 1998 04:03:33 +0000 (04:03 +0000)]
Initial revision.
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
rousskov [Mon, 30 Mar 1998 23:05:54 +0000 (23:05 +0000)]
Comment regarding STRICT_HTTP_PARSER
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.
wessels [Mon, 30 Mar 1998 12:05:41 +0000 (12:05 +0000)]
add bogus NEIGHBOR_END enum to avoid comma-ending-list warnings
wessels [Mon, 30 Mar 1998 11:42:20 +0000 (11:42 +0000)]
update
wessels [Mon, 30 Mar 1998 11:11:13 +0000 (11:11 +0000)]
Try httpRestart of httpReadReply read() returns < 0, not just == 0.
rousskov [Mon, 30 Mar 1998 04:01:49 +0000 (04:01 +0000)]
Reduced the size of CacheEntry
rousskov [Mon, 30 Mar 1998 03:42:46 +0000 (03:42 +0000)]
- Report polishing
rousskov [Mon, 30 Mar 1998 03:39:53 +0000 (03:39 +0000)]
- bug fixes
rousskov [Mon, 30 Mar 1998 03:32:16 +0000 (03:32 +0000)]
More detailed report
rousskov [Mon, 30 Mar 1998 03:20:04 +0000 (03:20 +0000)]
- Updated dependent list for cache_diff
rousskov [Mon, 30 Mar 1998 03:18:46 +0000 (03:18 +0000)]
- Replaced calls to hash_delete_link() with hash_remove_link()
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 [Sun, 29 Mar 1998 06:31:21 +0000 (06:31 +0000)]
compiler
wessels [Sun, 29 Mar 1998 06:24:40 +0000 (06:24 +0000)]
printf errors/warnings
wessels [Sun, 29 Mar 1998 03:33:45 +0000 (03:33 +0000)]
call clientWriteComplete so the client socket gets closed
wessels [Sun, 29 Mar 1998 03:31:51 +0000 (03:31 +0000)]
check for port == 0 in PASV reply
wessels [Sun, 29 Mar 1998 03:29:49 +0000 (03:29 +0000)]
printf fixes
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
wessels [Sun, 29 Mar 1998 02:04:22 +0000 (02:04 +0000)]
update
wessels [Sun, 29 Mar 1998 01:37:05 +0000 (01:37 +0000)]
protect htcp features with USE_HTCP
wessels [Sat, 28 Mar 1998 15:20:11 +0000 (15:20 +0000)]
progress
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
wessels [Sat, 28 Mar 1998 12:30:05 +0000 (12:30 +0000)]
debugs and misc cleanup
wessels [Sat, 28 Mar 1998 12:29:55 +0000 (12:29 +0000)]
HTCP prototypes
wessels [Sat, 28 Mar 1998 12:28:54 +0000 (12:28 +0000)]
send HTCP instead of ICP if HTCP port set
wessels [Sat, 28 Mar 1998 12:26:08 +0000 (12:26 +0000)]
parse HTCP port on cache_peer line as '4287/htcp'
wessels [Sat, 28 Mar 1998 12:24:52 +0000 (12:24 +0000)]
rearrange
wessels [Sat, 28 Mar 1998 12:24:34 +0000 (12:24 +0000)]
add </BODY></HTML> to the end of our error pages
wessels [Sat, 28 Mar 1998 12:09:13 +0000 (12:09 +0000)]
peer->ip_lookup_pending should not be needed any more
wessels [Sat, 28 Mar 1998 11:41:14 +0000 (11:41 +0000)]
add configure setting of HTCP_OBJS for src/Makefile
wessels [Sat, 28 Mar 1998 11:36:48 +0000 (11:36 +0000)]
added HTCP
wessels [Sat, 28 Mar 1998 11:33:38 +0000 (11:33 +0000)]
writing --enable-htcp
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.
wessels [Sat, 28 Mar 1998 02:42:22 +0000 (02:42 +0000)]
Clear any FD timeouts before making the commConnect callback.
wessels [Sat, 28 Mar 1998 02:41:58 +0000 (02:41 +0000)]
debugging
wessels [Sat, 28 Mar 1998 01:46:47 +0000 (01:46 +0000)]
comment