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()
wessels [Thu, 27 Feb 1997 13:29:11 +0000 (13:29 +0000)]
INCOMPLETE: more hacking on peer select stuff. made peerSelect to use a
callback for success and another for failure. Made a callback for
neighborsUdpAck to call upon receipt of an ICP reply which figures in
the selection algorithm. Move some state from mem_obj to psctrl_t.
wessels [Thu, 27 Feb 1997 02:46:09 +0000 (02:46 +0000)]
JUMBO Stewart Forster speedup patch:
1) aiops.c and aiops.h are a threaded implementation of asynchronous file
operations.
2) async_io.c and async_io.h are complete rewrites of the old versions.
3) I have rewritten all disk file operations of squid to support
the idea of callbacks except where not required.
4) UDP_HIT_OBJ not supported.
5) Background validation of 'tainted' swap log entries.
6) Modified storeWriteCleanLog to create the log file using the
open/write rather than fopen/printf.
7) Added the E_INTR error response to handle badly interrupted
system calls.