]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
20 years agoSummary: Fix iterator-conflict in the name Splay::end
robertc [Mon, 22 Sep 2003 09:31:02 +0000 (09:31 +0000)] 
Summary: Fix iterator-conflict in the name Splay::end
Keywords:

Fix iterator-conflict in the name Splay::end

20 years agoSummary: Update test scripts.
robertc [Mon, 22 Sep 2003 08:43:11 +0000 (08:43 +0000)] 
Summary: Update test scripts.
Keywords:

Update test scripts for minor bitrot.
Make mem_hdr_test scricter on memory use.

20 years agoSummary: Fix outgoing_address and tos.
robertc [Sun, 21 Sep 2003 18:06:06 +0000 (18:06 +0000)] 
Summary: Fix outgoing_address and tos.
Keywords:

Fix outgoing_address and tos.

20 years agoSummary: request_flags incorrectly initialised nocache_hack.
robertc [Sun, 21 Sep 2003 10:31:25 +0000 (10:31 +0000)] 
Summary: request_flags incorrectly initialised nocache_hack.
Keywords:

request_flags incorrectly initialised nocache_hack.

20 years agoSummary: ACL tweaks.
robertc [Sun, 21 Sep 2003 06:30:46 +0000 (06:30 +0000)] 
Summary: ACL tweaks.
Keywords:

Move aclCheckFast to ACLChecklist::fastCheck(), and adjust callers.
Move aclChecklistCreate into the ACLChecklist source.
Move the common code leading into matchAclList into the top of matchACLList.

20 years agoFix persistent connections to origin server class peers if the port
hno [Fri, 19 Sep 2003 19:25:37 +0000 (19:25 +0000)] 
Fix persistent connections to origin server class peers if the port
of the peer differs from the request.

20 years agoFrom 2.5: log "Reconfiguring Squid Cache .." rather than "Restarting
hno [Fri, 19 Sep 2003 13:06:19 +0000 (13:06 +0000)] 
From 2.5: log "Reconfiguring Squid Cache .." rather than "Restarting
Squid Cache.." on "squid -k reconfigure".

20 years agoBootstrapped
hno [Tue, 16 Sep 2003 06:14:19 +0000 (06:14 +0000)] 
Bootstrapped

20 years agoFix SQUID_MAXFD % 64 test (was using % 63 ...)
hno [Mon, 15 Sep 2003 07:27:09 +0000 (07:27 +0000)] 
Fix SQUID_MAXFD % 64 test (was using % 63 ...)

20 years agoSummary: signed correctness for the mem pool idle tracker.
robertc [Mon, 15 Sep 2003 04:41:24 +0000 (04:41 +0000)] 
Summary: signed correctness for the mem pool idle tracker.
Keywords:

signed correctness for the mem pool idle tracker.

20 years agoBootstrapped
hno [Sun, 14 Sep 2003 06:14:09 +0000 (06:14 +0000)] 
Bootstrapped

20 years agoFrom 2.5: Make SQUID_MAXFD always an multiple of 64 to guarantee there is no rounding
hno [Sat, 13 Sep 2003 14:32:39 +0000 (14:32 +0000)] 
From 2.5: Make SQUID_MAXFD always an multiple of 64 to guarantee there is no rounding
errors in bitfield arithmetics of the fd_set macros. For example GLIBC has
bugs causing a fd_set overflow if the size is not an even multiple of a
machie word (64 bits on 64 bit platforms)

20 years agoFrom 2.5: winbind update to
hno [Fri, 12 Sep 2003 16:13:22 +0000 (16:13 +0000)] 
From 2.5: winbind update to
  * Don't complain with errors in cache.log on normal restarts
  * Give winbind a little time to start if not running already

20 years agoDocumentation update to document all the accelerator options in https_port.
hno [Sun, 7 Sep 2003 23:55:53 +0000 (23:55 +0000)] 
Documentation update to document all the accelerator options in https_port.

also cleaned up http_port options to follow the same style as https_port

20 years agoBug #767: Problems compiling Squid on 64 bit Alpha
hno [Sun, 7 Sep 2003 23:04:14 +0000 (23:04 +0000)] 
Bug #767: Problems compiling Squid on 64 bit Alpha

cosmetic code changes to make pointer asserts type safe

the same problem quite likely exists in other parts of the code.

20 years agoBug #769: assertion failed: ftp.cc:1150: "fd == ftpState->data.fd"
hno [Sun, 7 Sep 2003 22:53:37 +0000 (22:53 +0000)] 
Bug #769: assertion failed: ftp.cc:1150: "fd == ftpState->data.fd"

Did not deal with COMM_ERR_CLOSING correctly on aborted requests.

20 years agoFrom Pawel Worach:
hno [Sun, 7 Sep 2003 16:11:07 +0000 (16:11 +0000)] 
From Pawel Worach:

HEAD errorpage.cc compile fix
Update this assert too now that the MemObject is gone.

20 years agodup the path string first - the l1l2 parsing routine spits out a log
adrian [Sun, 7 Sep 2003 13:35:50 +0000 (13:35 +0000)] 
dup the path string first - the l1l2 parsing routine spits out a log
message which relies on it.

20 years agoSummary: Don't double free refcounted object on store swapout failures.
robertc [Sat, 6 Sep 2003 18:59:04 +0000 (18:59 +0000)] 
Summary: Don't double free refcounted object on store swapout failures.
Keywords:

Don't double free refcounted object on store swapout failures.

20 years agoSummary: Allow -DPURIFY to build.
robertc [Sat, 6 Sep 2003 18:47:34 +0000 (18:47 +0000)] 
Summary: Allow -DPURIFY to build.
Keywords:

Allow -DPURIFY to build.

20 years agoregenerated HTML to be in synch with SGML code
hno [Sat, 6 Sep 2003 16:55:57 +0000 (16:55 +0000)] 
regenerated HTML to be in synch with SGML code

20 years agoReorder members to match constuctor calls to make GCC happy
hno [Thu, 4 Sep 2003 17:54:23 +0000 (17:54 +0000)] 
Reorder members to match constuctor calls to make GCC happy

20 years agoBootstrapped
hno [Wed, 3 Sep 2003 06:14:35 +0000 (06:14 +0000)] 
Bootstrapped

20 years agoSummary: the always-finsh-compile-testing splay fixup.
robertc [Wed, 3 Sep 2003 04:57:00 +0000 (04:57 +0000)] 
Summary: the always-finsh-compile-testing splay fixup.
Keywords:

The splay fix previous was incomplete..

20 years agoSummary: Initialise splay node's.
robertc [Wed, 3 Sep 2003 03:45:48 +0000 (03:45 +0000)] 
Summary: Initialise splay node's.
Keywords:

The SplayNode template did not initialise it's members.

20 years agoFrom Reuben:
hno [Tue, 2 Sep 2003 16:52:37 +0000 (16:52 +0000)] 
From Reuben:
configure comments updates to remove Linux-2.4 dependency for Netfilter.
Netfilter is Linux-2.4+ and also Linux-2.2 with netfilter patch..

20 years agoBootstrapped
hno [Tue, 2 Sep 2003 06:14:34 +0000 (06:14 +0000)] 
Bootstrapped

20 years agoSummary: Fix cbdata debugging memory leak.
robertc [Tue, 2 Sep 2003 05:41:17 +0000 (05:41 +0000)] 
Summary: Fix cbdata debugging memory leak.
Keywords:

Implement placement new and placement delete for cbdata. Prevents history leaking memory, without needing ugly manual destruction etc.
Make cbdata::type typesafe.

20 years agoSummary: Class cleanup - resulting from addressing a latent segfault.
robertc [Mon, 1 Sep 2003 09:49:37 +0000 (09:49 +0000)] 
Summary: Class cleanup - resulting from addressing a latent segfault.
Keywords:

Move httpMsgIsPersistent delcaration to HttpHeader
Rename http_version_t to HttpVersion, and make a class.
Remove httpBuildVersion - use HttpVersion constructor.
Move HttpVersion to it's own file.
Move HttpStatusLine to it's own file and make a class.
Move AccessLogEntry to it's own file, and make a class.
Remove memset() use against AccessLogEntry.

20 years agoSummary: Coss bugfixes.
robertc [Mon, 1 Sep 2003 03:20:08 +0000 (03:20 +0000)] 
Summary: Coss bugfixes.
Keywords:

Remove unused prototypes from store_dir_coss.cc.
Fixup a couple of bugs in the new coss option parsing.
Bugfix debug options to allow debugging of the parser.

20 years agoSummary: Fix race in UFS code.
robertc [Sun, 31 Aug 2003 18:44:30 +0000 (18:44 +0000)] 
Summary: Fix race in UFS code.
Keywords:

UFS had a race leading to a refcount triggered free within a method.

20 years agoSummary: Windows Merges - dup2 and debugging.
robertc [Sun, 31 Aug 2003 07:22:05 +0000 (07:22 +0000)] 
Summary: Windows Merges - dup2 and debugging.
Keywords:

These are 2 residual Windows port merge patches:

- main.cc: On Windows signal() can't be used for debugging purpose: added
support for native  debug
- comm.cc: On Windows dup2() can't work correctly on Sockets, the work
around is to close the destination socket before call them.

Regards

Guido

20 years agobootstrapped
robertc [Sat, 30 Aug 2003 15:14:37 +0000 (15:14 +0000)] 
bootstrapped

20 years agoSummary: failure to detect <sys/mount.h> on NetBSD
robertc [Sat, 30 Aug 2003 15:08:21 +0000 (15:08 +0000)] 
Summary: failure to detect <sys/mount.h> on NetBSD
Keywords:

On NetBSD-current, squid3-HEAD fails to detect sys/mount.h.
The attached patch to acinclude.m4 fixes it.

* need to include <net/if.h> before, not after, <netinet/ip_fil.h>

* neet to include <sys/time.h> before <netinet/ip_fil.h>.

For some reason, these problems do not prevent "configure" from detecting
<netinet/ip_fil.h>, but do prevent configure fron detecting <sys/mount.h>.

20 years agoSummary: Tweak the COSS update.
robertc [Sat, 30 Aug 2003 12:39:24 +0000 (12:39 +0000)] 
Summary: Tweak the COSS update.
Keywords:

Parse coss options.
Fix (hopefully correctly) some signed < unsigned comparisons.

20 years agoFound a old STAT_GRAPHS patch laying around in my Squid source directories.
hno [Thu, 28 Aug 2003 04:45:37 +0000 (04:45 +0000)] 
Found a old STAT_GRAPHS patch laying around in my Squid source directories.
This should make the STAT_GRAPHS define result in valid graphs again..

20 years agoported COSS enhancements from squid-2.5 code (dated ~ July 25-29, 2003).
wessels [Thu, 28 Aug 2003 03:19:32 +0000 (03:19 +0000)] 
ported COSS enhancements from squid-2.5 code (dated ~ July 25-29, 2003).

20 years agoSummary: Backport a fix for the diskd assertion inProgressIOs == 0.
robertc [Sat, 23 Aug 2003 18:33:04 +0000 (18:33 +0000)] 
Summary: Backport a fix for the diskd assertion inProgressIOs == 0.
Keywords:

Backport a fix for the diskd assertion inProgressIOs == 0.

20 years agoRemove the link to Glenns LDAP auth page.. It is no longer of interest to
hno [Wed, 20 Aug 2003 23:44:55 +0000 (23:44 +0000)] 
Remove the link to Glenns LDAP auth page.. It is no longer of interest to
users of this helper as the helper has evolved far beyond what it once looked
like, and also his page appears to be offline..

20 years agoBug: "access_log none" segfaults Squid on startup
hno [Wed, 20 Aug 2003 19:34:41 +0000 (19:34 +0000)] 
Bug: "access_log none" segfaults Squid on startup

20 years agoBug #733: No explicit error message when ncsa_auth (squid user) can't access passwd...
hno [Wed, 20 Aug 2003 18:59:24 +0000 (18:59 +0000)] 
Bug #733: No explicit error message when ncsa_auth (squid user) can't access passwd file

20 years agoCreated section "Other changes mostly of interest to developers" and moved
hno [Wed, 20 Aug 2003 13:08:01 +0000 (13:08 +0000)] 
Created section "Other changes mostly of interest to developers" and moved
corresponding entries there.

SGML syntax corrections (bad characters etc)

Indent

Removed a few entries which was news in the 2.5 cycle and not really news
for 3.0.

20 years agoSummary: Stop reply generation after parsing failures.
robertc [Wed, 20 Aug 2003 04:30:36 +0000 (04:30 +0000)] 
Summary: Stop reply generation after parsing failures.
Keywords:

If we cannot parse the response to generate a reply, stop reply generation. Prevents a SIGSEGV in httpBuildVersion.

20 years agoBootstrapped
hno [Tue, 19 Aug 2003 06:20:25 +0000 (06:20 +0000)] 
Bootstrapped

20 years agoSummary: Test for -fhuge-objects in configure. (Bug #744)
robertc [Tue, 19 Aug 2003 06:15:01 +0000 (06:15 +0000)] 
Summary: Test for -fhuge-objects in configure. (Bug #744)
Keywords:

Test for -fhuge-objects in configure. (Resolves bug $744)

20 years agoNon-intrusive but significant performance improvement when Squid is running
hno [Mon, 18 Aug 2003 18:24:45 +0000 (18:24 +0000)] 
Non-intrusive but significant performance improvement when Squid is running
as a https reverse proxy (ssl enabled peers), allowing Squid to reuse the
same SSL session.

20 years agoSummary: gethostname definition on Solaris broken.
robertc [Sun, 17 Aug 2003 19:42:04 +0000 (19:42 +0000)] 
Summary: gethostname definition on Solaris broken.
Keywords:

The C++ compiler detection seems to allow the native declarations of gethostname to function on Solaris. Copy that logic into protos.h so that we don't conflict, but still have our declaration should it be needed.

20 years agoSummary: debug format string portability.
robertc [Sun, 17 Aug 2003 19:22:30 +0000 (19:22 +0000)] 
Summary: debug format string portability.
Keywords:

pid_t is not an int on all platforms - fixed by moving to the new debugs macro.

20 years agoBootstrapped
hno [Sun, 17 Aug 2003 06:13:46 +0000 (06:13 +0000)] 
Bootstrapped

20 years agoSummary: Squid_endian.h was broken - bug 738.
robertc [Sun, 17 Aug 2003 05:32:29 +0000 (05:32 +0000)] 
Summary: Squid_endian.h was broken - bug 738.
Keywords:

Mismatched parentheses in the definition of bswap16 in line 87
od squid_endian.h.  Try the attached patch.
- apb

20 years agoBug 718: accel fails with DNS error if cache_peer name= not in /etc/hosts
hno [Sun, 17 Aug 2003 02:33:47 +0000 (02:33 +0000)] 
Bug 718: accel fails with DNS error if cache_peer name= not in /etc/hosts

20 years agoIf we don't find anything valid in pconnPop, don't try and return an fd.
adrian [Sat, 16 Aug 2003 16:04:34 +0000 (16:04 +0000)] 
If we don't find anything valid in pconnPop, don't try and return an fd.

Stupid bug brought to you by: robertc, adrian

20 years agobump version SQUID_3_0_PRE3
robertc [Sat, 16 Aug 2003 07:03:08 +0000 (07:03 +0000)] 
bump version

20 years agobootstrapped
robertc [Sat, 16 Aug 2003 06:31:17 +0000 (06:31 +0000)] 
bootstrapped

20 years agoSummary: Use SQUID_C[XX]FLAGS throughout configure.
robertc [Sat, 16 Aug 2003 06:19:55 +0000 (06:19 +0000)] 
Summary: Use SQUID_C[XX]FLAGS throughout configure.
Keywords:

Where we are setting defines etc. that are required to build squid correctly, set them via SQUID_C[XX]FLAGS, not C[XX]FLAGS, so that the user can override the user-related flags (i.e. optimisation / profiling / debugging) without breaking the squid build.

20 years agoSummary: Prevent pushing persistent connections with outstanding writes.
robertc [Fri, 15 Aug 2003 19:06:34 +0000 (19:06 +0000)] 
Summary: Prevent pushing persistent connections with outstanding writes.
Keywords:

Adrians' recent post to squid-dev looks like it's triggered by persistent connections being pushed inappropriately... this change adds an assert if a persistent connection is pushed while a write is outstanding.

20 years agobootstrapped
robertc [Fri, 15 Aug 2003 05:31:51 +0000 (05:31 +0000)] 
bootstrapped

20 years agoSummary: Dist recent new files.
robertc [Fri, 15 Aug 2003 05:21:51 +0000 (05:21 +0000)] 
Summary: Dist recent new files.
Keywords:

Dist recent new files.

20 years agoSummary: Update test-suite for recent type changes.
robertc [Fri, 15 Aug 2003 04:27:39 +0000 (04:27 +0000)] 
Summary: Update test-suite for recent type changes.
Keywords:

Update test-suite for recent type changes.

20 years agobootstrapped
robertc [Fri, 15 Aug 2003 03:12:03 +0000 (03:12 +0000)] 
bootstrapped

20 years agoSummary: BUGFIX: ufs auto-add logic was broken.
robertc [Thu, 14 Aug 2003 20:36:59 +0000 (20:36 +0000)] 
Summary: BUGFIX: ufs auto-add logic was broken.
Keywords:

* src/Makefile.am referenced unused variable STORE_SOURCES.
* configure.in incorrectly set STORE_LINKOBJS when ufs was not selected.

This also fixes bug #746.

20 years agoSummary: Swallow request bodies even when denying access.
robertc [Thu, 14 Aug 2003 18:15:04 +0000 (18:15 +0000)] 
Summary: Swallow request bodies even when denying access.
Keywords:

* Assert when destroying requests with body connections.
* Move ClientBody class definition to client_side.h
* Encapsulate comm_close calls from ClientSocketContext.
* When closing a client socket, if there is a body, swallow it.
* When swalling a request body, if the connection needs to close, do so.

20 years agoBug #718: accel with nonstandard cache_peer port uses standard port
hno [Thu, 14 Aug 2003 03:49:45 +0000 (03:49 +0000)] 
Bug #718: accel with nonstandard cache_peer port uses standard port

The recent fix for vhost acceleration and persistent connections
confusing certain servers did a little bit too much, accidently using
the port of the URL rather than the cache_peer in case of origin class
peers.

20 years agoBug #743: "#ifdef HTTP_VIOLATIONS" should be "#if HTTP_VIOLATIONS"
wessels [Wed, 13 Aug 2003 22:06:13 +0000 (22:06 +0000)] 
Bug #743: "#ifdef HTTP_VIOLATIONS" should be "#if HTTP_VIOLATIONS"

20 years agoBug #743: Error when compile on FreeBSD 4.8-stable OS
wessels [Wed, 13 Aug 2003 22:05:22 +0000 (22:05 +0000)] 
Bug #743: Error when compile on FreeBSD 4.8-stable OS

"#ifdef HTTP_VIOLATIONS" should be "#if HTTP_VIOLATIONS"
because it is set to "0" in include/autoconf.h

20 years agoBug #736: ICP dynamic timeout algorithm ignores multicast
wessels [Wed, 13 Aug 2003 06:39:12 +0000 (06:39 +0000)] 
Bug #736: ICP dynamic timeout algorithm ignores multicast

The algorithm that calculates the timeout for a set of ICP
queries ignores multicast neighbors.  It also ignores the
expected number of replies because "*exprep" is always set
equal to parent_exprep + sibling_exprep.

This patch adds multicast group counts to the expected number
of ICP replies.  It also sets the query timeout to the
multicast peer rtt (x2) if there were no parents query.  If
there are parents, the expected parents timeout is used.

20 years agoSummary: Really get the corrent accesslog syntax in cf.data.pre
robertc [Wed, 13 Aug 2003 06:37:29 +0000 (06:37 +0000)] 
Summary: Really get the corrent accesslog syntax in cf.data.pre
Keywords:

Really get the corrent accesslog syntax in cf.data.pre

20 years agothe I need more sleep checkin
robertc [Wed, 13 Aug 2003 06:34:51 +0000 (06:34 +0000)] 
the I need more sleep checkin

20 years agoSummary: Apply the correct cf.data.pre patch for %<sS and %<sH
robertc [Wed, 13 Aug 2003 06:26:21 +0000 (06:26 +0000)] 
Summary: Apply the correct cf.data.pre patch for %<sS and %<sH
Keywords:

Apply the correct cf.data.pre patch for %<sS and %<sH

20 years agoSummary: Incorrectly astyled cf.data.pre
robertc [Wed, 13 Aug 2003 06:24:31 +0000 (06:24 +0000)] 
Summary: Incorrectly astyled cf.data.pre
Keywords:

Incorrectly astyled cf.data.pre

20 years agoSummary: Add %<sS and %<sH to custom log formats.
robertc [Wed, 13 Aug 2003 06:17:24 +0000 (06:17 +0000)] 
Summary: Add %<sS and %<sH to custom log formats.
Keywords:

Bugfix to access logging - the last request in a connection was racing with releasing of the store entry.
Add new high offset and available offset counters.

20 years agoSummary: MORE!!! MSVC Fixes.
robertc [Tue, 12 Aug 2003 03:55:47 +0000 (03:55 +0000)] 
Summary: MORE!!! MSVC Fixes.
Keywords:

Don't use initialiser syntax for char const *'s.
Don't use member address in initialisation lists.

20 years agoSummary: Cachemgr page length - Guido.
robertc [Mon, 11 Aug 2003 19:07:56 +0000 (19:07 +0000)] 
Summary: Cachemgr page length - Guido.
Keywords:

Hi,

On Windows native port, cachemgr parses the squid output in TEXT mode, with
a wrong resultant Content-Length in html pages, see this thread for details:

http://www1.it.squid-cache.org/mail-archive/squid-dev/200306/0044.html

The attached patch force cachemgr to work only on BINARY mode and contents
a cosmetic change.

Regards

Guido

20 years agoSummary: Gcc-3.3-recent fix from ismail donmez.
robertc [Mon, 11 Aug 2003 19:00:41 +0000 (19:00 +0000)] 
Summary: Gcc-3.3-recent fix from ismail donmez.
Keywords:

Hi,

Patch attached!

Regards,
/ismail

20 years agoBug #663: Username not logged into ACCESS.LOG in case of /407
hno [Mon, 11 Aug 2003 00:57:08 +0000 (00:57 +0000)] 
Bug #663: Username not logged into ACCESS.LOG in case of /407

The Basic auth module did not implement the direction call correctly,
indication authentication scheme failure on unsuccessful helper lookup
rather than "completed".

Note: This API and it's interactions with checklist->auth_user_request &
request->auth_user_request looks overly complex for the job. Should be
possible to simplify this a lot I think.

20 years agoSummary: Tweak install instructions.
robertc [Sun, 10 Aug 2003 17:54:39 +0000 (17:54 +0000)] 
Summary: Tweak install instructions.
Keywords:

Tweak install instructions - add -z requirement.

20 years agoSummary: Final MSVC fixups.
robertc [Sun, 10 Aug 2003 17:00:40 +0000 (17:00 +0000)] 
Summary: Final MSVC fixups.
Keywords:

* Don't reuse loop variable in errorPageId.
* Remove all uses of request_t - replace with HttpRequest.

20 years agoSummary: Fixup remaining MSVC issues.
robertc [Sun, 10 Aug 2003 15:53:49 +0000 (15:53 +0000)] 
Summary: Fixup remaining MSVC issues.
Keywords:

Addresses -

protos.h:
c:\work\nt-3.0\src\protos.h(443) : warning C4190: '<Unknown>' has C-linkage
specified, but returns UDT 'String' which is incompatible with C
         c:\work\nt-3.0\src\squidstring.h(77) : see declaration of 'String'
c:\work\nt-3.0\src\protos.h(444) : warning C4190: '<Unknown>' has C-linkage
specified, but returns UDT 'String' which is incompatible with C
         c:\work\nt-3.0\src\squidstring.h(77) : see declaration of 'String'
c:\work\nt-3.0\src\protos.h(445) : warning C4190: '<Unknown>' has C-linkage
specified, but returns UDT 'String' which is incompatible with C
         c:\work\nt-3.0\src\squidstring.h(77) : see declaration of 'String'
c:\work\nt-3.0\src\protos.h(446) : warning C4190: '<Unknown>' has C-linkage
specified, but returns UDT 'String' which is incompatible with C
         c:\work\nt-3.0\src\squidstring.h(77) : see declaration of 'String'
c:\work\nt-3.0\src\protos.h(447) : warning C4190: '<Unknown>' has C-linkage
specified, but returns UDT 'String' which is incompatible with C
         c:\work\nt-3.0\src\squidstring.h(77) : see declaration of 'String'

protos.h:
c:\work\nt-3.0\src\protos.h(740) : error C2526: 'storeCreate' : C linkage
function cannot return C++ class 'RefCount<class storeIOState>'
c:\work\nt-3.0\src\protos.h(741) : error C2526: 'storeOpen' : C linkage
function cannot return C++ class 'RefCount<class storeIOState>'

typedefs.h:
c:\work\nt-3.0\src\httprequest.h(56) : warning C4099: 'HttpRequest' : type
name first seen using 'struct' now seen using 'class'
         c:\work\nt-3.0\src\typedefs.h(202) : see declaration of 'HttpRequest'

ACLRequestHeaderStrategy.h
c:\work\nt-3.0\src\aclrequestheaderstrategy.h(88) : error C2059: syntax
error : 'constant'

ACLStrategised.h
c:\work\nt-3.0\src\aclreplyheaderstrategy.h(88) : error C2059: syntax error
: 'constant'

ACLReplyHeaderStrategy.h:
c:\work\nt-3.0\src\aclreplyheaderstrategy.h(87) : error C2059: syntax error
: 'constant'

20 years agoSummary: Remove use of FreeObject template function for MSVC compatability.
robertc [Sun, 10 Aug 2003 13:43:42 +0000 (13:43 +0000)] 
Summary: Remove use of FreeObject template function for MSVC compatability.
Keywords:

Remove use of FreeObject template function for MSVC compatability.

20 years agoFixing abuse of struct in_addr in auth_digest authenticate to
hno [Sun, 10 Aug 2003 13:27:34 +0000 (13:27 +0000)] 
Fixing abuse of struct in_addr in auth_digest authenticate to
allow building on MinGW again..

(reported by Guido)

20 years agoSummary: Forward port removing MemObject->fd.
robertc [Sun, 10 Aug 2003 11:11:22 +0000 (11:11 +0000)] 
Summary: Forward port removing MemObject->fd.
Keywords:

Bug #94 is solved by removing the MemObject->fd variable. Much of this was already in 3.0, but the remainder wasn't.

20 years agoSummary: Fix range offsets when the full object is retrieved.
robertc [Sun, 10 Aug 2003 09:59:19 +0000 (09:59 +0000)] 
Summary: Fix range offsets when the full object is retrieved.
Keywords:

* Extend StoreIOBuffer to provide Range details.
* Extend ClientSocketContext::lengthToSend to be offset aware and adjust throughout.
* ClientSocketContext::packRange - tidy up the calling interface, make private, and skip unwanted data at the beginning as well as the end of ranges.

20 years agodetemplatize splay comparisons for MSVC
robertc [Sun, 10 Aug 2003 07:01:22 +0000 (07:01 +0000)] 
detemplatize splay comparisons for MSVC

20 years agoBug #726: File src/fs/diskd/store_io_diskd.cc doesn't compile
hno [Sat, 9 Aug 2003 18:31:41 +0000 (18:31 +0000)] 
Bug #726: File src/fs/diskd/store_io_diskd.cc doesn't compile

use debugs() macro instead of debug() to take advantage of automatic
typesafeness (no format strings which may mess things up)

20 years agoreally fix enum use problem in digest for MSVC
robertc [Thu, 7 Aug 2003 19:35:04 +0000 (19:35 +0000)] 
really fix enum use problem in digest for MSVC

20 years agoupdate to squid_endian.h from Alan Barrett
robertc [Thu, 7 Aug 2003 19:31:34 +0000 (19:31 +0000)] 
update to squid_endian.h from Alan Barrett

20 years agoCorrect data channel management in case of errors while establishing the data channel...
robertc [Thu, 7 Aug 2003 19:16:30 +0000 (19:16 +0000)] 
Correct data channel management in case of errors while establishing the data channel - hno - bug #700

20 years agoBootstrapped
hno [Wed, 6 Aug 2003 06:13:50 +0000 (06:13 +0000)] 
Bootstrapped

20 years agoNetBSD defines bswap16() and bswap32(). The re-definitions in [squid]/include/ntlmau...
robertc [Wed, 6 Aug 2003 03:39:59 +0000 (03:39 +0000)] 
NetBSD defines bswap16() and bswap32().  The re-definitions in [squid]/include/ntlmauth.c cause compile errors.  I'll send a patch to the squid-dev list soon. - Alan Barrett (bug #724)

20 years agoAlan Barrett's fix for inconsistent bootstrapping on some platforms
robertc [Wed, 6 Aug 2003 03:17:14 +0000 (03:17 +0000)] 
Alan Barrett's fix for inconsistent bootstrapping on some platforms

20 years agosmall clarification in the accel changes to try to get people on the
hno [Tue, 5 Aug 2003 14:52:36 +0000 (14:52 +0000)] 
small clarification in the accel changes to try to get people on the
cache_peer track.

20 years agoSummary: Remove the unneeded 'deleteSelf' idiom.
robertc [Tue, 5 Aug 2003 04:14:37 +0000 (04:14 +0000)] 
Summary: Remove the unneeded 'deleteSelf' idiom.
Keywords:

Remove the unneeded 'deleteSelf' idiom.

20 years agoCut out unwanted regex interfaces from GNUregex.c
hno [Mon, 4 Aug 2003 04:53:47 +0000 (04:53 +0000)] 
Cut out unwanted regex interfaces from GNUregex.c
 - emacs related stuff
 - BSD 4.2 regex interface
 - old GNU regex interface
leaving only the POSIX interface which is what we use

20 years agoupdate for changed eventAdd linkage
robertc [Mon, 4 Aug 2003 04:06:10 +0000 (04:06 +0000)] 
update for changed eventAdd linkage

20 years agostore_null.cc compilation errorsstore_null.h not disted - bug #727
robertc [Mon, 4 Aug 2003 03:47:07 +0000 (03:47 +0000)] 
store_null.cc compilation errorsstore_null.h not disted  - bug #727

20 years agoSquid will not compile with --enable-epoll only (disable select and poll) Bug #728
robertc [Mon, 4 Aug 2003 03:38:15 +0000 (03:38 +0000)] 
Squid will not compile with --enable-epoll only (disable select and poll) Bug #728

20 years agofix compiling on cygwin without the win32 service enabled - bug #731
robertc [Mon, 4 Aug 2003 03:02:41 +0000 (03:02 +0000)] 
fix compiling on cygwin without the win32 service enabled - bug #731

20 years agobackout pam_auth suid change
robertc [Mon, 4 Aug 2003 02:38:02 +0000 (02:38 +0000)] 
backout pam_auth suid change

20 years agoFrom email:
robertc [Sun, 3 Aug 2003 16:37:30 +0000 (16:37 +0000)] 
From email:
> > MemObject.cc
>
>Looks like another limitation. taking the first one: there is a for_each
>template that is explicitly for dlink_list. You might try
>for_each<StoreClientsStats>(clients, statsVisitor);

Rigth, now MSVC++ is happy:

20 years agoHi,
robertc [Sun, 3 Aug 2003 16:05:12 +0000 (16:05 +0000)] 
Hi,

On Windows (native and Cygwin) and OS/2, when running
UFSSwapDir::closeTmpSwapLog() in store_dir_ufs.cc, Squid can be fail if the
target file for a rename operation was already deleted.

Because xrename() already try to remove the destination target on Windows,
a previous unlink() is not needed.

This patch extended the native Windows xrename() behaviour to Cygwin and
OS/2 too and remove not needed unlink().

Regards

Guido