wessels [Tue, 4 May 1999 03:54:55 +0000 (03:54 +0000)]
An initial implementation of new store API. Everything goes through
fucntions in store_io.c, which is basically a level of indirection
for different types of filesystems.
This still needs a lot of work. Have to move all rebuild functions
into store_io_ufs.c. Have to add the indirection, instead of hard
coding everything to the UFS code.
We need to update entry timestamps for 304 replies when we
just give the 304 reply to the client. We already update timestamps
when we get a 304 from the server but send a 200 to the client.
- removed silly restriction that all memory pools are initialized
in memInit()
- Added MEM_EVENT
- Fixed eventRun() bug that exited the run loop upon finding an event
with invalid callback data. This also most certainly leaked event
structures.
- added "void" to a bunch of prototypes arglists.
Changed rfc1035AnswersUnpack() to unpack DNS names into character
buffers so that the upper layers don't have to. This is the switch
statement inside that function that exectues different copies
based on the record type.
rfc1035AnswersUnpack would allocate an "array" of answers, even
if there were no answers in the reply, but there were other things
in the reply like auth and additional.
Henrik
This patch makes overloaded async-io a non-fatal error.
The patch does two things:
1. Stop caching objects if the async-io queue is way to large.
2. Sync async-io operations if async-io queue gets ridicolously large
(was a fatal error).
henrik sez: The time zone in common log format is miscalculated at
the end of the year (any year, not a y2k specific problem even if
next time it is visible is y2k..).
If you install Squid listening in a secondary IP address instead
of the primary of the interface, it will generate for FTP listings
pages that refer icons to the primary. Given that Squid is not
listening on that interface, it results in a long timeout before
the page displays and "broken graphics" My suggestion is that
visible_hostname default to whatever tcp_incoming_address is,
instead of defaulting to the canonical name of the machine.
From: Henrik Nordstrom <hno@hem.passagen.se>
<a patch that does a reverse lookup (BLOCKING!!) if tcp_incoming_address
is set. The answer is used as cache hostname if the lookup succeeds.>
rousskov [Wed, 24 Mar 1999 11:16:08 +0000 (11:16 +0000)]
- added calculation of Content-Length for multi-range responses;
the implementation packs HTTP headers into a buffer to calculate
their length; not very efficient, but simple.
wessels [Sat, 30 Jan 1999 05:17:09 +0000 (05:17 +0000)]
reconfigure caused peer address lookups to take a long time because
we didn't queue another peerRefreshDNS event. instead we waited for
the current, pending event, no matter how far off it was.
wessels [Sat, 30 Jan 1999 04:01:06 +0000 (04:01 +0000)]
we need to lock entry in errorAppend(). our storeAppend (or rather
storeBufferFlush) call might result in the client-side unregistering
and aborting, and unlocking, and freeing the entry. This happened
for netdb exchange requests.