]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
20 years agoBug #1368: assertion failed: store.c:523: "e->store_status ==
serassio [Sun, 11 Sep 2005 01:31:31 +0000 (01:31 +0000)] 
Bug #1368: assertion failed: store.c:523: "e->store_status ==
STORE_PENDING" on certain aborted requests

Forward port of 2.5 patch.

20 years agoBug #1342: Odd URLs in error messages on forwarded requests
serassio [Sat, 10 Sep 2005 22:03:52 +0000 (22:03 +0000)] 
Bug #1342: Odd URLs in error messages on forwarded requests

   While trying to retrieve the
   URL:NONE://10.72.43.56:8181http://www.abcd.com/

and error message content incomplete (many % codes not known) in several
other error conditions

Forward port of 2.5 patch.

20 years agocosmetic: Remove silly "typedef class ClientHttpRequest clientHttpRequest"
wessels [Fri, 9 Sep 2005 23:31:33 +0000 (23:31 +0000)] 
cosmetic: Remove silly "typedef class ClientHttpRequest clientHttpRequest"
and rename clientHttpRequest to ClientHttpRequest everywhere.

20 years agoHad a coredump where ACLIP::data was NULL. This patch avoids the
wessels [Thu, 8 Sep 2005 03:53:12 +0000 (03:53 +0000)] 
Had a coredump where ACLIP::data was NULL.  This patch avoids the
NULL pointer dereference, but there might be another bug elsewhere that
allows data to be NULL.

20 years agoBug #1387: typos in src/cf.data.pre
wessels [Thu, 8 Sep 2005 01:24:49 +0000 (01:24 +0000)] 
Bug #1387: typos in src/cf.data.pre

20 years agoBootstrapped
hno [Wed, 7 Sep 2005 06:10:47 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoBug #1344: Fails to compile with glibc -D_FORTIFY_SOURCE=2 (used by
serassio [Sat, 3 Sep 2005 19:46:46 +0000 (19:46 +0000)] 
Bug #1344: Fails to compile with glibc -D_FORTIFY_SOURCE=2 (used by
Fedora Core 4 and others)

Forward port of 2.5 patch.

20 years agoBug #1325: assertion failed: StatHist.c:93 ((int) floor(0.99L +
serassio [Sat, 3 Sep 2005 18:33:32 +0000 (18:33 +0000)] 
Bug #1325: assertion failed: StatHist.c:93 ((int) floor(0.99L +
statHistVal(H, 0) - min)) == 0

Forward port of 2.5 patch.

20 years agoBug #1380: E-mail sent when cache dies is blocked from many antispam rules
serassio [Sat, 3 Sep 2005 17:53:31 +0000 (17:53 +0000)] 
Bug #1380: E-mail sent when cache dies is blocked from many antispam rules

The e-mail sent when the cache dies use as "From:" field the Squid internal
appname "squid".
This "From:" address is invalid for the majority of antispam filters because
doesn't contains a valid domain name.

This patch adds the 'mail_from' directive to squid.conf, allowing to specify the
from e-mail address and change the default to use 'appname@unique_hostname'.

20 years agoBug #1331: chroot_dir and -k reconfigure
serassio [Sat, 3 Sep 2005 16:32:08 +0000 (16:32 +0000)] 
Bug #1331: chroot_dir and -k reconfigure

Forward port of 2.5 patch.

20 years agoBug #1348: Some odd FTP servers respond with 250 where 226 is expected
serassio [Sat, 3 Sep 2005 16:09:09 +0000 (16:09 +0000)] 
Bug #1348: Some odd FTP servers respond with 250 where 226 is expected

Forward port of 2.5 patch.

20 years agoBug #1375: snmp cacheClientTable fails on "long" IP addresses
serassio [Sat, 3 Sep 2005 16:05:46 +0000 (16:05 +0000)] 
Bug #1375: snmp cacheClientTable fails on "long" IP addresses

Forward port of 2.5 patch.

20 years agoFix log escape selection mechanism to properly handle quoting of
hno [Fri, 2 Sep 2005 01:34:46 +0000 (01:34 +0000)] 
Fix log escape selection mechanism to properly handle quoting of
multiple format elements.

20 years agoESI.cc was forgotten during the latest MemBuf changes.
serassio [Fri, 2 Sep 2005 00:53:51 +0000 (00:53 +0000)] 
ESI.cc was forgotten during the latest MemBuf changes.

Adjusted MemBuf usage to the new implementation.

20 years agomore .cvsignore updates
wessels [Thu, 1 Sep 2005 22:36:47 +0000 (22:36 +0000)] 
more .cvsignore updates

20 years agomore .cvsignore updates
wessels [Thu, 1 Sep 2005 22:26:16 +0000 (22:26 +0000)] 
more .cvsignore updates

20 years agomore .cvsignore updates
wessels [Thu, 1 Sep 2005 22:22:30 +0000 (22:22 +0000)] 
more .cvsignore updates

20 years agoadding and adding to .cvsignore files
wessels [Thu, 1 Sep 2005 22:05:02 +0000 (22:05 +0000)] 
adding and adding to .cvsignore files

20 years agoSome changes and new features for MemBuf to make it more class-like
wessels [Thu, 1 Sep 2005 01:15:35 +0000 (01:15 +0000)] 
Some changes and new features for MemBuf to make it more class-like
- made sure that cleaning a buffer that has not been initialized yet does
  not lead to coredumps (this is similar to deleting a null pointer in C++).
- Added consume() and append*() methods to allow the buffer to be used in a
  consumer/producer pipe-like environment.
- Added content() and space() methods as the first step to hide buf and size
  members that require consume() method to always shift content to keep a
  copyf of buf member valid (in case somebody made a copy of it).
- Noted that spaceSize() logic assumes the buffer does not expand and is
  0-terminated. This means that the following does not hold:
                max_capacity == contentSize() + spaceSize()
  Fortunately, max_capacity is a private member that nobody should be using
  outside of MemBuf.cc
  0-termination of a MemBuf? Can we make it explicit like string::c_str()?
- added hasContent() method
- Added public terminate() method because some HTTP parsing routines need it,
  unfortunately.
- Added potentialSpaceSize() to report how much space can be available
  after the buffer is grown to the max. Useful for callers that decide
  whether they _will_ have the space to store new data that they can get
  from somewhere.
- Use private copy and operator= methods to prevent us from creating a
  copy of a MemBuf.  MemBuf copies are bad because then two ->buf pointers
  point to the same location and its not clear who should free the memory.
- Added a destructor that asserts if someone forgot to free ->buf.  Good
  for finding memory leaks.

Restriction on not copying MemBufs must be propogated to MemBuf users.
In many cases this means changing "static" MemBufs to pointers.

20 years agoMust call cbdataReferenceDone on the ident_lookup list
wessels [Wed, 31 Aug 2005 23:21:58 +0000 (23:21 +0000)] 
Must call cbdataReferenceDone on the ident_lookup list

20 years agoBug #1317: SNMP GETNEXT fails if the given OID is outside the Squid MIB
serassio [Wed, 31 Aug 2005 02:44:00 +0000 (02:44 +0000)] 
Bug #1317: SNMP GETNEXT fails if the given OID is outside the Squid MIB

This quick patch fixes the SNMP GETNEXT search when given an OID outside
the Squid MIB. This allows proper integration of Squid into proxy SNMP
agents.

Forward port of 2.5 patch.

20 years agoBootstrapped
hno [Mon, 29 Aug 2005 06:10:42 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoBug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter
serassio [Sun, 28 Aug 2005 16:45:32 +0000 (16:45 +0000)] 
Bug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter

Forgotten to change CXXFLAGS too ...

20 years agoAdded support for Windows code name "Longhorn".
serassio [Sun, 28 Aug 2005 14:55:21 +0000 (14:55 +0000)] 
Added support for Windows code name "Longhorn".

20 years agoRearranged code and added comments for better readability.
serassio [Sun, 28 Aug 2005 14:37:30 +0000 (14:37 +0000)] 
Rearranged code and added comments for better readability.

20 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 01:53:42 +0000 (01:53 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Added Winsocks initialization on native Windows

20 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 01:36:36 +0000 (01:36 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Added native Windows Exception handling with signal() emulation

20 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 00:40:20 +0000 (00:40 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Some Cygwin fixes
- Added Windows handle into fde Class

20 years agoChanged the default name of the Windows Service from "SquidNT" to "Squid"
serassio [Sun, 28 Aug 2005 00:34:31 +0000 (00:34 +0000)] 
Changed the default name of the Windows Service from "SquidNT" to "Squid"

20 years agoCalculate loop_delay immediately before it is used.
wessels [Fri, 26 Aug 2005 01:31:22 +0000 (01:31 +0000)] 
Calculate loop_delay immediately before it is used.

20 years agocosmetic: be consistent and use "FD %d" instead of "fd %d"
wessels [Fri, 26 Aug 2005 01:30:01 +0000 (01:30 +0000)] 
cosmetic: be consistent and use "FD %d" instead of "fd %d"
in debugging messages.

20 years agoBootstrapped
hno [Wed, 24 Aug 2005 06:10:54 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoForgotten to remove the reference to old src/squid_windows.h
serassio [Tue, 23 Aug 2005 16:52:05 +0000 (16:52 +0000)] 
Forgotten to remove the reference to old src/squid_windows.h

20 years agoBootstrapped
hno [Mon, 22 Aug 2005 06:10:51 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoRenamed src/squid_windows.h to include/squid_windows.h
serassio [Mon, 22 Aug 2005 00:54:23 +0000 (00:54 +0000)] 
Renamed src/squid_windows.h to include/squid_windows.h

20 years agoRemoved residual Samba file
serassio [Mon, 22 Aug 2005 00:50:35 +0000 (00:50 +0000)] 
Removed residual Samba file

20 years agoMS VisualStudio C++ needs explicit extern "C" declaration when accessing to
serassio [Mon, 22 Aug 2005 00:33:24 +0000 (00:33 +0000)] 
MS VisualStudio C++ needs explicit extern "C" declaration when accessing to
C external variables

20 years agoRemoved residual Samba file
serassio [Sun, 21 Aug 2005 23:42:29 +0000 (23:42 +0000)] 
Removed residual Samba file

20 years agoBootstrapped
hno [Sun, 21 Aug 2005 06:10:40 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoOn Windows, the latest MinGW doesn't like include paths terminated with / char
serassio [Sun, 21 Aug 2005 03:08:38 +0000 (03:08 +0000)] 
On Windows, the latest MinGW doesn't like include paths terminated with / char

20 years agoint HttpStateData.do_next_read is really boolean. It can become
wessels [Fri, 19 Aug 2005 23:03:28 +0000 (23:03 +0000)] 
int HttpStateData.do_next_read is really boolean.  It can become
http_state_flags.do_next_read.

20 years agoIt looks like int httpState->reply_hdr_state is always either 0 or 2.
wessels [Fri, 19 Aug 2005 22:49:26 +0000 (22:49 +0000)] 
It looks like int httpState->reply_hdr_state is always either 0 or 2.
I'm replacing it with the single-bit http_state_flags.headers_parsed.

20 years agochange 'sizeof sockaddr_in' to sizeof S' and make connect()
wessels [Fri, 19 Aug 2005 22:40:15 +0000 (22:40 +0000)] 
change 'sizeof sockaddr_in' to sizeof S' and make connect()
debugging a little more verbose.

20 years agocosmetic: clean up some comments
wessels [Wed, 17 Aug 2005 21:57:26 +0000 (21:57 +0000)] 
cosmetic: clean up some comments

20 years agoBootstrapped
hno [Tue, 16 Aug 2005 06:11:00 +0000 (06:11 +0000)] 
Bootstrapped

20 years agoUpdated Negotiate over HTTP draft
hno [Tue, 16 Aug 2005 01:50:59 +0000 (01:50 +0000)] 
Updated Negotiate over HTTP draft

20 years agoBootstrapped
hno [Mon, 15 Aug 2005 06:10:40 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoBug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter
serassio [Mon, 15 Aug 2005 02:44:28 +0000 (02:44 +0000)] 
Bug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter

On Solaris (and may be that on other platforms could be something similar to
this, we should verify), Ipfilter include files use a SOLARIS2 define defined
only in the ipfilter makefile at ipfilter build time.
This patch adds the SOLARIS2 definition into configure.

20 years agoBug #1376: Compile error with gcc4
serassio [Mon, 15 Aug 2005 02:34:54 +0000 (02:34 +0000)] 
Bug #1376: Compile error with gcc4

Another compile error related to gcc4 inline optimization.

20 years agoThis patch adds new 'mail_program' configuration option in squid.conf.
serassio [Mon, 15 Aug 2005 00:43:40 +0000 (00:43 +0000)] 
This patch adds new 'mail_program' configuration option in squid.conf.

This option allow to specify the mailer program name that squid will use to
send fatal reports by mail and related command line options.

Forward port of Squid 2.5 changes.

20 years agoBootstrapped
hno [Mon, 8 Aug 2005 06:10:50 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoAllow build on Solaris x86 with both fixed or not fixed includes.
serassio [Sun, 7 Aug 2005 18:16:50 +0000 (18:16 +0000)] 
Allow build on Solaris x86 with both fixed or not fixed includes.

For more details:
http://www.squid-cache.org/mail-archive/squid-dev/200507/0045.html
http://forum.sun.com/thread.jspa?threadID=20228&tstart=105

20 years agoFinish removal of Samba headers
hno [Fri, 5 Aug 2005 22:14:51 +0000 (22:14 +0000)] 
Finish removal of Samba headers

20 years agoBootstrapped
hno [Fri, 5 Aug 2005 22:12:35 +0000 (22:12 +0000)] 
Bootstrapped

20 years agoBootstrapped
hno [Fri, 5 Aug 2005 22:12:35 +0000 (22:12 +0000)] 
Bootstrapped

20 years agoDon't bootstrap subdirectories unless needed
hno [Thu, 4 Aug 2005 16:58:14 +0000 (16:58 +0000)] 
Don't bootstrap subdirectories unless needed

20 years agoRemoved obsolete Samba headers
hno [Wed, 3 Aug 2005 22:40:56 +0000 (22:40 +0000)] 
Removed obsolete Samba headers

20 years agoFix Array operator +=. Patch by Andrey Shorin
hno [Wed, 3 Aug 2005 21:38:23 +0000 (21:38 +0000)] 
Fix Array operator +=. Patch by Andrey Shorin

20 years agoAlso enable opt_debug_stderr for squid -z
wessels [Wed, 20 Jul 2005 23:07:25 +0000 (23:07 +0000)] 
Also enable opt_debug_stderr for squid -z

20 years agoBootstrapped
hno [Sat, 16 Jul 2005 06:10:39 +0000 (06:10 +0000)] 
Bootstrapped

20 years agoWe can move the GCC version check much earlier in the script
wessels [Sat, 16 Jul 2005 02:12:56 +0000 (02:12 +0000)] 
We can move the GCC version check much earlier in the script

20 years agoExit configure if we detect GCC 2.9x on FreeBSD because it causes
wessels [Sat, 16 Jul 2005 02:07:52 +0000 (02:07 +0000)] 
Exit configure if we detect GCC 2.9x on FreeBSD because it causes
a coredump inside the debugs() macro, which uses the stringstream
class.
CVS ----------------------------------------------------------------------

21 years agofnmatch.h requires an extern "C" wrapper, at least on FreeBSD 4.x
wessels [Thu, 14 Jul 2005 05:15:46 +0000 (05:15 +0000)] 
fnmatch.h requires an extern "C" wrapper, at least on FreeBSD 4.x

21 years agoBug #1313: Core dump with STABLE10 and --ipf-transparent-proxy with
serassio [Mon, 11 Jul 2005 01:13:17 +0000 (01:13 +0000)] 
Bug #1313: Core dump with STABLE10 and --ipf-transparent-proxy with
FreeBSD 5.3 /5.4

Forward port of needed changes from 2.5 patch to Squid 3.0 and some debug
sections fixes.

21 years agotruncate() is not available on some platforms, so we must don't build any
serassio [Sun, 10 Jul 2005 21:43:30 +0000 (21:43 +0000)] 
truncate() is not available on some platforms, so we must don't build any
code section containing truncate() when USE_TRUNCATE is not defined

21 years agoBug #1307: squid -k fails in combination with chroot after patch for bug 1157
serassio [Sun, 10 Jul 2005 02:02:49 +0000 (02:02 +0000)] 
Bug #1307: squid -k fails in combination with chroot after patch for bug 1157

Forward port of 2.5 patch.

21 years agoI think dstdomain should lookup dst_addr, not src_addr
wessels [Fri, 8 Jul 2005 03:22:52 +0000 (03:22 +0000)] 
I think dstdomain should lookup dst_addr, not src_addr

21 years agoBootstrapped
hno [Tue, 5 Jul 2005 06:10:38 +0000 (06:10 +0000)] 
Bootstrapped

21 years agoOn some systems POSIX AIO functions are in libaio
serassio [Mon, 4 Jul 2005 21:28:09 +0000 (21:28 +0000)] 
On some systems POSIX AIO functions are in libaio

21 years agoBug #767: Problems making Squid 3.0 PRE3 64 bit
serassio [Mon, 4 Jul 2005 02:41:46 +0000 (02:41 +0000)] 
Bug #767: Problems making Squid 3.0 PRE3 64 bit

Another debug() ==> debugs() conversion.

21 years agoBug #767: Problems making Squid 3.0 PRE3 64 bit
serassio [Sun, 3 Jul 2005 21:25:03 +0000 (21:25 +0000)] 
Bug #767: Problems making Squid 3.0 PRE3 64 bit

Fixed the following on HP Tru64 and probably on some other 64 bit platforms:

- assert() must test logical expressions, not pointers
- STATUS define conflict in parse.c (snmplib)
- Warnings SMB, fakeauth and MSNT helpers
- Various debug() ==> debugs() changes
- Alpha asm access to CPU profiling info
- timezone should be long, not time_t
- Various clean of ESI code
- assert() definition problem in diskd.cc

21 years agoKill remaining .cvsignore files from the deleted winbind helpers
hno [Sun, 3 Jul 2005 04:41:49 +0000 (04:41 +0000)] 
Kill remaining .cvsignore files from the deleted winbind helpers

21 years agoFixed warning errors during build on FreeBSD and Solaris x86
serassio [Sun, 3 Jul 2005 01:08:32 +0000 (01:08 +0000)] 
Fixed warning errors during build on FreeBSD and Solaris x86

21 years agoFixed warning errors during build on FreeBSD and Solaris x86
serassio [Sun, 3 Jul 2005 00:51:01 +0000 (00:51 +0000)] 
Fixed warning errors during build on FreeBSD and Solaris x86

21 years agoFixed warning errors during build on FreeBSD and Solaris x86
serassio [Sun, 3 Jul 2005 00:34:03 +0000 (00:34 +0000)] 
Fixed warning errors during build on FreeBSD and Solaris x86

21 years agoBootstrapped
hno [Sat, 2 Jul 2005 06:10:52 +0000 (06:10 +0000)] 
Bootstrapped

21 years agoSamba-2.X is declared unsupported by the Samba team. Remove the old
hno [Sat, 2 Jul 2005 04:34:50 +0000 (04:34 +0000)] 
Samba-2.X is declared unsupported by the Samba team. Remove the old
winbind helpers to reduce confusion. People wanting winbind integration
really should use Samba-3.X these days.

21 years agoForward port from 2.5 of updated Spanish error messages
serassio [Sat, 2 Jul 2005 00:29:29 +0000 (00:29 +0000)] 
Forward port from 2.5 of updated Spanish error messages

- Translates errors/Spanish/ERR_INVALID_RESP to Spanish
- Replaces some ISO8859-1 characters by the preferred HTML code (i.e.
  "á" for "á").
- Minor typos or style fixes.
- Unifies the gender of "cache".
- Unifies the spelling of "cache" in spanish.

The last two changes deserve an explanation. The word "cache" in the
sense of a "web cache" or "cache memory" has not been formally (i.e. by
the "Real Academia de la Lengua Española" (Royal Academy of the Spanish
Language)) incorporated into spanish, therefore there isn't a sanctioned
spelling of the word. Nevertheless, the word is widely used in spanish,
but with inconsistencies: it is found both as a masculine and femenine
noun (spanish has only two genders, there is no neuter (it) pronoun) and
with at least two spellings. After a brief survey of the web, I set on a
single gender and spelling and fixed those error messages that were
using different ones (by virtue of being translated by different
people).

21 years agoBug #1333: binfo_group.pl only looks into the first group specified
hno [Thu, 30 Jun 2005 02:38:59 +0000 (02:38 +0000)] 
Bug #1333: binfo_group.pl only looks into the first group specified

21 years agoBug #1308: squid -k reconfigure internal corruption if the type of a
serassio [Mon, 27 Jun 2005 00:51:20 +0000 (00:51 +0000)] 
Bug #1308: squid -k reconfigure internal corruption if the type of a
cache_dir is changed

Failed to detect if the type of an existing cache_dir was changed,
calling the parser function of the new type with the internal data of
the existing one..

This patch detects this and logs to cache.log (and the console) that a
restart is required.

Forward port of 2.5 patch.

21 years agoBug #1220: Title in FTP listings somewhat messed up
serassio [Sun, 26 Jun 2005 23:12:47 +0000 (23:12 +0000)] 
Bug #1220: Title in FTP listings somewhat messed up

Show FTP URLs in decoded form to allow for national
characters etc to be displayed in a sane manner.

Forward port of 2.5 patch.

21 years agoFix snapshot procedure to be less sensitive on file dates when removing old
hno [Sat, 25 Jun 2005 03:11:08 +0000 (03:11 +0000)] 
Fix snapshot procedure to be less sensitive on file dates when removing old
copies, relying on the file names instead.

21 years agoBootstrapped
hno [Tue, 21 Jun 2005 06:10:55 +0000 (06:10 +0000)] 
Bootstrapped

21 years agoBug #1312: assertion failed: client_side.cc:2663: "request == conn->body.request"
serassio [Sun, 12 Jun 2005 20:30:50 +0000 (20:30 +0000)] 
Bug #1312: assertion failed: client_side.cc:2663: "request == conn->body.request"

The problem was originated during the forward port of patch for bug #890.
There is an obvious logical error, this patch should fix it.

21 years agoBug #1201: assertion failed: cbdata.cc:402: "c->locks > 0"
serassio [Thu, 9 Jun 2005 22:04:30 +0000 (22:04 +0000)] 
Bug #1201: assertion failed: cbdata.cc:402: "c->locks > 0"

This is a short term patch that should allow the usage of broken acls, waiting
for full refactoring.

21 years agoBug #1275: Squid internal icons served up with slightly incorrect HTTP
hno [Thu, 9 Jun 2005 13:07:30 +0000 (13:07 +0000)] 
Bug #1275: Squid internal icons served up with slightly incorrect HTTP
headers

dynamically reconstruct the Date header on each ENTRY_SPECIAL cache hit,
making it look more like a normal web server.

21 years agoBootstrapped
hno [Mon, 6 Jun 2005 06:39:46 +0000 (06:39 +0000)] 
Bootstrapped

21 years agoAdjust for newer autotools
hno [Mon, 6 Jun 2005 06:38:59 +0000 (06:38 +0000)] 
Adjust for newer autotools

21 years agoBootstrapped
hno [Mon, 6 Jun 2005 06:10:23 +0000 (06:10 +0000)] 
Bootstrapped

21 years agoRearrange the detection of internal URLs slightly to make it easier to
hno [Mon, 6 Jun 2005 05:29:02 +0000 (05:29 +0000)] 
Rearrange the detection of internal URLs slightly to make it easier to
fix the Date header on internal objects (Bug #1275).

21 years agoSupport current versions of IP-Filter where the device name has changed
hno [Mon, 6 Jun 2005 04:59:38 +0000 (04:59 +0000)] 
Support current versions of IP-Filter where the device name has changed

21 years agoBug #829: icp denied query causes squid to fail assert src/HttpHeader.cc:374
serassio [Sun, 5 Jun 2005 21:12:46 +0000 (21:12 +0000)] 
Bug #829: icp denied query causes squid to fail assert src/HttpHeader.cc:374
          because hdr->owner == 0

icp_request is already self-destroyed at the end of icpAccessAllowed(), so
we must call requestLink() before to preserve icp_request.

21 years agoAlso need to ignore SIGHUP on helpers in foreground mode
hno [Sun, 5 Jun 2005 05:57:05 +0000 (05:57 +0000)] 
Also need to ignore SIGHUP on helpers in foreground mode

21 years agoBootstrapped
hno [Sat, 4 Jun 2005 06:10:34 +0000 (06:10 +0000)] 
Bootstrapped

21 years agoBug #1244: Squid-3.0 compilation problems with gcc-4.0
serassio [Fri, 3 Jun 2005 21:24:14 +0000 (21:24 +0000)] 
Bug #1244: Squid-3.0 compilation problems with gcc-4.0

This patch fixes inlining optimization problems with gcc4.
For some functions (peerDigestSwapInHeaders(),
peerDigestSwapInCBlock() and peerDigestSwapInMask()) is not
possible any workaround without big changes, so the function
scope must be changed from static to global.

21 years agoUse PRIu64 ISO C99 Standard printf() macro for 64 bit unsigned int
serassio [Fri, 3 Jun 2005 21:00:55 +0000 (21:00 +0000)] 
Use PRIu64 ISO C99 Standard printf() macro for 64 bit unsigned int
instead of llu. This allow the correct formatting of 64 bit printf
on some systems like native Windows.

21 years agoFirst step of MinGw configure support.
serassio [Fri, 3 Jun 2005 18:59:06 +0000 (18:59 +0000)] 
First step of MinGw configure support.

Changes:

- MinGW environment identification
- Windows PSAPI.DLL support
- Support for Windows native port of OpenSSL
- Winsock support detection
- Identification of maximum FDs number
- Windows native resolver identification

21 years agoAllow the native Windows build of LDAP based Digest hash helper like
serassio [Fri, 3 Jun 2005 16:25:06 +0000 (16:25 +0000)] 
Allow the native Windows build of LDAP based Digest hash helper like
squid_ldap_auth and squid_ldap_group.

21 years agoWork around OpenSSL bug affecting the clientca= option
hno [Tue, 31 May 2005 22:19:56 +0000 (22:19 +0000)] 
Work around OpenSSL bug affecting the clientca= option

21 years agoBug #1305: Double content-length often harmless
serassio [Sun, 29 May 2005 02:01:06 +0000 (02:01 +0000)] 
Bug #1305: Double content-length often harmless

There is quite many web servers out there with broken banner engines
forgetting to delete the original content-length after adding the
banner. Currently these are (rightfully) rejected by Squid.

Instead of rejecting we could select the biggest content-length header
found and remove the other. This should fix up these replies while not
allowing for attacks.

Forward port of 2.5 patch.