]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agoordering typos
wessels [Thu, 10 Sep 1998 22:03:25 +0000 (22:03 +0000)] 
ordering typos

27 years agodebug level
wessels [Thu, 10 Sep 1998 08:55:59 +0000 (08:55 +0000)] 
debug level

27 years agochanged no-caching based on http service time to be based on number
wessels [Thu, 10 Sep 1998 02:05:47 +0000 (02:05 +0000)] 
changed no-caching based on http service time to be based on number
of disk files open.

27 years agoadd defaults
wessels [Thu, 10 Sep 1998 00:21:50 +0000 (00:21 +0000)] 
add defaults

27 years agomore typo
wessels [Thu, 10 Sep 1998 00:20:49 +0000 (00:20 +0000)] 
more typo

27 years agotypo
wessels [Thu, 10 Sep 1998 00:19:31 +0000 (00:19 +0000)] 
typo

27 years agoFrom: Stewart Forster <slf@connect.com.au>
wessels [Thu, 10 Sep 1998 00:18:02 +0000 (00:18 +0000)] 
From:    Stewart Forster <slf@connect.com.au>
Another important patch for HIGH loads.  Someone mentioned once when we were
designing the automatic comm_select_incoming counters tuning code that we
should try not to check too often.  I argued against that and I was wrong.
At high loads, the sheer load of polling starts to bite badly, and so the
below patch reduces the amount of polling needed.  Now squid slows down more
sanely at really high loads (rather than brick wall).  Ideally these values
should be configurable and called:

incoming_icp_average 6
incoming_http_average 4
min_icp_poll_cnt 8
min_http_poll_cnt 8

but I don't have the time to write this up.  These values will definately
vary from site to site depending on the ICP/HHTP load ratio.  The above
values work okay for us, but maybe not for everyone.....

The lower the poll_cnts will mean the more rapid the polling.
The lower the incoming_*_average will mean the more rapid the polling.
The min_*_poll_cnt will put a maximum limit on the rate of polls.

27 years agonote when ICP service is disabled
wessels [Wed, 9 Sep 1998 23:51:05 +0000 (23:51 +0000)] 
note when ICP service is disabled

27 years agocomments
wessels [Wed, 9 Sep 1998 23:47:09 +0000 (23:47 +0000)] 
comments

27 years agomoved neighbor RTT updates out of neighborAlive() because we sometimes
wessels [Wed, 9 Sep 1998 22:47:56 +0000 (22:47 +0000)] 
moved neighbor RTT updates out of neighborAlive() because we sometimes
call neighborAlive for ICP replies which don't correspond to the StoreEntry.

27 years agomake high-http-median-svc-time no-cache WIP
wessels [Wed, 9 Sep 1998 22:47:08 +0000 (22:47 +0000)] 
make high-http-median-svc-time no-cache WIP

27 years agoonly close "stuck" swapout files in STORE_OK state if there is
wessels [Sun, 6 Sep 1998 23:11:34 +0000 (23:11 +0000)] 
only close "stuck" swapout files in STORE_OK state if there is
not a write already queued

27 years agofix swapout FD leak for ENTRY_BAD_LENGTH objects
wessels [Sun, 6 Sep 1998 22:20:04 +0000 (22:20 +0000)] 
fix swapout FD leak for ENTRY_BAD_LENGTH objects

27 years agosyscall counters, mostly I/O
wessels [Sat, 5 Sep 1998 05:04:38 +0000 (05:04 +0000)] 
syscall counters, mostly I/O

27 years agoskip bogus RTT calculation when start_time == 0
wessels [Sat, 5 Sep 1998 03:40:27 +0000 (03:40 +0000)] 
skip bogus RTT calculation when start_time == 0

27 years agomemFree MD5 digests instead of xfree!
wessels [Fri, 4 Sep 1998 00:39:06 +0000 (00:39 +0000)] 
memFree MD5 digests instead of xfree!

27 years agocomm_select # ready fd's histogram
wessels [Thu, 3 Sep 1998 09:48:36 +0000 (09:48 +0000)] 
comm_select # ready fd's histogram

27 years agomore select stats to debug poor performance
wessels [Thu, 3 Sep 1998 09:37:33 +0000 (09:37 +0000)] 
more select stats to debug poor performance

27 years agostoreCheckCachable() returns 0 if http_median_svc_time exceeds 2 seconds
wessels [Thu, 3 Sep 1998 09:36:24 +0000 (09:36 +0000)] 
storeCheckCachable() returns 0 if http_median_svc_time exceeds 2 seconds

27 years agodebug
wessels [Wed, 2 Sep 1998 23:21:00 +0000 (23:21 +0000)] 
debug

27 years agoIt apparently was a BAD idea to have storeHashInsert() move PRIVATE
wessels [Wed, 2 Sep 1998 11:56:45 +0000 (11:56 +0000)] 
It apparently was a BAD idea to have storeHashInsert() move PRIVATE
entries to the tail of the LRU list.  Instead, lets try doing that
in storeUnlockObject when the lock count is zero.

27 years agomake sure MAX_MEM_BUF_SZ is at least twice CLIENT_SOCK_SZ
wessels [Wed, 2 Sep 1998 10:00:42 +0000 (10:00 +0000)] 
make sure MAX_MEM_BUF_SZ is at least twice CLIENT_SOCK_SZ

27 years agoupdate
wessels [Wed, 2 Sep 1998 05:36:13 +0000 (05:36 +0000)] 
update

27 years agodebugging
wessels [Wed, 2 Sep 1998 05:32:44 +0000 (05:32 +0000)] 
debugging

27 years agoInternal HTTP requests bypass miss_access rules. Internal requests
wessels [Wed, 2 Sep 1998 05:31:22 +0000 (05:31 +0000)] 
Internal HTTP requests bypass miss_access rules.  Internal requests
are passed to fwdStart() with client_address == no_addr.

27 years agospello
wessels [Wed, 2 Sep 1998 04:12:06 +0000 (04:12 +0000)] 
spello

27 years agocheck for libbind.a; give libbind.a higher precedence than libresolv.a
wessels [Tue, 1 Sep 1998 11:35:28 +0000 (11:35 +0000)] 
check for libbind.a; give libbind.a higher precedence than libresolv.a

27 years ago- added fqdncache_size configuration option
wessels [Sun, 30 Aug 1998 11:21:38 +0000 (11:21 +0000)] 
- added fqdncache_size configuration option
- added MD5 hashes to mem pools
- removed some DONT code

27 years ago- icp_port is now icp.port
rousskov [Fri, 28 Aug 1998 04:01:47 +0000 (04:01 +0000)] 
- icp_port is now icp.port

27 years ago- all bit-fields of size 1 should be unsigned according to some compilers
rousskov [Fri, 28 Aug 1998 04:01:12 +0000 (04:01 +0000)] 
- all bit-fields of size 1 should be unsigned according to some compilers

27 years ago- one IRIX an unsigned size_t creates problems when we do (len-1) in snprintf
rousskov [Fri, 28 Aug 1998 04:00:07 +0000 (04:00 +0000)] 
- one IRIX an unsigned size_t creates problems when we do (len-1) in snprintf
  fixed by cheking that len is positive before subtracting 1.
- return value was sometimes uninitialized when calling snprintf

27 years ago- added custom compiler and linker options for mips-sgi-irix6.4
rousskov [Fri, 28 Aug 1998 02:43:53 +0000 (02:43 +0000)] 
- added custom compiler and linker options for mips-sgi-irix6.4

27 years agounuse hexdump
wessels [Thu, 27 Aug 1998 12:29:30 +0000 (12:29 +0000)] 
unuse hexdump

27 years agorenamed icp_ping_data to just ping_data (for HTCP)
wessels [Thu, 27 Aug 1998 12:28:54 +0000 (12:28 +0000)] 
renamed icp_ping_data to just ping_data (for HTCP)

27 years agoHTCP progress
wessels [Thu, 27 Aug 1998 12:28:28 +0000 (12:28 +0000)] 
HTCP progress

27 years agoundo debugging which wasnt supposed to be committed
wessels [Thu, 27 Aug 1998 03:42:05 +0000 (03:42 +0000)] 
undo debugging which wasnt supposed to be committed

27 years agoHTCP progress
wessels [Thu, 27 Aug 1998 01:53:39 +0000 (01:53 +0000)] 
HTCP progress

27 years agoHTCP progress
wessels [Thu, 27 Aug 1998 01:08:54 +0000 (01:08 +0000)] 
HTCP progress

27 years agoprogress
wessels [Thu, 27 Aug 1998 01:08:00 +0000 (01:08 +0000)] 
progress

27 years agoremoved unused opcode arg of neighborsCountIgnored()
wessels [Thu, 27 Aug 1998 00:48:56 +0000 (00:48 +0000)] 
removed unused opcode arg of neighborsCountIgnored()

27 years agoHTCP progress
wessels [Wed, 26 Aug 1998 11:36:42 +0000 (11:36 +0000)] 
HTCP progress

27 years agoprogress
wessels [Wed, 26 Aug 1998 11:34:51 +0000 (11:34 +0000)] 
progress

27 years agoadded hoHtcpReply
wessels [Wed, 26 Aug 1998 01:19:05 +0000 (01:19 +0000)] 
added hoHtcpReply

27 years agoadded hoHtcpReply
wessels [Wed, 26 Aug 1998 01:10:43 +0000 (01:10 +0000)] 
added hoHtcpReply
made httpHeaderReset public

27 years agoupdate
wessels [Wed, 26 Aug 1998 01:10:10 +0000 (01:10 +0000)] 
update

27 years agoadded netdbHostData as a faster way to get #samples, RTT, and HOPS
wessels [Wed, 26 Aug 1998 01:09:20 +0000 (01:09 +0000)] 
added netdbHostData as a faster way to get #samples, RTT, and HOPS

27 years agoAdded resp_hdrs, entity_hdrs, cache_hdrs in TST HIT replies
wessels [Wed, 26 Aug 1998 01:04:00 +0000 (01:04 +0000)] 
Added resp_hdrs, entity_hdrs, cache_hdrs in TST HIT replies

27 years agocomment typo
wessels [Tue, 25 Aug 1998 21:58:14 +0000 (21:58 +0000)] 
comment typo

27 years agoprogress
wessels [Tue, 25 Aug 1998 13:02:42 +0000 (13:02 +0000)] 
progress

27 years agoprogress
wessels [Tue, 25 Aug 1998 12:20:42 +0000 (12:20 +0000)] 
progress

27 years agoupdate
wessels [Tue, 25 Aug 1998 10:12:51 +0000 (10:12 +0000)] 
update

27 years agoseparate client socket buffers from MEM_4K_BUF so we can change the
wessels [Tue, 25 Aug 1998 10:11:35 +0000 (10:11 +0000)] 
separate client socket buffers from MEM_4K_BUF so we can change the
socket buffer size.

27 years agoupdate
wessels [Tue, 25 Aug 1998 09:35:18 +0000 (09:35 +0000)] 
update

27 years agoHenrik's fixes for DW adding FD to AIOCB bugs
wessels [Tue, 25 Aug 1998 04:06:44 +0000 (04:06 +0000)] 
Henrik's fixes for DW adding FD to AIOCB bugs

27 years agoDo a better job of swapping out uncachable objects. We need to be
wessels [Tue, 25 Aug 1998 03:11:30 +0000 (03:11 +0000)] 
Do a better job of swapping out uncachable objects.  We need to be
smarter about calculating the new inmem_lo value.  Even though
the object may not be ENTRY_CACHABLE, we might be currently swapping it
out.  We have some assertion failures when we free past the swapout_done
offset.

27 years agosimplify #ifdefs
wessels [Tue, 25 Aug 1998 03:07:51 +0000 (03:07 +0000)] 
simplify #ifdefs

27 years agocompiler
wessels [Sat, 22 Aug 1998 01:28:57 +0000 (01:28 +0000)] 
compiler

27 years agogindent
wessels [Sat, 22 Aug 1998 00:59:48 +0000 (00:59 +0000)] 
gindent

27 years agorequire ENTRY_CACHABLE before storeSetPublicKey
wessels [Sat, 22 Aug 1998 00:59:14 +0000 (00:59 +0000)] 
require ENTRY_CACHABLE before storeSetPublicKey

27 years ago1.2.beta24
wessels [Fri, 21 Aug 1998 22:58:44 +0000 (22:58 +0000)] 
1.2.beta24

27 years agogindent
wessels [Fri, 21 Aug 1998 22:58:11 +0000 (22:58 +0000)] 
gindent

27 years agouse #if instead of #ifdef so it works with #define FOO 0
wessels [Fri, 21 Aug 1998 15:15:43 +0000 (15:15 +0000)] 
use #if instead of #ifdef so it works with #define FOO 0

27 years agounused vars
wessels [Fri, 21 Aug 1998 15:15:22 +0000 (15:15 +0000)] 
unused vars

27 years agocompiler
wessels [Fri, 21 Aug 1998 14:57:07 +0000 (14:57 +0000)] 
compiler

27 years agoremoved DONT code
wessels [Fri, 21 Aug 1998 14:41:56 +0000 (14:41 +0000)] 
removed DONT code

27 years agoFixed up ugly confusion with public keys and RELEASE_REQUEST states.
wessels [Fri, 21 Aug 1998 14:40:57 +0000 (14:40 +0000)] 
Fixed up ugly confusion with public keys and RELEASE_REQUEST states.

Some other failed assertions led me to an object with a public cache
key, but which was not being swapped out because the proxy-only option
made us call storeReleaseRequest early (before reading any server reply).

RELEASE_REQUEST objects should never be given public keys.
storeReleaseRequest now clears the ENTRY cachable bit to help ensure
this doesn't happen.

27 years agofix reporting entry clients; was still using old array approach
wessels [Fri, 21 Aug 1998 13:37:24 +0000 (13:37 +0000)] 
fix reporting entry clients; was still using old array approach

27 years agoremoved DONT_DO_THIS code
wessels [Fri, 21 Aug 1998 12:52:32 +0000 (12:52 +0000)] 
removed DONT_DO_THIS code

27 years agoremove unused code
wessels [Fri, 21 Aug 1998 12:40:00 +0000 (12:40 +0000)] 
remove unused code

27 years agomodified to print recv/sent RATES
wessels [Fri, 21 Aug 1998 10:51:21 +0000 (10:51 +0000)] 
modified to print recv/sent RATES

27 years agorelocated write-combining code so it occurs only after each
wessels [Fri, 21 Aug 1998 10:48:06 +0000 (10:48 +0000)] 
relocated write-combining code so it occurs only after each
successful write, not for each queued write (SLF)

27 years agoupdate
wessels [Fri, 21 Aug 1998 10:47:08 +0000 (10:47 +0000)] 
update

27 years agoput http-violating code inside HTTP_VIOLATIONS
wessels [Fri, 21 Aug 1998 10:03:44 +0000 (10:03 +0000)] 
put http-violating code inside HTTP_VIOLATIONS

27 years agomake --disable-http-violations actually work
wessels [Fri, 21 Aug 1998 09:53:56 +0000 (09:53 +0000)] 
make --disable-http-violations actually work

27 years ago--disable-http-violations
wessels [Fri, 21 Aug 1998 09:48:43 +0000 (09:48 +0000)] 
--disable-http-violations

27 years agocompiler
wessels [Fri, 21 Aug 1998 09:25:28 +0000 (09:25 +0000)] 
compiler

27 years agoTrade request_t->flags enums (REQ_*) request_flags int:1 structure
wessels [Fri, 21 Aug 1998 09:15:14 +0000 (09:15 +0000)] 
Trade request_t->flags enums (REQ_*) request_flags int:1 structure

27 years agoHenrik's refresh_pattern reload patch
wessels [Fri, 21 Aug 1998 04:45:44 +0000 (04:45 +0000)] 
Henrik's refresh_pattern reload patch

27 years agogindent
wessels [Fri, 21 Aug 1998 04:29:53 +0000 (04:29 +0000)] 
gindent

27 years ago - Added httpMaybeRemovePublic() to purge public objects for
wessels [Fri, 21 Aug 1998 04:21:02 +0000 (04:21 +0000)] 
    - Added httpMaybeRemovePublic() to purge public objects for
          certain responses even though they are uncachable.  This is
          needed, for example, when an initially cachable object
          later becomes uncachable.

27 years agocleanup
wessels [Fri, 21 Aug 1998 02:43:45 +0000 (02:43 +0000)] 
cleanup

27 years agouse dynamic allocation for request->url
wessels [Fri, 21 Aug 1998 02:38:46 +0000 (02:38 +0000)] 
use dynamic allocation for request->url

27 years agouse SQUID_MAXFD
wessels [Fri, 21 Aug 1998 02:02:50 +0000 (02:02 +0000)] 
use SQUID_MAXFD

27 years agoupdate
wessels [Fri, 21 Aug 1998 01:53:32 +0000 (01:53 +0000)] 
update

27 years agofixes
wessels [Fri, 21 Aug 1998 01:52:27 +0000 (01:52 +0000)] 
fixes

27 years agofixed henrik bodysize counting bug
wessels [Fri, 21 Aug 1998 01:41:40 +0000 (01:41 +0000)] 
fixed henrik bodysize counting bug

27 years agofile_close should call the read_handler if set so we can free
wessels [Thu, 20 Aug 1998 22:04:07 +0000 (22:04 +0000)] 
file_close should call the read_handler if set so we can free
dread_ctrl state

27 years agoremove cruft from debug level 1
wessels [Thu, 20 Aug 1998 21:30:22 +0000 (21:30 +0000)] 
remove cruft from debug level 1

27 years agoupdate
wessels [Thu, 20 Aug 1998 11:22:49 +0000 (11:22 +0000)] 
update

27 years agowhen write fails because a disk is full, only lower *that* cache_dir
wessels [Thu, 20 Aug 1998 08:49:10 +0000 (08:49 +0000)] 
when write fails because a disk is full, only lower *that* cache_dir
and recompute the maxSize.  'storedir' stats should now be
consistent

27 years agowe have FMR bugs with peer *'s in ps_state structure. When a reconfigure
wessels [Thu, 20 Aug 1998 05:10:30 +0000 (05:10 +0000)] 
we have FMR bugs with peer *'s in ps_state structure.   When a reconfigure
occurs during ICP queries, and we have a timeout, the ->first_parent_miss
peer will have been freed.

Using cbdata here would be too ugly.  we would have a lot of locks and
unlocks, plus what to do when the first_parent_miss peer is not valid?
re-select?

This approach saves sockaddr_in values for the peers.  We look up the
actual peer structure with whichPeer() when we really need the peers.

27 years agomove whitespace-skipping block inside the while loop below it so we skip
wessels [Thu, 20 Aug 1998 05:07:23 +0000 (05:07 +0000)] 
move whitespace-skipping block inside the while loop below it so we skip
leading whitespace on following requests, and work around broken user
agents which send too many CRLF on a POST

27 years agobe careful with buffers
wessels [Thu, 20 Aug 1998 04:23:48 +0000 (04:23 +0000)] 
be careful with buffers

27 years agothought I already committed that
wessels [Thu, 20 Aug 1998 04:00:56 +0000 (04:00 +0000)] 
thought I already committed that

27 years agovery preliminary PPNR_WIP code
wessels [Wed, 19 Aug 1998 12:05:51 +0000 (12:05 +0000)] 
very preliminary PPNR_WIP code

27 years agodebug levels
wessels [Wed, 19 Aug 1998 10:32:14 +0000 (10:32 +0000)] 
debug levels

27 years agoexperimental OPTIMISTIC IO patch
wessels [Wed, 19 Aug 1998 04:42:17 +0000 (04:42 +0000)] 
experimental OPTIMISTIC IO patch

27 years agoAdded FD arg to Async IO callback handlers. This eliminates the
wessels [Wed, 19 Aug 1998 03:15:43 +0000 (03:15 +0000)] 
Added FD arg to Async IO callback handlers.  This eliminates the
need for some temporary 'disk_ctrl' structures.

27 years ago- patched acl ARP code so it works on Linux (Luyer)
wessels [Wed, 19 Aug 1998 03:04:42 +0000 (03:04 +0000)] 
- patched acl ARP code so it works on Linux (Luyer)
- Wrote ACL dump functions for use with SPLAY trees.

27 years agocomment
wessels [Wed, 19 Aug 1998 02:48:52 +0000 (02:48 +0000)] 
comment