wessels [Sat, 24 May 1997 01:48:06 +0000 (01:48 +0000)]
- the global 'store_rebuilding' is now a boolean. The clean/dirty indication
is associated with the individual swap directories.
- This fixes entries from a clean rebuild getting marked as not VALIDATED.
- storeSwapInCheck() was broken. Moved it back into storeSwapInStart().
wessels [Fri, 23 May 1997 04:53:59 +0000 (04:53 +0000)]
Need two offsets in the storeClientCopy stuff. The lower offset is
represents the amount of data the client has seen and successfully
dealt with. The upper offset represents data we have seen, but not dealt
with. For example, incomplete HTTP reply headers.
wessels [Thu, 22 May 1997 21:51:50 +0000 (21:51 +0000)]
Merging in NOVM diffs. Making functions NOVM compatible.
Big change is nuking storeRegister() and having storeClientCopy()
do the same thing. storeClientCopy fills a buffer passed in from
the caller and makes a callback when there is data in the buffer.
wessels [Fri, 16 May 1997 06:19:30 +0000 (06:19 +0000)]
fix swapfileno wierdness with 'SwapOutStartComplete', just set
e->swap_file_number instead of using some intermediate variable.
Remove storeDescribeStatus()
Make storeSwapInStart() global
Simplify storeLockObject(); make someone call storeSwapInStart() if
thats what they want.
wessels [Fri, 16 May 1997 05:37:58 +0000 (05:37 +0000)]
Make the fooStart() functions all void
Since storeLockObject no longer does swapping in, we don't need to split
fooStart() into two functions separated by the swappin callback.
wessels [Fri, 16 May 1997 05:35:59 +0000 (05:35 +0000)]
Dont' flush write buffers on write error, UNLESS there is no callback handler.
The callback should check the status return code and take necessary measures,
the disk module will keep the data queued.
I'm pretty sure we don't need to seek on disk files since they are only
open for reading or writing, never both.
Remove all seek calls
Remove FD_AT_EOF wierdness
Remove wierd dread_ctrl->cur_len member
wessels [Thu, 15 May 1997 07:06:49 +0000 (07:06 +0000)]
New MIME configuration, regular expression based
Added request_timeout config option
Multiple HTTP sockets (Lincoln Dale).
Moved 'fds_are_n_free' check to httpAccept().
s/USE_POLL/HAVE_POLL/; make poll() default if available.
wessels [Mon, 5 May 1997 09:43:38 +0000 (09:43 +0000)]
- DO NOT set the filemap bits for unvalidated entries. Doing so
causes lots of race-condition problems, especially when reading
DIRTY logs.
- Install icpDetectClientClose handler earlier. Move from access check
to just after reading the request.
- Log open FD's upon exit.
- Added dnsShutdownRead handler to detect dnsserver shutdowns and
free up state.
- Added doubleAverage and integerAverage for moving average
calculations.
- misc prototype cleanup
- misc debug_trap's and fatal_dump's
- Removed some thread splitting for fooStartComplete() because
the various protcol start routines should never need a swapin
callback. The object should already be locked and swapped in.
- queue_length counter for IP cache.
- Make it okay to storeUnlock a pending object, so long as its
not been DISPATCHED yet.
- fixed hybrid store rebuild code.
- fixed file_open() flags to TRUNC new swaplog's
- Claned up wierd (FILE *) stuff in tools.c, always write to
debug_log().
- rewrote writePidFile() to use file_open().
wessels [Fri, 2 May 1997 10:28:32 +0000 (10:28 +0000)]
- Removed FD from FQDN callbacks
- Fixed fqdncacheUnregister() from aclChecklistFree()
due to stupid use of static ipcache_addr memory.
- split aclCheckCallback into aclCheckCallback and
aclChecklistFree.
- split aclNBCheck into aclNBCheck and aclChecklistCreate.
- free aclCheck_t from icpStateFree
- Added peerSelectFree()