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

24 years agoSmall spelling error found by Karl M. Hegbloom
hno [Sun, 22 Apr 2001 21:21:57 +0000 (21:21 +0000)] 
Small spelling error found by Karl M. Hegbloom

24 years agoKilled lots of old now unused MEM_* types.
hno [Sat, 21 Apr 2001 03:34:39 +0000 (03:34 +0000)] 
Killed lots of old now unused MEM_* types.

24 years agoAdded forgotten 64KB memory buffer pool
hno [Sat, 21 Apr 2001 03:26:22 +0000 (03:26 +0000)] 
Added forgotten 64KB memory buffer pool

24 years agoDon't free the sio twice. It is freed automatically by cbdata
hno [Sat, 21 Apr 2001 03:18:43 +0000 (03:18 +0000)] 
Don't free the sio twice. It is freed automatically by cbdata

24 years ago* Removed the upper limits on number of dnsserver or redirect helpers
hno [Fri, 20 Apr 2001 18:40:25 +0000 (18:40 +0000)] 
* Removed the upper limits on number of dnsserver or redirect helpers

also killed the unused dnsStatData type which was the only one actually
depending on these... (well, the actually only the dnsserver limit but..)

24 years agoMinor cleanup to put all auth helpers in libexec
hno [Fri, 20 Apr 2001 15:58:29 +0000 (15:58 +0000)] 
Minor cleanup to put all auth helpers in libexec

24 years agoDocumented the beast by writing a man page explaining all the options
hno [Wed, 18 Apr 2001 06:28:34 +0000 (06:28 +0000)] 
Documented the beast by writing a man page explaining all the options
and giving some common examples

24 years agoFull LDAP search filter specifications in -f
hno [Wed, 18 Apr 2001 06:27:23 +0000 (06:27 +0000)] 
Full LDAP search filter specifications in -f

24 years agoOops. My cleanup of "httpd_accel_port virtual" broke IP-Filter support for
hno [Wed, 18 Apr 2001 04:43:10 +0000 (04:43 +0000)] 
Oops. My cleanup of "httpd_accel_port virtual" broke IP-Filter support for
some requests. Code was missing the important brakets around a else statement..

24 years agoBugzilla-id: 135
wessels [Wed, 18 Apr 2001 02:34:53 +0000 (02:34 +0000)] 
Bugzilla-id: 135
This fixes a bug in logfileWrite() for lines longer than the buffer size.

24 years ago * -u <attrname> Specifies the DN attribute name used for the user name.
hno [Tue, 17 Apr 2001 21:45:53 +0000 (21:45 +0000)] 
 * -u <attrname>   Specifies the DN attribute name used for the user name.
 * -b <basedn> is now a required option. no built in default.

24 years agoMore strict search error filtering. Only ignore search errors when
hno [Tue, 17 Apr 2001 21:29:01 +0000 (21:29 +0000)] 
More strict search error filtering. Only ignore search errors when
errors are expected.

24 years agoMore LDAP options
hno [Tue, 17 Apr 2001 21:22:27 +0000 (21:22 +0000)] 
More LDAP options
    -R Do not follow referrals
    -a ... specifies when to dereference aliases

Also be more tolerant for minor search failures, accepting partial results.
Microsoft Active Directory returns partial results due to a referral in
the user definition.

24 years agoMinor cleanup to not mix keywords from different sources (same functionality,
hno [Mon, 16 Apr 2001 09:23:45 +0000 (09:23 +0000)] 
Minor cleanup to not mix keywords from different sources (same functionality,
different writing)

24 years agoAdded support for persistent LDAP connections
hno [Mon, 16 Apr 2001 08:31:32 +0000 (08:31 +0000)] 
Added support for persistent LDAP connections

24 years agoAdded changelog
hno [Mon, 16 Apr 2001 06:40:15 +0000 (06:40 +0000)] 
Added changelog

24 years agoAdded me as an official maintainer of this helper.
hno [Mon, 16 Apr 2001 03:05:49 +0000 (03:05 +0000)] 
Added me as an official maintainer of this helper.

24 years agoAbility to search for the user DN to log in as
hno [Mon, 16 Apr 2001 03:04:30 +0000 (03:04 +0000)] 
Ability to search for the user DN to log in as

Command line options for all configuration data. No longer any need
to edit squid_ldap_auth.c, just specify the correct options from
squid.conf.

Arguments:
   -b basedn
   -s searchscope
   -f searchfilter
   ldap_server_name

More documentation will be written later, explaining how to use the
searchfilter and scope, with examples on how to use this to log in
to Microsoft active directory.

24 years agoSSL->HTTP gatewaying support by Benno Rice
hno [Sun, 15 Apr 2001 00:23:41 +0000 (00:23 +0000)] 
SSL->HTTP gatewaying support by Benno Rice

Allows Squid in accelerator mode to listen for https requests
as well as http requests.

(ssl_support.[ch] was forgotten in the big commit)

24 years agoRan autoconf, autoheader
hno [Sat, 14 Apr 2001 19:11:28 +0000 (19:11 +0000)] 
Ran autoconf, autoheader

24 years agoBasic support for Vary:ing objects.
hno [Sat, 14 Apr 2001 06:25:17 +0000 (06:25 +0000)] 
Basic support for Vary:ing objects.

When an URL is found to Vary a dummy placeholder object is created
to hold the Vary header information, and the store key algorithm is
changed to include the indicated headers.

24 years agoSSL->HTTP gatewaying support by Benno Rice
hno [Sat, 14 Apr 2001 06:03:19 +0000 (06:03 +0000)] 
SSL->HTTP gatewaying support by Benno Rice

Allows Squid in accelerator mode to listen for https requests
as well as http requests.

24 years agoAgain, fix bandwidth spikes seen when the origin server did not process
hno [Fri, 13 Apr 2001 20:59:11 +0000 (20:59 +0000)] 
Again, fix bandwidth spikes seen when the origin server did not process
a range request.

Ideally the whole "we_do_ranges" check should only be done once, and replies
should only be range processed if this is true. Currently we have the check
in two, maybe even three places is seems.

24 years agoFrom Andres Kroonmaa:
hno [Tue, 10 Apr 2001 23:01:35 +0000 (23:01 +0000)] 
From Andres Kroonmaa:
avoid needless malloc/free of 2 byte string

24 years agoFrom Andreas Kroonmaa:
hno [Tue, 10 Apr 2001 23:00:50 +0000 (23:00 +0000)] 
From Andreas Kroonmaa:
bug in util.c caused xmalloc_stats to count xcalloc stats wrong

24 years agoDigestFetchState cbdata type moved to peer_digest.c
hno [Tue, 10 Apr 2001 04:26:00 +0000 (04:26 +0000)] 
DigestFetchState cbdata type moved to peer_digest.c

24 years agoMoved DigestFetchState cbdata definition to peer_digest.c and deleted
hno [Tue, 10 Apr 2001 03:55:50 +0000 (03:55 +0000)] 
Moved DigestFetchState cbdata definition to peer_digest.c and deleted
the old no longer used MEM_DIGEST_FETCH_STATE mempool.

24 years agochecklist->conn needs to be unlocked even if ident is not enabled. This
hno [Fri, 6 Apr 2001 07:49:58 +0000 (07:49 +0000)] 
checklist->conn needs to be unlocked even if ident is not enabled. This
because it is also used by the new proxy_auth model.

24 years agoDavid Eagles <David.EAGLES@ivolve.com.au> reports that cbdataInit()
wessels [Wed, 4 Apr 2001 06:42:36 +0000 (06:42 +0000)] 
David Eagles <David.EAGLES@ivolve.com.au> reports that cbdataInit()
is missing a call for CREATE_CBDATA(DigestFetchState).

24 years agoMake the location of the diskd program a configurable parameter.
adrian [Wed, 4 Apr 2001 02:22:10 +0000 (02:22 +0000)] 
Make the location of the diskd program a configurable parameter.

(YAY!).

This is configurable through the "diskd_program" entry in the squid
config file. It defaults to $(libexecdir). This means that
./configure --prefix="" --with-libexec-dir="" should now work properly.

24 years agoFurther to htcpHandleData problems, there was no case statment
wessels [Sun, 1 Apr 2001 22:52:31 +0000 (22:52 +0000)] 
Further to htcpHandleData problems, there was no case statment
for HTCP_CLR.

24 years agoin htcpHandleData() the check for htcp.opcode misses the case
wessels [Sun, 1 Apr 2001 22:33:37 +0000 (22:33 +0000)] 
in htcpHandleData() the check for htcp.opcode misses the case
when opcode equals HTCP_END.  This causes an assertion later
in the function.

24 years agoWhen squid is running in daemon mode, this patch causes the parent
wessels [Thu, 29 Mar 2001 06:24:18 +0000 (06:24 +0000)] 
When squid is running in daemon mode, this patch causes the parent
squid to exit if the child squid process was killed with SIGKILL.
Previously the parent would spawn a new child process, making it
difficult to stop squid.  We may want to add other signals to
the list as well.

24 years agoDW failed algebra
wessels [Wed, 28 Mar 2001 23:33:56 +0000 (23:33 +0000)] 
DW failed algebra

24 years agoSanity checking in storeDirGetBlkSize. Currently callers don't
wessels [Wed, 28 Mar 2001 21:45:40 +0000 (21:45 +0000)] 
Sanity checking in storeDirGetBlkSize.  Currently callers don't
check for errors or abnormal values.  Make sure fs.blksize is never
zero upon returning from this function.  Use 2048 as a default
block size.

24 years agoUpdate Eric's contact details
adrian [Tue, 27 Mar 2001 02:38:01 +0000 (02:38 +0000)] 
Update Eric's contact details

24 years agoFix a parameter which should be double instead of int.
adrian [Mon, 26 Mar 2001 01:08:25 +0000 (01:08 +0000)] 
Fix a parameter which should be double instead of int.
Its possible that CPU use could skyrocket if the compiler doesn't
do a friendly int -> double typecast for us, which it doesn't have
to..

Submitted by: Jürgen Sandner <juergen.sandner@baypol.bayern.de>

24 years agoHad the sign wrong on a recent patch to prevent negative entry->timestamp
wessels [Sat, 24 Mar 2001 03:19:11 +0000 (03:19 +0000)] 
Had the sign wrong on a recent patch to prevent negative entry->timestamp
values.

24 years agoBugfix to the previous patch. (kinkie)
hno [Thu, 22 Mar 2001 06:56:36 +0000 (06:56 +0000)] 
Bugfix to the previous patch. (kinkie)

24 years ago21 mar 2001 Robert Collins
hno [Thu, 22 Mar 2001 06:41:10 +0000 (06:41 +0000)] 
21 mar 2001 Robert Collins

* auth/ntlm/helpers/NTLMSSP/ntlm_auth.c: Send error details within
  the squid-helper protocol (Kinkie)
* auth/basic/auth_basic.c: Cleanup multiple requests when
  credentials recieved (Rob)
* acl.c: Use the connection credentials when testing for
  authentication status. (This fixes a recently introduced bug with
  persistent NTLM connections). (Rob)

24 years agocbdataFree rewritten to have a single thread of execution with no
hno [Tue, 20 Mar 2001 08:10:25 +0000 (08:10 +0000)] 
cbdataFree rewritten to have a single thread of execution with no
void data (only pointers).

24 years agoDavid Luyer's delay_pools patch from bugzilla #84.
wessels [Mon, 19 Mar 2001 13:18:42 +0000 (13:18 +0000)] 
David Luyer's delay_pools patch from bugzilla #84.

24 years agoFrom Robert Collins:
hno [Sat, 17 Mar 2001 20:31:16 +0000 (20:31 +0000)] 
From Robert Collins:

I've implemented pthread_cond* in cygwin (available in the 1.3.0
code - CVS HEAD branch), so the native win32 threaded code is no longer
needed. The in-cygwin implementation runs the existing aufs code nearly
unaltered. The attached patch brings in the same file  mode details
already implemented in ufs for cygwin (O_BINARY), not unlinking open
files... and #if tests the scheduler settings which aren't present on
cygwin yet.

24 years agofix delaypools/delay-pools typo and remove references to HEAP_REPLACEMENT
wessels [Thu, 15 Mar 2001 05:28:30 +0000 (05:28 +0000)] 
fix delaypools/delay-pools typo and remove references to HEAP_REPLACEMENT

24 years agoLooks like we forgot to return from dnsSubmit in the event of failure.
wessels [Wed, 14 Mar 2001 06:22:42 +0000 (06:22 +0000)] 
Looks like we forgot to return from dnsSubmit in the event of failure.

24 years agosd->log.open() and sd->log.close() are NULL for the "null" storage
wessels [Wed, 14 Mar 2001 02:11:25 +0000 (02:11 +0000)] 
sd->log.open() and sd->log.close() are NULL for the "null" storage
system.  The code was assuming that these functions are defined
for all storage types.  That caused coredumps upon reconfigure.  Now
only call those functions if non-NULL.

24 years agoran autoconf & autoheader
hno [Mon, 12 Mar 2001 05:54:17 +0000 (05:54 +0000)] 
ran autoconf & autoheader

24 years agoFrom Robert Collins:
hno [Mon, 12 Mar 2001 04:55:20 +0000 (04:55 +0000)] 
From Robert Collins:

The integer types patch introduced a problem with squid.h including
sys/types.h before defining FD_SETSIZE. This may cause problems on
IRIX, NETBSD, and definately does on cygwin ...

attached is a patch against HEAD to alter the location that the
squid_types.h is pulled in. I've done a make clean with this and it
was fine.

The changes to md5.c & h are because it depends on known int types.

24 years agoauth_rewrite update:
hno [Sat, 10 Mar 2001 07:55:35 +0000 (07:55 +0000)] 
auth_rewrite update:

Improved NTLMSSP debugging & reliability
Clearer acl.c logic, catches boundary cases.
"Fail open" configure option for NTLM to degrade gracefully
Should fix the compile issues on Solaris 8

Rob & kinkie.

24 years agocomments for hash_remove_link() are out of date.
wessels [Thu, 8 Mar 2001 00:57:37 +0000 (00:57 +0000)] 
comments for hash_remove_link() are out of date.

24 years agoHere are Gerben Wierda's files for installation and package
wessels [Tue, 6 Mar 2001 04:21:23 +0000 (04:21 +0000)] 
Here are Gerben Wierda's files for installation and package
maintenance on Nextstep.

24 years agoAdding these back for Gerben Wierda <Gerben_Wierda@rna.nl>
wessels [Tue, 6 Mar 2001 04:20:28 +0000 (04:20 +0000)] 
Adding these back for Gerben Wierda <Gerben_Wierda@rna.nl>

24 years agoundefined reference to `unlinkdUnlink' when --disable-unlinkd is used.
wessels [Sun, 4 Mar 2001 08:12:13 +0000 (08:12 +0000)] 
undefined reference to `unlinkdUnlink' when --disable-unlinkd is used.

24 years agoDW got the sign wrong on recent patch.
wessels [Sun, 4 Mar 2001 07:54:48 +0000 (07:54 +0000)] 
DW got the sign wrong on recent patch.

24 years agoForgot to assign the return value of logfileOpen() to useragentlog.
wessels [Sun, 4 Mar 2001 07:50:26 +0000 (07:50 +0000)] 
Forgot to assign the return value of logfileOpen() to useragentlog.

24 years agocbdata now have a per-type free function rather than per allocation.
hno [Sat, 3 Mar 2001 17:39:29 +0000 (17:39 +0000)] 
cbdata now have a per-type free function rather than per allocation.

Changes to the API:

To initialize a new CBDATA type with a free function:

   CBDATA_INIT_TYPE_FREECB(typename, freefunction);

To allocate a cbdata structure

   var = cbdataAlloc(typename);
   (was CBDATA_ALLOC(typename, freefunc) )

24 years agoAvoid NULL http->entry pointer in clientBuildReplyHeader().
wessels [Fri, 2 Mar 2001 06:02:31 +0000 (06:02 +0000)] 
Avoid NULL http->entry pointer in clientBuildReplyHeader().

24 years agodiskd clean log writing leaked one filedescriptor.
hno [Fri, 2 Mar 2001 05:28:22 +0000 (05:28 +0000)] 
diskd clean log writing leaked one filedescriptor.

24 years agoKilled one more unused variable.
hno [Fri, 2 Mar 2001 04:59:30 +0000 (04:59 +0000)] 
Killed one more unused variable.

24 years agoOops.. the transition to cache_dir options for Q1 and Q2 was not fully
hno [Fri, 2 Mar 2001 04:23:18 +0000 (04:23 +0000)] 
Oops.. the transition to cache_dir options for Q1 and Q2 was not fully
finished. There was many leftovers in the parsing code...

24 years agoFrom Costas Tavernarakis:
hno [Thu, 1 Mar 2001 10:27:54 +0000 (10:27 +0000)] 
From Costas Tavernarakis:

The following resolves squid 2.4 bug that on bugzilla is #79,
"NULL pointer access in storeDirSwapLog while writing icons".

ANSI C defines that integers in bitfields declared as 'int' are
either signed or unsigned, depending on the implementation.
gcc (unless -funsigned-bitfields is used) uses signed integers by
default. Sun cc uses unsinged.
Although not explicitly defined, squid expects the two bitfields
at lines 1324-1325 of structs.h to always be declared as signed,
which is not generally true.
Any portable program should always specify whether bitfield integer
types are signed or not.