]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agoassertions to trap some apparent bugs earlier than they are now being
wessels [Sat, 19 Sep 1998 22:39:15 +0000 (22:39 +0000)] 
assertions to trap some apparent bugs earlier than they are now being
caught

27 years agorearrnage to set status before calling peerSelectStateFree
wessels [Sat, 19 Sep 1998 21:28:44 +0000 (21:28 +0000)] 
rearrnage to set status before calling peerSelectStateFree

27 years ago1.2.beta25
wessels [Sat, 19 Sep 1998 05:34:18 +0000 (05:34 +0000)] 
1.2.beta25

27 years agoupdate
wessels [Sat, 19 Sep 1998 05:32:43 +0000 (05:32 +0000)] 
update

27 years agoARP ACL fixes (Luyer)
wessels [Sat, 19 Sep 1998 04:37:49 +0000 (04:37 +0000)] 
ARP ACL fixes (Luyer)

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Sat, 19 Sep 1998 03:44:16 +0000 (03:44 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>

Give always_direct higher precedence than never_direct.

To simplify setups that are inside a firewall, which is about the only
case when always_direct AND never_direct are used together. Currently
every object that is always_direct allow must also be never_direct deny
or the request fails.

27 years agopeerSelectCallbackFail probably needs to set ping_state to PING_DONE.
wessels [Fri, 18 Sep 1998 23:13:42 +0000 (23:13 +0000)] 
peerSelectCallbackFail probably needs to set ping_state to PING_DONE.
Otherwise, late-arriving ICP replies will be incorrectly handled.

27 years agomove neighborUpdateRtt before ignoring ICP replies, sigh
wessels [Fri, 18 Sep 1998 21:25:41 +0000 (21:25 +0000)] 
move neighborUpdateRtt before ignoring ICP replies, sigh

27 years agorace condition for async IO. We might be OPENING the swapout file, but
wessels [Fri, 18 Sep 1998 21:15:25 +0000 (21:15 +0000)] 
race condition for async IO.  We might be OPENING the swapout file, but
the swapout.fd isn't set yet.

27 years agouse safe_free macro
wessels [Fri, 18 Sep 1998 21:14:42 +0000 (21:14 +0000)] 
use safe_free macro

27 years agocleaner shutdown
wessels [Thu, 17 Sep 1998 07:48:57 +0000 (07:48 +0000)] 
cleaner shutdown

27 years agoreturn errno, log service time
wessels [Thu, 17 Sep 1998 05:33:33 +0000 (05:33 +0000)] 
return errno, log service time

27 years agoadding
wessels [Thu, 17 Sep 1998 00:20:35 +0000 (00:20 +0000)] 
adding

27 years agoexit upon timeout
wessels [Thu, 17 Sep 1998 00:01:32 +0000 (00:01 +0000)] 
exit upon timeout

27 years agoadding
wessels [Wed, 16 Sep 1998 15:24:25 +0000 (15:24 +0000)] 
adding

27 years agoupdate from Bertold
wessels [Wed, 16 Sep 1998 04:36:18 +0000 (04:36 +0000)] 
update from Bertold

27 years agoremove fatal_dump
wessels [Wed, 16 Sep 1998 04:29:30 +0000 (04:29 +0000)] 
remove fatal_dump

27 years agoHEAD fixes (damn I hate HEAD)
wessels [Wed, 16 Sep 1998 04:05:10 +0000 (04:05 +0000)] 
HEAD fixes (damn I hate HEAD)

on the server-side, HEAD transfers are always done soon as we make it
to the end of the reply headers

on the client-side, we can't do IMS for HEAD.  Always return cache HITS,
never a refresh.

httpMaybeRemovePublic() gets bastardized already (thanks henrik).  Also
make it remove HEAD objects for new GET requests.

27 years agoHEAD fixes (damn I hate HEAD)
wessels [Wed, 16 Sep 1998 04:05:09 +0000 (04:05 +0000)] 
HEAD fixes (damn I hate HEAD)

on the server-side, HEAD transfers are always done soon as we make it
to the end of the reply headers

on the client-side, we can't do IMS for HEAD.  Always return cache HITS,
never a refresh.

httpMaybeRemovePublic() gets bastardized already.  Also
make it remove HEAD objects for new GET requests.

27 years agogindent
wessels [Wed, 16 Sep 1998 02:36:15 +0000 (02:36 +0000)] 
gindent

27 years agolook for cached HEAD objects for HEAD requests -- don't always look for
wessels [Wed, 16 Sep 1998 02:24:07 +0000 (02:24 +0000)] 
look for cached HEAD objects for HEAD requests -- don't always look for
GET objects for HEAD requests

27 years agoin storeRelease(), move aioCancel() call to after store_rebuilding check
wessels [Wed, 16 Sep 1998 02:16:22 +0000 (02:16 +0000)] 
in storeRelease(), move aioCancel() call to after store_rebuilding check

27 years agogindent
wessels [Wed, 16 Sep 1998 01:37:41 +0000 (01:37 +0000)] 
gindent

27 years agomake x-routines a little bit mt-safer
wessels [Tue, 15 Sep 1998 13:17:50 +0000 (13:17 +0000)] 
make x-routines a little bit mt-safer

27 years agorelocate all-redirectors-have-exited check.
wessels [Tue, 15 Sep 1998 12:49:58 +0000 (12:49 +0000)] 
relocate all-redirectors-have-exited check.
removed NRedirectorsOpen == 0 assertion

27 years agoorphan the redirector in redirectShutdown; gindent
wessels [Tue, 15 Sep 1998 12:38:28 +0000 (12:38 +0000)] 
orphan the redirector in redirectShutdown; gindent

27 years agofixed ENDIAN mixup
wessels [Tue, 15 Sep 1998 12:35:24 +0000 (12:35 +0000)] 
fixed ENDIAN mixup

27 years agocompiler
wessels [Tue, 15 Sep 1998 12:34:55 +0000 (12:34 +0000)] 
compiler

27 years agofix select case for stewarts incoming code
wessels [Tue, 15 Sep 1998 12:25:17 +0000 (12:25 +0000)] 
fix select case for stewarts incoming code

27 years agoremoved redirectUnregister
wessels [Tue, 15 Sep 1998 12:23:05 +0000 (12:23 +0000)] 
removed redirectUnregister

27 years agoreimplement redirector code to handle reconfigure better
wessels [Tue, 15 Sep 1998 12:22:16 +0000 (12:22 +0000)] 
reimplement redirector code to handle reconfigure better

27 years agofix new flags endian and size bugs
wessels [Tue, 15 Sep 1998 10:23:37 +0000 (10:23 +0000)] 
fix new flags endian and size bugs

27 years agowarning
wessels [Tue, 15 Sep 1998 05:42:37 +0000 (05:42 +0000)] 
warning

27 years agocompiler
wessels [Tue, 15 Sep 1998 05:42:07 +0000 (05:42 +0000)] 
compiler

27 years agonew, improved comm_connect_addr():
wessels [Tue, 15 Sep 1998 05:35:24 +0000 (05:35 +0000)] 
new, improved comm_connect_addr():
don't call connect() after the first one would block.  Instead,
call getsockopt(SO_ERROR).  This should handle the HP-UX and
FreeBSD EALREADY looping.

27 years agocompiler
wessels [Tue, 15 Sep 1998 04:40:11 +0000 (04:40 +0000)] 
compiler

27 years agomake int:1 flags unsigned
wessels [Tue, 15 Sep 1998 04:38:27 +0000 (04:38 +0000)] 
make int:1 flags unsigned

27 years agodefine Safe_ports
wessels [Tue, 15 Sep 1998 04:34:02 +0000 (04:34 +0000)] 
define Safe_ports

27 years agoupdate
wessels [Tue, 15 Sep 1998 04:29:11 +0000 (04:29 +0000)] 
update

27 years agointeger range support for PORT ACLs
wessels [Tue, 15 Sep 1998 04:27:57 +0000 (04:27 +0000)] 
integer range support for PORT ACLs

27 years agotypo
wessels [Tue, 15 Sep 1998 04:20:00 +0000 (04:20 +0000)] 
typo

27 years agomore EBIT replacements
wessels [Tue, 15 Sep 1998 04:18:04 +0000 (04:18 +0000)] 
more EBIT replacements

27 years agomore EBIT replacements
wessels [Tue, 15 Sep 1998 04:17:56 +0000 (04:17 +0000)] 
more EBIT replacements

27 years agoreplaced NEIGHBOR_ and HELPER_ EBIT calls
wessels [Tue, 15 Sep 1998 03:58:45 +0000 (03:58 +0000)] 
replaced NEIGHBOR_ and HELPER_ EBIT calls

27 years agoremoved EBIT macros for StoreEntry->flag
wessels [Tue, 15 Sep 1998 03:28:00 +0000 (03:28 +0000)] 
removed EBIT macros for StoreEntry->flag

27 years agotimeout calculation bug; off by 1000!
wessels [Tue, 15 Sep 1998 02:29:30 +0000 (02:29 +0000)] 
timeout calculation bug; off by 1000!

27 years agoupdate
wessels [Tue, 15 Sep 1998 02:29:12 +0000 (02:29 +0000)] 
update

27 years agoprevent NPR
wessels [Mon, 14 Sep 1998 21:46:48 +0000 (21:46 +0000)] 
prevent NPR

27 years agoupdate comments
wessels [Mon, 14 Sep 1998 08:33:54 +0000 (08:33 +0000)] 
update comments

27 years agoremove DOUBTFUL code
wessels [Mon, 14 Sep 1998 08:33:01 +0000 (08:33 +0000)] 
remove DOUBTFUL code

27 years agoRemoved 'method bits' hack from ICP query/reply. This will break
wessels [Fri, 11 Sep 1998 23:07:41 +0000 (23:07 +0000)] 
Removed 'method bits' hack from ICP query/reply.  This will break
interoperability.  Instead the ICP server treats all queries as
METHOD_GET.

The ICP client code, however, uses an array of the most recent
8192 keys sent in ICP queries.  The reqnum is an index to this
array, so we can look up the key for an ICP reply easily.

Also changed storeKeyPublic and storeKeyPrivate to NOT use snprintf, but
just pass integers 'id' and 'method' directly to md5update.

27 years agoduplicate ICP_SECHO case
wessels [Fri, 11 Sep 1998 21:56:43 +0000 (21:56 +0000)] 
duplicate ICP_SECHO case

27 years agoupdate
wessels [Fri, 11 Sep 1998 11:22:56 +0000 (11:22 +0000)] 
update

27 years agotypo
wessels [Fri, 11 Sep 1998 05:46:09 +0000 (05:46 +0000)] 
typo

27 years agoadded asndb cachemgr output
wessels [Fri, 11 Sep 1998 04:30:19 +0000 (04:30 +0000)] 
added asndb cachemgr output

27 years agodon't close same FD twice if unlinkd_wfd == unlinkd_rfd.
wessels [Fri, 11 Sep 1998 01:56:28 +0000 (01:56 +0000)] 
don't close same FD twice if unlinkd_wfd == unlinkd_rfd.

27 years agoIf we are over the FD limit, and we can read more on the server-side
wessels [Fri, 11 Sep 1998 01:50:55 +0000 (01:50 +0000)] 
If we are over the FD limit, and we can read more on the server-side
without deferring, then postpone the swapout open until the FD usage
goes down.

27 years agofurther safegurads in httpMaybeRemovePublic. return if the key
wessels [Fri, 11 Sep 1998 01:48:55 +0000 (01:48 +0000)] 
further safegurads in httpMaybeRemovePublic.  return if the key
is PUBLIC, and assert that we don't remove the "current" entry.

27 years agoIf neighbors don't support our private keys, then we can't use the
wessels [Fri, 11 Sep 1998 01:45:53 +0000 (01:45 +0000)] 
If neighbors don't support our private keys, then we can't use the
httpMaybeRemovePublic() function because ALL entries are public and
we end up removing our own.

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