]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
28 years agoupdate
wessels [Fri, 24 Oct 1997 11:00:57 +0000 (11:00 +0000)] 
update

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

28 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

28 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

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

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

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

28 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

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

28 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

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

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

28 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()

28 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

28 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

28 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

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

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

28 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!

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

28 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.

28 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

28 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.

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

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

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

28 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

28 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

28 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

28 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().

28 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.

28 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().

28 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().

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

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

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

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

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

28 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

28 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

28 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

28 years agoneed to check mem_obj->inmem_hi instead of e->object_len because while
wessels [Wed, 22 Oct 1997 11:50:28 +0000 (11:50 +0000)] 
need to check mem_obj->inmem_hi instead of e->object_len because while
STORE_PENDING, object_len always == 0.

28 years agoReplace Config.stallDelay--which was being set to zero--with '1'
wessels [Wed, 22 Oct 1997 01:38:50 +0000 (01:38 +0000)] 
Replace Config.stallDelay--which was being set to zero--with '1'

28 years agoIN ipcacheExpiredEntry() we have this goofy thing where we'll return
wessels [Wed, 22 Oct 1997 00:40:32 +0000 (00:40 +0000)] 
IN ipcacheExpiredEntry() we have this goofy thing where we'll return
an expired entry if it was used within the last 60 seconds.  But we
also must require there to be some valid addresses!

28 years agohandle read() == 0 from control socket
wessels [Wed, 22 Oct 1997 00:24:02 +0000 (00:24 +0000)] 
handle read() == 0 from control socket

28 years agofinished custom string subs
kostas [Tue, 21 Oct 1997 23:21:32 +0000 (23:21 +0000)] 
finished custom string subs

28 years agoadded %i, %I %L messages
kostas [Tue, 21 Oct 1997 22:35:50 +0000 (22:35 +0000)] 
added %i, %I %L messages

28 years agoModify assertion in storeSwapInFileOpened(). Its okay to open a swap
wessels [Tue, 21 Oct 1997 22:13:51 +0000 (22:13 +0000)] 
Modify assertion in storeSwapInFileOpened().  Its okay to open a swap
file if its still being written (SWAPOUT_WRITING).

28 years agoadded local time output option
kostas [Tue, 21 Oct 1997 22:06:26 +0000 (22:06 +0000)] 
added local time output option

28 years agojust in case
wessels [Tue, 21 Oct 1997 21:59:38 +0000 (21:59 +0000)] 
just in case

28 years agoassertion for ipcache ABR wierdness
wessels [Tue, 21 Oct 1997 21:59:11 +0000 (21:59 +0000)] 
assertion for ipcache ABR wierdness

28 years agoDon't need to check ENTRY_VALIDATED in client_side. It will be done
wessels [Tue, 21 Oct 1997 21:58:43 +0000 (21:58 +0000)] 
Don't need to check ENTRY_VALIDATED in client_side.  It will be done
by the storage manager if we need to swap it in.

28 years agoABR read bug. Not allocating a big enough buffer for error
wessels [Tue, 21 Oct 1997 09:33:41 +0000 (09:33 +0000)] 
ABR read bug.  Not allocating a big enough buffer for error
message text strings.

28 years agoremove old errorpageFreeMemory() call
wessels [Tue, 21 Oct 1997 09:12:07 +0000 (09:12 +0000)] 
remove old errorpageFreeMemory() call

28 years agorearrange snprintf/vsnprintf
wessels [Tue, 21 Oct 1997 08:45:00 +0000 (08:45 +0000)] 
rearrange snprintf/vsnprintf

28 years agoModify to optionally use vsnprintf() when the system libc already
wessels [Tue, 21 Oct 1997 05:22:17 +0000 (05:22 +0000)] 
Modify to optionally use vsnprintf() when the system libc already
has snprintf()

28 years agoadd vsnprintf
wessels [Tue, 21 Oct 1997 05:21:36 +0000 (05:21 +0000)] 
add vsnprintf

28 years agogindent
wessels [Tue, 21 Oct 1997 04:59:41 +0000 (04:59 +0000)] 
gindent

28 years ago1.2.beta1
wessels [Tue, 21 Oct 1997 04:59:05 +0000 (04:59 +0000)] 
1.2.beta1

28 years agoupdate
wessels [Tue, 21 Oct 1997 04:58:53 +0000 (04:58 +0000)] 
update

28 years agonew cachemgr objects format
wessels [Tue, 21 Oct 1997 04:49:42 +0000 (04:49 +0000)] 
new cachemgr objects format

28 years agoassertions
wessels [Tue, 21 Oct 1997 04:49:25 +0000 (04:49 +0000)] 
assertions

28 years agoAdded skeletons, conn.setup etc for future snmp support
kostas [Tue, 21 Oct 1997 04:31:36 +0000 (04:31 +0000)] 
Added skeletons, conn.setup etc for future snmp support

28 years agoNeed to define a timeout handler for the server side
wessels [Tue, 21 Oct 1997 01:25:22 +0000 (01:25 +0000)] 
Need to define a timeout handler for the server side

28 years agochange Retrying message to debug level 2
wessels [Tue, 21 Oct 1997 01:24:59 +0000 (01:24 +0000)] 
change Retrying message to debug level 2

28 years agogopherStart() doesn't need to verify that the host is already in
wessels [Tue, 21 Oct 1997 01:09:00 +0000 (01:09 +0000)] 
gopherStart() doesn't need to verify that the host is already in
the IP cache.  commConnect does it for us.

28 years agoWhen done swapping out (storeSwapOutHandle()) if the object became
wessels [Tue, 21 Oct 1997 01:07:09 +0000 (01:07 +0000)] 
When done swapping out (storeSwapOutHandle()) if the object became
uncachable, then release it and don't do storeLog() etc.

28 years agoNeed to comm_close() in errorSendComplete!
wessels [Tue, 21 Oct 1997 01:06:25 +0000 (01:06 +0000)] 
Need to comm_close() in errorSendComplete!

28 years agoneed to set FTP_ISDIR bit if there is no urlpath
wessels [Tue, 21 Oct 1997 01:06:02 +0000 (01:06 +0000)] 
need to set FTP_ISDIR bit if there is no urlpath

28 years agobug in storeCheckCachable(): only check content length if STORE_OK
wessels [Sat, 18 Oct 1997 13:20:57 +0000 (13:20 +0000)] 
bug in storeCheckCachable(): only check content length if STORE_OK

28 years agoadd headers, GPL statement, change debug section to 51
wessels [Sat, 18 Oct 1997 06:01:06 +0000 (06:01 +0000)] 
add headers, GPL statement, change debug section to 51

28 years ago- parse the HTTP reply headers at swap in. This means that
wessels [Sat, 18 Oct 1997 05:57:41 +0000 (05:57 +0000)] 
- parse the HTTP reply headers at swap in.  This means that
  storeClientCopyHandleRead() needs to have a MemObject around.
  So I added a pointer back to the parent mem_obj from _store_client.
  ugh.
- removed lots of OLD_CODE

28 years agomisc fixes for new vm-friendly swapin/swapout stuff
wessels [Sat, 18 Oct 1997 05:32:38 +0000 (05:32 +0000)] 
misc fixes for new vm-friendly swapin/swapout stuff

28 years agofor new swapout scheme we need to separately track the number of
wessels [Sat, 18 Oct 1997 05:32:15 +0000 (05:32 +0000)] 
for new swapout scheme we need to separately track the number of
bytes queued for disk write and the number actually written

28 years agoassert that we don't swap out any PRIVATE (e.g. non-cachable) objects
wessels [Sat, 18 Oct 1997 05:31:51 +0000 (05:31 +0000)] 
assert that we don't swap out any PRIVATE (e.g. non-cachable) objects

28 years agoadd clientCacheHit()
wessels [Sat, 18 Oct 1997 05:31:24 +0000 (05:31 +0000)] 
add clientCacheHit()

28 years ago- Need to use clientCacheHit() for icpHandleIMSReply() as well. This
wessels [Sat, 18 Oct 1997 05:31:10 +0000 (05:31 +0000)] 
- Need to use clientCacheHit() for icpHandleIMSReply() as well.  This
  means making it global.  icpHandleIMSReply() might think it is
  serving a cache hit, but the swapfile might not be validated yet,
  so swapin might fail.

28 years agomissing %d format arg
wessels [Sat, 18 Oct 1997 04:09:04 +0000 (04:09 +0000)] 
missing %d format arg

28 years ago*** empty log message ***
kostas [Sat, 18 Oct 1997 03:19:55 +0000 (03:19 +0000)] 
*** empty log message ***

28 years agoImproved IP cache chapter.
kostas [Sat, 18 Oct 1997 02:29:41 +0000 (02:29 +0000)] 
Improved IP cache chapter.

28 years agoMake sure that we don't deallocate any MemObject's which have swapout
wessels [Sat, 18 Oct 1997 02:21:46 +0000 (02:21 +0000)] 
Make sure that we don't deallocate any MemObject's which have swapout
descriptors open

28 years agoSet fde->flags FD_SOCKET_EOF when we detect EOF/shutdown on a client
wessels [Sat, 18 Oct 1997 02:20:52 +0000 (02:20 +0000)] 
Set fde->flags FD_SOCKET_EOF when we detect EOF/shutdown on a client
socket

28 years agoremove file_read debugs
wessels [Sat, 18 Oct 1997 02:20:17 +0000 (02:20 +0000)] 
remove file_read debugs

28 years agomodify assertion: its okay to open a swapin FD while the object is still
wessels [Sat, 18 Oct 1997 01:39:32 +0000 (01:39 +0000)] 
modify assertion: its okay to open a swapin FD while the object is still
being swapped out

28 years agoupdate
wessels [Sat, 18 Oct 1997 00:55:44 +0000 (00:55 +0000)] 
update

28 years agostill fudging various offsets from new swapout scheme
wessels [Fri, 17 Oct 1997 22:21:51 +0000 (22:21 +0000)] 
still fudging various offsets from new swapout scheme

28 years agoFixed client address in access.log; it was always '-'
wessels [Fri, 17 Oct 1997 21:44:32 +0000 (21:44 +0000)] 
Fixed client address in access.log; it was always '-'

28 years agoxbstrerror() not needed I think
wessels [Fri, 17 Oct 1997 11:27:56 +0000 (11:27 +0000)] 
xbstrerror() not needed I think

28 years agoupdate
wessels [Fri, 17 Oct 1997 11:27:29 +0000 (11:27 +0000)] 
update

28 years agoWith new storeClientCopy() scheme, the client side might re-request
wessels [Fri, 17 Oct 1997 11:20:18 +0000 (11:20 +0000)] 
With new storeClientCopy() scheme, the client side might re-request
some data which has already been read from disk (if it didn't get
the full HTTP headers).  That means we need to put lseek() back
in; ugh.  New fde->disk.offset tracks the current file offset.

Fixed the 'double-read' bug found by Alex Rousskov.  Always
make the read callback after each read() call.  Don't wait
for the read buffer to full or for EOF.

This means dread_ctrl->offset isn't needed as it was being used
because there will only be one read() per dread_ctrl.  ->offset
now becomes the offset requested from the store module, and we
seek if dread_ctrl->offset != fde->disk.offset.

28 years ago- removed ERR_NO_CLIENTS because its not needed any longer
wessels [Fri, 17 Oct 1997 10:00:10 +0000 (10:00 +0000)] 
- removed ERR_NO_CLIENTS because its not needed any longer
- Fixed new swap out scheme.  'swapout.offset' should have been 'lowest_offset'

28 years agogindent
wessels [Fri, 17 Oct 1997 06:00:27 +0000 (06:00 +0000)] 
gindent

28 years agoReamped objects being held in memory during transit. There will be a
wessels [Fri, 17 Oct 1997 05:59:52 +0000 (05:59 +0000)] 
Reamped objects being held in memory during transit.  There will be a
smallish windo of data in memory for objects being transferred from the
server side.  For cache hits (swap ins) there is no window, we just read
directly into buffers allocated from the client side, given to store.c
via storeClientCopy().

28 years agoFix for small bug.
kostas [Fri, 17 Oct 1997 02:42:24 +0000 (02:42 +0000)] 
Fix for small bug.

28 years agoError page triggering. ip cache documentation.
kostas [Fri, 17 Oct 1997 01:22:35 +0000 (01:22 +0000)] 
Error page triggering. ip cache documentation.

28 years agoAdded xbstrerror() for late construction with error as argument
kostas [Thu, 16 Oct 1997 04:06:44 +0000 (04:06 +0000)] 
Added xbstrerror() for late construction with error as argument

28 years ago- More cleanup relating to reduced error code set. protostart() doesn't
wessels [Wed, 15 Oct 1997 00:31:24 +0000 (00:31 +0000)] 
- More cleanup relating to reduced error code set.  protostart() doesn't
  really need ERR_NOT_IMPLEMENTED.
- Start working on VM_WINDOW code, removed/replaced old DONT_USE_VM defines
- Replaced !DONT_USE_VM defines with USE_ICP_HIT_OBJ.

28 years agoremove unused error codes
wessels [Wed, 15 Oct 1997 00:24:31 +0000 (00:24 +0000)] 
remove unused error codes

28 years agofinish giving content to error messages
wessels [Tue, 14 Oct 1997 23:52:31 +0000 (23:52 +0000)] 
finish giving content to error messages
deleted some which we don't need any longer

28 years agoRemoved old blocking IP cache lookup code in gopherStart(). Its handled
wessels [Tue, 14 Oct 1997 22:56:04 +0000 (22:56 +0000)] 
Removed old blocking IP cache lookup code in gopherStart().  Its handled
by gopherConnect() now.