]>
git.ipfire.org Git - thirdparty/squid.git/log
rousskov [Fri, 25 Sep 1998 02:41:19 +0000 (02:41 +0000)]
- changed the way Range requests are handled:
- do not "advertise" our ability to process ranges at all
- on hits, handle simple ranges and forward complex ones
- on misses, fetch the whole document for simple ranges
and forward range request for complex ranges
The change is supposed to decrease the number of cases when clients
such as Adobe acrobat reader get confused when we send a "200" response
instead of "206" (because we cannot handle complex ranges, even for hits)
Note: Support for complex ranges requires storage of partial objects.
rousskov [Fri, 25 Sep 1998 02:35:11 +0000 (02:35 +0000)]
- minor fix
rousskov [Fri, 25 Sep 1998 02:29:13 +0000 (02:29 +0000)]
- fixed(?) cbdata handling by the peer_digest module
there should be less coredumps on reconfigure now
however, the digest structure might leak when peer is gone -- TBF
wessels [Fri, 25 Sep 1998 02:26:54 +0000 (02:26 +0000)]
update
rousskov [Fri, 25 Sep 1998 02:20:20 +0000 (02:20 +0000)]
- added support for undocumented Request-Range header
the header is used by Netscape (with Adobe plugin working)
Request-Range is assumed to match Range header so only
the former is actually used when both are provided.
rousskov [Fri, 25 Sep 1998 02:16:24 +0000 (02:16 +0000)]
- fixed a bug when one of the merged ranges could get lost
- commented out merging of overlapping ranges
because it might break efficieancy of some clients
- added httpHdrRangeWillBeComplex()
glenn [Thu, 24 Sep 1998 05:15:53 +0000 (05:15 +0000)]
Removed static reference to squid used global variable for name instead
rousskov [Thu, 24 Sep 1998 03:52:20 +0000 (03:52 +0000)]
- added missing "bytes" to Content-Range reply header
glenn [Thu, 24 Sep 1998 03:31:29 +0000 (03:31 +0000)]
Moved the squid OID and added and removed a number of MIB objects
glenn [Thu, 24 Sep 1998 03:29:29 +0000 (03:29 +0000)]
Removed SNMP code.
glenn [Thu, 24 Sep 1998 03:29:07 +0000 (03:29 +0000)]
Added and removed code so only returns basic stats
glenn [Thu, 24 Sep 1998 03:26:06 +0000 (03:26 +0000)]
Minor modifications, clean up the static situation
glenn [Thu, 24 Sep 1998 03:25:11 +0000 (03:25 +0000)]
Modified to remove and add some groups.
glenn [Thu, 24 Sep 1998 03:24:37 +0000 (03:24 +0000)]
Modified to no longer return the whole cache, just statistics
glenn [Thu, 24 Sep 1998 03:23:33 +0000 (03:23 +0000)]
Added code to return basic statistics
glenn [Thu, 24 Sep 1998 03:22:50 +0000 (03:22 +0000)]
Minor modifications, removing statics.
glenn [Thu, 24 Sep 1998 03:21:08 +0000 (03:21 +0000)]
Modified to use SMIv2
wessels [Thu, 24 Sep 1998 03:21:05 +0000 (03:21 +0000)]
get the order right for quick_abort
wessels [Thu, 24 Sep 1998 02:45:10 +0000 (02:45 +0000)]
typo
wessels [Thu, 24 Sep 1998 02:13:45 +0000 (02:13 +0000)]
add hash_last()
wessels [Wed, 23 Sep 1998 23:14:21 +0000 (23:14 +0000)]
add Id keyword
wessels [Wed, 23 Sep 1998 23:14:20 +0000 (23:14 +0000)]
add Id keyword
wessels [Wed, 23 Sep 1998 23:09:43 +0000 (23:09 +0000)]
compiler warnings
wessels [Wed, 23 Sep 1998 23:06:59 +0000 (23:06 +0000)]
comparison is always 0 due to limited range of data type
wessels [Wed, 23 Sep 1998 23:05:44 +0000 (23:05 +0000)]
if/else bracket fiasco
wessels [Wed, 23 Sep 1998 22:12:04 +0000 (22:12 +0000)]
update
wessels [Wed, 23 Sep 1998 21:56:53 +0000 (21:56 +0000)]
note how to include err_html_text
wessels [Wed, 23 Sep 1998 21:44:19 +0000 (21:44 +0000)]
no-digest option missing
wessels [Wed, 23 Sep 1998 21:37:43 +0000 (21:37 +0000)]
Don't select a swap dir for writing if its over the high water mark.
Flag selected dirs for debugging in cachemgr
wessels [Wed, 23 Sep 1998 21:36:49 +0000 (21:36 +0000)]
clear errno just in case
wessels [Wed, 23 Sep 1998 05:47:33 +0000 (05:47 +0000)]
update
wessels [Wed, 23 Sep 1998 05:46:58 +0000 (05:46 +0000)]
update
wessels [Wed, 23 Sep 1998 05:46:09 +0000 (05:46 +0000)]
dummy file prevents complaints when building outside src tree
wessels [Wed, 23 Sep 1998 05:15:39 +0000 (05:15 +0000)]
add aborted_requests counter
wessels [Wed, 23 Sep 1998 05:14:34 +0000 (05:14 +0000)]
quick abort values are stored as KB
wessels [Wed, 23 Sep 1998 03:16:24 +0000 (03:16 +0000)]
Added transparent IP/NAT support from Quinton Dolan - q@fan.net.au
wessels [Wed, 23 Sep 1998 01:59:15 +0000 (01:59 +0000)]
changed interface to httpBuildRequestHeader.
wessels [Wed, 23 Sep 1998 01:47:46 +0000 (01:47 +0000)]
use fundamental filesystem block size
wessels [Wed, 23 Sep 1998 00:54:57 +0000 (00:54 +0000)]
use statvfs
wessels [Tue, 22 Sep 1998 23:50:33 +0000 (23:50 +0000)]
added counters for cleaned store files and unlinked files
wessels [Tue, 22 Sep 1998 23:45:25 +0000 (23:45 +0000)]
add df-like output for storedir page
wessels [Tue, 22 Sep 1998 02:53:37 +0000 (02:53 +0000)]
don't call peerSelect() for URNs
wessels [Mon, 21 Sep 1998 13:20:17 +0000 (13:20 +0000)]
update
wessels [Mon, 21 Sep 1998 13:10:55 +0000 (13:10 +0000)]
new storeGetPublic()
wessels [Mon, 21 Sep 1998 13:01:26 +0000 (13:01 +0000)]
compiler warning
wessels [Mon, 21 Sep 1998 13:00:10 +0000 (13:00 +0000)]
typo
wessels [Mon, 21 Sep 1998 12:52:13 +0000 (12:52 +0000)]
Added storeGetPublic() mostly so that we can check both old and new
style cache keys. It doesn't seem to make things less elegant, so maybe
its a good idea anyway.
wessels [Mon, 21 Sep 1998 12:49:39 +0000 (12:49 +0000)]
*** empty log message ***
wessels [Mon, 21 Sep 1998 12:43:10 +0000 (12:43 +0000)]
undo beta24-beta25 damage
wessels [Mon, 21 Sep 1998 12:42:57 +0000 (12:42 +0000)]
statHistMedian can go back to static
rousskov [Mon, 21 Sep 1998 10:33:45 +0000 (10:33 +0000)]
- attempt to fix "peer disappeared" coredumps:
In every callback function check if callback data is valid and
completely abort any work with that digest if it is not
the fix may eliminate coredumps, but may leak (at least) digest memory;
peer structure gets de-allocated in another module, and perhaps
we should deallocate digests there as well.
wessels [Sun, 20 Sep 1998 07:14:24 +0000 (07:14 +0000)]
tighten store_client->type assignments. Its probably okay to have
a STORE_DISK_CLIENT and swap_file_number == -1, so long as a swapout
file WILL be opened in the future. damn, had to make storeSwapOutAble
public.
wessels [Sun, 20 Sep 1998 05:10:30 +0000 (05:10 +0000)]
more storeClientListAdd fubar fixing
wessels [Sun, 20 Sep 1998 02:51:20 +0000 (02:51 +0000)]
more sophsticated determination of store client type
wessels [Sun, 20 Sep 1998 02:01:06 +0000 (02:01 +0000)]
avoid assertion
wessels [Sat, 19 Sep 1998 23:05:58 +0000 (23:05 +0000)]
sigh, undo StoreEntry->flags changes to make it a structure with single-bit ints
wessels [Sat, 19 Sep 1998 22:39:15 +0000 (22:39 +0000)]
assertions to trap some apparent bugs earlier than they are now being
caught
wessels [Sat, 19 Sep 1998 21:28:44 +0000 (21:28 +0000)]
rearrnage to set status before calling peerSelectStateFree
wessels [Sat, 19 Sep 1998 05:34:18 +0000 (05:34 +0000)]
1.2.beta25
wessels [Sat, 19 Sep 1998 05:32:43 +0000 (05:32 +0000)]
update
wessels [Sat, 19 Sep 1998 04:37:49 +0000 (04:37 +0000)]
ARP ACL fixes (Luyer)
wessels [Sat, 19 Sep 1998 03:44:16 +0000 (03:44 +0000)]
From: Henrik Nordstrom <hno@hem.passagen.se>
Give always_direct higher precedence than never_direct.
To simplify setups that are inside a firewall, which is about the only
case when always_direct AND never_direct are used together. Currently
every object that is always_direct allow must also be never_direct deny
or the request fails.
wessels [Fri, 18 Sep 1998 23:13:42 +0000 (23:13 +0000)]
peerSelectCallbackFail probably needs to set ping_state to PING_DONE.
Otherwise, late-arriving ICP replies will be incorrectly handled.
wessels [Fri, 18 Sep 1998 21:25:41 +0000 (21:25 +0000)]
move neighborUpdateRtt before ignoring ICP replies, sigh
wessels [Fri, 18 Sep 1998 21:15:25 +0000 (21:15 +0000)]
race condition for async IO. We might be OPENING the swapout file, but
the swapout.fd isn't set yet.
wessels [Fri, 18 Sep 1998 21:14:42 +0000 (21:14 +0000)]
use safe_free macro
wessels [Thu, 17 Sep 1998 07:48:57 +0000 (07:48 +0000)]
cleaner shutdown
wessels [Thu, 17 Sep 1998 05:33:33 +0000 (05:33 +0000)]
return errno, log service time
wessels [Thu, 17 Sep 1998 00:20:35 +0000 (00:20 +0000)]
adding
wessels [Thu, 17 Sep 1998 00:01:32 +0000 (00:01 +0000)]
exit upon timeout
wessels [Wed, 16 Sep 1998 15:24:25 +0000 (15:24 +0000)]
adding
wessels [Wed, 16 Sep 1998 04:36:18 +0000 (04:36 +0000)]
update from Bertold
wessels [Wed, 16 Sep 1998 04:29:30 +0000 (04:29 +0000)]
remove fatal_dump
wessels [Wed, 16 Sep 1998 04:05:10 +0000 (04:05 +0000)]
HEAD fixes (damn I hate HEAD)
on the server-side, HEAD transfers are always done soon as we make it
to the end of the reply headers
on the client-side, we can't do IMS for HEAD. Always return cache HITS,
never a refresh.
httpMaybeRemovePublic() gets bastardized already (thanks henrik). Also
make it remove HEAD objects for new GET requests.
wessels [Wed, 16 Sep 1998 04:05:09 +0000 (04:05 +0000)]
HEAD fixes (damn I hate HEAD)
on the server-side, HEAD transfers are always done soon as we make it
to the end of the reply headers
on the client-side, we can't do IMS for HEAD. Always return cache HITS,
never a refresh.
httpMaybeRemovePublic() gets bastardized already. Also
make it remove HEAD objects for new GET requests.
wessels [Wed, 16 Sep 1998 02:36:15 +0000 (02:36 +0000)]
gindent
wessels [Wed, 16 Sep 1998 02:24:07 +0000 (02:24 +0000)]
look for cached HEAD objects for HEAD requests -- don't always look for
GET objects for HEAD requests
wessels [Wed, 16 Sep 1998 02:16:22 +0000 (02:16 +0000)]
in storeRelease(), move aioCancel() call to after store_rebuilding check
wessels [Wed, 16 Sep 1998 01:37:41 +0000 (01:37 +0000)]
gindent
wessels [Tue, 15 Sep 1998 13:17:50 +0000 (13:17 +0000)]
make x-routines a little bit mt-safer
wessels [Tue, 15 Sep 1998 12:49:58 +0000 (12:49 +0000)]
relocate all-redirectors-have-exited check.
removed NRedirectorsOpen == 0 assertion
wessels [Tue, 15 Sep 1998 12:38:28 +0000 (12:38 +0000)]
orphan the redirector in redirectShutdown; gindent
wessels [Tue, 15 Sep 1998 12:35:24 +0000 (12:35 +0000)]
fixed ENDIAN mixup
wessels [Tue, 15 Sep 1998 12:34:55 +0000 (12:34 +0000)]
compiler
wessels [Tue, 15 Sep 1998 12:25:17 +0000 (12:25 +0000)]
fix select case for stewarts incoming code
wessels [Tue, 15 Sep 1998 12:23:05 +0000 (12:23 +0000)]
removed redirectUnregister
wessels [Tue, 15 Sep 1998 12:22:16 +0000 (12:22 +0000)]
reimplement redirector code to handle reconfigure better
wessels [Tue, 15 Sep 1998 10:23:37 +0000 (10:23 +0000)]
fix new flags endian and size bugs
wessels [Tue, 15 Sep 1998 05:42:37 +0000 (05:42 +0000)]
warning
wessels [Tue, 15 Sep 1998 05:42:07 +0000 (05:42 +0000)]
compiler
wessels [Tue, 15 Sep 1998 05:35:24 +0000 (05:35 +0000)]
new, improved comm_connect_addr():
don't call connect() after the first one would block. Instead,
call getsockopt(SO_ERROR). This should handle the HP-UX and
FreeBSD EALREADY looping.
wessels [Tue, 15 Sep 1998 04:40:11 +0000 (04:40 +0000)]
compiler
wessels [Tue, 15 Sep 1998 04:38:27 +0000 (04:38 +0000)]
make int:1 flags unsigned
wessels [Tue, 15 Sep 1998 04:34:02 +0000 (04:34 +0000)]
define Safe_ports
wessels [Tue, 15 Sep 1998 04:29:11 +0000 (04:29 +0000)]
update
wessels [Tue, 15 Sep 1998 04:27:57 +0000 (04:27 +0000)]
integer range support for PORT ACLs
wessels [Tue, 15 Sep 1998 04:20:00 +0000 (04:20 +0000)]
typo
wessels [Tue, 15 Sep 1998 04:18:04 +0000 (04:18 +0000)]
more EBIT replacements
wessels [Tue, 15 Sep 1998 04:17:56 +0000 (04:17 +0000)]
more EBIT replacements
wessels [Tue, 15 Sep 1998 03:58:45 +0000 (03:58 +0000)]
replaced NEIGHBOR_ and HELPER_ EBIT calls