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.
wessels [Wed, 19 Feb 1997 07:04:13 +0000 (07:04 +0000)]
- Changed code structure in ipcache_nbgethostbyname() to
maybe get around some trashed-stack problems.
- Added WARNING if blocking gethostbyname() gets called.
wessels [Wed, 19 Feb 1997 07:03:48 +0000 (07:03 +0000)]
- Fixed urlParse to leave trailing slashes on FTP URLs. Although
stripping the slashes offers a slight hit rate increase, it
breaks some proxies which return HTTP redirects.
wessels [Fri, 14 Feb 1997 01:38:28 +0000 (01:38 +0000)]
For refresh requests, use storeClientAdd to register interest in
both old and new entries. I think we werent' registering with the
old entry and it could get delete-behind'ed out from under us.