]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
17 years agoBug 2299: src/ACLARP.cc fails to compile on Solaris 10
Amos Jeffries [Sun, 6 Apr 2008 12:37:53 +0000 (00:37 +1200)] 
Bug 2299: src/ACLARP.cc fails to compile on Solaris 10
Author: Christos Tsantilas <chtsanti@users.sourceforge.net>

17 years agoWindows port: Released name of Longhorn Server is Windows Server 2008
Guido Serassio [Sun, 6 Apr 2008 09:44:29 +0000 (11:44 +0200)] 
Windows port: Released name of Longhorn Server is Windows Server 2008

17 years agoFallback on transparent interception mode even if the connection didn't seem
Henrik Nordstrom [Sun, 6 Apr 2008 01:31:13 +0000 (03:31 +0200)] 
Fallback on transparent interception mode even if the connection didn't seem
to be transparently intercepted

Needed to deal properly with situations where connections to the local host
is intercepted, or when people NAT outside the Squid server but still compile
Squid with support for the NAT/interception method availabe on the host OS..

17 years agoBug 2245: cache_dir is not built correctly
Amos Jeffries [Sat, 5 Apr 2008 12:20:44 +0000 (00:20 +1200)] 
Bug 2245: cache_dir is not built correctly

17 years agoCall testheaders.sh with locally detected shell.
Amos Jeffries [Sat, 5 Apr 2008 11:21:54 +0000 (23:21 +1200)] 
Call testheaders.sh with locally detected shell.

Fixes problems where bash shell is not available at /bin/bash

Also replaces some remaining relative paths with the build top dir variable.

17 years agoBug 2286: assertion failed: HttpHdrContRange.cc:100: "spec->length >= 0"
Amos Jeffries [Sat, 5 Apr 2008 10:55:30 +0000 (22:55 +1200)] 
Bug 2286: assertion failed: HttpHdrContRange.cc:100: "spec->length >= 0"
Author: Christos Tsantilos <chtsanti@users.sourceforge.net>

Moves the assertion check for spec->length in function
httpHdrRangeRespSpecParseInit  exactly after the spec->length copmuted.

Also Fix of a possible  misuse of errno in httpHeaderParseOffset function
The errno before used with strtol function must set to "0".

17 years agoBug 2267 - increase MAX_URL to 8192
Amos Jeffries [Sat, 5 Apr 2008 02:00:45 +0000 (14:00 +1200)] 
Bug 2267 - increase MAX_URL to 8192

17 years agoBug 2267 - increase MAX_URL to 8192
Amos Jeffries [Fri, 4 Apr 2008 13:59:45 +0000 (01:59 +1200)] 
Bug 2267 - increase MAX_URL to 8192

17 years agoSelectively roll comm_connect_addr part of the Linux leak fix out of trunk.
Amos Jeffries [Thu, 3 Apr 2008 21:12:16 +0000 (09:12 +1200)] 
Selectively roll comm_connect_addr part of the Linux leak fix out of trunk.

The IPAddress and configure parts are left to simplify future testing of why it
does not work in FreeBSD and what went wrong with the sockaddr_storage.

17 years agoAdd netinet/in.h to configure tests for ss_len etc.
Amos Jeffries [Thu, 3 Apr 2008 21:04:37 +0000 (09:04 +1200)] 
Add netinet/in.h to configure tests for ss_len etc.

17 years agoWrap Delay Pools module headers
Amos Jeffries [Thu, 3 Apr 2008 11:56:42 +0000 (23:56 +1200)] 
Wrap Delay Pools module headers

- prevents all compiling and testing of the headers when the component is disabled.

17 years agoAdd more auto-generated files to BZR ignore list.
Amos Jeffries [Thu, 3 Apr 2008 10:32:04 +0000 (22:32 +1200)] 
Add more auto-generated files to BZR ignore list.

17 years agoAttempted fix for FreeBSD run-time socket error "(22) Invalid Object" on connects
Amos Jeffries [Thu, 3 Apr 2008 09:39:06 +0000 (21:39 +1200)] 
Attempted fix for FreeBSD run-time socket error "(22) Invalid Object" on connects

- Sets the ss_len / sin_len / sin6_len fields of sockaddr_* objects
  when retrieved for connection setup.
- Tests the OS at compile time for each of these fields existence to
  cope with some OS (ie Linux) not using or providing them.

17 years agoHonor 0x and 0 prefixes as numeric base indication when parsing squid.conf
Alex Rousskov [Thu, 3 Apr 2008 04:41:41 +0000 (22:41 -0600)] 
Honor 0x and 0 prefixes as numeric base indication when parsing squid.conf
integer options.

Squid3 parses squid.conf file integers as decimal numbers while Squid2 honors
0 and 0x prefixes (indicating octal and hex numbers). The later functionality
is needed for things like unmask that are traditionally specified using octal
format.

This patch changes Squid3 behavior to match that of Squid2.
Internally, Squid3 uses sscanf and Squid2 uses strtol.

TODO: Squid3::GetInteger should probably use xatol,
and xatol should be fixed to proper verify the result of strtol.

17 years agoCorrect and simplify parsing of list headers
Henrik Nordstrom [Wed, 2 Apr 2008 00:11:51 +0000 (18:11 -0600)] 
Correct and simplify parsing of list headers

17 years agoIgnore autotool generated files
Henrik Nordstrom [Wed, 2 Apr 2008 00:01:18 +0000 (18:01 -0600)] 
Ignore autotool generated files

17 years agoRemove autotool derived files from trunk, we only need to keep these in STABLE branches.
Henrik Nordstrom [Tue, 1 Apr 2008 23:58:32 +0000 (17:58 -0600)] 
Remove autotool derived files from trunk, we only need to keep these in STABLE branches.

17 years agoSimplify HTTP header list parsing a bit after the changes for Bug #420.
Henrik Nordstrom [Mon, 31 Mar 2008 23:39:06 +0000 (01:39 +0200)] 
Simplify HTTP header list parsing a bit after the changes for Bug #420.

17 years agoBug #420: Deal properly with empty list elements
Henrik Nordstrom [Mon, 31 Mar 2008 23:30:27 +0000 (01:30 +0200)] 
Bug #420: Deal properly with empty list elements

yet another fix to previous commits, this time fixing how to deal with
quoted elements.

17 years agoBug #420: Deal properly with null elements
Henrik Nordstrom [Mon, 31 Mar 2008 23:22:08 +0000 (01:22 +0200)] 
Bug #420: Deal properly with null elements

Bugfix to previous commit. HTTP headers may be folded.

17 years agoBug #420: Deal properly with null elements in lists (Connection and other list headers)
Henrik Nordstrom [Mon, 31 Mar 2008 23:16:39 +0000 (01:16 +0200)] 
Bug #420: Deal properly with null elements in lists (Connection and other list headers)

need to deal with whitespace-only null elements

ConnectIon: , , , X-Delete-Me , , ,

17 years agoBug #420: Fails to parse Connection: ,,,Header,,,
Henrik Nordstrom [Fri, 28 Mar 2008 20:46:41 +0000 (21:46 +0100)] 
Bug #420: Fails to parse Connection: ,,,Header,,,

and other list constructs with empty members

17 years agoFix memset NULL warning in latest comm.cc changes
Henrik Nordstrom [Tue, 25 Mar 2008 15:40:36 +0000 (16:40 +0100)] 
Fix memset NULL warning in latest comm.cc changes

NULL is a NULL pointer, not 0.

17 years agoFix auto-docs in WCCPv2
Amos Jeffries [Tue, 25 Mar 2008 06:32:31 +0000 (18:32 +1200)] 
Fix auto-docs in WCCPv2

17 years agoBootstrapped
Henrik Nordstrom [Tue, 25 Mar 2008 01:10:54 +0000 (19:10 -0600)] 
Bootstrapped

17 years agoFix IPv4 request regression after last commit.
Amos Jeffries [Mon, 24 Mar 2008 05:31:16 +0000 (17:31 +1200)] 
Fix IPv4 request regression after last commit.

Sorry guys.

17 years agoReplace a goto with do-while
Amos Jeffries [Sun, 23 Mar 2008 12:04:09 +0000 (00:04 +1200)] 
Replace a goto with do-while

17 years agoFix memory leak in Linux builds.
Amos Jeffries [Sun, 23 Mar 2008 11:47:50 +0000 (23:47 +1200)] 
Fix memory leak in Linux builds.

17 years agoThis patch cleans up a lot of the whitespace crap which was added by
Henrik Nordstrom [Sat, 22 Mar 2008 01:43:37 +0000 (02:43 +0100)] 
This patch cleans up a lot of the whitespace crap which was added by
astyle.

- spurious blank lines before ;
- named struct{} members had their name on a new line
- bitfields quite messed up

and some minor manual things to avoid compact & empty if constructs not
easily followed.

17 years agoMerged from trunk
Henrik Nordstrom [Sat, 22 Mar 2008 01:05:55 +0000 (02:05 +0100)] 
Merged from trunk

17 years agoRemoved execute bit from various non-executable source files
Henrik Nordstrom [Sat, 22 Mar 2008 00:58:20 +0000 (01:58 +0100)] 
Removed execute bit from various non-executable source files

17 years agoKill obsolete .cvsignore files (not used by bzr)
Henrik Nordstrom [Sat, 22 Mar 2008 00:53:57 +0000 (01:53 +0100)] 
Kill obsolete .cvsignore files (not used by bzr)

17 years agomerged from trunk
Henrik Nordstrom [Sat, 22 Mar 2008 00:43:26 +0000 (01:43 +0100)] 
merged from trunk

17 years agoBug #2278: Cache-Control: max-stale forwarded wrongly as max-stale=-1
Henrik Nordstrom [Fri, 21 Mar 2008 22:51:43 +0000 (23:51 +0100)] 
Bug #2278: Cache-Control: max-stale forwarded wrongly as max-stale=-1

17 years agoFix compile error when ICMP is not enabled
Henrik Nordstrom [Fri, 21 Mar 2008 22:47:56 +0000 (23:47 +0100)] 
Fix compile error when ICMP is not enabled

17 years agoCompile errors in auto-testing.
Amos Jeffries [Fri, 21 Mar 2008 09:45:33 +0000 (21:45 +1200)] 
Compile errors in auto-testing.

Also some auto-documentation.

17 years agoStrip domain from username for squid 3 and delay_pools class4
Amos Jeffries [Fri, 21 Mar 2008 06:01:58 +0000 (18:01 +1200)] 
Strip domain from username for squid 3 and delay_pools class4

Usage in squid.conf:
  auth_param ntlm program /usr/local/libexec/squid/fakeauth_auth -S

And i nave username without domain from ntlm_auth.

17 years agoBootstrapped
Henrik Nordstrom [Fri, 21 Mar 2008 01:10:51 +0000 (19:10 -0600)] 
Bootstrapped

17 years agoMerged from trunk
Henrik Nordstrom [Thu, 20 Mar 2008 23:20:58 +0000 (00:20 +0100)] 
Merged from trunk

17 years agomerged from trunk
Henrik Nordstrom [Thu, 20 Mar 2008 23:13:29 +0000 (00:13 +0100)] 
merged from trunk

17 years ago3.1 Cleanups pt 1: Add testheaders.sh script
Amos Jeffries [Thu, 20 Mar 2008 11:30:19 +0000 (23:30 +1200)] 
3.1 Cleanups pt 1: Add testheaders.sh script

This script automatically tests all .h files in any directory it is passed
(relative to curent make directory) using the compiler options it is also passed.
It should be integrated in to the unit-testing in every Makefile.am so that
it provides dependancy tree testing of all .h without any additional work by
developers, maintainers, or testers.

3.1 Cleanups, pt 2: Add automatic validation and fix existing problems.

- puts testheaders.sh script to use in many Makefile.am
  (tried for all subdirs tested, but some may have escaped)

- fixes many include problems where .h were not self-sufficient.
  They required .cc or other .h files using them to include additional .h
  Now any given .h will include all objects it requires for compiling.
  (linking is still not guaranteed by this alone)

- References SQUIDHOSTNAMELEN properly as defined by RFC 2181.
  Now also split into a proper rfc2181.h for use.
  (obsoleting many dependencies on squid.h all by itself)

- Migrates dlink_* (squid custom double-linked-list code) into new object.
  (releasing many dependencies on squid.h, structs.h, and protos.h)

- Migrates the SquidConfig* types into SquidConfig.cc, now built into libsquid.la
  (releasing many dependencies on structs.h, and globals.*)

- removes squid.h includes from many unit-tests
  (releasing them from link-dependencies, .o links not yet cleaned up)

17 years agoAt the sprint the issue about our current 10ms main loop timeout came
Henrik Nordstrom [Thu, 20 Mar 2008 05:15:04 +0000 (06:15 +0100)] 
At the sprint the issue about our current 10ms main loop timeout came
up, and it was suggested the problem most likely have been fixed in
HEAD. And even if it hasn't been fixed it's something which should be
fixed rather than plastered over by spinning around on a short timeout
when there is no activity..

This backs out the change to revert the change..

Alex commit reversing the change said:

revno: 8332
committer: rousskov
branch nick: HEAD
timestamp: Tue 2007-07-24 01:55:21 +0000
message:
  Reversed bug #2011 fix because it may slow down ICAP, BodyPipe, and other code
  using zero-delay events to implement "asynchronous" calls.

  The code should probably be rewritten (a) to avoid any waiting/blocking when
  there are ready events and (b) to allow waiting longer when there are no ready
  events.

17 years agoBug #2263: Custom log formats fail to log file sizes >2GB properly on 32-bit platforms
Henrik Nordstrom [Tue, 18 Mar 2008 12:22:30 +0000 (13:22 +0100)] 
Bug #2263: Custom log formats fail to log file sizes >2GB properly on 32-bit platforms

Was partially addressed in squid-3, but only for one of several log format codes
involving object sizes..

17 years agoBootstrapped
Henrik Nordstrom [Tue, 18 Mar 2008 12:20:44 +0000 (06:20 -0600)] 
Bootstrapped

17 years agoBug #2203: configure {--with-maxfd,--with-filedescriptors} unsets LDFLAGS
Amos Jeffries [Tue, 18 Mar 2008 11:58:16 +0000 (23:58 +1200)] 
Bug #2203: configure {--with-maxfd,--with-filedescriptors} unsets LDFLAGS

Moves LDFLAGS save point to a position which covers all FD test code

17 years agoMake range_offset_limit 0 disable local range processing as documented
Henrik Nordstrom [Tue, 18 Mar 2008 00:05:26 +0000 (01:05 +0100)] 
Make range_offset_limit 0 disable local range processing as documented

was prefetching the object and processing ranges locally if the first
range started at 0 ...

17 years agoAdd autotool generated files to ignore list.
Amos Jeffries [Mon, 17 Mar 2008 11:48:33 +0000 (23:48 +1200)] 
Add autotool generated files to ignore list.

17 years agoCleanup yet another astyle artefact where struct {} members have their
Henrik Nordstrom [Sun, 16 Mar 2008 22:10:18 +0000 (23:10 +0100)] 
Cleanup yet another astyle artefact where struct {} members have their
name broken out on a new line.

17 years agoCleanup a lot of whitespace crap, mostl of which introduced by astyle
Henrik Nordstrom [Sun, 16 Mar 2008 21:48:45 +0000 (22:48 +0100)] 
Cleanup a lot of whitespace crap, mostl of which introduced by astyle

17 years agoDisable the dyn & tmp hardcoded settings to allow doxygen to be used
Henrik Nordstrom [Sun, 16 Mar 2008 01:20:56 +0000 (02:20 +0100)] 
Disable the dyn & tmp hardcoded settings to allow doxygen to be used
to build the documentation outside of the web site.

The job updating the web site will need to add these. Can be done with a
simple script
(cat Squid3.dox ; echo HTML_FILE_EXTENSION = .dyn) | doxygen -k

17 years agoIgnore tags (ctags) & tmp (doxygen)
Henrik Nordstrom [Sun, 16 Mar 2008 01:04:58 +0000 (02:04 +0100)] 
Ignore tags (ctags) & tmp (doxygen)

17 years agoignore icons/*.gif
Henrik Nordstrom [Sun, 16 Mar 2008 00:52:20 +0000 (01:52 +0100)] 
ignore icons/*.gif

17 years agoRemove obsolete reference to HttpReply::absorb
Henrik Nordstrom [Sun, 16 Mar 2008 00:50:50 +0000 (01:50 +0100)] 
Remove obsolete reference to HttpReply::absorb

17 years agoUpdate Release Notes to not mention PRE releases.
Amos Jeffries [Fri, 14 Mar 2008 04:26:05 +0000 (17:26 +1300)] 
Update Release Notes to not mention PRE releases.

17 years agoFix 3.0 snapshots
Henrik Nordstrom [Thu, 13 Mar 2008 20:39:40 +0000 (14:39 -0600)] 
Fix 3.0 snapshots

17 years agouse squid-3 snapshot procedure for 3.0
Henrik Nordstrom [Thu, 13 Mar 2008 19:48:38 +0000 (13:48 -0600)] 
use squid-3 snapshot procedure for 3.0

17 years agoBootstrapped
Henrik Nordstrom [Thu, 13 Mar 2008 19:24:51 +0000 (13:24 -0600)] 
Bootstrapped

17 years agoFix snapshot brach names
Henrik Nordstrom [Thu, 13 Mar 2008 19:05:54 +0000 (13:05 -0600)] 
Fix snapshot brach names

17 years agoAdjust snapshot paths and bzr branch names
Henrik Nordstrom [Sat, 8 Mar 2008 13:16:53 +0000 (06:16 -0700)] 
Adjust snapshot paths and bzr branch names

17 years agoBootstrapped
Henrik Nordstrom [Sat, 8 Mar 2008 13:12:38 +0000 (06:12 -0700)] 
Bootstrapped

17 years agoadjust more snapshot paths
Henrik Nordstrom [Sat, 8 Mar 2008 13:11:10 +0000 (06:11 -0700)] 
adjust more snapshot paths

17 years agoAdjust snapshot paths to be consistent
Henrik Nordstrom [Sat, 8 Mar 2008 13:05:35 +0000 (06:05 -0700)] 
Adjust snapshot paths to be consistent

17 years agoAuthor: Massimo Zito <zmax.linkedin at gmail dot com>
Henrik Nordstrom [Fri, 7 Mar 2008 22:37:34 +0000 (15:37 -0700)] 
Author: Massimo Zito <zmax.linkedin at gmail dot com>
squid_radius_auth failed to process more than 256 requests

The radius request-id field is a unsigned char, but the internal request_id
counter was a integer causing mismatch after 256 queries.

17 years agoAuthor: Robert Collins <robertc@robertcollins.net>
Henrik Nordstrom [Fri, 7 Mar 2008 22:10:03 +0000 (15:10 -0700)] 
Author: Robert Collins <robertc@robertcollins.net>

This is most of a changeover of scripts for squid 3 trunk to use bzr;
the missing bit appears to need a bzr 1.1 (to do 'rdiff' basically) or
thereabouts, I'll look into that in a bit. I'm not sure that the
unconverted cvs calls will actually trigger with our current setup or
not.

17 years agoBootstrapped
Henrik Nordstrom [Fri, 7 Mar 2008 21:38:12 +0000 (14:38 -0700)] 
Bootstrapped

17 years agoAdded .bzrignore
Henrik Nordstrom [Fri, 7 Mar 2008 21:37:05 +0000 (14:37 -0700)] 
Added .bzrignore

17 years agoBug 2250: double-freeing memory in http_port name= option code.
amosjeffries [Tue, 4 Mar 2008 19:00:36 +0000 (19:00 +0000)] 
Bug 2250: double-freeing memory in http_port name= option code.

- Seems it was only a strdup / xstrdup problem

17 years agoOptimisation cleanup of fake_auth
amosjeffries [Mon, 3 Mar 2008 14:27:39 +0000 (14:27 +0000)] 
Optimisation cleanup of fake_auth

strlen() is expensive (particularly on large buffers) and is only needed
once here.

17 years agoWindows port: Fix wrong FD read/write CPU profiling.
serassio [Sun, 2 Mar 2008 20:32:24 +0000 (20:32 +0000)] 
Windows port: Fix wrong FD read/write CPU profiling.

17 years agoDOCS: Merge auto-docs branch. p 4
amosjeffries [Wed, 27 Feb 2008 04:54:52 +0000 (04:54 +0000)] 
DOCS: Merge auto-docs branch. p 4

- Remove old SGML documentation.

17 years agoDOCS: Merge auto-docs branch. pt 3
amosjeffries [Wed, 27 Feb 2008 04:51:54 +0000 (04:51 +0000)] 
DOCS: Merge auto-docs branch. pt 3

- Add HTML header/footer stubs

17 years agoMerge auto-docs branch. pt 2
amosjeffries [Wed, 27 Feb 2008 04:49:32 +0000 (04:49 +0000)] 
Merge auto-docs branch. pt 2

- Updates build config (dyn,html) for portable dynamic and static docs
- Merges all code-comment changes
- Updates some function parameter types to reduce silent conversions
- Fixes some typos.
- Migrates some TODO items to the automatic TODO list.

17 years agoReplaced custom letterhead with an XXX note about source code origin.
rousskov [Wed, 27 Feb 2008 01:52:54 +0000 (01:52 +0000)] 
Replaced custom letterhead with an XXX note about source code origin.
Added a TODO to get rid of blatant code duplication.

17 years agoBug #2224 fix: reentrant debugging crashes Squid
rousskov [Wed, 27 Feb 2008 01:44:16 +0000 (01:44 +0000)] 
Bug #2224 fix: reentrant debugging crashes Squid

Synced with src/debug changes.
TODO: Add a note that this file appears to copy debug.cc

17 years agoBug #2224 fix: reentrant debugging crashes Squid
rousskov [Wed, 27 Feb 2008 01:43:58 +0000 (01:43 +0000)] 
Bug #2224 fix: reentrant debugging crashes Squid

Undo a temporary bug #2224 workaround. It is no longer needed because
bug #2224 is fixed.

17 years agoBug #2224 fix: reentrant debugging crashes Squid
rousskov [Wed, 27 Feb 2008 01:43:30 +0000 (01:43 +0000)] 
Bug #2224 fix: reentrant debugging crashes Squid

Reentrant debugging occurs when something being written into the debugging
stream produces its own debugging. For example, a field accessor method may
make cbdata-validation calls, which would produce debugging. Logging such
field would crash Squid if sufficiently high debugging level is enabled.

With this change, the Debug methods detect reentrant calls and mostly ignore
them, allowing the caller to append debugging information to the existing
debug stream. A short debugging label is added before and after the reentrant
debugging message to reduce confusion that overlapping debugging statements
may cause during log analysis.

17 years agoAdded a CPPUNIT assertion to test whether a failed CPPUNIT test case properly
rousskov [Tue, 26 Feb 2008 07:24:00 +0000 (07:24 +0000)] 
Added a CPPUNIT assertion to test whether a failed CPPUNIT test case properly
destructs local objects on exit.

If a previous test case fails for any reason, the new assertion will fail
instead of store_dir.cc aborting.  This may save us from tracking non-existent
StoreController initialization bugs.

17 years agoBug #2240 fix: AsyncCall-related unit tests fail
rousskov [Tue, 26 Feb 2008 07:22:30 +0000 (07:22 +0000)] 
Bug #2240 fix: AsyncCall-related unit tests fail

Removed EventDispatcher reference. The event loop now uses AsyncCallQueue.

17 years agoBug #2240 fix: AsyncCall-related unit tests fail
rousskov [Tue, 26 Feb 2008 07:22:07 +0000 (07:22 +0000)] 
Bug #2240 fix: AsyncCall-related unit tests fail

Removed EventDispatcher references, disabling the following test cases:
testRunOnce, testRegisterDispatcher, testRegisterEngine,
testEngineTimeout, testStopOnIdle.

Eventually, we will add AsyncCallQueue test cases, but EventLoop testing
does not have to wait for that.

17 years agoBug #2240 fix: AsyncCall-related unit tests fail
rousskov [Tue, 26 Feb 2008 07:21:13 +0000 (07:21 +0000)] 
Bug #2240 fix: AsyncCall-related unit tests fail

Removed EventDispatcher references, deleting testDispatch test case.
The test cases now use the AsyncCall queue to force call firing
without a real main loop.

Eventually, we will add AsyncCallQueue test cases, but event testing
does not have to wait for that.

17 years agoBug #2240 fix: AsyncCall-related unit tests fail
rousskov [Tue, 26 Feb 2008 07:19:59 +0000 (07:19 +0000)] 
Bug #2240 fix: AsyncCall-related unit tests fail

Added a missing stub.
Updated an outdated stub.

17 years agoBug #2240 fix: AsyncCall-related unit tests fail
rousskov [Tue, 26 Feb 2008 07:19:29 +0000 (07:19 +0000)] 
Bug #2240 fix: AsyncCall-related unit tests fail

Removed libsquid.la from SWAP_TEST_LDADD: Store-related test cases use comm
stubs. They must not include libsquid which provides the true comm code.

Added AsyncCall* sources to selected test cases: Every test case that needs
event.cc also needs AsyncCallQueue and AsyncCall.  Placed all three in
$TEST_CALL_SOURCES variable and used as needed. This prevents test case
compilation failures due to undefined call-related symbols.

I suspect that there are more files in the same "calls" group, but it would be
a lot easier to identify them once we clean src/ up and group files into
subdirs and libraries.

17 years agoBug #2240 fix: HttpRequestMethod-related unit tests fail
rousskov [Tue, 26 Feb 2008 07:16:47 +0000 (07:16 +0000)] 
Bug #2240 fix: HttpRequestMethod-related unit tests fail

Made HttpRequestMethod.h self-sufficient: #include enough to compile it
in isolation.

TODO: move operator++() to .cc so that we do not have to drag Debug.h
and friends into the header (via squid.h).

17 years agoProtos.h said to remove HttpRequestMethod.h #include when no method_t is used
rousskov [Tue, 26 Feb 2008 07:15:48 +0000 (07:15 +0000)] 
Protos.h said to remove HttpRequestMethod.h #include when no method_t is used
by prototypes. Removed the header and adjusted other source files that relied
on that header being in protos.h.

17 years agoBootstrapped
hno [Mon, 25 Feb 2008 08:10:48 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoBug #2231: Compile error in squid_kerb_auth under Mac OS X 10.5.2
serassio [Mon, 25 Feb 2008 02:20:47 +0000 (02:20 +0000)] 
Bug #2231: Compile error in squid_kerb_auth under Mac OS X 10.5.2

HOST_NAME_MAX is not declared Mac OS X (and maybe others).

17 years agoCopy the english ERR_SECURE_CONNECT_FAIL message to Ukrainian while waiting
hno [Sun, 24 Feb 2008 22:32:53 +0000 (22:32 +0000)] 
Copy the english ERR_SECURE_CONNECT_FAIL message to Ukrainian while waiting
for a translation.

17 years agoWindows port: Optimization, use __WSAFDIsSet() instead of FD_ISSET().
serassio [Sun, 24 Feb 2008 19:59:08 +0000 (19:59 +0000)] 
Windows port: Optimization, use __WSAFDIsSet() instead of FD_ISSET().

17 years agoSpelling error in Ukrainian
hno [Sun, 24 Feb 2008 19:10:30 +0000 (19:10 +0000)] 
Spelling error in Ukrainian

17 years agoBootstrapped
hno [Sun, 24 Feb 2008 08:10:46 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoAuthor: Vitaliy Matytsyn (main) <vm@if.bank.gov.ua>
hno [Sat, 23 Feb 2008 09:34:59 +0000 (09:34 +0000)] 
Author: Vitaliy Matytsyn (main) <vm@if.bank.gov.ua>
Updated Ukrainan error pages

17 years agoUpdate errors/list to match the actual list of error pages used
hno [Sat, 23 Feb 2008 09:26:03 +0000 (09:26 +0000)] 
Update errors/list to match the actual list of error pages used

17 years agoAuthor: Klaubert Herr <klaubert@gmail.com>
serassio [Wed, 20 Feb 2008 03:15:09 +0000 (03:15 +0000)] 
Author: Klaubert Herr <klaubert@gmail.com>
Patch to strip kerberos realm from username

This patch add a new option to squid_ldap_group to strip kerberos realm from
username received from squid.
This is useful when you make kerberos authentication on squid, and try to
authorize the user using ldap in MS Active Directory, quering for
sAMAccountName.

17 years agoRan indent.
serassio [Wed, 20 Feb 2008 03:05:56 +0000 (03:05 +0000)] 
Ran indent.

17 years agoBug 2230 possible fix: segmentation fault with a "pure virtual method called"
rousskov [Tue, 19 Feb 2008 05:51:21 +0000 (05:51 +0000)] 
Bug 2230 possible fix: segmentation fault with a "pure virtual method called"

Added forgotten member initializations. For so many years I have wished
that GCC would warn about these things :-(!

This change may not be enough to fix the bug.

17 years agoBug 2224 fix: reentrant debugging crashes Squid
rousskov [Tue, 19 Feb 2008 04:54:07 +0000 (04:54 +0000)] 
Bug 2224 fix: reentrant debugging crashes Squid

This patch does not fix the true/core problem, but it changes some pieces of
code that expose that problem. There are probably other pieces not masked
by this patch.

17 years agoBootstrapped
hno [Mon, 18 Feb 2008 08:10:47 +0000 (08:10 +0000)] 
Bootstrapped

17 years agoWindows Port: Windows select loop must be equivalent to Unix select loop.
serassio [Mon, 18 Feb 2008 02:42:02 +0000 (02:42 +0000)] 
Windows Port: Windows select loop must be equivalent to Unix select loop.

17 years agoWindows Port: don't set opt_no_daemon=1 when running as a service.
serassio [Mon, 18 Feb 2008 02:30:12 +0000 (02:30 +0000)] 
Windows Port: don't set opt_no_daemon=1 when running as a service.

17 years agoConvert debug statements to debugs
serassio [Sun, 17 Feb 2008 18:36:13 +0000 (18:36 +0000)] 
Convert debug statements to debugs