]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agoTransitioning Cache Digests from "experimental" to fundamental.
wessels [Thu, 14 May 1998 22:33:47 +0000 (22:33 +0000)] 
Transitioning Cache Digests from "experimental" to fundamental.
Removed a lot of stats collection, espeically large histograms.
Made peerDigestInit() called from an event, instead of being
called directly -- this avoids some recursion.
The selection algorithm is still kind of hard coded as follows:
cache digests
netdb (if CD's miss)
ICP (if netdb has no RTT data)

27 years agotype bug
wessels [Thu, 14 May 1998 05:09:47 +0000 (05:09 +0000)] 
type bug

27 years agoMust memcpy() tmp_keys to ensure alignment!
wessels [Thu, 14 May 1998 04:59:44 +0000 (04:59 +0000)] 
Must memcpy() tmp_keys to ensure alignment!

27 years agoupdate
wessels [Thu, 14 May 1998 03:50:15 +0000 (03:50 +0000)] 
update

27 years agoRewrite hash_remove_link() to use pointer-to-pointer
wessels [Thu, 14 May 1998 03:48:26 +0000 (03:48 +0000)] 
Rewrite hash_remove_link() to use pointer-to-pointer

27 years agostoreSwapInFileOpened now releases failed objects
wessels [Thu, 14 May 1998 03:30:14 +0000 (03:30 +0000)] 
storeSwapInFileOpened now releases failed objects

27 years agocleaned up storeSwapInFileOpened, especially for failure cases.
wessels [Thu, 14 May 1998 03:29:37 +0000 (03:29 +0000)] 
cleaned up storeSwapInFileOpened, especially for failure cases.
Call storeReleaseRequest() directly from here to be sure the
bad object gets thrown out.

27 years agocleanup -- add ^extern
wessels [Thu, 14 May 1998 03:28:08 +0000 (03:28 +0000)] 
cleanup -- add ^extern

27 years agoChanged ipcache_gethostbyname() to return NULL if i->addrs.count == 0;
wessels [Thu, 14 May 1998 03:25:54 +0000 (03:25 +0000)] 
Changed ipcache_gethostbyname() to return NULL if i->addrs.count == 0;

27 years agochange hash_remove_link() to return void and fatal() upon error.
wessels [Thu, 14 May 1998 03:24:46 +0000 (03:24 +0000)] 
change hash_remove_link() to return void and fatal() upon error.

27 years agoFMR fix
wessels [Thu, 14 May 1998 03:20:42 +0000 (03:20 +0000)] 
FMR fix

27 years agoip_access_type unused
wessels [Thu, 14 May 1998 03:20:02 +0000 (03:20 +0000)] 
ip_access_type unused

27 years agohash_link->item unused
wessels [Thu, 14 May 1998 03:19:44 +0000 (03:19 +0000)] 
hash_link->item unused

27 years agoFixed byte-order bugs in cacheDigestHashKey.
wessels [Thu, 14 May 1998 03:16:30 +0000 (03:16 +0000)] 
Fixed byte-order bugs in cacheDigestHashKey.

27 years ago- set INIT flag earlier in peerDigestInit() to avoid a loop through
rousskov [Wed, 13 May 1998 04:07:36 +0000 (04:07 +0000)] 
- set INIT flag earlier in peerDigestInit() to avoid a loop through
  peerDigestValidate() -> peerSelect() -> pperDigestLookup() -> peerDigestInit()

27 years agoeventAdd cleanups
wessels [Wed, 13 May 1998 02:29:24 +0000 (02:29 +0000)] 
eventAdd cleanups

27 years agoeventAdd, eventRun, et al. now check cbdata before making a callback.
wessels [Wed, 13 May 1998 02:16:32 +0000 (02:16 +0000)] 
eventAdd, eventRun, et al. now check cbdata before making a callback.
If the 'arg' pointer becomes invalid, then the event is NOT run.
Events with NULL 'arg's are always run.

27 years agoremoved extra cbdataLock/Unlock calls since event functions now do
wessels [Wed, 13 May 1998 02:14:05 +0000 (02:14 +0000)] 
removed extra cbdataLock/Unlock calls since event functions now do
that themselves

27 years agoadding
wessels [Wed, 13 May 1998 02:01:57 +0000 (02:01 +0000)] 
adding

27 years agohide potential coredump warnings with higher debugs
wessels [Tue, 12 May 1998 10:11:16 +0000 (10:11 +0000)] 
hide potential coredump warnings with higher debugs

27 years agoexperimental comm_lingering_close()
wessels [Tue, 12 May 1998 03:34:09 +0000 (03:34 +0000)] 
experimental comm_lingering_close()

27 years ago- Enabled request->cache_control and removed REQ_CC_ONLY_IF_CACHED
rousskov [Tue, 12 May 1998 02:56:06 +0000 (02:56 +0000)] 
- Enabled request->cache_control and removed REQ_CC_ONLY_IF_CACHED
- Fixed memory leak for request->cache_control field

27 years agodon't exchange too-large RTTs (it broke inet_htons()).
wessels [Tue, 12 May 1998 02:35:32 +0000 (02:35 +0000)] 
don't exchange too-large RTTs (it broke inet_htons()).
Limit at 60 seconds

27 years agoCan't rename open files on windows.
wessels [Tue, 12 May 1998 02:06:19 +0000 (02:06 +0000)] 
Can't rename open files on windows.

27 years ago - Added binary http headers to requests
rousskov [Tue, 12 May 1998 00:44:23 +0000 (00:44 +0000)] 
    - Added binary http headers to requests
        - request_t objects are now created and destroyed in a consistent way
        - Fixed cache control printf bug
        - Added a lot of new http header ids
        - Improved Connection: header handling; now both Connection and
          Proxy-Connection headers are checked
        - Connection request header is now handled correctly regardless
          of its position and the number of entries
        - Better handling of persistent connection "clues" in HTTP headers
        - Removed handling of "length=" directive in IMS headers;
          the directive is not in the HTTP/1.1 standard;
          standing by for objections
        - allowed/denied headers are now checked using bit masks instead of
          strcmp loops
        - removed Uri: from allowed headers; Uri is deprecated in RFC 2068
        - removed processing of Request-Range header (no in specs?)

note: binary headers for requests are not completed:
request_t still keeps and ascii image of the headers

27 years agouse storePurgeMem instead of storeRelease in storeGetMemSpace
wessels [Sun, 10 May 1998 20:35:51 +0000 (20:35 +0000)] 
use storePurgeMem instead of storeRelease in storeGetMemSpace

27 years agohandle STORE_ABORTED in netdbExchangeHandleReply
wessels [Sun, 10 May 1998 09:03:12 +0000 (09:03 +0000)] 
handle STORE_ABORTED in netdbExchangeHandleReply

27 years agoupdate
wessels [Sun, 10 May 1998 07:55:38 +0000 (07:55 +0000)] 
update

27 years agoreset mem->fd == -1 if we unregister that client
wessels [Sun, 10 May 1998 07:46:53 +0000 (07:46 +0000)] 
reset mem->fd == -1 if we unregister that client

27 years agoend-of-object fixes. need to unregister, etc.
wessels [Sat, 9 May 1998 22:49:00 +0000 (22:49 +0000)] 
end-of-object fixes.  need to unregister, etc.

27 years agoDont assert mem->clients == NULL for descriptorless clients
wessels [Sat, 9 May 1998 22:48:41 +0000 (22:48 +0000)] 
Dont assert mem->clients == NULL for descriptorless clients

27 years agoFixed dealing with end-of-transfer bugs. Added lots of debugging
wessels [Sat, 9 May 1998 22:31:39 +0000 (22:31 +0000)] 
Fixed dealing with end-of-transfer bugs.  Added lots of debugging

27 years agomem_obj->fd fixes; set it in protoDispatch()
wessels [Sat, 9 May 1998 10:49:08 +0000 (10:49 +0000)] 
mem_obj->fd fixes; set it in protoDispatch()

27 years agonetdbExchangeUpdatePeer
wessels [Sat, 9 May 1998 05:56:13 +0000 (05:56 +0000)] 
netdbExchangeUpdatePeer

27 years agoinitialize mem_obj->fd = -1
wessels [Sat, 9 May 1998 05:54:02 +0000 (05:54 +0000)] 
initialize mem_obj->fd = -1

27 years agoremoved old, unused code
wessels [Sat, 9 May 1998 05:29:25 +0000 (05:29 +0000)] 
removed old, unused code

27 years agoDavid Luyer's
wessels [Sat, 9 May 1998 04:58:34 +0000 (04:58 +0000)] 
David Luyer's
patch for ARP_ACL on Linux

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Sat, 9 May 1998 04:52:33 +0000 (04:52 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>
The GNU-regex check was failing on RH5, where GNU-regex is not really
needed.

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Sat, 9 May 1998 04:51:03 +0000 (04:51 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>

Here is a polished and updated test suite a bit..

* pconn-banger reports a throughtput report, like tcp-banger2
* both tools include support to validate size and a simple checksum
* A couple of pconn-banger bugs fixed.
* Wrote a small perl script that joins a URL list, and a size-checksum
report from tcp-banger to a combined list (needed to use the validation
feature).

Syntax for URL lists is eiter plain 1 URL/line, or
METHOD URL [Request-File|-] [size checksum]

The tools can send HTTP requests with any method or request-body, but
they do not (yet) support HEAD replies.

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Sat, 9 May 1998 04:35:06 +0000 (04:35 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>
A safeguard to force the client connection to close after a error
message.

27 years agofast select() timeouts for ASYNC_IO
wessels [Sat, 9 May 1998 04:20:45 +0000 (04:20 +0000)] 
fast select() timeouts for ASYNC_IO

27 years agoadding russian pages by Andrew L. Davydov
wessels [Sat, 9 May 1998 04:09:39 +0000 (04:09 +0000)] 
adding russian pages by Andrew L. Davydov

27 years agoclean up checking -lcrypt and -lpthread
wessels [Sat, 9 May 1998 04:06:52 +0000 (04:06 +0000)] 
clean up checking -lcrypt and -lpthread

27 years agouse real program name in ps output
wessels [Sat, 9 May 1998 04:00:23 +0000 (04:00 +0000)] 
use real program name in ps output

27 years agocleanup
wessels [Sat, 9 May 1998 03:59:49 +0000 (03:59 +0000)] 
cleanup

27 years agoneed to protect new exchange functions with #ifdefs
wessels [Sat, 9 May 1998 03:22:16 +0000 (03:22 +0000)] 
need to protect new exchange functions with #ifdefs

27 years agoassertion found bug
wessels [Fri, 8 May 1998 22:40:35 +0000 (22:40 +0000)] 
assertion found bug

27 years agoURN changes -- sorting the output by RTT
wessels [Fri, 8 May 1998 12:34:59 +0000 (12:34 +0000)] 
URN changes -- sorting the output by RTT

27 years agostore_client.c
wessels [Fri, 8 May 1998 02:49:18 +0000 (02:49 +0000)] 
store_client.c

27 years agomake netdbExchangeStart standard
wessels [Thu, 7 May 1998 03:09:51 +0000 (03:09 +0000)] 
make netdbExchangeStart standard

27 years agoneed new flag for storeClientCopyEvent conditions
wessels [Thu, 7 May 1998 02:09:34 +0000 (02:09 +0000)] 
need new flag for storeClientCopyEvent conditions

27 years agouse 4K buffer instead of TCP_SO_RCV_BUFSZ
wessels [Thu, 7 May 1998 02:09:15 +0000 (02:09 +0000)] 
use 4K buffer instead of TCP_SO_RCV_BUFSZ

27 years agore-work storeClientCopyEvent hack
wessels [Thu, 7 May 1998 02:09:00 +0000 (02:09 +0000)] 
re-work storeClientCopyEvent hack

27 years agodebugging and gindent
wessels [Wed, 6 May 1998 23:07:57 +0000 (23:07 +0000)] 
debugging and gindent

27 years agoadd debugging
wessels [Wed, 6 May 1998 13:01:15 +0000 (13:01 +0000)] 
add debugging

27 years agoupdate debug
wessels [Wed, 6 May 1998 12:56:46 +0000 (12:56 +0000)] 
update debug

27 years agobuilt flags structs for store_client.
wessels [Wed, 6 May 1998 12:54:30 +0000 (12:54 +0000)] 
built flags structs for store_client.

Added storeClientCopyEvent() to break storeClientCopy() recursion

27 years agodisable calling netdbExchangeStart temporarily
wessels [Wed, 6 May 1998 10:24:38 +0000 (10:24 +0000)] 
disable calling netdbExchangeStart temporarily

27 years agodebug level fixing and gindent
wessels [Wed, 6 May 1998 05:27:29 +0000 (05:27 +0000)] 
debug level fixing and gindent

27 years agocatch urlParse failures
wessels [Wed, 6 May 1998 05:08:14 +0000 (05:08 +0000)] 
catch urlParse failures

27 years agouse internalCheck
wessels [Wed, 6 May 1998 05:04:04 +0000 (05:04 +0000)] 
use internalCheck

27 years agomissing squid-internal-periodic
wessels [Wed, 6 May 1998 05:01:25 +0000 (05:01 +0000)] 
missing squid-internal-periodic

27 years agomatch storeClientCopy buf size to HTTP read buf size
wessels [Wed, 6 May 1998 00:52:59 +0000 (00:52 +0000)] 
match storeClientCopy buf size to HTTP read buf size

27 years agoupdate
wessels [Tue, 5 May 1998 22:51:25 +0000 (22:51 +0000)] 
update

27 years agoupdate database with netdb exchange replies
wessels [Tue, 5 May 1998 22:46:56 +0000 (22:46 +0000)] 
update database with netdb exchange replies

27 years agostore copy offset fixes
wessels [Tue, 5 May 1998 22:11:30 +0000 (22:11 +0000)] 
store copy offset fixes

27 years agoreplace urlRInternal with internalRemoteUri
wessels [Tue, 5 May 1998 11:36:34 +0000 (11:36 +0000)] 
replace urlRInternal with internalRemoteUri

27 years agofurther netdb exchange progress
wessels [Tue, 5 May 1998 11:35:38 +0000 (11:35 +0000)] 
further netdb exchange progress

27 years agoreworking squid-internal namespace and functions
wessels [Tue, 5 May 1998 09:49:56 +0000 (09:49 +0000)] 
reworking squid-internal namespace and functions

27 years agofixed filling mem_obj->reply structure for cachemgr requests.
wessels [Tue, 5 May 1998 03:43:09 +0000 (03:43 +0000)] 
fixed filling mem_obj->reply structure for cachemgr requests.

27 years agouninitialized pointer
wessels [Mon, 4 May 1998 23:13:35 +0000 (23:13 +0000)] 
uninitialized pointer

27 years agoupdate comments
wessels [Mon, 4 May 1998 22:12:59 +0000 (22:12 +0000)] 
update comments

27 years agobinary netdb peer-peer transfers
wessels [Sat, 2 May 1998 12:42:43 +0000 (12:42 +0000)] 
binary netdb peer-peer transfers

27 years agobuffer error pages
wessels [Sat, 2 May 1998 12:41:58 +0000 (12:41 +0000)] 
buffer error pages

27 years agointernal URL debugging
wessels [Sat, 2 May 1998 12:41:09 +0000 (12:41 +0000)] 
internal URL debugging

27 years agouse names instead of numbers for HTTP codes
wessels [Sat, 2 May 1998 12:40:23 +0000 (12:40 +0000)] 
use names instead of numbers for HTTP codes

27 years agoyear-2000 fix (Henrik Nordstrom)
wessels [Sat, 2 May 1998 04:37:14 +0000 (04:37 +0000)] 
year-2000 fix (Henrik Nordstrom)

27 years agoFrom: Andy Powell <lisap@ukoln.ac.uk>
wessels [Sat, 2 May 1998 04:13:32 +0000 (04:13 +0000)] 
From:    Andy Powell <lisap@ukoln.ac.uk>
Here is a suggested patch for urn.c in Squid 1.2 beta 20.  This patch
causes Squid's URN code to always return an HTTP redirect (by adding a
Location:  header to the reply) if the called N2L script only returns a
single URL. (It seems pointless offering the end-user a choice of only one
URL?).

27 years agomoved updating byte counters to after read() and write() calls
wessels [Sat, 2 May 1998 04:06:35 +0000 (04:06 +0000)] 
moved updating byte counters to after read() and write() calls

27 years agoremoved cache_stoplist_pattern and associated code
wessels [Sat, 2 May 1998 04:06:17 +0000 (04:06 +0000)] 
removed cache_stoplist_pattern and associated code

27 years agoremoved cache_stoplist_pattern and associated code
wessels [Sat, 2 May 1998 03:09:55 +0000 (03:09 +0000)] 
removed cache_stoplist_pattern and associated code

27 years agoFixed ASN/whois replies larger than 4KB. Also fixed AS radix tree
wessels [Fri, 1 May 1998 23:37:12 +0000 (23:37 +0000)] 
Fixed ASN/whois replies larger than 4KB.  Also fixed AS radix tree
masks (?) and other minor cleanup

27 years agoThis patch fixes a presistent connections bug/misfeature. We did non
wessels [Tue, 28 Apr 1998 02:03:55 +0000 (02:03 +0000)] 
This patch fixes a presistent connections bug/misfeature.  We did non
honor any (Proxy-)Connection: header send by the server.

27 years agoIgnore leading whitespace when looking for requests and server replies,
wessels [Tue, 28 Apr 1998 01:54:01 +0000 (01:54 +0000)] 
Ignore leading whitespace when looking for requests and server replies,
to make HTTP a bit more robust. Don't bail out if we receive a empty
line where a request-line is expected (a SHOULD in rfc2068).

27 years agoHenrik thought DW's code was unreadable.
wessels [Tue, 28 Apr 1998 01:52:48 +0000 (01:52 +0000)] 
Henrik thought DW's code was unreadable.

27 years agofixed broken recursion detection
wessels [Tue, 28 Apr 1998 01:51:53 +0000 (01:51 +0000)] 
fixed broken recursion detection

27 years agotypo
wessels [Tue, 28 Apr 1998 01:48:01 +0000 (01:48 +0000)] 
typo

27 years agocompiler warnings by Ilia Zadorozhko <falcon@netsy.com>
wessels [Tue, 28 Apr 1998 01:15:59 +0000 (01:15 +0000)] 
compiler warnings by Ilia Zadorozhko <falcon@netsy.com>

27 years ago- added statHistSafeCopy for copying histograms with variable capacity
rousskov [Mon, 27 Apr 1998 23:25:01 +0000 (23:25 +0000)] 
- added statHistSafeCopy for copying histograms with variable capacity
  statHistSafeCopy will not copy old values if capacities differ
  statHistSafeCopy is a hack, but "general" solution is hard to find

27 years agoadding
wessels [Mon, 27 Apr 1998 22:22:49 +0000 (22:22 +0000)] 
adding

27 years agoupdate
wessels [Mon, 27 Apr 1998 22:04:06 +0000 (22:04 +0000)] 
update

27 years agoupdate
wessels [Sat, 25 Apr 1998 13:29:13 +0000 (13:29 +0000)] 
update

27 years agomake Generated string like errorpage.c
wessels [Sat, 25 Apr 1998 13:25:41 +0000 (13:25 +0000)] 
make Generated string like errorpage.c

27 years agoDW broke ftp directory parsing again
wessels [Sat, 25 Apr 1998 13:19:55 +0000 (13:19 +0000)] 
DW broke ftp directory parsing again

27 years agofix asn acl initialize stuff
wessels [Sat, 25 Apr 1998 13:07:40 +0000 (13:07 +0000)] 
fix asn acl initialize stuff

27 years agoremoved never-called code.
wessels [Sat, 25 Apr 1998 05:47:38 +0000 (05:47 +0000)] 
removed never-called code.

27 years agoupdate
wessels [Sat, 25 Apr 1998 03:34:07 +0000 (03:34 +0000)] 
update

27 years agoadding Italian errors
wessels [Sat, 25 Apr 1998 03:33:31 +0000 (03:33 +0000)] 
adding Italian errors

27 years agoupdate
wessels [Sat, 25 Apr 1998 00:48:08 +0000 (00:48 +0000)] 
update

27 years agoRemoved hacks in peer_select.c for ASN lookups. We cannot delay
wessels [Sat, 25 Apr 1998 00:47:42 +0000 (00:47 +0000)] 
Removed hacks in peer_select.c for ASN lookups.  We cannot delay
wait for IP lookups in the peer selection process, and we do not
want to lookup EVERY address there.  Instead, the acl.c routines
will lookup IP addresses for hostnames if they are not available.
So the first time we check some host, it may not match, but should
be present for subsequent requests.