]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
23 years agoBUGFIX: Plug a large SSL memory leak. SSL connections was never freed.
hno [Mon, 27 Aug 2001 04:22:43 +0000 (04:22 +0000)] 
BUGFIX: Plug a large SSL memory leak. SSL connections was never freed.

Note: This is done in a quite crude manner, and there most likely is
better ways of doing this. Have investigated the use of a close handler
but it won't fit well with lingering closes.

23 years agoDon't log "null" SSL errors, as seen if the client aborts the connection
hno [Mon, 27 Aug 2001 04:17:23 +0000 (04:17 +0000)] 
Don't log "null" SSL errors, as seen if the client aborts the connection
before sending a SSL handshake

23 years agoRemoved unused function declaration
hno [Mon, 27 Aug 2001 04:02:19 +0000 (04:02 +0000)] 
Removed unused function declaration

23 years agoBUGFIX: Certain non-fatal errors could case a client connection to hang
hno [Fri, 24 Aug 2001 21:02:43 +0000 (21:02 +0000)] 
BUGFIX: Certain non-fatal errors could case a client connection to hang
until connection timeout. For example after the following error:
  clientReadRequest: FD 17: no data to process

23 years ago--with-aio option for including AIO libraries. Adds -lrt if found to have
hno [Fri, 24 Aug 2001 20:29:32 +0000 (20:29 +0000)] 
--with-aio option for including AIO libraries. Adds -lrt if found to have
aio_read.

--with-aio-threads renames to --with-aufs-threads to not cause confusion
between aio and aufs I/O.

23 years agoRemoved unused variable "i".
hno [Fri, 24 Aug 2001 19:48:31 +0000 (19:48 +0000)] 
Removed unused variable "i".

23 years agorename cf_parser.c to cf_parser.h to reduce difference between HEAD and automake...
robertc [Thu, 23 Aug 2001 19:20:46 +0000 (19:20 +0000)] 
rename cf_parser.c to cf_parser.h to reduce difference between HEAD and automake branch - allowing for a code-change-free patch set

23 years agoPrevent segmentation fault when using emulate_httpd_log without ident(rfc931) enabled
robertc [Thu, 23 Aug 2001 05:26:05 +0000 (05:26 +0000)] 
Prevent segmentation fault when using emulate_httpd_log without ident(rfc931) enabled

23 years agoRename $(srcdir)/mime.conf to mime.conf.default in Makefile.in, and in CVS
robertc [Wed, 22 Aug 2001 15:25:41 +0000 (15:25 +0000)] 
Rename $(srcdir)/mime.conf to mime.conf.default in Makefile.in, and in CVS

23 years agoBugzilla #215: NULL pointer access for proxy requests in accel-only mode
wessels [Tue, 21 Aug 2001 11:54:13 +0000 (11:54 +0000)] 
Bugzilla #215: NULL pointer access for proxy requests in accel-only mode

This patch fixes the bug by checking for NULL in aclIsProxyAuth().
If access is denied due to receipt of a proxy request with
'httpd_accel_with_proxy off' then AclMatchedName is NULL.
clientAccessCheckDone() calls aclIsProxyAuth() with the NULL pointer,
so the check could go into either function.  It was cleaner to put
it in aclIsProxyAuth().

23 years agoResolve any possible conflicts with POSIX AIO
hno [Mon, 20 Aug 2001 12:55:31 +0000 (12:55 +0000)] 
Resolve any possible conflicts with POSIX AIO

* Use the prefix squidaio_ rather than aio_...
* Some minor cleanups

23 years agoredirector comments made vague reference to 'Release Notes' but this
wessels [Sun, 19 Aug 2001 22:33:17 +0000 (22:33 +0000)] 
redirector comments made vague reference to 'Release Notes' but this
should instruct the reader to look at the FAQ instead.

23 years agoremove reference to old 'cache_swap' option, and make this a warning
wessels [Sun, 19 Aug 2001 22:28:33 +0000 (22:28 +0000)] 
remove reference to old 'cache_swap' option, and make this a warning
rather than a fatal error.

23 years agoBugfix: squid.conf.default needs renaming when installing
robertc [Sun, 19 Aug 2001 15:34:36 +0000 (15:34 +0000)] 
Bugfix: squid.conf.default needs renaming when installing

23 years ago * src/Makefile.in: Change build dir squid.conf to squid.conf.default - it is more...
robertc [Sun, 19 Aug 2001 09:49:38 +0000 (09:49 +0000)] 
* src/Makefile.in: Change build dir squid.conf to squid.conf.default - it is more accurate.
* src/cf_gen.c: Ditto.

23 years agoChange the squid-users mailing list to the new address.
robertc [Sun, 19 Aug 2001 06:46:20 +0000 (06:46 +0000)] 
Change the squid-users mailing list to the new address.

23 years agoWIN32/Cygwin fixes by Guido
hno [Thu, 16 Aug 2001 06:16:15 +0000 (06:16 +0000)] 
WIN32/Cygwin fixes by Guido

- Better GetOSVersion function, more squid "aware", added support for
Windows XP and future Windows versions.
- Added trap in WIN32_Subsystem_Init() for unknown or unsupported (WIN32s)
Windows version.
- Fixed compile warning in comm.c
- Changed exit() WIN32 hook, now less intrusive

And some ident fixes

23 years agoTest commit (by Adrian)
robertc [Thu, 16 Aug 2001 05:47:05 +0000 (05:47 +0000)] 
Test commit (by Adrian)

23 years agoImplement 'sync'
adrian [Mon, 13 Aug 2001 04:23:22 +0000 (04:23 +0000)] 
Implement 'sync'

23 years ago* return the load based on the aio queue depth
adrian [Mon, 13 Aug 2001 04:18:35 +0000 (04:18 +0000)] 
* return the load based on the aio queue depth
* add a statistic line showing the number of pending disk operations

23 years ago* Add support for the async write op
adrian [Sun, 12 Aug 2001 21:29:58 +0000 (21:29 +0000)] 
* Add support for the async write op
* Make sure we call freefunc() on the buffer in the write op case

23 years agoCommit the basic code to implement async io via posix aio.
adrian [Sun, 12 Aug 2001 20:58:24 +0000 (20:58 +0000)] 
Commit the basic code to implement async io via posix aio.
only read is done at the moment - write and sync haven't been
implemented yet.

23 years ago* oops - move the aiocb array to the queue, rather than the queue entry.
adrian [Sun, 12 Aug 2001 20:02:01 +0000 (20:02 +0000)] 
* oops - move the aiocb array to the queue, rather than the queue entry.
* Write some comments outlining what the code is going to ahve to do.

23 years agoWrite a storeCossDirCallback() :)
adrian [Sun, 12 Aug 2001 16:25:00 +0000 (16:25 +0000)] 
Write a storeCossDirCallback() :)

23 years agoAdd a (very evil) async IO framework. It doesn't do much - just get
adrian [Sun, 12 Aug 2001 16:20:41 +0000 (16:20 +0000)] 
Add a (very evil) async IO framework. It doesn't do much - just get
the calls in there. The next (few) commits will be the async code.

Yes, yes, I know it should be "Generic", but I'm trying to get COSS
to "user testing" state, so this is the best 'comprimise'.

For now, COSS will use the libaio routines (or the sync stuff in
disk.c - the calling API is the same so wrapping stuff in an #ifdef
will be quite easy) which are available on Solaris, FreeBSD
and possibly Linux.

23 years agoOops, make sure we actually *set* the selected flag!
adrian [Sun, 12 Aug 2001 01:09:21 +0000 (01:09 +0000)] 
Oops, make sure we actually *set* the selected flag!

23 years agoThe four-liner below alters fatal() so that fatal errors cause squid
adrian [Sun, 12 Aug 2001 00:27:20 +0000 (00:27 +0000)] 
The four-liner below alters fatal() so that fatal errors cause squid
to dump core rather than exit more-or-less-cleanly (of course, the actual
outcome depends on the user's ulimit settings).

Submitted by: Chemolli Francesco <ChemolliF@GruppoCredit.it>

23 years agoSelection fixes - don't try to use a store dir that most definitely
adrian [Sat, 11 Aug 2001 22:34:37 +0000 (22:34 +0000)] 
Selection fixes - don't try to use a store dir that most definitely
can't take the object. COSS, for example.

23 years agoFatal if we can't open a coss store file at init time, rather than
adrian [Fri, 10 Aug 2001 09:20:37 +0000 (09:20 +0000)] 
Fatal if we can't open a coss store file at init time, rather than
first IO time.

23 years agoCOSS fixes from diskio.
adrian [Fri, 10 Aug 2001 03:41:53 +0000 (03:41 +0000)] 
COSS fixes from diskio.
This code is now stable, but <2gb and sync.
Next, >2gb.

23 years agoMismatching parameters to a debug() call
adrian [Thu, 9 Aug 2001 17:00:10 +0000 (17:00 +0000)] 
Mismatching parameters to a debug() call
Reported by: Robin Garner <robin.garner@iname.com>
Submitted by: rbcollins

23 years ago* Commit fix to authenticateAuthUserRequestSetIp()
adrian [Tue, 7 Aug 2001 18:35:26 +0000 (18:35 +0000)] 
* Commit fix to authenticateAuthUserRequestSetIp()
* Tidy up comment (forced by the indent check :)

Noticed by: Robin Garner <Robin.Garner@crsrehab.gov.au>
Submitted by: rbcollins

24 years agoWhy was "radix.h" included twice?
wessels [Fri, 3 Aug 2001 22:55:21 +0000 (22:55 +0000)] 
Why was "radix.h" included twice?

24 years agoGuido Serassio discovered missing pointer in aclNBCheck declaration.
wessels [Fri, 3 Aug 2001 22:54:51 +0000 (22:54 +0000)] 
Guido Serassio discovered missing pointer in aclNBCheck declaration.

24 years agoLatest NTLM snapshot code, courtesy of kinkie and robert.
adrian [Fri, 3 Aug 2001 21:12:57 +0000 (21:12 +0000)] 
Latest NTLM snapshot code, courtesy of kinkie and robert.

<quote>
It's been a while coming... but Kinkie and I now have
probably-production ready NTLM code. It's gone past 1.5 million requests
without failing. The attached patch is a rollup of many minor fixes and
some enhancements:

* Digest: fix crash on shutdown
* ACL: New type max_user_ip to replace authenticate_ip_is_strict.
* ACL: Authenication refactored, to separate authentication and
  authorisation as well as allow 'lazy auth' where authentication is
  triggered by the presence of an authentication using ACL, not
  necessarily "proxy_auth". I.e. using max_user_ip will trigger
  authentication even if no proxy_auth acl's are defined.
* Authentication: API for schemes extended to allow handling duplicate
  authentication on a authenticated _connection_ (yes NTLM again).
* Authentication: Authentication API extended to allow multiple IP's per
  auth_user, and to allow authentication as an orthogonal process to
  authorisation.
* NTLM: many minor races fixed. Should prevent the "Direction before
  ..." errors and the "Duplicate auth" + login popup bug.
* Delay pools: Support authentication (Non-NTLM)in delay pools acl's.
  Beginnings of NTLM support for same.
* Helpers: Stateful helper bugfixes to prevent negative deferred helper
  counts (which prevented ntlm challenge refreshing).
* configure: detect two more headers for NTLM compilation on some
  platforms.

</quote>

24 years agoMinor arguments mismatch in file_write declaration found by Andrey Shorin.
hno [Sun, 29 Jul 2001 04:43:24 +0000 (04:43 +0000)] 
Minor arguments mismatch in file_write declaration found by Andrey Shorin.

24 years agoACL driven reply_body_max_size by Robert Collins.
hno [Sat, 28 Jul 2001 15:21:31 +0000 (15:21 +0000)] 
ACL driven reply_body_max_size by Robert Collins.

Bugzilla #75

24 years agoLimit memory used for select() statistics. It was allocating space for
hno [Tue, 17 Jul 2001 16:35:46 +0000 (16:35 +0000)] 
Limit memory used for select() statistics. It was allocating space for
up to SQUID_MAXFD active filedescriptors per select(), but we are
only interested in a much smaller range.

This statistics could use quite a bit of memory when SQUID_MAXFD is large
(think I measured something like 8MB for 16K filedescriptors)

24 years agoMake sure flags is set properly when calling httpBuildRequestHeader
hno [Tue, 17 Jul 2001 16:33:28 +0000 (16:33 +0000)] 
Make sure flags is set properly when calling httpBuildRequestHeader
(specifically the proxying flag)

24 years agoRobert Collins:
hno [Tue, 17 Jul 2001 15:50:38 +0000 (15:50 +0000)] 
Robert Collins:

Bugzilla #198: authenticateAuthUserRequestLock() SEGV bugfix.
[got lost somewhere...]

24 years agoBugzilla #201: useragentLogClose() may call logfileClose(NULL)
wessels [Tue, 17 Jul 2001 03:35:05 +0000 (03:35 +0000)] 
Bugzilla #201: useragentLogClose() may call logfileClose(NULL)

24 years agoFix a 0-byte read condition while reading request bodies. We need to
hno [Mon, 16 Jul 2001 18:44:05 +0000 (18:44 +0000)] 
Fix a 0-byte read condition while reading request bodies. We need to
stop reading when the buffer is full, and continue again when data
have been used. Thanks to Vladimir B. Savkin for finding this issue.

Also some cleanups in httpRequestFree()
* Permanently removed some old suspicious code Duane had found and commented out.
* Added a new comment at the same place, asking on the validity of the few next
  lines. Looks like we are looking a bit too deap into the store entry
  there..

24 years agoRobert Collins:
hno [Fri, 13 Jul 2001 04:30:25 +0000 (04:30 +0000)] 
Robert Collins:

Correct proxy_auth to generate a new challenge when the user was denied
due to a proxy_auth acl.

24 years agoBugzilla #197: refreshIsCachable() incorrectly checks entry->mem_obj->reply
wessels [Fri, 13 Jul 2001 01:40:32 +0000 (01:40 +0000)] 
Bugzilla #197: refreshIsCachable() incorrectly checks entry->mem_obj->reply

The entry->mem_obj->reply is backwards.  It may cause NULL pointer
access.

24 years agoMinor cosmetic fixes
hno [Thu, 12 Jul 2001 18:59:31 +0000 (18:59 +0000)] 
Minor cosmetic fixes

24 years agoBugzilla #195: ERR_ZERO_SIZE_OBJECT page shows [no URL]
wessels [Thu, 12 Jul 2001 04:57:54 +0000 (04:57 +0000)] 
Bugzilla #195: ERR_ZERO_SIZE_OBJECT page shows [no URL]

This patch links the request structure to the ErrorState structs
so errorpage.c can display a URL in these cases.

24 years agoBugzilla #194
hno [Thu, 12 Jul 2001 04:29:50 +0000 (04:29 +0000)] 
Bugzilla #194

Compilation fails on index() on some non-BSD plaforms

should use strchr() instead

24 years agoBugzilla #184: storeDiskdShmGet() assertion
wessels [Tue, 10 Jul 2001 21:35:45 +0000 (21:35 +0000)] 
Bugzilla #184: storeDiskdShmGet() assertion

This patch changes the mechanism for keeping track of unused shared
memory chunks.   Instead of using a linked list, now we'll use a
bitmap.  It should eliminate the problems I'm seeing on Alphas
where the linklist->ptr value has bit #33 mysteriously set.  In
the new scheme, the shm chunk pointer is always recalculated based
on the index of the bitmap.

24 years agoSwapDir->suggest is unused. It has been moved to SwapDir->fsdata->suggest.
wessels [Tue, 10 Jul 2001 01:12:21 +0000 (01:12 +0000)] 
SwapDir->suggest is unused.  It has been moved to SwapDir->fsdata->suggest.

24 years agoAdded back some rudimentary removal policy statistics (only implemented
hno [Wed, 4 Jul 2001 06:12:05 +0000 (06:12 +0000)] 
Added back some rudimentary removal policy statistics (only implemented
for the "lru" policy as of yet)

  policy.Stat(policy, sentry)

  appends policy statistics to sentry

24 years agoBugzilla #177: LinuxPPC 2000 segfault bug
wessels [Sat, 30 Jun 2001 03:16:42 +0000 (03:16 +0000)] 
Bugzilla #177: LinuxPPC 2000 segfault bug

The previous patch wasn't sufficient to fix this bug.  We have to
call va_start() for each time the args will be used in some "v"
(vprintf, etc) function later on.  This patch has been
tested on Joe's powerpc-unknown-linux-gnu system.

24 years agoBugzilla #187: bugs in lib/base64.c
wessels [Sat, 30 Jun 2001 02:20:01 +0000 (02:20 +0000)] 
Bugzilla #187: bugs in lib/base64.c

Possible buffer overrun and sign/unsigned conversion bugs.

24 years agoHack to allow safe_free to be called on const pointers.
hno [Fri, 29 Jun 2001 20:48:06 +0000 (20:48 +0000)] 
Hack to allow safe_free to be called on const pointers.

24 years agoRemoved the need for the failing typecast..
hno [Fri, 29 Jun 2001 20:37:51 +0000 (20:37 +0000)] 
Removed the need for the failing typecast..
safe_free cannot be called on const pointers.

24 years agoRemoved a unneeded typecast that may confuse some compilers..
hno [Fri, 29 Jun 2001 20:31:34 +0000 (20:31 +0000)] 
Removed a unneeded typecast that may confuse some compilers..

24 years agoBugzilla #114
wessels [Fri, 29 Jun 2001 02:16:30 +0000 (02:16 +0000)] 
Bugzilla #114

The patch for 2.4 is simple, but HEAD has changed a lot and I don't
know if the patch is necessary there, or whats the best way to do it.
As a cop-out, I added some annoying debug message asking users to
report whether or not it works correctly.

24 years agoBugzilla #185: storeDiskdDirParseQ[12]() use wrong number of args in debug/printf
wessels [Thu, 28 Jun 2001 11:18:25 +0000 (11:18 +0000)] 
Bugzilla #185: storeDiskdDirParseQ[12]() use wrong number of args in debug/printf

24 years agoRemoving the MAGIC1/MAGIC2 #defines because they are not used.
wessels [Thu, 28 Jun 2001 10:41:48 +0000 (10:41 +0000)] 
Removing the MAGIC1/MAGIC2 #defines because they are not used.

24 years agoWarn the admin if client_db is disabled and there is a 'maxconn' ACL
wessels [Wed, 27 Jun 2001 23:46:42 +0000 (23:46 +0000)] 
Warn the admin if client_db is disabled and there is a 'maxconn' ACL
configured.

24 years agoDocumenting my concerns about deferring swapping out when cache_dir has
wessels [Wed, 27 Jun 2001 06:14:11 +0000 (06:14 +0000)] 
Documenting my concerns about deferring swapping out when cache_dir has
'max-size' options set.

24 years agoBugzilla #177
wessels [Wed, 27 Jun 2001 03:07:09 +0000 (03:07 +0000)] 
Bugzilla #177

Joe Laffey points out that on LinuxPPC2000 (and probably QNX) calling
something like vsnprintf() or similar leaves the "args" parameter
unusable.  Calling it again with the same "args" results in a coredump.
We have code to get around this in QNX by making a copy
of the args and calling va_start() twice.

This patch tries to address the problem by splitting the _db_print()
function into smaller parts, and passing the args as parameters to
the separate _db_print_file, _db_print_stderr, and _db_print_syslog
functions.

24 years agoThe recent patch for Bugzilla #172 doesn't compile on HEAD, so I've
wessels [Wed, 27 Jun 2001 03:02:05 +0000 (03:02 +0000)] 
The recent patch for Bugzilla #172 doesn't compile on HEAD, so I've
disabled it.  Looks like we can't access the RFC931 string in
peerAllowedToUse() until we make some changes to data structures.

24 years agoBugzilla #172: Ident Based ACLs fail when applied to cache_peer_access
wessels [Tue, 26 Jun 2001 23:17:53 +0000 (23:17 +0000)] 
Bugzilla #172: Ident Based ACLs fail when applied to cache_peer_access

The aclCheck_t structure passed for cache_peer_access didn't copy
the user_ident string from the request_t structure.  Further evidence
that the multiple locations for ident/proxyauth username strings needs
to be fixed and probably rewritten.

24 years agoBugzilla #165: "Store Mem Buffer" leaks badly
wessels [Tue, 26 Jun 2001 22:44:24 +0000 (22:44 +0000)] 
Bugzilla #165: "Store Mem Buffer" leaks badly

This fixes some excessive memory usage problems (for uncachable
responses only?) when 'maximum_object_size_in_memory' is not set
to a small value.  It was probably a coding bug from long ago
that didn't occur much because 'maximum_object_size_in_memory'
used to be hard-coded to a small value (8KB).

24 years agominor clarifications to auth module stuff
wessels [Mon, 18 Jun 2001 22:34:15 +0000 (22:34 +0000)] 
minor clarifications to auth module stuff

24 years agoContinued fuzting with Authentication Framework section. I added some
wessels [Mon, 18 Jun 2001 22:32:35 +0000 (22:32 +0000)] 
Continued fuzting with Authentication Framework section.  I added some
description of the auth module (external process) interface for Basic
Auth.

24 years agoremove periods from section headings
wessels [Mon, 18 Jun 2001 22:05:47 +0000 (22:05 +0000)] 
remove periods from section headings

24 years agocleaned up formatting of Authentication Framework section
wessels [Mon, 18 Jun 2001 22:02:55 +0000 (22:02 +0000)] 
cleaned up formatting of Authentication Framework section

24 years agoBugzilla #162
hno [Fri, 15 Jun 2001 01:15:04 +0000 (01:15 +0000)] 
Bugzilla #162

Fix for a small memory leak when delay_pools is configured to 0 (default)

24 years agoOops. ACL types dst_as, src_as and maxconn accidently got trashed by
hno [Fri, 15 Jun 2001 01:10:29 +0000 (01:10 +0000)] 
Oops. ACL types dst_as, src_as and maxconn accidently got trashed by
a bad commit (by me) 18.Feb.01 (rev 1.21).

Thanks to Andres Kroonmaa for noticing the error.

24 years agoAdrian noticed minor FD leaks if fstat() fails.
wessels [Wed, 13 Jun 2001 05:52:45 +0000 (05:52 +0000)] 
Adrian noticed minor FD leaks if fstat() fails.

24 years agoAdded documentation for max-conn cache_peer option.
hno [Mon, 11 Jun 2001 04:08:52 +0000 (04:08 +0000)] 
Added documentation for max-conn cache_peer option.

The following cache_peer options is still undocumented:

   htcp (experimental)
   carp-load-factor= (experimental, may be replaced by weight=)

24 years agoDisallow -On on gcc 2.95.3 as well, as it can generate bad code.
adrian [Mon, 11 Jun 2001 00:31:39 +0000 (00:31 +0000)] 
Disallow -On on gcc 2.95.3 as well, as it can generate bad code.

24 years agonamespace cleanup
hno [Fri, 1 Jun 2001 18:33:50 +0000 (18:33 +0000)] 
namespace cleanup

24 years agoOops.. forgot to add prototypes needed when moving common_cachedir_options
hno [Fri, 1 Jun 2001 15:06:57 +0000 (15:06 +0000)] 
Oops.. forgot to add prototypes needed when moving common_cachedir_options
up earlier in the file..

24 years agoData must be declared in place, forward declarations cannot be used
hno [Fri, 1 Jun 2001 12:51:16 +0000 (12:51 +0000)] 
Data must be declared in place, forward declarations cannot be used
in a portable manner.

24 years agoOops, this should have been committed to head first and the 2.4 branch
wessels [Wed, 30 May 2001 23:40:26 +0000 (23:40 +0000)] 
Oops, this should have been committed to head first and the 2.4 branch
second.

I am having some infrequent coredumps on DEC Alphas.  Somehow, shared
memory pointers are gaining a high bit set, almost as though due to
an addition/subtraction overflow.  One potential problem is that I
was storing the value of long pointer subtraction into a 32-bit integer.
I changed those integer offsets to off_t.  However, the offset value
in the inter-process messages remains 32-bits to keep the message size
small and predictable.

24 years agoBugzilla #162
hno [Mon, 28 May 2001 05:37:51 +0000 (05:37 +0000)] 
Bugzilla #162

cleanup after patching, remove unused code

24 years agoBugzilla #162
hno [Mon, 28 May 2001 05:33:31 +0000 (05:33 +0000)] 
Bugzilla #162
If Squid is configured as a httpd accelerator, then it leaks
Config2.Accel.prefix at every reconfigure/log rotation.

Reported by Rady Greab

24 years agoBugzilla #162
hno [Mon, 28 May 2001 05:24:44 +0000 (05:24 +0000)] 
Bugzilla #162

snmpAddNode() duplicates the oid created by snmpCreateOid() and
does not free the original. A few bytes leaked at start-up.

Reported & patched by Rady Greab

24 years agoBugzilla #162
hno [Mon, 28 May 2001 05:13:43 +0000 (05:13 +0000)] 
Bugzilla #162

Squid leaks 72 bytes every minute because it does not free data
allocated for comm_dns_incoming counter

Reported & patched by Radu Greab

24 years agoBugzilla #160:
hno [Wed, 23 May 2001 02:31:34 +0000 (02:31 +0000)] 
Bugzilla #160:

> My problem is that the referer_log file is still at 0 bytes. This cannot be
> right. I have created a site with a clickthrough possibility, and it isn't
> logging the http_referer.
>
> Has anybody had simular experiences? Or can point me in the right direction?
>

I look into that. The variable holding the logfile struct just had no value
assigned. Here is a patch:

24 years agoauth_rewrite update from Robert Collins
hno [Mon, 21 May 2001 10:50:57 +0000 (10:50 +0000)] 
auth_rewrite update from Robert Collins

* src/authenticate.c
  (authenticateValidateUser): Check for user scheme data.
  Increase the debug level for "validated".
  (authenticateFixHeader): Add a hint for internal responses versus
  proxied responses. Use it to prevent erroneous challenges when external
  sites request authentication.

* src/client_side.c
  (clientRedirectDone): Reference lock any auth use when creating a
  new request.
  (clientBuildReplyHeader): Hint to authenticateFixHeader that this is
  a proxied response.

* src/errorpage.c
  (errorAppendEntry): Hint to authenticateFixHeader that this is an
  internal response.

* src/helper.c
  (helperStatefulSubmit): Handle broken allocators that don't clear memory.
  Better descriptive comments.
  Remove an redundant cbdata check.

* src/protos.h
  (authenticateFixHeader): New prototype.

* src/auth/basic/helpers/multi-domain-NTLM/README.txt
  Updated email address.

* src/auth/basic/helpers/multi-domain-NTLM/smb_auth.pl
  Disable debug mode for default.
  Replace actual machine names with samples.

* src/auth/ntlm/auth_ntlm.c
  (authNTLMParse): Disable pipelining if NTLM is configured to avoid
  race condition with IE misbehaving.

24 years agoBugzilla bug 102: Close useragent log on shutdown
hno [Sun, 20 May 2001 06:09:25 +0000 (06:09 +0000)] 
Bugzilla bug 102: Close useragent log on shutdown

24 years agoProperly bracket the value assignment.
hno [Sun, 20 May 2001 01:32:02 +0000 (01:32 +0000)] 
Properly bracket the value assignment.

24 years agoThe ERROR macro is not used anywhere, and conflicts with a ERROR macro
hno [Sat, 19 May 2001 23:56:41 +0000 (23:56 +0000)] 
The ERROR macro is not used anywhere, and conflicts with a ERROR macro
on WIN32 platforms.

24 years agoDocumented a memory leak on SNMP initialization. Quite a large reorganisation
hno [Wed, 16 May 2001 13:47:00 +0000 (13:47 +0000)] 
Documented a memory leak on SNMP initialization. Quite a large reorganisation
is requred to fix it, and it is only a small fixed amount so this have to
wait until later..

24 years agoSpelling and typo corrections
hno [Thu, 10 May 2001 13:29:01 +0000 (13:29 +0000)] 
Spelling and typo corrections

24 years agosnmplib function prototype cleanups
hno [Thu, 10 May 2001 13:23:29 +0000 (13:23 +0000)] 
snmplib function prototype cleanups

24 years agoPrototype for mib_parse()
hno [Thu, 10 May 2001 13:17:34 +0000 (13:17 +0000)] 
Prototype for mib_parse()

24 years agoOops.. forgot to test a last minute cleanup before the previous commit..
hno [Tue, 8 May 2001 21:34:45 +0000 (21:34 +0000)] 
Oops.. forgot to test a last minute cleanup before the previous commit..

24 years agoGeneralized how cache_dir lines are dumped on mgr:config
hno [Tue, 8 May 2001 21:24:34 +0000 (21:24 +0000)] 
Generalized how cache_dir lines are dumped on mgr:config

24 years ago[win32.c was forgotten in the large commit]
hno [Sun, 6 May 2001 20:25:21 +0000 (20:25 +0000)] 
[win32.c was forgotten in the large commit]
This patch allows squid to read the DNS servers from the registry. Guido
has reintegrated the older NT-port code to do this, and upgraded it to
fit in squid more smoothly.

24 years agoThis patch allows squid to read the DNS servers from the registry. Guido
hno [Sat, 5 May 2001 23:49:53 +0000 (23:49 +0000)] 
This patch allows squid to read the DNS servers from the registry. Guido
has reintegrated the older NT-port code to do this, and upgraded it to
fit in squid more smoothly.

24 years agoSupport multiple SSL certificates. See http://squid.sourceforge.net/ssl/
hno [Fri, 4 May 2001 19:37:41 +0000 (19:37 +0000)] 
Support multiple SSL certificates. See http://squid.sourceforge.net/ssl/
for details.

Sourceforge tag: ssl-20010504

24 years agoAdded glue for OpenLDAP 2.x / Current Internet Draft API. The new API
hno [Wed, 2 May 2001 19:19:10 +0000 (19:19 +0000)] 
Added glue for OpenLDAP 2.x / Current Internet Draft API. The new API
is unfortunately not backwards compatible with the old RFC1823 API.

24 years agoOops.. had deleted the default for -u in a cleanup. This was not intentional.
hno [Tue, 1 May 2001 00:27:06 +0000 (00:27 +0000)] 
Oops.. had deleted the default for -u in a cleanup. This was not intentional.

24 years agoispell
wessels [Sat, 28 Apr 2001 05:42:05 +0000 (05:42 +0000)] 
ispell

24 years agoProperly handle multiple whitespace in /etc/hosts. Was addning ipcache
hno [Fri, 27 Apr 2001 22:23:48 +0000 (22:23 +0000)] 
Properly handle multiple whitespace in /etc/hosts. Was addning ipcache
entries with a blank host name.

24 years agoand I cannot even apply a single character patch..
hno [Sun, 22 Apr 2001 21:22:51 +0000 (21:22 +0000)] 
and I cannot even apply a single character patch..