]>
git.ipfire.org Git - thirdparty/squid.git/log
hno [Sun, 3 Sep 2006 11:32:53 +0000 (11:32 +0000)]
skip memory cleanups on shutdown even if built in leak check mode. Broken.
hno [Sun, 3 Sep 2006 11:30:40 +0000 (11:30 +0000)]
Correctly free HttpHeaderFieldInfo array
hno [Sun, 3 Sep 2006 11:29:44 +0000 (11:29 +0000)]
silence gcc about some cbdata const violations
robertc [Sun, 3 Sep 2006 10:15:54 +0000 (10:15 +0000)]
(Tres Seaver)Fix bug 975. Ths may cause memory leaks, though running 1000 requests through showed no sign of it.
hno [Sun, 3 Sep 2006 10:13:14 +0000 (10:13 +0000)]
Bootstrapped
hno [Sun, 3 Sep 2006 10:11:59 +0000 (10:11 +0000)]
Cleanup of some MemAllocatorProxy abuse. This is a MemPool internal class,
only meant to be used via the CLASS macros.
robertc [Sun, 3 Sep 2006 10:09:48 +0000 (10:09 +0000)]
Bugfix 1750 - support tunnelling of RTSP and other protocols that abuse HTTP by sending just the headers and then waiting for out of band indicators to finish the reply.
hno [Sun, 3 Sep 2006 10:09:35 +0000 (10:09 +0000)]
Valgrind support. Mainly rearranging of cbdata to make malloc debugging
easier.
Also adds a new environment variable MEMPOOLS replacing the -mc command line option
for disabling the use of memory pools. A lot of the pools is created
automatically before main() is started so command line options was
a bit too late.
hno [Sun, 3 Sep 2006 01:44:18 +0000 (01:44 +0000)]
Bootstrapped
hno [Sun, 3 Sep 2006 01:42:11 +0000 (01:42 +0000)]
Fix library link order in tests to more closely match what is used for the main
program. Notably this was causing problems for libsnmp, where the tests picked
up a system provided libsnmp instead of ours..
hno [Sun, 3 Sep 2006 01:30:16 +0000 (01:30 +0000)]
Bootstrapped
serassio [Sun, 3 Sep 2006 01:26:46 +0000 (01:26 +0000)]
Fix build error of testEventLoop using gcc 4.1
serassio [Sun, 3 Sep 2006 01:24:57 +0000 (01:24 +0000)]
Updated .cvsignore files
serassio [Sun, 3 Sep 2006 01:03:06 +0000 (01:03 +0000)]
Portability fix: check if ip_user_check can be build
serassio [Sat, 2 Sep 2006 22:18:22 +0000 (22:18 +0000)]
Windows port: Use a more explicative message during configure
serassio [Sat, 2 Sep 2006 21:40:03 +0000 (21:40 +0000)]
Windows port: Specific OpenSSL trick for FD<=>socket equivalence
serassio [Sat, 2 Sep 2006 21:37:29 +0000 (21:37 +0000)]
Windows port: Tricks for fd<=> socket equivalence need the usage of a C++ namespace
serassio [Sat, 2 Sep 2006 21:31:30 +0000 (21:31 +0000)]
Windows port: Updated icmp.cc for MinGW support
serassio [Sat, 2 Sep 2006 21:24:08 +0000 (21:24 +0000)]
Windows port: Added MinGW support to helper.cc
serassio [Sat, 2 Sep 2006 20:59:49 +0000 (20:59 +0000)]
Windows port: Allow unlinkd to work on MinGW
serassio [Sat, 2 Sep 2006 20:46:31 +0000 (20:46 +0000)]
Windows port: Allow build on MinGW (typecasting and linking)
serassio [Sat, 2 Sep 2006 19:58:01 +0000 (19:58 +0000)]
Bootstrapped
serassio [Sat, 2 Sep 2006 19:55:56 +0000 (19:55 +0000)]
Windows port: merge remaining MinGW configure "glue"
serassio [Sat, 2 Sep 2006 19:48:53 +0000 (19:48 +0000)]
Windows port: add lib/win32lib.c. This add the emulation of some functions.
serassio [Sat, 2 Sep 2006 19:41:32 +0000 (19:41 +0000)]
Windows port: Display also the Windows handle in the FD stats.
serassio [Sat, 2 Sep 2006 19:30:54 +0000 (19:30 +0000)]
Windows port: add squid_mswin.h. This add FD<=>socket equivalence and other tricks.
serassio [Sat, 2 Sep 2006 19:21:00 +0000 (19:21 +0000)]
Windows port: Redirect during early service startup stderr to a file.
This avoid the loss of fatal error info when running as a Windows service
serassio [Sat, 2 Sep 2006 19:14:25 +0000 (19:14 +0000)]
Windows port: increase number of FDs to the maximum supported from CRT at
service startup.
serassio [Sat, 2 Sep 2006 18:20:53 +0000 (18:20 +0000)]
Fix warning on Windows about conflicting declaration of ev_entry
adrian [Sat, 2 Sep 2006 16:43:10 +0000 (16:43 +0000)]
Add a missing function to make kqueue compile again.
adrian [Sat, 2 Sep 2006 16:39:53 +0000 (16:39 +0000)]
Break checkTimeouts() out of each of the comm_select() routines, fixing kqueue's in the process
adrian [Sat, 2 Sep 2006 16:03:20 +0000 (16:03 +0000)]
Fix bug 1642: FTP assertion/blank page on authentication error
http://www.squid-cache.org/bugs/show_bug.cgi?id=1642
* break out the connection completion code away from the FwdState destructor
* place into ::completed
* Add a flag which goes true when completed has been called; add some
debugging to indicate (loudly!) if this condition is kicked off
* call ::completed via ::complete if the connection isn't being forwarded;
mirroring the fwdStateFree() semantics in fwdComplete() from squid-2
serassio [Sat, 2 Sep 2006 15:31:29 +0000 (15:31 +0000)]
Bug #1716: Squid 2.6-STABLE2 does not compile with newer versions of OpenSSL
This patch partially drops the support for OpenSSL 0.9.7x:
When using gcc 3.3.x and OpenSSL 0.9.7x sometimes a compile error can occur.
This is caused by an unpredicatble gcc behaviour on a cast of the first argument
of PEM_ASN1_write(). For this reason this code section is disabled. To enable it,
define ALLOW_ALWAYS_SSL_SESSION_DETAIL=1.
Also ran Astyle.
serassio [Sat, 2 Sep 2006 14:43:37 +0000 (14:43 +0000)]
Bug #1598: start_announce cannot be disabled
And also cannot be enabled with reconfigure.
robertc [Sat, 2 Sep 2006 12:49:48 +0000 (12:49 +0000)]
Fix bug 772, by reading aborted data from connections when there is a pending POST on the connection. This is still lacking an automated test to prevent regressions occuring again. Additionally the BodyReader API can possibly be tightened up to make this easier to read and implement.
robertc [Sat, 2 Sep 2006 09:54:27 +0000 (09:54 +0000)]
(Tres Seaver) Fix bug 1749 - make check errors from gcc 3.5.5.
adrian [Sat, 2 Sep 2006 09:35:52 +0000 (09:35 +0000)]
Bugzilla bug 1068: Check object pointer isn't NULL before calling methods/delete
This doesn't fix the core of the bug (no error page being generated) but
it does fix the crash.
robertc [Sat, 2 Sep 2006 06:27:04 +0000 (06:27 +0000)]
Add an extra assert to HttpHeader::addEntry as extra insurance for bug 1567.
hno [Sat, 2 Sep 2006 05:56:38 +0000 (05:56 +0000)]
Resurrect the old API of eventDelete(func, NULL) deleting all events with that callback
The eventApi defines eventDelete(func, NULL) as a wildcard delete. Mainly
used on shutdown etc.
robertc [Sat, 2 Sep 2006 04:57:44 +0000 (04:57 +0000)]
Fix bug #1568 - the assertion on the String having a buffer does not fit with
the contract of String.
Note some FIXME's in String.cci.
robertc [Sat, 2 Sep 2006 04:19:35 +0000 (04:19 +0000)]
Address bug 951 by changing the assert to a debug statement. This may cause
memory leaks but will no longer take squid down presumptively. We still not
have the right information to reproduce it, but it should at worst leak memory.
serassio [Tue, 29 Aug 2006 21:46:36 +0000 (21:46 +0000)]
Bug #1744: squid-2.6.STABLE3 - fakeauth_auth.core
The base64 decode of the NTLM blob is done only when -d option is specified:
the error introduced in the recent core restructure of fake_aut. Now fixed.
Also ran indent.
serassio [Mon, 28 Aug 2006 16:17:17 +0000 (16:17 +0000)]
Windows port: Disable printf formatting check on native Windows.
gcc don't recognize the Windows native 64 bit formatting tags causing
the compile fail
serassio [Mon, 28 Aug 2006 16:11:10 +0000 (16:11 +0000)]
Windows port: Allow safe multithreaded usage of debug()
serassio [Mon, 28 Aug 2006 16:03:42 +0000 (16:03 +0000)]
Windows port: fix another missing USE_SELECT_WIN32 in squid.h
serassio [Mon, 28 Aug 2006 15:53:51 +0000 (15:53 +0000)]
Windows port: missing syscalls.selects in stats when USE_SELECT_WIN32 is defined.
serassio [Mon, 28 Aug 2006 15:06:41 +0000 (15:06 +0000)]
Fix another harmless fake_auth compiler warning on gcc 4.1.1 x86
hno [Sun, 27 Aug 2006 09:56:34 +0000 (09:56 +0000)]
Fix some harmless fake_auth 64-bit compiler warnings
serassio [Sat, 26 Aug 2006 18:24:12 +0000 (18:24 +0000)]
Bug #1706: Squid time acl accepts invalid time range.
serassio [Sat, 26 Aug 2006 17:38:56 +0000 (17:38 +0000)]
Bug #1708: Ports in ACL accepts characters and out of range
- Renamed aclParseIntRange() to aclParsePortRange()
- Added check on numeric value
- Added check if range is ascending
- Also fixed a dump error
Forward port of a 2.6 patch.
serassio [Sat, 26 Aug 2006 00:53:35 +0000 (00:53 +0000)]
Bug #1635: Merge in HTCP updates from 2.6.
Forward port of all latest 2.6 HTCP changes.
serassio [Fri, 25 Aug 2006 21:22:34 +0000 (21:22 +0000)]
Bug #212: variable %i always 0.0.0.0
This patch extends errorCon() with a request_t argument, pulling some of the common
details of the request:
->request
->src_addr
Also cleaned all the duplicated related code.
Some of the 2.6 failing cases was already fixed in 3.0 using
clientBuildError(), but there are many other failing cases now fixed by this
patch.
serassio [Fri, 25 Aug 2006 18:42:57 +0000 (18:42 +0000)]
Bug #1602: Need to implement TCP fallback on truncated (large) DNS responses
Squid 3.0 has already a DNS Virtual Circuit lookups (TCP), just done a clean
of cbdata management.
serassio [Thu, 24 Aug 2006 20:59:32 +0000 (20:59 +0000)]
Fix Squid crash when using %a in ERR_INVALID_REQ and ERR_INVALID_URL error messages.
hno [Tue, 22 Aug 2006 06:10:45 +0000 (06:10 +0000)]
Bootstrapped
robertc [Mon, 21 Aug 2006 06:50:40 +0000 (06:50 +0000)]
Split out cbdata fully, it now is an optional include and no Init call is needed.
hno [Mon, 21 Aug 2006 06:10:46 +0000 (06:10 +0000)]
Bootstrapped
hno [Mon, 21 Aug 2006 03:02:53 +0000 (03:02 +0000)]
Handle very large DNS responses gracefully.
serassio [Mon, 21 Aug 2006 01:15:32 +0000 (01:15 +0000)]
Fixed a build error on Solaris 9 x86 (int format error)
serassio [Mon, 21 Aug 2006 00:31:46 +0000 (00:31 +0000)]
Bootstrapped
serassio [Mon, 21 Aug 2006 00:30:28 +0000 (00:30 +0000)]
Added check for 8 bit signed and unsigned integers
adrian [Sun, 20 Aug 2006 21:51:00 +0000 (21:51 +0000)]
Fix typo in Steven's name
serassio [Sun, 20 Aug 2006 21:27:55 +0000 (21:27 +0000)]
Fix an harmless compiler warning on Irix.
serassio [Sun, 20 Aug 2006 16:11:27 +0000 (16:11 +0000)]
Bootstrapped
serassio [Sun, 20 Aug 2006 15:50:05 +0000 (15:50 +0000)]
Portability fix: use _PATH_DEVNULL instead of "/dev/null"
robertc [Sat, 19 Aug 2006 18:31:21 +0000 (18:31 +0000)]
Bugfix the event loop idle detection - it was broken, and correct the store fs
tests to match(as the store is never idle due to cleanup events.
serassio [Sat, 19 Aug 2006 03:38:02 +0000 (03:38 +0000)]
Bug #1736: Missing Italian translation of ERR_TOO_BIG error page
In Squid 3.0 also ERR_ICAP_FAILURE is not translated
serassio [Mon, 14 Aug 2006 23:13:21 +0000 (23:13 +0000)]
Bug #582: fake_auth ntlmGetString: bad ascii:
ffffffb9 followed by FATAL: authenticateNTLMHandleReply: called with no result string
This is a major revision of fake_auth:
- Added support for unicode char encoding
- Added runtime debug functionality
- Removed offending fprintf(stdout)
- Removed obslete unused code sections
The support for unicode char encoding allow the usage of high ascii characters
in username with Windows NT/2000/XP/2003 clients. This still cannot work for
obsolete Windows 9x clients.
serassio [Mon, 14 Aug 2006 13:43:00 +0000 (13:43 +0000)]
Bug #1733: Small translation error to Portuguese ERR_CANNOT_FORWARD
Fix by Osvaldo Marques Junior, thanks !
serassio [Mon, 14 Aug 2006 02:21:19 +0000 (02:21 +0000)]
Bug #1040: The bodge on OS/2 for _res is wrong
The "_res" structure used by the BIND DNS Client library is defined
in the OS/2 libraries. It is exported from TCP32DLL.DLL. The import
library for this is, of course, TCP32DLL.LIB.
Confirmed in IBM OS/2 documentation:
http://www.warpspeed.com.au/cgi-bin/inf2html.cmd?../html/book/Toolkt40/TCPPR.INF
hno [Sun, 13 Aug 2006 06:10:43 +0000 (06:10 +0000)]
Bootstrapped
robertc [Sat, 12 Aug 2006 07:43:10 +0000 (07:43 +0000)]
Add AsyncEngine and TimeEngine support to the EventLoop, allowing it to
completely replace the old one embedded in main.cc - convert loop using
tests to use an event loop instance.
hno [Tue, 8 Aug 2006 06:10:45 +0000 (06:10 +0000)]
Bootstrapped
robertc [Mon, 7 Aug 2006 08:28:22 +0000 (08:28 +0000)]
Create an explicit EventLoop class which can be used to run an event loop
outside of main.cc - i.e. for test cases. Refactor the event module into two
sections - EventScheduler which schedules events, and EventDispatcher which
dispatches events unconditionally. Refactor the signal handling code in
main to use an event dispatcher too, making the loop cleaner.
robertc [Sun, 6 Aug 2006 12:26:27 +0000 (12:26 +0000)]
BUGFIX: eventRun of an event with non-cbdata callback argument used a random callback value.
hno [Sat, 5 Aug 2006 21:37:21 +0000 (21:37 +0000)]
Bug #1714: cache_dir coss line not shown correctly under cachemgr.cgi config
patch by Pawel Worach
robertc [Sat, 5 Aug 2006 18:05:35 +0000 (18:05 +0000)]
Remove unneeded duplication of RegexData logic from ACLHTTPHeaderData implementation.
hno [Thu, 3 Aug 2006 04:06:35 +0000 (04:06 +0000)]
Bug #1718: warning: the address of 'strerror_buf' will always evaluate as 'true'
newer versions of GCC is a little more picky and alerts us on design errors..
hno [Thu, 3 Aug 2006 03:46:22 +0000 (03:46 +0000)]
Bug #1716: Fails to compile with OpenSSL 0.9.7j
hno [Tue, 1 Aug 2006 06:10:54 +0000 (06:10 +0000)]
Bootstrapped
serassio [Mon, 31 Jul 2006 19:17:57 +0000 (19:17 +0000)]
wccp2_rebuild_wait directive to delay registering with WCCP until the
store rebuild have finished.
By Steven Wilton
hno [Mon, 31 Jul 2006 06:14:48 +0000 (06:14 +0000)]
extend getpwnam helper to also support shadow password systems
by Giancarlo Razzolini
hno [Sun, 30 Jul 2006 06:10:52 +0000 (06:10 +0000)]
Bootstrapped
serassio [Sun, 30 Jul 2006 01:25:57 +0000 (01:25 +0000)]
Forward port of latest 2.6 WCCPv2 changes:
- Bug #1696: Correct processing of router capability info segments
- Bug #1700: WCCP fails on FreeBSD (Unable to disconnect WCCP out socket)
- WCCP2 correct dampening of assign buckets when there it lots of changes
serassio [Sat, 29 Jul 2006 22:17:29 +0000 (22:17 +0000)]
ARP acl support for OpenBSD, code common with the FreeBSD implementation.
hno [Sat, 29 Jul 2006 19:46:05 +0000 (19:46 +0000)]
Bug #1702: Squid silently accepts defining acl's with too long name, even
if these then can not be used in http_access or other directives.
hno [Thu, 27 Jul 2006 01:55:19 +0000 (01:55 +0000)]
Bug #1694: Assertion failure in mgr:config if using access_log_format %<h
hno [Wed, 26 Jul 2006 00:22:37 +0000 (00:22 +0000)]
Bug #1691: multicast peering issues
a) Segmentation fault after "squid -k reconfigure"
b) Peering status updated after 30 minutes, where it should get
updated after only 2..
hno [Wed, 26 Jul 2006 00:07:15 +0000 (00:07 +0000)]
Corrected bad debug sections
hno [Wed, 26 Jul 2006 00:04:38 +0000 (00:04 +0000)]
Bug #1381: assertion failed: cbdata.cc:367: "c->locks < 65535"
there was double cbdata references to the https_port in httpsAccept().
serassio [Tue, 25 Jul 2006 01:21:26 +0000 (01:21 +0000)]
Bug #991: squid should fallback from resolv.conf to localhost
(according to linux resolv.conf manpage)
Forward port of an old 2.5 patch.
hno [Sat, 22 Jul 2006 04:24:01 +0000 (04:24 +0000)]
Stop making Squid-2.5 snapshots. The squid-2.5 tree is closed.
serassio [Fri, 21 Jul 2006 21:24:58 +0000 (21:24 +0000)]
Windows arp ACL fixes by Gennadiy Tsarenkov:
- Wrong usage of dwPhysAddrLen
- Initialize to 0 the arpReq structure
hno [Sun, 16 Jul 2006 06:10:48 +0000 (06:10 +0000)]
Bootstrapped
serassio [Sun, 16 Jul 2006 03:16:31 +0000 (03:16 +0000)]
Bootstrapped
serassio [Sun, 16 Jul 2006 03:15:19 +0000 (03:15 +0000)]
make check needs wccp2.cc
serassio [Thu, 13 Jul 2006 14:36:54 +0000 (14:36 +0000)]
Added WCCPv2 contributors and changelog entry
serassio [Tue, 11 Jul 2006 02:23:38 +0000 (02:23 +0000)]
Bug #1674: Fails to build on S/390, MIPS, Sparc: no previous prototype for 'byteSwap'
Fixed missing prototype.
serassio [Sun, 9 Jul 2006 15:09:45 +0000 (15:09 +0000)]
Fixed wrong debug section
serassio [Sat, 8 Jul 2006 22:38:47 +0000 (22:38 +0000)]
Added to the redirectors interface the support for SSL client certificate
identification and external ACL user identification.