]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agofix assertions when sizeof (char *) != 4
wessels [Wed, 29 Oct 1997 12:19:57 +0000 (12:19 +0000)] 
fix assertions when sizeof (char *) != 4

27 years agoinitialize _res.options to RES_DEFAULT
wessels [Wed, 29 Oct 1997 12:19:06 +0000 (12:19 +0000)] 
initialize _res.options to RES_DEFAULT

27 years agoremove space after backslash
wessels [Wed, 29 Oct 1997 12:01:10 +0000 (12:01 +0000)] 
remove space after backslash

27 years agoupdate
wessels [Wed, 29 Oct 1997 11:40:30 +0000 (11:40 +0000)] 
update

27 years agocompiler
wessels [Wed, 29 Oct 1997 11:39:30 +0000 (11:39 +0000)] 
compiler

27 years agoMLK fix
wessels [Wed, 29 Oct 1997 11:30:34 +0000 (11:30 +0000)] 
MLK fix

27 years agoupdate
wessels [Wed, 29 Oct 1997 09:40:44 +0000 (09:40 +0000)] 
update

27 years agoremove unused funcs/variables
wessels [Wed, 29 Oct 1997 09:36:36 +0000 (09:36 +0000)] 
remove unused funcs/variables

27 years agocall the store_client callback with size 0 in storeUnregister if
wessels [Wed, 29 Oct 1997 09:32:08 +0000 (09:32 +0000)] 
call the store_client callback with size 0 in storeUnregister if
the callback is set.

27 years agochange BIT_RESET to BIT_CLEAR
wessels [Wed, 29 Oct 1997 04:59:02 +0000 (04:59 +0000)] 
change BIT_RESET to BIT_CLEAR

27 years agoCombine storeGetSwapSpace with storeMaintainSwapSpace. Don't need
wessels [Wed, 29 Oct 1997 04:56:04 +0000 (04:56 +0000)] 
Combine storeGetSwapSpace with storeMaintainSwapSpace.  Don't need
the silly bucket order and sorting stuff any more!

27 years agostoreGetSwapSpace(int) is now gone. If we run out of file numbers,
wessels [Wed, 29 Oct 1997 04:55:12 +0000 (04:55 +0000)] 
storeGetSwapSpace(int) is now gone.  If we run out of file numbers,
make it fatal.

27 years agoNeed a flag to know when to use cbdataFree() or safe_free() for an 'err'
wessels [Wed, 29 Oct 1997 04:54:28 +0000 (04:54 +0000)] 
Need a flag to know when to use cbdataFree() or safe_free() for an 'err'
structure

27 years agorequire reference_age to be at least 5 minutes
wessels [Wed, 29 Oct 1997 04:53:35 +0000 (04:53 +0000)] 
require reference_age to be at least 5 minutes

27 years agovarious MLK fixes
wessels [Wed, 29 Oct 1997 03:42:50 +0000 (03:42 +0000)] 
various MLK fixes

27 years agocomments
wessels [Wed, 29 Oct 1997 01:10:46 +0000 (01:10 +0000)] 
comments

27 years agocopy httpCachableReply() from 1.1 source, replacing httpCheckPublic()
wessels [Wed, 29 Oct 1997 01:10:38 +0000 (01:10 +0000)] 
copy httpCachableReply() from 1.1 source, replacing httpCheckPublic()

27 years agomore swapout.fd fixes
wessels [Tue, 28 Oct 1997 13:54:14 +0000 (13:54 +0000)] 
more swapout.fd fixes

27 years agoFix a number of FD remaining open bugs.
wessels [Tue, 28 Oct 1997 13:47:41 +0000 (13:47 +0000)] 
Fix a number of FD remaining open bugs.

27 years agogive at least 1 second to shutdown all the sockets
wessels [Tue, 28 Oct 1997 13:46:51 +0000 (13:46 +0000)] 
give at least 1 second to shutdown all the sockets

27 years agodefine ALARM_UPDATES_TIME to use alarm(3). otherwise, update clock before each select()
wessels [Tue, 28 Oct 1997 06:30:20 +0000 (06:30 +0000)] 
define ALARM_UPDATES_TIME to use alarm(3).  otherwise, update clock before each select()

27 years ago1.2.beta2
wessels [Tue, 28 Oct 1997 05:58:46 +0000 (05:58 +0000)] 
1.2.beta2

27 years agoremove HIER_EXPERIMENT code
wessels [Tue, 28 Oct 1997 05:54:37 +0000 (05:54 +0000)] 
remove HIER_EXPERIMENT code

27 years agoremove UNUSED_CODE and OLD_CODE sections
wessels [Tue, 28 Oct 1997 05:53:09 +0000 (05:53 +0000)] 
remove UNUSED_CODE and OLD_CODE sections

27 years agoTone down debug levels
wessels [Tue, 28 Oct 1997 05:49:48 +0000 (05:49 +0000)] 
Tone down debug levels

27 years agoDon't queue something to a dnsserver if it is DNS_FLAG_CLOSING.
wessels [Tue, 28 Oct 1997 05:49:26 +0000 (05:49 +0000)] 
Don't queue something to a dnsserver if it is DNS_FLAG_CLOSING.

27 years ago- Removed IP_BLOCKING_LOOKUP and FQDN_BLOCKING_LOOKUP flags. All DNS
wessels [Tue, 28 Oct 1997 05:48:55 +0000 (05:48 +0000)] 
- Removed IP_BLOCKING_LOOKUP and FQDN_BLOCKING_LOOKUP flags.  All DNS
  lookups must now be non-blocking.
- Don't queue something to a dnsserver if it is DNS_FLAG_CLOSING.
- Call an IP cache entry expired if addrs.count == 0.

27 years agocomm_udp_send() not used anywhere!
wessels [Tue, 28 Oct 1997 04:58:48 +0000 (04:58 +0000)] 
comm_udp_send() not used anywhere!

27 years agoupdate
wessels [Tue, 28 Oct 1997 04:36:24 +0000 (04:36 +0000)] 
update

27 years agoReengineered the double-linked lists for inmem objects, and now another
wessels [Tue, 28 Oct 1997 04:34:52 +0000 (04:34 +0000)] 
Reengineered the double-linked lists for inmem objects, and now another
for all objects.  The 'dlink_node' structures are embedded into
StoreEntry and MemObject.  storeGetMemSpace() and storeGetSwapSpace()
start at the tail of the lists and start deleting their way up.
In storeLockObject() we move a StoreEntry to the top of the list
if the lock_count was zero.

27 years agominor change
wessels [Tue, 28 Oct 1997 04:33:02 +0000 (04:33 +0000)] 
minor change

27 years agoset err->url, and make sure we xstrdup() it!
wessels [Tue, 28 Oct 1997 03:05:13 +0000 (03:05 +0000)] 
set err->url, and make sure we xstrdup() it!

27 years agoMore changes to error messages when above the max swap space
wessels [Tue, 28 Oct 1997 01:26:57 +0000 (01:26 +0000)] 
More changes to error messages when above the max swap space
Dont assert that swap_status == SWAPOUT_DONE in storeRelease()

27 years agofix long line bug from John Line webadm@info.cam.ac.uk
wessels [Tue, 28 Oct 1997 01:11:34 +0000 (01:11 +0000)] 
fix long line bug from John Line webadm@info.cam.ac.uk

27 years agostoreGetSwapSpace(). Don't increment swap_help if we are actually
wessels [Mon, 27 Oct 1997 23:33:56 +0000 (23:33 +0000)] 
storeGetSwapSpace().  Don't increment swap_help if we are actually
deleting objects..

27 years ago- split storeClientCopy into itself and storeClientCopy2().
wessels [Mon, 27 Oct 1997 12:37:35 +0000 (12:37 +0000)] 
- split storeClientCopy into itself and storeClientCopy2().
  Problem was that InvokeHandlers() did a memCopy() for ALL existing
  callbacks.  Thats not allowed any more--some of the clients might
  be reading from disk.  So InvokeHandlers now calls storeClientCopy2().
- removed storeCopy()

27 years agoonly call storeDirUpdateSwapSize() when we change the state to
wessels [Mon, 27 Oct 1997 11:30:22 +0000 (11:30 +0000)] 
only call storeDirUpdateSwapSize() when we change the state to
SWAPOUT_DONE

27 years agoABR fix
wessels [Mon, 27 Oct 1997 10:12:12 +0000 (10:12 +0000)] 
ABR fix

27 years agooff-by-one bug caused ABR
wessels [Sun, 26 Oct 1997 14:16:38 +0000 (14:16 +0000)] 
off-by-one bug caused ABR

27 years agocompiler
wessels [Sun, 26 Oct 1997 14:06:13 +0000 (14:06 +0000)] 
compiler

27 years agoapply Mike Pelliters connection retry ideas
wessels [Sun, 26 Oct 1997 13:26:23 +0000 (13:26 +0000)] 
apply Mike Pelliters connection retry ideas

27 years ago- Removed 'was assert' commengs
wessels [Sun, 26 Oct 1997 09:35:27 +0000 (09:35 +0000)] 
- Removed 'was assert' commengs
- made ever comm_write callback (CWCB) know about COMM_ERR_CLOSING code

27 years agoDefine ERR_COMM_CLOSING error status code to be used when the comm_write
wessels [Sun, 26 Oct 1997 09:33:16 +0000 (09:33 +0000)] 
Define ERR_COMM_CLOSING error status code to be used when the comm_write
callback is called from comm_close().

27 years agocompiler
wessels [Sun, 26 Oct 1997 08:46:08 +0000 (08:46 +0000)] 
compiler

27 years agoupdate
wessels [Sun, 26 Oct 1997 08:38:59 +0000 (08:38 +0000)] 
update

27 years agoenhanced client with 'ping' behaviour. (Ron Gomes)
wessels [Sat, 25 Oct 1997 23:58:08 +0000 (23:58 +0000)] 
enhanced client with 'ping' behaviour. (Ron Gomes)

27 years agoupdate
wessels [Sat, 25 Oct 1997 23:48:14 +0000 (23:48 +0000)] 
update

27 years agoget rid of ansiproto.h and _PARAMS macro
wessels [Sat, 25 Oct 1997 23:22:24 +0000 (23:22 +0000)] 
get rid of ansiproto.h and _PARAMS macro

27 years agomemory leaks (Max Okumoto)
wessels [Sat, 25 Oct 1997 22:58:25 +0000 (22:58 +0000)] 
memory leaks (Max Okumoto)

27 years agoremove comments about unknow 'tmp_error_buf' size
wessels [Sat, 25 Oct 1997 22:49:06 +0000 (22:49 +0000)] 
remove comments about unknow 'tmp_error_buf' size

27 years agoNeed 'dummy' third arg to fcntl(). (Max Okumoto)
wessels [Sat, 25 Oct 1997 22:47:06 +0000 (22:47 +0000)] 
Need 'dummy' third arg to fcntl().  (Max Okumoto)

27 years agouse HTTP_OK instead of '200' (Max Okumoto)
wessels [Sat, 25 Oct 1997 22:45:59 +0000 (22:45 +0000)] 
use HTTP_OK instead of '200' (Max Okumoto)

27 years agoIncrement offset before file_write() call so the callback doesn't get
wessels [Sat, 25 Oct 1997 22:45:00 +0000 (22:45 +0000)] 
Increment offset before file_write() call so the callback doesn't get
called immediately and the data queued twice.  (Michael O'Reilly).

27 years ago/* If there is a callback, the callback is responsible to close
wessels [Sat, 25 Oct 1997 22:41:22 +0000 (22:41 +0000)] 
/* If there is a callback, the callback is responsible to close
 * the FD, otherwise we do it ourseves. */

27 years agoremove commented-out storeAppend call
wessels [Sat, 25 Oct 1997 12:26:40 +0000 (12:26 +0000)] 
remove commented-out storeAppend call

27 years agoerr->errno --> err->xerrno
wessels [Sat, 25 Oct 1997 00:10:36 +0000 (00:10 +0000)] 
err->errno --> err->xerrno

27 years agoFrom: Arjan de Vet <Arjan.deVet@nl.cis.philips.com>
wessels [Fri, 24 Oct 1997 23:50:37 +0000 (23:50 +0000)] 
From:    Arjan de Vet <Arjan.deVet@nl.cis.philips.com>
The following patch fixes a bug with tmp_error_buf and makes
compilation work when USE_ASYNC_IO is defined.

27 years agoupdate
wessels [Fri, 24 Oct 1997 11:06:54 +0000 (11:06 +0000)] 
update

27 years agoupdate
wessels [Fri, 24 Oct 1997 11:01:53 +0000 (11:01 +0000)] 
update

27 years agoupdate
wessels [Fri, 24 Oct 1997 11:00:57 +0000 (11:00 +0000)] 
update

27 years agoupdate
wessels [Fri, 24 Oct 1997 10:59:33 +0000 (10:59 +0000)] 
update

27 years agoAllow arbitrary text in the config file
wessels [Fri, 24 Oct 1997 10:56:34 +0000 (10:56 +0000)] 
Allow arbitrary text in the config file
Oskar Pearson

27 years agopoll() workaround for linux by Oskar Pearson
wessels [Fri, 24 Oct 1997 10:55:56 +0000 (10:55 +0000)] 
poll() workaround for linux by Oskar Pearson

27 years agospelling
wessels [Fri, 24 Oct 1997 10:55:35 +0000 (10:55 +0000)] 
spelling

27 years agoassert on swap_help counter
wessels [Fri, 24 Oct 1997 10:41:56 +0000 (10:41 +0000)] 
assert on swap_help counter

27 years agoremove debugs
wessels [Fri, 24 Oct 1997 10:06:23 +0000 (10:06 +0000)] 
remove debugs

27 years agoAdded LOG_TCP_MEM_HIT tag
wessels [Fri, 24 Oct 1997 09:53:45 +0000 (09:53 +0000)] 
Added LOG_TCP_MEM_HIT tag

27 years agogindent
wessels [Fri, 24 Oct 1997 09:53:10 +0000 (09:53 +0000)] 
gindent

27 years agoin storePurgeMem, if we didn't swap it out then release it
wessels [Fri, 24 Oct 1997 09:42:29 +0000 (09:42 +0000)] 
in storePurgeMem, if we didn't swap it out then release it

27 years agoFinish LOG_TCP_NEGATIVE_HIT
wessels [Fri, 24 Oct 1997 09:14:35 +0000 (09:14 +0000)] 
Finish LOG_TCP_NEGATIVE_HIT

27 years agolog FD with diskHandleRead message
wessels [Fri, 24 Oct 1997 08:55:11 +0000 (08:55 +0000)] 
log FD with diskHandleRead message

27 years agotone down some swapfile open failed debug messages
wessels [Fri, 24 Oct 1997 08:52:19 +0000 (08:52 +0000)] 
tone down some swapfile open failed debug messages
assert no sc->callback in storeClientCopy()

27 years agoAdded LOG_TCP_NEGATIVE_HIT
wessels [Fri, 24 Oct 1997 08:50:45 +0000 (08:50 +0000)] 
Added LOG_TCP_NEGATIVE_HIT
Noticed that log_tags[] didn't match log_tag enum, it had too many members

27 years agoneed to use LOG_UDP_DENIED as array index instead of ICP_OP_DENIED!
wessels [Fri, 24 Oct 1997 08:49:35 +0000 (08:49 +0000)] 
need to use LOG_UDP_DENIED as array index instead of ICP_OP_DENIED!
Max Okumoto

27 years agoadded connection lifetime and -l secs option
wessels [Fri, 24 Oct 1997 07:40:32 +0000 (07:40 +0000)] 
added connection lifetime and -l secs option

27 years agoremove unused variables
wessels [Fri, 24 Oct 1997 07:28:42 +0000 (07:28 +0000)] 
remove unused variables

27 years agogindent
wessels [Fri, 24 Oct 1997 05:27:17 +0000 (05:27 +0000)] 
gindent

27 years ago- replaced mem->clients array with a linked list.
wessels [Fri, 24 Oct 1997 05:26:44 +0000 (05:26 +0000)] 
- replaced mem->clients array with a linked list.
- storeClientListAdd() becomes simpler
- added store_client->type field
- MemObject->pending_list_size was never used anywhere!

27 years agostoreClientListAdd becomes void now
wessels [Fri, 24 Oct 1997 05:24:33 +0000 (05:24 +0000)] 
storeClientListAdd becomes void now

27 years agoDon't call storeAppend with len == 0 and the immediately followed by storeComplete.
wessels [Fri, 24 Oct 1997 05:22:15 +0000 (05:22 +0000)] 
Don't call storeAppend with len == 0 and the immediately followed by storeComplete.
the storeComplete should be enough to invoke the client callbacks.

Also, we must CLEAR the fd timeouts/defer stuff because just flopping them
over to the pconn handlers won't take effect if we are shutdown pending.

27 years agoSTORE_MEM_CLIENT, STORE_DISK_CLIENT for store_client->type
wessels [Fri, 24 Oct 1997 05:20:50 +0000 (05:20 +0000)] 
STORE_MEM_CLIENT, STORE_DISK_CLIENT for store_client->type

27 years agoSimplified diskHandleRead(). Combined three callback calls into one.
wessels [Fri, 24 Oct 1997 05:20:19 +0000 (05:20 +0000)] 
Simplified diskHandleRead().  Combined three callback calls into one.
Also utilize cbdataValid() et al.

27 years agochange fatal_dump to assert()
wessels [Fri, 24 Oct 1997 02:47:53 +0000 (02:47 +0000)] 
change fatal_dump to assert()

27 years agoBeef up storeGetSwapSpace debugging, sigh
wessels [Fri, 24 Oct 1997 02:43:36 +0000 (02:43 +0000)] 
Beef up storeGetSwapSpace debugging, sigh

27 years agostoreGetSwapSpace is now void
wessels [Fri, 24 Oct 1997 02:43:09 +0000 (02:43 +0000)] 
storeGetSwapSpace is now void

27 years agoCancel the FD timeout if we don't keep the persistent connection
wessels [Fri, 24 Oct 1997 02:42:53 +0000 (02:42 +0000)] 
Cancel the FD timeout if we don't keep the persistent connection

27 years agoCancel the defer check for persistent connections
wessels [Fri, 24 Oct 1997 02:42:18 +0000 (02:42 +0000)] 
Cancel the defer check for persistent connections

27 years agoDont storeAbort() if we're STORE_OK
wessels [Fri, 24 Oct 1997 02:41:35 +0000 (02:41 +0000)] 
Dont storeAbort() if we're STORE_OK

27 years agoMake EALREADY a non-fatal errno for write(). Move check into ignoreErrno().
wessels [Fri, 24 Oct 1997 02:41:13 +0000 (02:41 +0000)] 
Make EALREADY a non-fatal errno for write().  Move check into ignoreErrno().

27 years agonarf, the defer_check needs a separate defer_data. Either that or we
wessels [Thu, 23 Oct 1997 22:38:09 +0000 (22:38 +0000)] 
narf, the defer_check needs a separate defer_data.  Either that or we
have to write N different 'defer' functions for ftp/http/gopher/wais
because their read_data's are all different.

27 years agoRipped out old 'comm_set_stall()' stuff. This broke because we would
wessels [Thu, 23 Oct 1997 11:13:36 +0000 (11:13 +0000)] 
Ripped out old 'comm_set_stall()' stuff.  This broke because we would
decide to delay the server side for some fixed amount of time (1s), but
if the condition changed before that time was up, there was no way to
'undo' the stall.

Now we have a 'check_defer' function associated with a FD.  We'll
call F->check_defer every time through select().

27 years agosigh. Removed mem_obj->e_swap_buf. This caused big problems when
wessels [Thu, 23 Oct 1997 10:04:54 +0000 (10:04 +0000)] 
sigh.  Removed mem_obj->e_swap_buf.  This caused big problems when
we queue two writes because both writes were sharing the same buf!
Now we get a free 8k page and free it for every call to file_write().

27 years agocleanup on diskHandleWrite
wessels [Thu, 23 Oct 1997 10:01:51 +0000 (10:01 +0000)] 
cleanup on diskHandleWrite

27 years agoremove some pointers from debugs
wessels [Thu, 23 Oct 1997 10:01:23 +0000 (10:01 +0000)] 
remove some pointers from debugs

27 years agofix static decls
wessels [Thu, 23 Oct 1997 01:25:17 +0000 (01:25 +0000)] 
fix static decls

27 years agomake funcs static
wessels [Thu, 23 Oct 1997 01:23:45 +0000 (01:23 +0000)] 
make funcs static

27 years agoremove non-gcc warning
wessels [Thu, 23 Oct 1997 01:20:06 +0000 (01:20 +0000)] 
remove non-gcc warning

27 years agoin ftpTimeout(), only call storeAbort() if we are still STORE_PENDING
wessels [Thu, 23 Oct 1997 00:51:15 +0000 (00:51 +0000)] 
in ftpTimeout(), only call storeAbort() if we are still STORE_PENDING

27 years agochange debug level on storeGetMemSpace stats
wessels [Wed, 22 Oct 1997 23:08:33 +0000 (23:08 +0000)] 
change debug level on storeGetMemSpace stats

27 years agoTrack 'store_mem_size' by the number of 4k pages allocated from stmem.c
wessels [Wed, 22 Oct 1997 23:07:24 +0000 (23:07 +0000)] 
Track 'store_mem_size' by the number of 4k pages allocated from stmem.c