]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
28 years agoremove pass.o
wessels [Fri, 29 May 1998 04:57:55 +0000 (04:57 +0000)] 
remove pass.o

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

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

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

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

28 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

28 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.

28 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

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

28 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

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

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

28 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.

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

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

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

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

28 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.

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

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

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

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

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

28 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

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

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

28 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.

28 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

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

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

28 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.

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

28 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'

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

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

28 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

28 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.

28 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

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

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

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

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

28 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

28 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

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

28 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.

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

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

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

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

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

28 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()

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

28 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))

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

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

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

28 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

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

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

28 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

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

28 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

28 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)

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

28 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)

28 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.

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

28 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.

28 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.

28 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.

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

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

28 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

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

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

28 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.

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

28 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

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

28 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

28 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

28 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

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

28 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

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

28 years ago- fixed loop detection code; we must use strstr instead of strcmp when
rousskov [Thu, 21 May 1998 06:57:35 +0000 (06:57 +0000)] 
- fixed loop detection code; we must use strstr instead of strcmp when
  searching for ThisCache in a Via headers.

28 years agoPrevent forwarding loops from netdbClosestParent()
wessels [Thu, 21 May 1998 06:46:16 +0000 (06:46 +0000)] 
Prevent forwarding loops from netdbClosestParent()

28 years agoadded X-Squid-Error: reply header
wessels [Thu, 21 May 1998 06:01:28 +0000 (06:01 +0000)] 
added X-Squid-Error: reply header

28 years agoDon't cache replies with Vary headers
wessels [Thu, 21 May 1998 05:35:01 +0000 (05:35 +0000)] 
Don't cache replies with Vary headers

28 years agoreplaced fde->flags EBIT stuff with int:1 list
wessels [Thu, 21 May 1998 04:39:44 +0000 (04:39 +0000)] 
replaced fde->flags EBIT stuff with int:1 list

28 years agoChanged struct _fde->flags to int:1 list.
wessels [Thu, 21 May 1998 04:07:08 +0000 (04:07 +0000)] 
Changed struct _fde->flags to int:1 list.

28 years agoFrom: Stewart Forster <slf@connect.com.au>
wessels [Thu, 21 May 1998 03:47:44 +0000 (03:47 +0000)] 
From:    Stewart Forster <slf@connect.com.au>
        This is the final patch that I decided upon that avoids extra system
calls (ie. faster).

        It adds two extra flags, FD_NOLINGER, and FD_NONBLOCKING to allow
for easy testing of these conditions when deciding what to do in comm_close().
It also allows for easy changing of the doaioclose test in the future when
it's decided what actually takes precedence.

28 years agoremove debug
wessels [Thu, 21 May 1998 03:07:30 +0000 (03:07 +0000)] 
remove debug

28 years agoset HTTP request version
wessels [Thu, 21 May 1998 03:06:23 +0000 (03:06 +0000)] 
set HTTP request version

28 years agoFixed matchDomainName array bounds bug -- potentially checking before
wessels [Thu, 21 May 1998 02:46:50 +0000 (02:46 +0000)] 
Fixed matchDomainName array bounds bug -- potentially checking before
the beginning of a string.

28 years agoconfigurable closing of potentially half-closed sockets
wessels [Tue, 19 May 1998 03:14:30 +0000 (03:14 +0000)] 
configurable closing of potentially half-closed sockets

28 years agoxmalloc debug hash bucket macro
wessels [Sat, 16 May 1998 02:50:25 +0000 (02:50 +0000)] 
xmalloc debug hash bucket macro

28 years agohenrik wants more complaints about creating directories
wessels [Sat, 16 May 1998 02:31:41 +0000 (02:31 +0000)] 
henrik wants more complaints about creating directories

28 years agoHenrik:
wessels [Sat, 16 May 1998 02:02:10 +0000 (02:02 +0000)] 
Henrik:
lseek/don't close file for PUT requests