]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
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

27 years ago'check_lru_age' flag of storeCheckExpired() was always called with '1'
wessels [Wed, 27 May 1998 22:15:24 +0000 (22:15 +0000)] 
'check_lru_age' flag of storeCheckExpired() was always called with '1'

27 years ago- added comments for internalStart
rousskov [Wed, 27 May 1998 11:22:50 +0000 (11:22 +0000)] 
- added comments for internalStart

27 years agoupdate
wessels [Wed, 27 May 1998 09:47:38 +0000 (09:47 +0000)] 
update

27 years agoGenerate error for 'squid-internal-*' MISSes
wessels [Wed, 27 May 1998 05:56:19 +0000 (05:56 +0000)] 
Generate error for 'squid-internal-*' MISSes

27 years ago- Do not send only-if-cached cc directive with requests for peer's digests.
rousskov [Wed, 27 May 1998 05:45:32 +0000 (05:45 +0000)] 
- Do not send only-if-cached cc directive with requests for peer's digests.
  It does not allow fetching digests through neighbores.
  We should send only-if-cached when Squid can handle 504 reply correctly.

27 years agostoreTimestampsSet(): don't clobber entry->lastmod. require that
wessels [Wed, 27 May 1998 05:04:13 +0000 (05:04 +0000)] 
storeTimestampsSet(): don't clobber entry->lastmod.  require that
reply->last_modified be > -1 first.

new_StoreEntry(): initialize timestamps to -1

27 years agocomments
wessels [Wed, 27 May 1998 01:12:21 +0000 (01:12 +0000)] 
comments

27 years agoupdate
wessels [Wed, 27 May 1998 01:09:28 +0000 (01:09 +0000)] 
update

27 years agore-fix event spin problems
wessels [Wed, 27 May 1998 01:08:54 +0000 (01:08 +0000)] 
re-fix event spin problems

27 years agoremoved HIERARCHICAL entry flag
wessels [Tue, 26 May 1998 23:37:48 +0000 (23:37 +0000)] 
removed HIERARCHICAL entry flag

27 years agoevent times with 0.0 can "spin" the event queue until it runs
wessels [Tue, 26 May 1998 23:37:23 +0000 (23:37 +0000)] 
event times with 0.0 can "spin" the event queue until it runs
to completion.  require a small, non-zero event time so that
other descriptors get a chance too

27 years agoDeny forwarding loops in accel mode
wessels [Tue, 26 May 1998 22:34:19 +0000 (22:34 +0000)] 
Deny forwarding loops in accel mode

27 years agodont need cast
wessels [Tue, 26 May 1998 22:20:20 +0000 (22:20 +0000)] 
dont need cast

27 years agodon't need HIERARCHICAL StoreEntry->flag any more.
wessels [Tue, 26 May 1998 21:48:26 +0000 (21:48 +0000)] 
don't need HIERARCHICAL StoreEntry->flag any more.

27 years agolog timeouts
wessels [Tue, 26 May 1998 21:30:11 +0000 (21:30 +0000)] 
log timeouts

27 years agodebugging
wessels [Tue, 26 May 1998 21:29:56 +0000 (21:29 +0000)] 
debugging

27 years agoHenrik PUT/POST fix
wessels [Tue, 26 May 1998 21:25:30 +0000 (21:25 +0000)] 
Henrik PUT/POST fix

27 years agoadding
wessels [Tue, 26 May 1998 21:01:17 +0000 (21:01 +0000)] 
adding

27 years agoupdate
wessels [Sun, 24 May 1998 11:09:56 +0000 (11:09 +0000)] 
update

27 years agomissed one use of hash_first()
wessels [Sun, 24 May 1998 10:15:02 +0000 (10:15 +0000)] 
missed one use of hash_first()

27 years agocompiler warning
wessels [Sun, 24 May 1998 09:47:19 +0000 (09:47 +0000)] 
compiler warning

27 years agoChanges to hash_first, hash_next. The **Current idea has bugs, so now
wessels [Sun, 24 May 1998 09:41:06 +0000 (09:41 +0000)] 
Changes to hash_first, hash_next.  The **Current idea has bugs, so now
we keep state with a ->next pointer.  This simplifies the hash.c code
somewhat, but requires an interface change so that hash_first() only
initializes ->next and does not return a value.   Now we always use

while (foo = hash_next(bar))

27 years ago1.2.beta21
wessels [Sat, 23 May 1998 06:09:57 +0000 (06:09 +0000)] 
1.2.beta21

27 years agogindent
wessels [Sat, 23 May 1998 05:43:48 +0000 (05:43 +0000)] 
gindent

27 years agoreport # on-disk objects
wessels [Sat, 23 May 1998 05:42:58 +0000 (05:42 +0000)] 
report # on-disk objects

27 years agogenerate a coredump for running out of swap file numbers
wessels [Sat, 23 May 1998 05:42:12 +0000 (05:42 +0000)] 
generate a coredump for running out of swap file numbers

27 years agoupdate
wessels [Sat, 23 May 1998 05:41:18 +0000 (05:41 +0000)] 
update

27 years agofix filemap warning
wessels [Sat, 23 May 1998 05:28:37 +0000 (05:28 +0000)] 
fix filemap warning

27 years agoPrint Mean object size in 'info' page
wessels [Sat, 23 May 1998 05:14:20 +0000 (05:14 +0000)] 
Print Mean object size in 'info' page

27 years agocompiler
wessels [Sat, 23 May 1998 05:13:44 +0000 (05:13 +0000)] 
compiler

27 years agodont push persistent connections if were low on FDs
wessels [Sat, 23 May 1998 05:07:39 +0000 (05:07 +0000)] 
dont push persistent connections if were low on FDs

27 years agoAdded:
rousskov [Sat, 23 May 1998 04:52:40 +0000 (04:52 +0000)] 
Added:
- Fixed an assertion coredump in statHistCopy from
  reconfiguring with different #peers in squid.conf
- Disable persistent connections for client connections
  from broken Netscape User-Agent, version 3.* (Stewart Forster)

27 years agocomments
wessels [Sat, 23 May 1998 04:38:42 +0000 (04:38 +0000)] 
comments

27 years ago- do not disable client-side pconns for Netscape User-Agent if it is a proxy
rousskov [Sat, 23 May 1998 04:29:59 +0000 (04:29 +0000)] 
- do not disable client-side pconns for Netscape User-Agent if it is a proxy
  connection (not a client connection)

27 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Sat, 23 May 1998 03:11:47 +0000 (03:11 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>
==============================================================================
Here is a in large parts reworked patch for async I/O. This replaces all
of my previous async-io patch (which was messy and broken).

    * The read offset was not preserved, corrupting deferred hits on
      pipelined connections.
    * Main <-> I/O thread communication is done using a single request
      pointer, optionally protected by a mutex.
    * CPU spin situation solved in two possible ways: Either by
      properly protecting the condition variable using a mutex, or by
      increasing the timeout-time on each timeout instead of relying on
      squid_curtime.
    * Use a 50 msec select timeout for ASYNC_IO to keep things flowing
      nicely.
    * Check for completed threads when the request queue grows.
      Completed requests are put on a FIFO queue until processed from the
      main loop.  This is done to more quickly reuse of finished
      threads.
    * Fixed a silly bug in my last version of this patch. No idea how
      the last patch could pass my tests...
    * Avoid pointer aliasing. Some compilers/optimisations have trouble
      with this (the old code was probably safe, but..).
    * Some minor code cleanups.
    * This patch is not messed up ;-)
    * Removed compiler warnings
    * No more SIGCONT signal hack or cross-level hints. This was a bad
      move both on performance and code design.
    * Mutex signalling is optional (-DAIO_PROPER_MUTEX). Using a
      volatile pointer should be safe on most/all platforms.

This patch is quite heavily tested, and seems to perform well.

I still haven't found the cause to another async-io problem. When
async-io is enabled Squid only caches about 1/2 of the requests in my
tests. Without async-io everything gets cached as expected. I have
verified that this problem in present in a unpatched b20-1 and is not
caused by this patch or any of the other 1.2b20-1 changes I have made.

27 years agoadding
wessels [Sat, 23 May 1998 03:05:47 +0000 (03:05 +0000)] 
adding

27 years ago- httpMsgIsPersistent() is now checks for both "Mozilla" and "Netscape"
rousskov [Fri, 22 May 1998 11:19:09 +0000 (11:19 +0000)] 
- httpMsgIsPersistent() is now checks for both "Mozilla" and "Netscape"
  agents.

27 years ago- check for user-agent = Mozilla/3.* (i.e., netscape-3.*) and disable pconns
rousskov [Fri, 22 May 1998 11:02:38 +0000 (11:02 +0000)] 
- check for user-agent = Mozilla/3.* (i.e., netscape-3.*) and disable pconns
  for that message.

27 years ago - added "under construction" label for "binary request headers" entry.
rousskov [Fri, 22 May 1998 09:01:40 +0000 (09:01 +0000)] 
 - added "under construction" label for "binary request headers" entry.
   there are still a few places and patches that need attention.

27 years ago- increased CacheDigestVer.
rousskov [Fri, 22 May 1998 08:52:21 +0000 (08:52 +0000)] 
- increased CacheDigestVer.

27 years agoupdate
wessels [Fri, 22 May 1998 08:29:06 +0000 (08:29 +0000)] 
update

27 years agoHandle "squid-internal-static" URLs for any host
wessels [Fri, 22 May 1998 05:14:05 +0000 (05:14 +0000)] 
Handle "squid-internal-static" URLs for any host

27 years agomising msec->sec conversion
wessels [Fri, 22 May 1998 04:39:00 +0000 (04:39 +0000)] 
mising msec->sec conversion

27 years agounits on RTTs
wessels [Fri, 22 May 1998 04:32:17 +0000 (04:32 +0000)] 
units on RTTs

27 years ago - Changed storeGetMemSpace(). Only purge down to the HIGH
wessels [Fri, 22 May 1998 04:23:59 +0000 (04:23 +0000)] 
    - Changed storeGetMemSpace().  Only purge down to the HIGH
          water mark; move locked entries to the head of the inmem
          list.

27 years agoupdate
wessels [Fri, 22 May 1998 04:01:35 +0000 (04:01 +0000)] 
update

27 years agoSSL proxy requests need full HTTP request headers. httpBuildRequest
wessels [Fri, 22 May 1998 04:01:07 +0000 (04:01 +0000)] 
SSL proxy requests need full HTTP request headers.  httpBuildRequest
junk must now be public instead of static to http.c

27 years agoremoved EBIT gunk
wessels [Thu, 21 May 1998 13:05:38 +0000 (13:05 +0000)] 
removed EBIT gunk

27 years agoforce peer lookup at start time
wessels [Thu, 21 May 1998 12:41:55 +0000 (12:41 +0000)] 
force peer lookup at start time

27 years agoremove wierd QUICK_ABORT_100PCT 128 stuff
wessels [Thu, 21 May 1998 10:01:01 +0000 (10:01 +0000)] 
remove wierd QUICK_ABORT_100PCT 128 stuff

27 years agoChanged refresh_t->pct from an int to a double
wessels [Thu, 21 May 1998 09:59:34 +0000 (09:59 +0000)] 
Changed refresh_t->pct from an int to a double

27 years agoremove const from netdbClosestParent()
wessels [Thu, 21 May 1998 09:48:19 +0000 (09:48 +0000)] 
remove const from netdbClosestParent()

27 years agoskip peerRefreshDNS if there is no recent traffic
wessels [Thu, 21 May 1998 09:22:43 +0000 (09:22 +0000)] 
skip peerRefreshDNS if there is no recent traffic

27 years ago- added strListIsSubstr()
rousskov [Thu, 21 May 1998 06:59:07 +0000 (06:59 +0000)] 
- added strListIsSubstr()