]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
12 years agoFix ipv6 enabled squidclient. Was failing with assertion failure due to ipv6 support...
Henrik Nordstrom [Tue, 9 Oct 2012 09:00:20 +0000 (11:00 +0200)] 
Fix ipv6 enabled squidclient. Was failing with assertion failure due to ipv6 support not being probed automatically.

12 years agoFreeBSD: net/if_dl.h seems to require param.h
Amos Jeffries [Tue, 9 Oct 2012 01:03:20 +0000 (19:03 -0600)] 
FreeBSD: net/if_dl.h seems to require param.h

12 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 9 Oct 2012 00:13:18 +0000 (18:13 -0600)] 
SourceFormat Enforcement

12 years agoPortability: typo in EUI header requirement checks
Amos Jeffries [Mon, 8 Oct 2012 21:51:51 +0000 (15:51 -0600)] 
Portability: typo in EUI header requirement checks

12 years agoFix includes missed in rev12369
Amos Jeffries [Mon, 8 Oct 2012 09:57:20 +0000 (03:57 -0600)] 
Fix includes missed in rev12369

12 years agoWindows: simplify abstraction layer header files
Amos Jeffries [Mon, 8 Oct 2012 08:40:01 +0000 (02:40 -0600)] 
Windows: simplify abstraction layer header files

Merge compat/os/windows.h, compat/os/mswin.h, and include/squid_windows.h
into a single compat/os/mswindows.h pulled in via the compat.h.

Also, rename compat/mswin.cc to match the new header .h name.

12 years agoWindows: drop unused WIN32_pipe() implementation
Amos Jeffries [Mon, 8 Oct 2012 08:11:02 +0000 (02:11 -0600)] 
Windows: drop unused WIN32_pipe() implementation

The WIN32_pipe() wrapper function is not necessary on MinGW where _pipe()
is available, and is unused on other Windows builds where helper IPC
layer has been written to use STREAM sockets instead of pipe()

12 years agoWindows: merge alternative getrusage() into squid_getrusage() wrapper
Amos Jeffries [Mon, 8 Oct 2012 08:00:06 +0000 (02:00 -0600)] 
Windows: merge alternative getrusage() into squid_getrusage() wrapper

Since we are already providing a wrapper layer for getrusage() we can
merge the Windows alternative implementation into our wrapper directly.
No need to perform multiple layers of abstraction.

12 years agoPortability: change Ipc::Port::listen to doListen()
Amos Jeffries [Mon, 8 Oct 2012 07:20:51 +0000 (01:20 -0600)] 
Portability: change Ipc::Port::listen to doListen()

listen() clashes with POSIX function of the same name.
Some systems (ie MinGW) define it as a macro wrapper.

12 years agoWindows: disable purge tool
Amos Jeffries [Mon, 8 Oct 2012 07:16:04 +0000 (01:16 -0600)] 
Windows: disable purge tool

The purge tool requires quite a few updates before it will build on Windows.
It is easier at this point to simply not build it.

12 years agoWindows: wrap sys/shm.h sys/ipc.h includes
Amos Jeffries [Mon, 8 Oct 2012 07:06:28 +0000 (01:06 -0600)] 
Windows: wrap sys/shm.h sys/ipc.h includes

12 years agoWindows: correct C++ type usage on LoadSecurityDll()
Amos Jeffries [Mon, 8 Oct 2012 06:59:13 +0000 (00:59 -0600)] 
Windows: correct C++ type usage on LoadSecurityDll()

12 years agontlm_sspi_auth: correct linkage to library libntlmauth.la
Amos Jeffries [Mon, 8 Oct 2012 06:57:13 +0000 (00:57 -0600)] 
ntlm_sspi_auth: correct linkage to library libntlmauth.la

12 years agoWindows: updated test for ws2tcpip.h and windows.h
Amos Jeffries [Mon, 8 Oct 2012 06:50:37 +0000 (00:50 -0600)] 
Windows: updated test for ws2tcpip.h and windows.h

12 years agoWindows: check recv() parameter type
Amos Jeffries [Mon, 8 Oct 2012 06:38:35 +0000 (00:38 -0600)] 
Windows: check recv() parameter type

12 years agoPortability: permit eCAP build without pkg-config
Amos Jeffries [Mon, 8 Oct 2012 06:30:38 +0000 (00:30 -0600)] 
Portability: permit eCAP build without pkg-config

Windows does not have a port of pkg-config, other OS may be in the same
situation. That only impacts on Squids ability to confirm the library
version not on its ability to link and use it.

This reduces some configure errors to warnings when pkg-config is not
located on the local system.

12 years agoWindows: provide mkdir() wrapper
Amos Jeffries [Mon, 8 Oct 2012 05:35:27 +0000 (23:35 -0600)] 
Windows: provide mkdir() wrapper

12 years agoWindows: update several __MINGW32__ to generic _SQUID_MINGW_
Amos Jeffries [Mon, 8 Oct 2012 05:28:02 +0000 (23:28 -0600)] 
Windows: update several __MINGW32__ to generic _SQUID_MINGW_

12 years agoWindows: cleanup Squid OS detection macros
Amos Jeffries [Mon, 8 Oct 2012 05:21:11 +0000 (23:21 -0600)] 
Windows: cleanup Squid OS detection macros

* _SQUID_WINDOWS_  for any Windows build specific code
* _SQUID_CYGWIN_   for CygWin Windows build specific code
* _SQUID_MINGW_    for MinGW Windows build specific code

12 years agoWindows: fix detection of GNU atomis operations
Amos Jeffries [Mon, 8 Oct 2012 04:33:15 +0000 (22:33 -0600)] 
Windows: fix detection of GNU atomis operations

On MinGW the GNU atomis operatiosn symbols are defined but do not work.
We require a run-time test to detect problems. Not just a compiler check.

12 years agoWindows: support customization of --prefix= via compat/autoconf.h
Amos Jeffries [Mon, 8 Oct 2012 04:27:26 +0000 (22:27 -0600)] 
Windows: support customization of --prefix= via compat/autoconf.h

Rather than defining DEFAULT_PREFIX on the compiler command line this
builds its value into autoconf.h for use whenever needed. Avoiding
otential issues with buggy Makefile.am coding.

Also allows the --prefix value to be sourced from the autoconf internal
default settings instead of requiring a manual --prefix parameter for
SNMP module to build and link properly.

12 years agoWindows: disable Mmapped DiskIO support
Francesco Chemolli [Mon, 8 Oct 2012 04:13:19 +0000 (22:13 -0600)] 
Windows: disable Mmapped DiskIO support

MinGW does not always supply mmap.

TODO:
 Add proper feature detection to decide when this IS available on Windows.
 Use the Windows native mmap functionality.

12 years agoTypo in rev12352
Amos Jeffries [Sun, 7 Oct 2012 05:00:02 +0000 (23:00 -0600)] 
Typo in rev12352

12 years agoFix error: 'opt_parse_cfg_only' was not declared in this scope
Amos Jeffries [Sun, 7 Oct 2012 03:16:30 +0000 (21:16 -0600)] 
Fix error: 'opt_parse_cfg_only' was not declared in this scope

12 years agoRelease Notes: 3.3 updates
Amos Jeffries [Sun, 7 Oct 2012 03:11:39 +0000 (21:11 -0600)] 
Release Notes: 3.3 updates

12 years agoPolish: use DBG_PARSE_NOTE to warn about deprecated logformat tokens
Amos Jeffries [Sat, 6 Oct 2012 11:59:07 +0000 (05:59 -0600)] 
Polish: use DBG_PARSE_NOTE to warn about deprecated logformat tokens

12 years agoBranch 3.3.0.0
Automatic source maintenance [Sat, 6 Oct 2012 04:24:49 +0000 (22:24 -0600)] 
Branch 3.3.0.0

12 years agoPrep for 3.2.2
Amos Jeffries [Sat, 6 Oct 2012 02:54:53 +0000 (20:54 -0600)] 
Prep for 3.2.2

12 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 6 Oct 2012 00:13:17 +0000 (18:13 -0600)] 
SourceFormat Enforcement

12 years agoDo not check 'reply content_length is too big' condition twice.
Alex Rousskov [Fri, 5 Oct 2012 23:36:22 +0000 (17:36 -0600)] 
Do not check 'reply content_length is too big' condition twice.

The check got duplicated was

4410
committer: hno
branch nick: HEAD
timestamp: Wed 2000-05-03 00:49:26 +0000
message:
  hno squid-2.2.STABLE2.to_large_objects-2.patch
  Squid-2.2.STABLE2: Don't swap out objects > maximum_object_size

12 years agoAdded missing source files in recipe for testStatHist
Francesco Chemolli [Fri, 5 Oct 2012 15:56:08 +0000 (17:56 +0200)] 
Added missing source files in recipe for testStatHist

12 years agoMove fatal family of functions to own implementation and stub files.
Francesco Chemolli [Fri, 5 Oct 2012 13:38:19 +0000 (15:38 +0200)] 
Move fatal family of functions to own implementation and stub files.

12 years agoMerged from trunk
Francesco Chemolli [Fri, 5 Oct 2012 13:27:37 +0000 (15:27 +0200)] 
Merged from trunk

12 years agoShuffled fatal family of functions into own implementation.
Francesco Chemolli [Fri, 5 Oct 2012 13:10:15 +0000 (15:10 +0200)] 
Shuffled fatal family of functions into own implementation.
Created stub for fatal.cc.
Move all files to src/ due to their dependencies.

12 years agoPolish: convert several opt_parse_cfg_only to DBG_PARSE_NOTE
Amos Jeffries [Fri, 5 Oct 2012 10:26:39 +0000 (22:26 +1200)] 
Polish: convert several opt_parse_cfg_only to DBG_PARSE_NOTE

12 years agoMerged from trunk
Francesco Chemolli [Fri, 5 Oct 2012 07:27:05 +0000 (09:27 +0200)] 
Merged from trunk

12 years agoSourceFormat merge: removed CVS-Id tags, removed unnecessary extern and SQUIDCEXTERN...
Francesco Chemolli [Fri, 5 Oct 2012 07:26:35 +0000 (09:26 +0200)] 
SourceFormat merge: removed CVS-Id tags, removed unnecessary extern and SQUIDCEXTERN declarations

12 years agoMoved fatal functions out of tools.cc and into own source file in lib/fatal.cc
Francesco Chemolli [Thu, 4 Oct 2012 13:01:09 +0000 (15:01 +0200)] 
Moved fatal functions out of tools.cc and into own source file in lib/fatal.cc

12 years agoRemoved leftover CVS-Id markers
Francesco Chemolli [Thu, 4 Oct 2012 11:10:17 +0000 (13:10 +0200)] 
Removed leftover CVS-Id markers

12 years agoRemoved unnecessary extern declarations.
Francesco Chemolli [Thu, 4 Oct 2012 09:14:06 +0000 (11:14 +0200)] 
Removed unnecessary extern declarations.
Changed mismatching class/struct declaration in fde.h
Created default constructor for _fde_disk and moved there proper initialization
Removed some dead function declarations

12 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 4 Oct 2012 00:23:44 +0000 (18:23 -0600)] 
SourceFormat Enforcement

12 years agoremoved many SQUIDCEXTERN declarations
Francesco Chemolli [Wed, 3 Oct 2012 17:32:57 +0000 (19:32 +0200)] 
removed many SQUIDCEXTERN declarations

12 years agosourceformat: split protos.h into more specific headers, change many functions' likag...
Francesco Chemolli [Wed, 3 Oct 2012 17:07:34 +0000 (19:07 +0200)] 
sourceformat: split protos.h into more specific headers, change many functions' likage to c++.

12 years agoMerged from trunk
Francesco Chemolli [Wed, 3 Oct 2012 14:29:52 +0000 (16:29 +0200)] 
Merged from trunk

12 years agoBug 3661: Segmentation fault when using more than 1 worker
Amos Jeffries [Wed, 3 Oct 2012 10:18:42 +0000 (22:18 +1200)] 
Bug 3661: Segmentation fault when using more than 1 worker

Previous change to Ipc::Mem::PageStack making variable arrays into
dynamically-allocated arrays added an allocate after use bug.

12 years agoMerged from trunk
Francesco Chemolli [Wed, 3 Oct 2012 07:34:10 +0000 (09:34 +0200)] 
Merged from trunk

12 years agoFix website config display of default settings
Amos Jeffries [Wed, 3 Oct 2012 00:44:13 +0000 (12:44 +1200)] 
Fix website config display of default settings

The website page cfgman builder script was omitted when adding the
DEFAULT_DOC parameter and making DEFAULT / DEFAULT_IF_NONE support
multi-line values.

12 years ago- Fix a memory leak in FwdState::sslCrtvdCheckForErrors method: The allocated
Christos Tsantilas [Tue, 2 Oct 2012 16:15:40 +0000 (19:15 +0300)] 
- Fix a memory leak in FwdState::sslCrtvdCheckForErrors method: The allocated
  ACLFilledChecklist object should released before leave this method
polish code a little:
   * debuging messages fix
   * Fix debug section in ssl/helper.cc file

12 years agoBug 3130: helpers are crashing too rapidly
Amos Jeffries [Tue, 2 Oct 2012 02:18:50 +0000 (14:18 +1200)] 
Bug 3130: helpers are crashing too rapidly

As discussed quite many months ago. This reduces the FATAL when helpers
crash/exit to a critical level ERROR have responded with useful reply to
at least one lookup.

The result is that Squid can now cope with helpers written in languages
which cannot loop infinitely. For example; PHP helpers often exit after
a timeout, broken scripts written to respond and exit immediately,
and helpers which encounter some permissions error and respond only with
"ERR" or "BH" results before aborting.

12 years agoPolish: de-duplicate helper statistics objects
Amos Jeffries [Tue, 2 Oct 2012 01:55:36 +0000 (13:55 +1200)] 
Polish: de-duplicate helper statistics objects

* Combine the stats structure on per-helper server classes. For more
  consistent statistic gathering.

* Add initStats() method to initialize statistics variables correctly.
  Previously only done for some counters on stateless helper objects.

* Add missing accounting of pending lookups in stateful helper code.

* Add counter for replies received from the helper.

* Add reporting of replies received back from each helper.

There are no logic or decision making logics affected by these changes.
The new increment/decrement and stats are purely affecting statistical
report outputs.

FUTURE TODO:
* replace the 'busy' flag on stateful helpers with pending>0 check
  as used by stateless helpers to indicate queue count.

12 years agoCleanup: remove a wrong TODO
Amos Jeffries [Mon, 1 Oct 2012 22:47:10 +0000 (10:47 +1200)] 
Cleanup: remove a wrong TODO

Squid may need to use the hop-by-hop response headers. This is too early
to be removing them. the right place is in client-side before delivering
to the client. Squid already contains code to do it there.

12 years agoMerged from parent (ssl-cert-validator 12330).
Alex Rousskov [Fri, 28 Sep 2012 16:46:28 +0000 (10:46 -0600)] 
Merged from parent (ssl-cert-validator 12330).

12 years agoACLFilledChecklist::fd() sets the client, not server connection descriptor.
Alex Rousskov [Fri, 28 Sep 2012 16:31:25 +0000 (10:31 -0600)] 
ACLFilledChecklist::fd() sets the client, not server connection descriptor.

12 years agoMerged from parent (ssl-cert-validator 12329).
Alex Rousskov [Fri, 28 Sep 2012 15:54:59 +0000 (09:54 -0600)] 
Merged from parent (ssl-cert-validator 12329).

12 years agoFix ssl cert validator response codes
Christos Tsantilas [Thu, 27 Sep 2012 14:27:44 +0000 (17:27 +0300)] 
Fix ssl cert validator response codes

Cert validator should return:
 - "OK" in case none certificate error found
 - "ERR" in case one or more SSL certificate errors found
 - "BH" in case of internal helper error

12 years agoSmall memory leak in src ACL parse
Amos Jeffries [Thu, 27 Sep 2012 10:10:21 +0000 (04:10 -0600)] 
Small memory leak in src ACL parse

Fixes one minor memory leak when IPv6 is disabled and parsing an IPv6
address. For example the default localhost ACL ::1 value.

Caught by Valgrind:

==26647== 384 bytes in 4 blocks are definitely lost in loss record 1,132 of 1,726
==26647==    at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647==    by 0x65B441: xcalloc (xalloc.cc:75)
==26647==    by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647==    by 0x5A95B1: acl_ip_data::FactoryParse(char const*) (Ip.h:66)
==26647==    by 0x5AA8BD: ACLIP::parse() (Ip.cc:523)
==26647==    by 0x5E0A80: ACL::ParseAclLine(ConfigParser&, ACL**) (Acl.cc:174)
==26647==    by 0x4B0C0F: parse_line(char*) (cache_cf.cc:1252)
==26647==    by 0x4B2076: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==26647==    by 0x4B29D0: parseConfigFile(char const*) (cache_cf.cc:558)
==26647==    by 0x546B81: SquidMain(int, char**) (main.cc:1372)
==26647==    by 0x547445: main (main.cc:1215)

12 years agoRemoved duplicate empty lines
Francesco Chemolli [Tue, 25 Sep 2012 16:38:36 +0000 (18:38 +0200)] 
Removed duplicate empty lines

12 years agorenamed acl_size_t to AclSizeLimit, moved to own header in acl/
Francesco Chemolli [Tue, 25 Sep 2012 15:36:18 +0000 (17:36 +0200)] 
renamed acl_size_t to AclSizeLimit, moved to own header in acl/
Moved dwrite_q to disk.h, and _fde_disk to fde.h
Got rid of structs.h

12 years agoBug fix: The ACLFilledChecklist::fd set with wrong fd for Config.ssl_client.cert_erro...
Christos Tsantilas [Tue, 25 Sep 2012 14:51:20 +0000 (17:51 +0300)] 
Bug fix: The ACLFilledChecklist::fd set with wrong fd for Config.ssl_client.cert_error acl list

The Config.ssl_client.cert_error uses the server-side connection fd instead of
the client-side connection fd.

12 years agoSslBump stuck after error
Christos Tsantilas [Tue, 25 Sep 2012 13:58:44 +0000 (16:58 +0300)] 
SslBump stuck after error

When bump-server-first code in trunk encounters a certificate validation error,
the corresponding CONNECT transaction gets stuck.

12 years agoPolish the ACLFilledChecklist::fd related documentation
Christos Tsantilas [Tue, 25 Sep 2012 13:49:25 +0000 (16:49 +0300)] 
Polish the ACLFilledChecklist::fd related documentation

12 years agoUndo/uncommit the r12328 patch
Christos Tsantilas [Tue, 25 Sep 2012 13:46:57 +0000 (16:46 +0300)] 
Undo/uncommit the r12328 patch

The documentation is wrong and should applied as separate patches

12 years agoPolish the ACLFilledChecklist::fd related documentation
Christos Tsantilas [Tue, 25 Sep 2012 13:42:54 +0000 (16:42 +0300)] 
Polish the ACLFilledChecklist::fd related documentation

12 years agoMerged from trunk
Francesco Chemolli [Mon, 24 Sep 2012 19:34:52 +0000 (21:34 +0200)] 
Merged from trunk

12 years agomoved dread_ctrl to disk.h
Francesco Chemolli [Mon, 24 Sep 2012 19:27:10 +0000 (21:27 +0200)] 
moved dread_ctrl to disk.h

12 years agoMoved acl_tos and acl_nfmark to ip/qos/QosConfig.h
Francesco Chemolli [Mon, 24 Sep 2012 09:26:42 +0000 (11:26 +0200)] 
Moved acl_tos and acl_nfmark to ip/qos/QosConfig.h

12 years agoadded missing include
Francesco Chemolli [Sun, 23 Sep 2012 15:11:29 +0000 (17:11 +0200)] 
added missing include

12 years agoMoved sslproxy cert types to own header in ssl/
Francesco Chemolli [Sun, 23 Sep 2012 10:30:46 +0000 (12:30 +0200)] 
Moved sslproxy cert types to own header in ssl/
Added missing include in acl/FilledChecklist.h

12 years agoRemoved unused close_handler type and conn_close_pool
Francesco Chemolli [Sun, 23 Sep 2012 09:41:29 +0000 (11:41 +0200)] 
Removed unused close_handler type and conn_close_pool

12 years agoPrep for 3.1.21
Amos Jeffries [Sun, 23 Sep 2012 09:14:53 +0000 (03:14 -0600)] 
Prep for 3.1.21

12 years agoRemoved now-useless inclusions of structs.h in various places.
Francesco Chemolli [Sun, 23 Sep 2012 09:04:21 +0000 (11:04 +0200)] 
Removed now-useless inclusions of structs.h in various places.

12 years agoTypo in eDirectory_userip
Amos Jeffries [Sun, 23 Sep 2012 01:20:05 +0000 (13:20 +1200)] 
Typo in eDirectory_userip

12 years agoRemved cruft from structs.h
Francesco Chemolli [Sat, 22 Sep 2012 20:07:31 +0000 (22:07 +0200)] 
Remved cruft from structs.h

12 years agoMake IPC base path absolute in testRock
Francesco Chemolli [Sat, 22 Sep 2012 18:46:52 +0000 (20:46 +0200)] 
Make IPC base path absolute in testRock

12 years agorenamed snmp_request_t to SnmpRequest and moved to own header
Francesco Chemolli [Sat, 22 Sep 2012 15:07:57 +0000 (17:07 +0200)] 
renamed snmp_request_t to SnmpRequest and moved to own header

12 years agorenamed http_state_flags to HttpStateFlags and moved to own header file.
Francesco Chemolli [Sat, 22 Sep 2012 14:21:59 +0000 (16:21 +0200)] 
renamed http_state_flags to HttpStateFlags and moved to own header file.
Changed all boolean flags to bool type.

12 years agorenamed domain_ping to CachePeerDomainList and moved to own header file
Francesco Chemolli [Sat, 22 Sep 2012 13:26:23 +0000 (15:26 +0200)] 
renamed domain_ping to CachePeerDomainList and moved to own header file

12 years agoRenamed neighbor_type to NeighborTypeDomainList and moved to own header.
Francesco Chemolli [Sat, 22 Sep 2012 13:04:26 +0000 (15:04 +0200)] 
Renamed neighbor_type to NeighborTypeDomainList and moved to own header.

12 years agoFix AF code handling
Amos Jeffries [Sat, 22 Sep 2012 12:19:01 +0000 (00:19 +1200)] 
Fix AF code handling

Syntax is not "blob" [username]" but "[blob] username"

12 years agoUpdate ssl_crtd BH shortcut to use message=
Amos Jeffries [Sat, 22 Sep 2012 12:08:08 +0000 (00:08 +1200)] 
Update ssl_crtd BH shortcut to use message=

12 years agoUpdate NTLM and Negotiate TT result code handlers to use token=
Amos Jeffries [Sat, 22 Sep 2012 11:31:12 +0000 (23:31 +1200)] 
Update NTLM and Negotiate TT result code handlers to use token=

12 years agoConvert AF result handlers to use OK result with parameters
Amos Jeffries [Sat, 22 Sep 2012 11:13:29 +0000 (23:13 +1200)] 
Convert AF result handlers to use OK result with parameters

Add the token= key for server blobs from Negotiate helpers.

Update HelperReply parser to convert AF responses when received.

12 years agoMerged from trunk
Francesco Chemolli [Sat, 22 Sep 2012 10:56:48 +0000 (12:56 +0200)] 
Merged from trunk

12 years agoParse external ACL key-pair in HelperReply
Amos Jeffries [Sat, 22 Sep 2012 09:08:28 +0000 (21:08 +1200)] 
Parse external ACL key-pair in HelperReply

Moves parsing of tag, user, password, message, and log key-pair to shared
helper parser. Enabling these keys to be implemented by other helpers.

Adds deprecation/unsupported warning to external ACL parser for other
key-pair.

TODO: support unknown key=pair in generic parser. At present the first
      unknown key will halt parsing of the whole line.

12 years agoUpgrade remainign helpers to documented External ACL reply format
Amos Jeffries [Sat, 22 Sep 2012 09:06:29 +0000 (21:06 +1200)] 
Upgrade remainign helpers to documented External ACL reply format

12 years agoRelease Notes: document cache_store_log changes in 3.2
Amos Jeffries [Sat, 22 Sep 2012 07:17:28 +0000 (19:17 +1200)] 
Release Notes: document cache_store_log changes in 3.2

Store log uses logFile*() infrastructure and was caught in the access.log
change upgrades (in a good way). But was not documented.

12 years agoRegression fix: Handle dstdomain duplicates and overlapping names better
Amos Jeffries [Sat, 22 Sep 2012 06:39:55 +0000 (18:39 +1200)] 
Regression fix: Handle dstdomain duplicates and overlapping names better

Since 3.2 changes to dstdomain overlap detection teh case of duplicate
wildcards has become a fatal error needlessly.

This silently ignores all exact duplicates, even if they are wildcards.

Also, adjust the message display to always display the longer of the
domains first. Since we are dealing with sub-domains it is the most
reliable indicator of which should be removed to safely fix the detected
issue.

12 years agoBug 3648: Polish String class files
Reinhard Posmyk [Sat, 22 Sep 2012 01:28:35 +0000 (13:28 +1200)] 
Bug 3648: Polish String class files

Fix to correct function parameter const correctness.

Also polishes whitespace to match Squid coding guidelines.

12 years agoRemoved "extern" and SQUIDCEXTERN keyword from regular functions (they have extern...
Francesco Chemolli [Fri, 21 Sep 2012 14:57:30 +0000 (16:57 +0200)] 
Removed "extern" and SQUIDCEXTERN keyword from regular functions (they have extern linkage by default)

12 years agoAdded some class documentation.
Francesco Chemolli [Fri, 21 Sep 2012 13:27:44 +0000 (15:27 +0200)] 
Added some class documentation.
Removed explicit "extern" markers from some functions

12 years agoRemoved some unnecessary includes.
Francesco Chemolli [Fri, 21 Sep 2012 09:49:04 +0000 (11:49 +0200)] 
Removed some unnecessary includes.

12 years agoBug 3647: parsing hier_code acl fails
Alex Rousskov [Fri, 21 Sep 2012 06:11:10 +0000 (18:11 +1200)] 
Bug 3647: parsing hier_code acl fails

12 years agorun formatter
Christos Tsantilas [Thu, 20 Sep 2012 18:17:40 +0000 (21:17 +0300)] 
run formatter

12 years agopolish a little the code
Christos Tsantilas [Thu, 20 Sep 2012 17:22:24 +0000 (20:22 +0300)] 
polish a little the code

12 years agoReworked a few includes, changed some linkages.
Francesco Chemolli [Thu, 20 Sep 2012 16:36:22 +0000 (18:36 +0200)] 
Reworked a few includes, changed some linkages.

12 years ago- Rename CertValidateMessage-> CertValidationMsg, ValidateCertificateResponse->
Christos Tsantilas [Thu, 20 Sep 2012 16:26:47 +0000 (19:26 +0300)] 
- Rename CertValidateMessage-> CertValidationMsg, ValidateCertificateResponse->
  CertValidationResponse and ValidateCertificate -> CertValidationRequest
- fixes so that the "make check" and "make distcheck" works
- Document new classes and members

12 years agoShuffled some includes
Francesco Chemolli [Thu, 20 Sep 2012 13:05:01 +0000 (15:05 +0200)] 
Shuffled some includes
Changed some linkage to c++

12 years agoRemoved some useless includes
Francesco Chemolli [Thu, 20 Sep 2012 11:28:21 +0000 (13:28 +0200)] 
Removed some useless includes
Changed some linkage from C to default (extern c++)

12 years agoRemoved/reworked some header inclusions.
Francesco Chemolli [Thu, 20 Sep 2012 09:13:58 +0000 (11:13 +0200)] 
Removed/reworked some header inclusions.

12 years agoImproved documentation and standardized names for RequestFlags
Francesco Chemolli [Wed, 19 Sep 2012 17:16:56 +0000 (19:16 +0200)] 
Improved documentation and standardized names for RequestFlags