]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
18 years agotcp-banger2 support for status validation and custom HTTP headers
hno [Tue, 26 Sep 2006 18:31:11 +0000 (18:31 +0000)] 
tcp-banger2 support for status validation and custom HTTP headers

18 years agoAdd in more profiling points to identify CPU usage
adrian [Mon, 25 Sep 2006 21:04:06 +0000 (21:04 +0000)] 
Add in more profiling points to identify CPU usage

18 years agoAdd in a missing check for whether the new dlink-based pending comm callbacks are...
adrian [Sat, 23 Sep 2006 13:16:07 +0000 (13:16 +0000)] 
Add in a missing check for whether the new dlink-based pending comm callbacks are ready

18 years agoBug #1769: near-hit and filedescriptor usage missing in SNMP MIB
hno [Fri, 22 Sep 2006 08:48:51 +0000 (08:48 +0000)] 
Bug #1769: near-hit and filedescriptor usage missing in SNMP MIB

Add cacheHttpNhSvcTime, cacheCurrentFileDescrCnt & cacheCurrentFileDescrMax
to the SNMP mib.

18 years agoBug #1774: ncsa_auth support for cramfs timestamps
hno [Fri, 22 Sep 2006 08:18:35 +0000 (08:18 +0000)] 
Bug #1774: ncsa_auth support for cramfs timestamps

18 years agoICAP cleanup of some cbdataReference misunderstanding.
hno [Thu, 21 Sep 2006 04:26:24 +0000 (04:26 +0000)] 
ICAP cleanup of some cbdataReference misunderstanding.

cbdataReference should only be used to create additional callback references
to a cbdata object. The owner of the object is the owner and has automatic
rights to the object, and should not call cbdataReference.

18 years agoClean up cbdataReference() use to comply with the API and make GCC happy
hno [Thu, 21 Sep 2006 04:15:00 +0000 (04:15 +0000)] 
Clean up cbdataReference() use to comply with the API and make GCC happy

18 years agoModify StoreEntry::write() probe to not overlap but still give accurate call numbers
adrian [Wed, 20 Sep 2006 20:25:05 +0000 (20:25 +0000)] 
Modify StoreEntry::write() probe to not overlap but still give accurate call numbers

18 years agoAdd in more profiling points
adrian [Wed, 20 Sep 2006 17:38:13 +0000 (17:38 +0000)] 
Add in more profiling points

18 years agoAdd profiling points for Membuf::grow, ::append and ::consume
adrian [Wed, 20 Sep 2006 14:13:38 +0000 (14:13 +0000)] 
Add profiling points for Membuf::grow, ::append and ::consume

18 years agoAdditional hi-res probes
adrian [Wed, 20 Sep 2006 12:29:10 +0000 (12:29 +0000)] 
Additional hi-res probes

18 years agoBypass the expensive check to the allocator getStats() when obtaining inuse data
adrian [Wed, 20 Sep 2006 06:59:26 +0000 (06:59 +0000)] 
Bypass the expensive check to the allocator getStats() when obtaining inuse data

A lot of busy code calls getStats() to get the inuse values when calculating
queue length (diskthreads) and store memory use for object memory expiry.
This was destroying performance.

The changes implement a "shortcut" to obtain the inuse values for both the
malloc and mempool allocator. getStats() is still expensive for mempools
(as it does GC before updating all the statistics to get accurate information)
but code has been modified to not use getStats() where all it wanted was
inuse info.

18 years agoFix a forgotten change during recent comm layer rework
serassio [Tue, 19 Sep 2006 23:17:52 +0000 (23:17 +0000)] 
Fix a forgotten change during recent comm layer rework

18 years agoFirst part of a comm layer rework
adrian [Tue, 19 Sep 2006 13:56:57 +0000 (13:56 +0000)] 
First part of a comm layer rework

* Remove new-style CommWrite, CommFill
* Add in a low-overhead C replacement for comm_read and comm_write
* Remove the difference between comm_write and comm_old_write; everything
  is back to using the same API for now
* create a simple C-based read/write IO callback mechanism, used by
  comm_read and comm_write

Whats left to do:

* convert accept/connect to using the new C-based read/write IO callback
  mechanism (and remove the requirement to allocate/free transient
  structures)
* rework the deferred read manager code somewhat
* then, remove the new-style CommRead code and use comm_read + whatever
  the deferred read manager has become
* remove whats not being used

18 years agoUn-astyle a flags definition
adrian [Tue, 19 Sep 2006 13:52:06 +0000 (13:52 +0000)] 
Un-astyle a flags definition

18 years agoBug #1768: Redundant DNS PTR lookups
hno [Tue, 19 Sep 2006 05:17:19 +0000 (05:17 +0000)] 
Bug #1768: Redundant DNS PTR lookups

Fix PTR lookup cache management to find pending queries.

18 years agoBug #1760: FTP related memory leak
hno [Tue, 19 Sep 2006 05:14:46 +0000 (05:14 +0000)] 
Bug #1760: FTP related memory leak

A small memory leak was found in the handling of certain ftp requests

18 years agoBug #1758: HEAD on ftp:// URLs always returned 200 OK.
hno [Tue, 19 Sep 2006 05:13:21 +0000 (05:13 +0000)] 
Bug #1758: HEAD on ftp:// URLs always returned 200 OK.

The FTP gateway took a little to narrow shortcut when processing HEAD
requests, not even verifying that the file esists (only directory).

18 years agoBug #1770: wccp2_weight directive
hno [Tue, 19 Sep 2006 05:05:43 +0000 (05:05 +0000)] 
Bug #1770: wccp2_weight directive

The WCCP2 implementation was missing weighted assignment, useful when the farm
is built from unequally powered servers.

18 years agoBootstrapped
hno [Sun, 17 Sep 2006 06:10:47 +0000 (06:10 +0000)] 
Bootstrapped

18 years agoaio_win32.cc and aiops_win32.cc must be compiled only on MinGW
serassio [Sun, 17 Sep 2006 02:44:21 +0000 (02:44 +0000)] 
aio_win32.cc and aiops_win32.cc must be compiled only on MinGW

18 years agoPortability fix: use memset() instead of deprecated bzero()
serassio [Sat, 16 Sep 2006 02:49:49 +0000 (02:49 +0000)] 
Portability fix: use memset() instead of deprecated bzero()

18 years agoFix a typo in recent commit
serassio [Sat, 16 Sep 2006 02:40:29 +0000 (02:40 +0000)] 
Fix a typo in recent commit

18 years agoFix astyle munging of flags.
adrian [Fri, 15 Sep 2006 23:30:13 +0000 (23:30 +0000)] 
Fix astyle munging of flags.

18 years agoBootstrapped
hno [Fri, 15 Sep 2006 21:02:28 +0000 (21:02 +0000)] 
Bootstrapped

18 years agoDist test headers for make check
hno [Fri, 15 Sep 2006 21:01:25 +0000 (21:01 +0000)] 
Dist test headers for make check

18 years agoConvert a debug() to debugs() to make GCC happy about formatting
hno [Fri, 15 Sep 2006 20:52:19 +0000 (20:52 +0000)] 
Convert a debug() to debugs() to make GCC happy about formatting

18 years agoBootstrapped
hno [Fri, 15 Sep 2006 20:33:26 +0000 (20:33 +0000)] 
Bootstrapped

18 years agoNeed to dist PeerDigest.h
hno [Fri, 15 Sep 2006 20:26:38 +0000 (20:26 +0000)] 
Need to dist PeerDigest.h

18 years agoBootstrapped
hno [Fri, 15 Sep 2006 06:10:47 +0000 (06:10 +0000)] 
Bootstrapped

18 years agoBootstrapped
serassio [Fri, 15 Sep 2006 02:17:11 +0000 (02:17 +0000)] 
Bootstrapped

18 years agoFix make check on MinGW
serassio [Fri, 15 Sep 2006 02:13:23 +0000 (02:13 +0000)] 
Fix make check on MinGW

18 years agoAdd missing files from bugfix for COSS config-failures.
robertc [Thu, 14 Sep 2006 14:34:51 +0000 (14:34 +0000)] 
Add missing files from bugfix for COSS config-failures.

18 years agoAvoid a string copy/reference operation in a reasonably critical path in the Header...
adrian [Thu, 14 Sep 2006 12:04:27 +0000 (12:04 +0000)] 
Avoid a string copy/reference operation in a reasonably critical path in the Header code

18 years agoFix bug 1218 by adding tests for the io engine of coss and ufs swapdirs after parsing...
robertc [Thu, 14 Sep 2006 06:51:09 +0000 (06:51 +0000)] 
Fix bug 1218 by adding tests for the io engine of coss and ufs swapdirs after parsing completes, and providing a heuristic lookup for finding a DiskIOModule when none is specified.

18 years agoBootstrapped
hno [Thu, 14 Sep 2006 06:10:48 +0000 (06:10 +0000)] 
Bootstrapped

18 years agoBootstrapped
serassio [Thu, 14 Sep 2006 02:10:48 +0000 (02:10 +0000)] 
Bootstrapped

18 years agoOn MinGW store tests need win32.cc
serassio [Thu, 14 Sep 2006 02:09:50 +0000 (02:09 +0000)] 
On MinGW store tests need win32.cc

18 years agoBootstrapped
serassio [Thu, 14 Sep 2006 01:06:15 +0000 (01:06 +0000)] 
Bootstrapped

18 years agoWindows port: split Windows service code into WinSvc.cc, allowing correct execution...
serassio [Thu, 14 Sep 2006 01:05:11 +0000 (01:05 +0000)] 
Windows port: split Windows service code into WinSvc.cc, allowing correct execution of make check

18 years agoWindows port: remove obsolete break from command line functionality
serassio [Thu, 14 Sep 2006 00:55:10 +0000 (00:55 +0000)] 
Windows port: remove obsolete break from command line functionality

18 years agoFix a bug which resulted in objects being released after forwarding was complete.
adrian [Wed, 13 Sep 2006 21:54:21 +0000 (21:54 +0000)] 
Fix a bug which resulted in objects being released after forwarding was complete.

This may have been my fault; but the forward code is all a bit weird at
the present time. Bring the forward logic back into line with squid-2.6.
This does need to be verified to be sure its doing the right thing.
It is, at least, resulting in cachable objects once again and hasn't
broken the FTP error page generation.

18 years agoadd in some more debugging to refresh.cc
adrian [Wed, 13 Sep 2006 21:42:15 +0000 (21:42 +0000)] 
add in some more debugging to refresh.cc

18 years agotestURL needs GNUregex library on MinGW
serassio [Wed, 13 Sep 2006 21:08:11 +0000 (21:08 +0000)] 
testURL needs GNUregex library on MinGW

18 years agoBootstrapped
serassio [Wed, 13 Sep 2006 19:16:13 +0000 (19:16 +0000)] 
Bootstrapped

18 years agoFix make dist error
serassio [Wed, 13 Sep 2006 18:32:26 +0000 (18:32 +0000)] 
Fix make dist error

18 years agoFix build error on MinGW when using --enable-icmp configure option
serassio [Mon, 11 Sep 2006 15:36:06 +0000 (15:36 +0000)] 
Fix build error on MinGW when using --enable-icmp configure option

18 years agoBug #1759: cachemgr.cgi attempts to write to file system root directory under MSWIN...
serassio [Mon, 11 Sep 2006 02:08:20 +0000 (02:08 +0000)] 
Bug #1759: cachemgr.cgi attempts to write to file system root directory under MSWIN builds

This patch is a minor revision of Windows support of cachemgr.

18 years agoreverse last patch - i missed that the fd_set includes the
adrian [Sun, 10 Sep 2006 09:49:05 +0000 (09:49 +0000)] 
reverse last patch - i missed that the fd_set includes the
unlinkd fd. I'll rethink how to fix this.

18 years agoBug 1579, 1475 - fix unlinkd to reduce the number of fd_set references
adrian [Sun, 10 Sep 2006 09:20:37 +0000 (09:20 +0000)] 
Bug 1579, 1475 - fix unlinkd to reduce the number of fd_set references

Squid_MaxFD is limited to FD_SETSIZE because of the fd_set uses outside of
the select(unix/windows) code. This patch removes one of the last
remaining uses.

18 years agoRework the transaction completion/aborting in the ftp code to fix bug 1592
adrian [Sun, 10 Sep 2006 07:53:00 +0000 (07:53 +0000)] 
Rework the transaction completion/aborting in the ftp code to fix bug 1592

The main problems in the code were:

* fwd->complete() was being called more than once
* everything was being funned through transactionComplete() which just
  wouldn't call abort handlers in the case of an abort.

So, transactionAbort() will call comm_close() to properly kill the
transaction the squid-2 way. this is ugly and should be replaced by some
object state to indicate the connection has been closed and the object
is on its way out; the current way will end up deleting the class data
before the code stack is fully unwound!

transactionForwardComplete() is just a wrapper that makes sure fwd->complete()
is called -once-.

18 years agoUpdated Windows related copyrigth notice
serassio [Sat, 9 Sep 2006 21:29:59 +0000 (21:29 +0000)] 
Updated Windows related copyrigth notice

18 years agoBug 1754: BodyReader was reading too much data from the socket buffer.
adrian [Thu, 7 Sep 2006 07:00:03 +0000 (07:00 +0000)] 
Bug 1754: BodyReader was reading too much data from the socket buffer.

Fix the BodyReader read routine to only empty enough data to satisfy the
given Content-Length; rather than emptying the buffer entirely.
Some clients have a habit of stuffing a \r\n at the end of a POST body and
this was being (over)read and hitting an assertion.

18 years agoBootstrapped
hno [Thu, 7 Sep 2006 06:10:47 +0000 (06:10 +0000)] 
Bootstrapped

18 years agoBootstrapped
serassio [Thu, 7 Sep 2006 01:38:09 +0000 (01:38 +0000)] 
Bootstrapped

18 years agoWindows port: Added Windows threads support to DiskThreads Disk module
serassio [Thu, 7 Sep 2006 01:36:42 +0000 (01:36 +0000)] 
Windows port: Added Windows threads support to DiskThreads Disk module

18 years agoBootstrapped
hno [Tue, 5 Sep 2006 06:10:48 +0000 (06:10 +0000)] 
Bootstrapped

18 years agoBootstrapped
serassio [Tue, 5 Sep 2006 02:16:56 +0000 (02:16 +0000)] 
Bootstrapped

18 years agoWindows port: Added Windows Overlapped I/O support to AIO Disk module
serassio [Tue, 5 Sep 2006 02:15:21 +0000 (02:15 +0000)] 
Windows port: Added Windows Overlapped I/O support to AIO Disk module

18 years agoAdd iiNet to the squid-3 sponsors list. Thanks iiNet!
adrian [Mon, 4 Sep 2006 08:42:19 +0000 (08:42 +0000)] 
Add iiNet to the squid-3 sponsors list. Thanks iiNet!

18 years agoBootstrapped
hno [Mon, 4 Sep 2006 06:10:46 +0000 (06:10 +0000)] 
Bootstrapped

18 years agoSyntax glue to get the MemPool API back in shape.
hno [Mon, 4 Sep 2006 03:05:19 +0000 (03:05 +0000)] 
Syntax glue to get the MemPool API back in shape.

Standalone pool:
  MemAllocator *pool = memPoolCreate(name, size)

Pooled class just as before;

class XXX {
public:
  MEMPROXY_CLASS(XXX)
  ...
}

MEMPROXY_CLASS_INLINE(XXX)

The other MemAllocator derived classes is considered private and should
not be used outside MemPool.cc

18 years agoFix typo in stub_comm.cc
serassio [Mon, 4 Sep 2006 01:34:15 +0000 (01:34 +0000)] 
Fix typo in stub_comm.cc

18 years agoWindows port: merged Windows native IPC support
serassio [Mon, 4 Sep 2006 01:28:10 +0000 (01:28 +0000)] 
Windows port: merged Windows native IPC support

18 years agoForgotten to adjust the pointer type ... :-(
serassio [Mon, 4 Sep 2006 01:12:52 +0000 (01:12 +0000)] 
Forgotten to adjust the pointer type ... :-(

18 years agoRemove a no more needed #ifdef _SQUID_MSWIN_ from structs.h
serassio [Mon, 4 Sep 2006 01:10:22 +0000 (01:10 +0000)] 
Remove a no more needed #ifdef _SQUID_MSWIN_ from structs.h

18 years agoWindows port: merged Windows native IPC support
serassio [Mon, 4 Sep 2006 00:58:37 +0000 (00:58 +0000)] 
Windows port: merged Windows native IPC support

18 years agoBootstrapped
serassio [Mon, 4 Sep 2006 00:49:30 +0000 (00:49 +0000)] 
Bootstrapped

18 years agoWindows port: merged Windows native IPC support
serassio [Mon, 4 Sep 2006 00:47:17 +0000 (00:47 +0000)] 
Windows port: merged Windows native IPC support

18 years agoFix wrong debug section in ipc.cc
serassio [Sun, 3 Sep 2006 23:19:34 +0000 (23:19 +0000)] 
Fix wrong debug section in ipc.cc

18 years agoUpdate MemPoolTest for MemPool changes.
robertc [Sun, 3 Sep 2006 13:25:13 +0000 (13:25 +0000)] 
Update MemPoolTest for MemPool changes.

18 years agoskip memory cleanups on shutdown even if built in leak check mode. Broken.
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.

18 years agoCorrectly free HttpHeaderFieldInfo array
hno [Sun, 3 Sep 2006 11:30:40 +0000 (11:30 +0000)] 
Correctly free HttpHeaderFieldInfo array

18 years agosilence gcc about some cbdata const violations
hno [Sun, 3 Sep 2006 11:29:44 +0000 (11:29 +0000)] 
silence gcc about some cbdata const violations

18 years ago(Tres Seaver)Fix bug 975. Ths may cause memory leaks, though running 1000 requests...
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.

18 years agoBootstrapped
hno [Sun, 3 Sep 2006 10:13:14 +0000 (10:13 +0000)] 
Bootstrapped

18 years agoCleanup of some MemAllocatorProxy abuse. This is a MemPool internal class,
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.

18 years agoBugfix 1750 - support tunnelling of RTSP and other protocols that abuse HTTP by sendi...
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.

18 years agoValgrind support. Mainly rearranging of cbdata to make malloc debugging
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.

18 years agoBootstrapped
hno [Sun, 3 Sep 2006 01:44:18 +0000 (01:44 +0000)] 
Bootstrapped

18 years agoFix library link order in tests to more closely match what is used for the main
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..

18 years agoBootstrapped
hno [Sun, 3 Sep 2006 01:30:16 +0000 (01:30 +0000)] 
Bootstrapped

18 years agoFix build error of testEventLoop using gcc 4.1
serassio [Sun, 3 Sep 2006 01:26:46 +0000 (01:26 +0000)] 
Fix build error of testEventLoop using gcc 4.1

18 years agoUpdated .cvsignore files
serassio [Sun, 3 Sep 2006 01:24:57 +0000 (01:24 +0000)] 
Updated .cvsignore files

18 years agoPortability fix: check if ip_user_check can be build
serassio [Sun, 3 Sep 2006 01:03:06 +0000 (01:03 +0000)] 
Portability fix: check if ip_user_check can be build

18 years agoWindows port: Use a more explicative message during configure
serassio [Sat, 2 Sep 2006 22:18:22 +0000 (22:18 +0000)] 
Windows port: Use a more explicative message during configure

18 years agoWindows port: Specific OpenSSL trick for FD<=>socket equivalence
serassio [Sat, 2 Sep 2006 21:40:03 +0000 (21:40 +0000)] 
Windows port: Specific OpenSSL trick for FD<=>socket equivalence

18 years agoWindows port: Tricks for fd<=> socket equivalence need the usage of a C++ namespace
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

18 years agoWindows port: Updated icmp.cc for MinGW support
serassio [Sat, 2 Sep 2006 21:31:30 +0000 (21:31 +0000)] 
Windows port: Updated icmp.cc for MinGW support

18 years agoWindows port: Added MinGW support to helper.cc
serassio [Sat, 2 Sep 2006 21:24:08 +0000 (21:24 +0000)] 
Windows port: Added MinGW support to helper.cc

18 years agoWindows port: Allow unlinkd to work on MinGW
serassio [Sat, 2 Sep 2006 20:59:49 +0000 (20:59 +0000)] 
Windows port: Allow unlinkd to work on MinGW

18 years agoWindows port: Allow build on MinGW (typecasting and linking)
serassio [Sat, 2 Sep 2006 20:46:31 +0000 (20:46 +0000)] 
Windows port: Allow build on MinGW (typecasting and linking)

18 years agoBootstrapped
serassio [Sat, 2 Sep 2006 19:58:01 +0000 (19:58 +0000)] 
Bootstrapped

18 years agoWindows port: merge remaining MinGW configure "glue"
serassio [Sat, 2 Sep 2006 19:55:56 +0000 (19:55 +0000)] 
Windows port: merge remaining MinGW configure "glue"

18 years agoWindows port: add lib/win32lib.c. This add the emulation of some functions.
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.

18 years agoWindows port: Display also the Windows handle in the FD stats.
serassio [Sat, 2 Sep 2006 19:41:32 +0000 (19:41 +0000)] 
Windows port: Display also the Windows handle in the FD stats.

18 years agoWindows port: add squid_mswin.h. This add FD<=>socket equivalence and other tricks.
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.

18 years agoWindows port: Redirect during early service startup stderr to a file.
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

18 years agoWindows port: increase number of FDs to the maximum supported from CRT at
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.

18 years agoFix warning on Windows about conflicting declaration of ev_entry
serassio [Sat, 2 Sep 2006 18:20:53 +0000 (18:20 +0000)] 
Fix warning on Windows about conflicting declaration of ev_entry