]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agochange comm_add_close_handler assertion. It must be allowed to have
wessels [Wed, 10 Jun 1998 11:47:09 +0000 (11:47 +0000)] 
change comm_add_close_handler assertion.  It must be allowed to have
the same close handler on the same FD.  Now abort if both the handler
and the callback data are the same.

27 years agocleanup gratuitous cbdata locks/unlocks
wessels [Wed, 10 Jun 1998 05:34:26 +0000 (05:34 +0000)] 
cleanup gratuitous cbdata locks/unlocks

27 years agodebugging
wessels [Wed, 10 Jun 1998 05:34:00 +0000 (05:34 +0000)] 
debugging

27 years agoupdate
wessels [Wed, 10 Jun 1998 04:58:30 +0000 (04:58 +0000)] 
update

27 years agoNeed to unregister forward.c state for persistent connections, without
wessels [Wed, 10 Jun 1998 04:58:01 +0000 (04:58 +0000)] 
Need to unregister forward.c state for persistent connections, without
closing the FD.

27 years agoassertions
wessels [Wed, 10 Jun 1998 04:43:46 +0000 (04:43 +0000)] 
assertions

27 years agoMoved server-side storeAbort callback from each module to forward.c
wessels [Wed, 10 Jun 1998 03:18:45 +0000 (03:18 +0000)] 
Moved server-side storeAbort callback from each module to forward.c
Misc other fixes

27 years agoFixed cbdata calls
wessels [Tue, 9 Jun 1998 11:57:34 +0000 (11:57 +0000)] 
Fixed cbdata calls

27 years agodebugging
wessels [Tue, 9 Jun 1998 11:54:12 +0000 (11:54 +0000)] 
debugging

27 years agoMoving new fwdState structures further into the code
wessels [Tue, 9 Jun 1998 11:22:03 +0000 (11:22 +0000)] 
Moving new fwdState structures further into the code

27 years agoaccount for no content-length (<0)
wessels [Tue, 9 Jun 1998 05:05:42 +0000 (05:05 +0000)] 
account for no content-length (<0)

27 years agoupdate
wessels [Mon, 8 Jun 1998 23:32:09 +0000 (23:32 +0000)] 
update

27 years ago- Copied more robust TCP UP/DOWN patch from 1.1 code
wessels [Mon, 8 Jun 1998 23:29:14 +0000 (23:29 +0000)] 
- Copied more robust TCP UP/DOWN patch from 1.1 code
- added 'unique_hostname' configuration option when people want to use
  the same visible hostname for multiple caches.

27 years agoicmp_gwaddr not used
wessels [Mon, 8 Jun 1998 23:26:30 +0000 (23:26 +0000)] 
icmp_gwaddr not used

27 years agoupdate
wessels [Mon, 8 Jun 1998 23:03:38 +0000 (23:03 +0000)] 
update

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Mon, 8 Jun 1998 23:02:39 +0000 (23:02 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>
AC_CHECK_FUNC(poll) does not automatically set HAVE_POLL. Use
AC_CHECK_FUNCS instead.

27 years agoupdate time when creating directories
wessels [Mon, 8 Jun 1998 23:00:06 +0000 (23:00 +0000)] 
update time when creating directories

27 years ago- decreased StoreDigestBitsPerEntry from 6 to 5.
rousskov [Sat, 6 Jun 1998 04:37:45 +0000 (04:37 +0000)] 
- decreased StoreDigestBitsPerEntry from 6 to 5.

27 years ago- changed internal structure of HttpBody to use MemBuf;
rousskov [Sat, 6 Jun 1998 03:25:52 +0000 (03:25 +0000)] 
- changed internal structure of HttpBody to use MemBuf;
  no more inconsistencies with body.size

27 years ago- removed store_status == STORE_PENDING assertion which got triggered
rousskov [Sat, 6 Jun 1998 03:24:57 +0000 (03:24 +0000)] 
- removed store_status == STORE_PENDING assertion which got triggered
  on Squid shutdown after tcp-banger was killed.

27 years ago- Range requests are done with a [minor?] exception of unordered ranges.
rousskov [Sat, 6 Jun 1998 03:23:37 +0000 (03:23 +0000)] 
- Range requests are done with a [minor?] exception of unordered ranges.
- double checked that MemBuf.size is used correctly everywhere

27 years ago- changed internal structure of HttpBody to use MemBuf;
rousskov [Sat, 6 Jun 1998 03:21:16 +0000 (03:21 +0000)] 
- changed internal structure of HttpBody to use MemBuf;
  no more inconsistencies with body.size
- removed HTML tags from mgr:http_headers dump

27 years ago- fixed HTTP header statistics that was broken after the introduction of
rousskov [Sat, 6 Jun 1998 01:45:16 +0000 (01:45 +0000)] 
- fixed HTTP header statistics that was broken after the introduction of
  request headers

27 years agobad printf
wessels [Sat, 6 Jun 1998 01:02:52 +0000 (01:02 +0000)] 
bad printf

27 years ago- added missing else to "skip size checks for now"
rousskov [Sat, 6 Jun 1998 00:33:55 +0000 (00:33 +0000)] 
- added missing else to "skip size checks for now"

27 years ago- made icp query timeout configurable. if non-zero in the config file,
wessels [Fri, 5 Jun 1998 23:34:14 +0000 (23:34 +0000)] 
- made icp query timeout configurable.  if non-zero in the config file,
  it overrides the automatic value.
- added reload_into_ims hacks from 1.1

27 years agoadd https protocol to enum list, fix protocol parsing so https doesn't
wessels [Fri, 5 Jun 1998 06:25:57 +0000 (06:25 +0000)] 
add https protocol to enum list, fix protocol parsing so https doesn't
get taken for http

27 years ago- canonization process for ranges will now merge overlapping ranges if any
rousskov [Fri, 5 Jun 1998 02:25:02 +0000 (02:25 +0000)] 
- canonization process for ranges will now merge overlapping ranges if any
- cleanup

27 years ago- stackPop will return NULL if stack is empty (used to assert non-emptiness)
rousskov [Fri, 5 Jun 1998 02:17:55 +0000 (02:17 +0000)] 
- stackPop will return NULL if stack is empty (used to assert non-emptiness)
- added stackTop (same caveats)

27 years ago- added -r option to generate random Range requests. Ranges break
rousskov [Fri, 5 Jun 1998 02:15:28 +0000 (02:15 +0000)] 
- added -r option to generate random Range requests. Ranges break
  Content-length checks so the checks are disabled with -r option.

27 years agoreplace HTTP reply code numbers with magic enums
wessels [Fri, 5 Jun 1998 02:03:07 +0000 (02:03 +0000)] 
replace HTTP reply code numbers with magic enums

27 years agouse new fwdStart()
wessels [Fri, 5 Jun 1998 01:50:48 +0000 (01:50 +0000)] 
use new fwdStart()

27 years agouse fatal_dump instead of fatal
wessels [Fri, 5 Jun 1998 01:14:19 +0000 (01:14 +0000)] 
use fatal_dump instead of fatal

27 years agoadding
wessels [Fri, 5 Jun 1998 01:06:15 +0000 (01:06 +0000)] 
adding

27 years ago- Renamed proto.c to forward.c
wessels [Fri, 5 Jun 1998 00:57:06 +0000 (00:57 +0000)] 
- Renamed proto.c to forward.c
- Connection establishment now done in forward.c; this is the first step
  to more significant changes in being more persistent in forwarding
  requests.
- Removed most *ConnectDone() functions
- split whois code out of asn.c and into whois.c

27 years ago- relaxed assertion regarding status of cached entry to a warning.
rousskov [Thu, 4 Jun 1998 22:09:37 +0000 (22:09 +0000)] 
- relaxed assertion regarding status of cached entry to a warning.

27 years ago- missing squid-internal-periodic (second place)
rousskov [Thu, 4 Jun 1998 21:54:08 +0000 (21:54 +0000)] 
- missing squid-internal-periodic (second place)

27 years ago- added missing "else" in BuildRangeHeader "if" sequence
rousskov [Thu, 4 Jun 1998 11:46:01 +0000 (11:46 +0000)] 
- added missing "else" in BuildRangeHeader "if" sequence

27 years ago- added ETag.c
rousskov [Thu, 4 Jun 1998 04:32:56 +0000 (04:32 +0000)] 
- added ETag.c
- added processing of If-Range headers

27 years agomissing colon; gindent
wessels [Thu, 4 Jun 1998 03:06:24 +0000 (03:06 +0000)] 
missing colon; gindent

27 years ago- changed xsnprintf back to snprintf
rousskov [Thu, 4 Jun 1998 02:48:18 +0000 (02:48 +0000)] 
- changed xsnprintf back to snprintf

27 years agoReplaced 'cache_host_acl' with 'cache_host_access' so its just like the
wessels [Thu, 4 Jun 1998 02:34:41 +0000 (02:34 +0000)] 
Replaced 'cache_host_acl' with 'cache_host_access' so its just like the
other ACL access lists.

27 years ago- shrink-able memory pools
rousskov [Thu, 4 Jun 1998 00:57:25 +0000 (00:57 +0000)] 
- shrink-able memory pools

27 years ago- use memcpy and memset in md5.c instead of MD5_memcpy and MD5_memset
rousskov [Wed, 3 Jun 1998 22:35:33 +0000 (22:35 +0000)] 
- use memcpy and memset in md5.c instead of MD5_memcpy and MD5_memset
  if we can

27 years ago- spellchecking and typos
rousskov [Wed, 3 Jun 1998 21:52:15 +0000 (21:52 +0000)] 
- spellchecking and typos

27 years ago- added a chapter on HTTP headers (alpha version)
rousskov [Wed, 3 Jun 1998 05:55:47 +0000 (05:55 +0000)] 
- added a chapter on HTTP headers (alpha version)
- spellchecked

27 years ago- often entry->timestamp is greater than squid_curtime; perhaps due to clock
rousskov [Wed, 3 Jun 1998 05:29:03 +0000 (05:29 +0000)] 
- often entry->timestamp is greater than squid_curtime; perhaps due to clock
  de-synchronization with origin server. Set age to 0 in such cases because
  "timestamp > squid_curtime" probably means that we just got or revalidated
  the object anyway.

27 years ago- increased debugging level for several mesages (Age and Range headers)
rousskov [Wed, 3 Jun 1998 05:17:46 +0000 (05:17 +0000)] 
- increased debugging level for several mesages (Age and Range headers)

27 years ago- generate Age header for all responses.
rousskov [Wed, 3 Jun 1998 04:45:03 +0000 (04:45 +0000)] 
- generate Age header for all responses.

27 years ago- code cleanup (Ranges)
rousskov [Wed, 3 Jun 1998 04:15:18 +0000 (04:15 +0000)] 
- code cleanup (Ranges)
- added HDR_IF_RANGE field (no actual processing yet)

27 years ago- replaced "<none>" with "nothing" for FTP history escapes. "<none>" is
rousskov [Wed, 3 Jun 1998 03:50:21 +0000 (03:50 +0000)] 
- replaced "<none>" with "nothing" for FTP history escapes. "<none>" is
treated as an unknown HTML tag by a browser and the user gets an empty line
instead of a message that no communication has been recorded.

27 years ago- honor no-store cc directive
rousskov [Wed, 3 Jun 1998 03:46:02 +0000 (03:46 +0000)] 
- honor no-store cc directive

27 years ago- Added basic support for Range requests.
rousskov [Wed, 3 Jun 1998 03:38:02 +0000 (03:38 +0000)] 
- Added basic support for Range requests.

27 years ago- Allow "seen" offset to be greater than "inmem_hi" for pending store entries.
rousskov [Wed, 3 Jun 1998 03:17:56 +0000 (03:17 +0000)] 
- Allow "seen" offset to be greater than "inmem_hi" for pending store entries.
  This change allows store clients to "skip" incoming data regardless of
  current inmem_hi value. Used in range request processing.

27 years ago- fixed typo in HDR_ALLOW field-name.
rousskov [Tue, 2 Jun 1998 10:28:09 +0000 (10:28 +0000)] 
- fixed typo in HDR_ALLOW field-name.

27 years agogindent
wessels [Tue, 2 Jun 1998 10:18:12 +0000 (10:18 +0000)] 
gindent

27 years agoupdate
wessels [Tue, 2 Jun 1998 10:17:31 +0000 (10:17 +0000)] 
update

27 years ago1.2.beta22
wessels [Tue, 2 Jun 1998 10:15:28 +0000 (10:15 +0000)] 
1.2.beta22

27 years agomoved mailing lists to ircache.net
wessels [Tue, 2 Jun 1998 10:12:32 +0000 (10:12 +0000)] 
moved mailing lists to ircache.net

27 years agomake "key not found" fatal
wessels [Tue, 2 Jun 1998 03:13:28 +0000 (03:13 +0000)] 
make "key not found" fatal

27 years ago- Replaced "complex" (offset accounting) calls to snprintf() with MemBuf.
rousskov [Sun, 31 May 1998 01:42:57 +0000 (01:42 +0000)] 
- Replaced "complex" (offset accounting) calls to snprintf() with MemBuf.
- cleanup

27 years agoupdate
wessels [Sat, 30 May 1998 03:34:32 +0000 (03:34 +0000)] 
update

27 years ago- Do not send only-if-cached cc directive with requests for peer's digests.
rousskov [Sat, 30 May 1998 02:59:08 +0000 (02:59 +0000)] 
- Do not send only-if-cached cc directive with requests for peer's digests.
  (again!)

27 years ago- removed extra free(prefix_p)
rousskov [Fri, 29 May 1998 10:34:48 +0000 (10:34 +0000)] 
- removed extra free(prefix_p)

27 years agoneighbors.c:192: warning: unused variable a
wessels [Fri, 29 May 1998 05:43:45 +0000 (05:43 +0000)] 
neighbors.c:192: warning: unused variable a

27 years agodebug
wessels [Fri, 29 May 1998 05:41:20 +0000 (05:41 +0000)] 
debug

27 years agoauto-tuning incoming_interval for comm_incoming call frequency
wessels [Fri, 29 May 1998 05:35:29 +0000 (05:35 +0000)] 
auto-tuning incoming_interval for comm_incoming call frequency

27 years agocompiler warning
wessels [Fri, 29 May 1998 05:00:05 +0000 (05:00 +0000)] 
compiler warning

27 years agoremove pass.o
wessels [Fri, 29 May 1998 04:57:55 +0000 (04:57 +0000)] 
remove pass.o

27 years agohardening
wessels [Fri, 29 May 1998 04:57:08 +0000 (04:57 +0000)] 
hardening

27 years agoremove Config.incoming_rate stuff
wessels [Fri, 29 May 1998 04:56:52 +0000 (04:56 +0000)] 
remove Config.incoming_rate stuff

27 years agoremoved unused timeout code
wessels [Fri, 29 May 1998 04:16:36 +0000 (04:16 +0000)] 
removed unused timeout code

27 years agocomm_init should return void
wessels [Fri, 29 May 1998 03:53:41 +0000 (03:53 +0000)] 
comm_init should return void

27 years agodont print sendto errors on linux
wessels [Fri, 29 May 1998 03:50:17 +0000 (03:50 +0000)] 
dont print sendto errors on linux

27 years agoFixed cache_peer_acl selection algorithm. We were checking the ACL
wessels [Fri, 29 May 1998 02:47:52 +0000 (02:47 +0000)] 
Fixed cache_peer_acl selection algorithm.  We were checking the ACL
list ourselves in neighbors.c, but we need to use aclMatchAclList
instead.

Also fixed peerAllowedToUse() bug when domainlist == NULL, but acl
list exists.

27 years ago- account for different snprintf interfaces as far as return value is concerned
rousskov [Thu, 28 May 1998 23:32:41 +0000 (23:32 +0000)] 
- account for different snprintf interfaces as far as return value is concerned
  this fixes a errorpage.c assertion on Linux

27 years agoupdate
wessels [Thu, 28 May 1998 22:49:33 +0000 (22:49 +0000)] 
update

27 years agoput back old HIERARCHY tag as UNUSED_08
wessels [Thu, 28 May 1998 22:46:05 +0000 (22:46 +0000)] 
put back old HIERARCHY tag as UNUSED_08

27 years agosingle-bit-int bugs
wessels [Thu, 28 May 1998 22:18:24 +0000 (22:18 +0000)] 
single-bit-int bugs

27 years agoupdate FAQ pointers
wessels [Thu, 28 May 1998 22:07:36 +0000 (22:07 +0000)] 
update FAQ pointers

27 years ago- initialize prefix to NULL so we do not dump core when it is safe_free-d
rousskov [Thu, 28 May 1998 21:25:18 +0000 (21:25 +0000)] 
- initialize prefix to NULL so we do not dump core when it is safe_free-d
  without being allocated.

27 years agogot comments wrong
wessels [Thu, 28 May 1998 11:38:41 +0000 (11:38 +0000)] 
got comments wrong

27 years agopotential leak
wessels [Thu, 28 May 1998 11:37:39 +0000 (11:37 +0000)] 
potential leak

27 years agoMLK
wessels [Thu, 28 May 1998 11:20:43 +0000 (11:20 +0000)] 
MLK

27 years agomissing static
wessels [Thu, 28 May 1998 11:14:01 +0000 (11:14 +0000)] 
missing static

27 years ago- fixed memory leak: "prefix_p = xmalloc(prefix_sz + 1);" was no freed
rousskov [Thu, 28 May 1998 11:12:58 +0000 (11:12 +0000)] 
- fixed memory leak: "prefix_p = xmalloc(prefix_sz + 1);" was no freed
  in most cases.

27 years agounportable initialization
wessels [Thu, 28 May 1998 11:12:42 +0000 (11:12 +0000)] 
unportable initialization

27 years agocompiler
wessels [Thu, 28 May 1998 10:44:01 +0000 (10:44 +0000)] 
compiler

27 years agologic fix
wessels [Thu, 28 May 1998 10:42:28 +0000 (10:42 +0000)] 
logic fix

27 years agoMEM_4K_BUF leak
wessels [Thu, 28 May 1998 10:15:20 +0000 (10:15 +0000)] 
MEM_4K_BUF leak

27 years agomissing newline on debug
wessels [Thu, 28 May 1998 08:50:48 +0000 (08:50 +0000)] 
missing newline on debug

27 years ago- removed ascii headers from reply and request structures
rousskov [Thu, 28 May 1998 04:51:37 +0000 (04:51 +0000)] 
- removed ascii headers from reply and request structures
- added more http headers
- fixed content of entity-headers array
- do not update headers with 304 that are not allowed by HTTP/1.1
- moved routines common for request and replies to HttpMsg.c
- rewrote clientBuildReply* and other client_side functions
  using new header interface
- code cleanup
- do not cut off "; parameter" from "digitized" Content-Type
  http fields
- Added X-Request-URI for persistent connection debugging

27 years agomissing DOC_END
wessels [Thu, 28 May 1998 04:25:58 +0000 (04:25 +0000)] 
missing DOC_END

27 years agocomments
wessels [Thu, 28 May 1998 02:36:26 +0000 (02:36 +0000)] 
comments

27 years agoChanges to comm_*_incoming()
wessels [Thu, 28 May 1998 02:31:31 +0000 (02:31 +0000)] 
Changes to comm_*_incoming()

Now, there is a single comm_incoming() function.  This does NOT use
select/poll.  It just calls the read handlers directly for HTTP
and ICP sockets, and relies on them to properly handle EWOULDBLOCK
and friends.

The rate at which comm_incoming gets called is configurable with
'incoming_min_rate' and 'incoming_max_rate'.   Note, these are
kind of "backwards" (being rates) and they indicate how many
other FD's to process before calling comm_incoming().  When the load
is none or low, we call comm_incoming at the 'min_rate' which defaults
to once every 16 FDs.  During high loads, 'max_rate' takes effect
and the default is every 2nd FD.

Also added a histogram to count how many connections/messages are
processed per call to comm_incoming.  This also percipitated some
StatHist.c changes.

27 years agoforce direct for REQ_LOOPDETECT flag
wessels [Thu, 28 May 1998 00:36:33 +0000 (00:36 +0000)] 
force direct for REQ_LOOPDETECT flag

27 years agowhile loop in icpHandleUdp
wessels [Thu, 28 May 1998 00:36:11 +0000 (00:36 +0000)] 
while loop in icpHandleUdp

27 years agowhile() loop in httpAccept
wessels [Thu, 28 May 1998 00:35:22 +0000 (00:35 +0000)] 
while() loop in httpAccept

27 years agochange 'you've run out of file numbers' condition.
wessels [Thu, 28 May 1998 00:34:57 +0000 (00:34 +0000)] 
change 'you've run out of file numbers' condition.

27 years agoupdate reference_age comments
wessels [Wed, 27 May 1998 22:40:32 +0000 (22:40 +0000)] 
update reference_age comments