]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
11 years agoImplement stubs for external_acl, auth/libauth, auth/libacls, time
Francesco Chemolli [Thu, 31 Oct 2013 07:59:44 +0000 (08:59 +0100)] 
Implement stubs for external_acl, auth/libauth, auth/libacls, time

11 years agoMerged from trunk
Francesco Chemolli [Thu, 31 Oct 2013 06:28:58 +0000 (07:28 +0100)] 
Merged from trunk

11 years agoRemove auth/User.cci, moving contents to .h and .cc files
Francesco Chemolli [Thu, 31 Oct 2013 04:39:36 +0000 (05:39 +0100)] 
Remove auth/User.cci, moving contents to .h and .cc files

11 years agoMerged from trunk
Francesco Chemolli [Wed, 30 Oct 2013 21:27:05 +0000 (22:27 +0100)] 
Merged from trunk

11 years agoAdded some more stubs
Francesco Chemolli [Wed, 30 Oct 2013 18:37:05 +0000 (19:37 +0100)] 
Added some more stubs

11 years agostub-ified testSBuf
Francesco Chemolli [Wed, 30 Oct 2013 17:48:50 +0000 (18:48 +0100)] 
stub-ified testSBuf

11 years agoimplemeted stub_time, more stubs in testConfigParser
Francesco Chemolli [Wed, 30 Oct 2013 17:42:48 +0000 (18:42 +0100)] 
implemeted stub_time, more stubs in testConfigParser

11 years agoUsed more stubs in testStatHist and testVector
Francesco Chemolli [Wed, 30 Oct 2013 17:20:23 +0000 (18:20 +0100)] 
Used more stubs in testStatHist and testVector

11 years agorenamed stub_libacls.cc to stub_libauth_acls.cc
Francesco Chemolli [Wed, 30 Oct 2013 14:30:33 +0000 (15:30 +0100)] 
renamed stub_libacls.cc to stub_libauth_acls.cc

11 years agoAdded missing references to Notes in unit tests
Francesco Chemolli [Wed, 30 Oct 2013 07:35:19 +0000 (08:35 +0100)] 
Added missing references to Notes in unit tests

11 years agoCacheMgr: normalize pconn report output
Amos Jeffries [Wed, 30 Oct 2013 06:17:30 +0000 (00:17 -0600)] 
CacheMgr: normalize pconn report output

- table rows start with TAB
- table cell delimiter is TAB
- table header cells start with TAB SP

11 years agoMerged from trunk
Francesco Chemolli [Tue, 29 Oct 2013 22:36:09 +0000 (23:36 +0100)] 
Merged from trunk

11 years agoCleanup transaction message size logging
Amos Jeffries [Tue, 29 Oct 2013 02:24:29 +0000 (19:24 -0700)] 
Cleanup transaction message size logging

- Add class MessageCounters to track all size properties of a
  transaction message. HTTP-centric for now.

- replaced AccessLogEntry::cache.requestHeadersSize with
  AccessLogEntry::http.clientRequest.headerSz

- replaced AccessLogEntry::cache.requestSize with
  AccessLogEntry::http.clientRequest (total() of all counters)

- replaced AccessLogEntry::cache.replyHeadersSize with
  AccessLogEntry::http.adaptedReply.headerSz

- replaced AccessLogEntry::cache.replySize with
  AccessLogEntry::http.adaptedReply (total() of all counters)

- Rename the logformat byte codes for message size counters to
  form a logical set of details by message type

- reorganize and document logformat option codes more clearly

There are no logic changes in this patch. Several accounting
bugs have been identified and marked for fixing later.

11 years agoMoved more unit tests to stub libacls
Francesco Chemolli [Mon, 28 Oct 2013 16:10:47 +0000 (17:10 +0100)] 
Moved more unit tests to stub libacls

11 years agomade stub_libacls conditional on USE_AUTH
Francesco Chemolli [Mon, 28 Oct 2013 15:43:39 +0000 (16:43 +0100)] 
made stub_libacls conditional on USE_AUTH

11 years agoFixed linking issues
Francesco Chemolli [Mon, 28 Oct 2013 14:09:13 +0000 (15:09 +0100)] 
Fixed linking issues

11 years agoMore unit tests rely on libauth stub
Francesco Chemolli [Mon, 28 Oct 2013 13:32:38 +0000 (14:32 +0100)] 
More unit tests rely on libauth stub

11 years agoAdded missing include in stub_libacls
Francesco Chemolli [Mon, 28 Oct 2013 13:28:48 +0000 (14:28 +0100)] 
Added missing include in stub_libacls

11 years agoMore unit tests rely on libauth stub
Francesco Chemolli [Mon, 28 Oct 2013 13:18:48 +0000 (14:18 +0100)] 
More unit tests rely on libauth stub

11 years agoMade stub_libauth symbols definition conditional on USE_AUTH
Francesco Chemolli [Mon, 28 Oct 2013 13:16:06 +0000 (14:16 +0100)] 
Made stub_libauth symbols definition conditional on USE_AUTH

11 years agostub-ified auth/libacls
Francesco Chemolli [Mon, 28 Oct 2013 12:57:27 +0000 (13:57 +0100)] 
stub-ified auth/libacls

11 years agoRemoved dependency on libauth from testUrl
Francesco Chemolli [Mon, 28 Oct 2013 10:58:04 +0000 (11:58 +0100)] 
Removed dependency on libauth from testUrl

11 years agoRemoved dependency on libauth from testEventLoop and test_http_range
Francesco Chemolli [Mon, 28 Oct 2013 10:46:15 +0000 (11:46 +0100)] 
Removed dependency on libauth from testEventLoop and test_http_range
Prepared stub for external_acl

11 years agoMoved more unit tests to stub libauth
Francesco Chemolli [Mon, 28 Oct 2013 10:04:48 +0000 (11:04 +0100)] 
Moved more unit tests to stub libauth

11 years agoMerged from trunk
Francesco Chemolli [Mon, 28 Oct 2013 08:51:10 +0000 (09:51 +0100)] 
Merged from trunk

11 years agoBroken: define and use stub_libauth.cc
Francesco Chemolli [Sun, 27 Oct 2013 22:27:51 +0000 (23:27 +0100)] 
Broken: define and use stub_libauth.cc

11 years agoAdd missing dependency link for Notes to testACLMaxUserIP
Amos Jeffries [Sun, 27 Oct 2013 21:46:56 +0000 (14:46 -0700)] 
Add missing dependency link for Notes to testACLMaxUserIP

11 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 29 Oct 2013 00:13:37 +0000 (18:13 -0600)] 
SourceFormat Enforcement

11 years agoReceive annotations from authentication helpers
Amos Jeffries [Sun, 27 Oct 2013 05:08:49 +0000 (22:08 -0700)] 
Receive annotations from authentication helpers

This saves the kv-pair from authentication helper responses as
annotations on the HttpRequest which was authenticated and pass
on from there to logging.

Added a method appendNewOnly() to ensure duplicate-free addition
to a NotePairs list.

Also, fixes a bug in hasPair() accessor which was returning true
if either the key OR the value matched.
ie. hasPair("a","1") would match true for notes "a=2 b=1"

11 years agoUpdate redirectStateData to full class RedirectStateData
Amos Jeffries [Sat, 26 Oct 2013 15:56:57 +0000 (08:56 -0700)] 
Update redirectStateData to full class RedirectStateData

- make CBDATA_CLASS2
- add constructor initialization
- convert URL data member to SBuf
- add stub file for redirect.h API

11 years agoRemoved unneeded libauth from ufsdump
Francesco Chemolli [Sun, 27 Oct 2013 22:29:52 +0000 (23:29 +0100)] 
Removed unneeded libauth from ufsdump

11 years agoCleanup SPONSORS.list indentation
Amos Jeffries [Sat, 26 Oct 2013 02:28:12 +0000 (19:28 -0700)] 
Cleanup SPONSORS.list indentation

11 years agoCleanup ASState
Amos Jeffries [Fri, 25 Oct 2013 19:07:30 +0000 (12:07 -0700)] 
Cleanup ASState

* convert from struct to class
 - moving initialization of members from transaction setup to ctor.

* implement with CBDATA_CLASS2 macro
 - removing uses of cbdataAlloc/cbdataFree and CBDATA_TYPE/CBDATA_INIT_TYPE

* set bool member dataRead using true/false instead of 0/1

* upgrade HttpRequest pointer member to Pointer type

11 years agoBetter fix for CBDATA type errors
Amos Jeffries [Sat, 26 Oct 2013 06:09:56 +0000 (00:09 -0600)] 
Better fix for CBDATA type errors

11 years agoFix cbdata 'error: expression result unused' errors
Amos Jeffries [Sat, 26 Oct 2013 02:16:10 +0000 (20:16 -0600)] 
Fix cbdata 'error: expression result unused' errors

Detected by Clang.

11 years agoAdded RackSpace to SPONSORS.list
Francesco Chemolli [Fri, 25 Oct 2013 13:10:13 +0000 (15:10 +0200)] 
Added RackSpace to SPONSORS.list

11 years agoMoved snmplib to lib/
Francesco Chemolli [Fri, 25 Oct 2013 09:11:33 +0000 (11:11 +0200)] 
Moved snmplib to lib/

11 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 25 Oct 2013 00:13:46 +0000 (18:13 -0600)] 
SourceFormat Enforcement

11 years agoSource Maintenance: enforce #include statement block ordering
Amos Jeffries [Thu, 24 Oct 2013 17:45:00 +0000 (11:45 -0600)] 
Source Maintenance: enforce #include statement block ordering

This uses the include ordering sort script to enforce blocks of include
statements being in alphasymbolic order with squid.h at teh top if it is
present.

11 years agoConvert WhoisStateData to CBDATA_CLASS
Amos Jeffries [Thu, 24 Oct 2013 17:27:28 +0000 (11:27 -0600)] 
Convert WhoisStateData to CBDATA_CLASS

Removes one more set of cbdataAlloc/cbdataFree.
Also, updates its HttpRequest reference to a Pointer

11 years agoRevert -march-native experiment that snuck into rev.13048
Amos Jeffries [Thu, 24 Oct 2013 16:01:56 +0000 (10:01 -0600)] 
Revert -march-native experiment that snuck into rev.13048

11 years agoHave testRock use cachemgr stubs
Francesco Chemolli [Tue, 22 Oct 2013 21:04:38 +0000 (23:04 +0200)] 
Have testRock use cachemgr stubs

11 years agoFixed broken Mgr::RegisterAction stub in stub_libmgr.cc
Francesco Chemolli [Mon, 21 Oct 2013 05:10:52 +0000 (07:10 +0200)] 
Fixed broken Mgr::RegisterAction stub in stub_libmgr.cc

11 years agoFixed cache manager stub for testRock
Francesco Chemolli [Sun, 20 Oct 2013 21:59:29 +0000 (23:59 +0200)] 
Fixed cache manager stub for testRock

11 years agoTest for testRock portability
Francesco Chemolli [Sun, 20 Oct 2013 19:20:45 +0000 (21:20 +0200)] 
Test for testRock portability

11 years agoImproved portability of NIS basic_auth helper
Francesco Chemolli [Sun, 20 Oct 2013 16:46:53 +0000 (18:46 +0200)] 
Improved portability of NIS basic_auth helper

11 years agoFix issues with automake 1.13 and later and make check
Francesco Chemolli [Sat, 19 Oct 2013 15:19:45 +0000 (17:19 +0200)] 
Fix issues with automake 1.13 and later and make check

11 years agoAppend "Connection: close" to OPTIONS requests when icap_persistent_connections
Nathan Hoad [Fri, 18 Oct 2013 23:52:10 +0000 (17:52 -0600)] 
Append "Connection: close" to OPTIONS requests when icap_persistent_connections
is off.

This brings OPTIONS requests behavior inline with REQMOD and RESPMOD.

11 years agoBug 3941: Release notes typo
Amos Jeffries [Wed, 16 Oct 2013 18:34:25 +0000 (11:34 -0700)] 
Bug 3941: Release notes typo

11 years agoLanguages: Add Serbian Cyrillic alphabet dialects
Amos Jeffries [Wed, 16 Oct 2013 03:04:38 +0000 (21:04 -0600)] 
Languages: Add Serbian Cyrillic alphabet dialects

11 years agoLanguages: Add Latin-alphabet Serbian dialect
Amos Jeffries [Wed, 16 Oct 2013 02:58:54 +0000 (20:58 -0600)] 
Languages: Add Latin-alphabet Serbian dialect

RS country code was formally approved in 2006 and deprecates the SP
country code already accepted by Squid from before that date.

NOTE: sr-rs also exists, but is formally IANA registered against Cyrillic
      alphabet content.

11 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 16 Oct 2013 00:13:59 +0000 (18:13 -0600)] 
SourceFormat Enforcement

11 years agoAdd cache_miss_revalidate
Amos Jeffries [Sun, 13 Oct 2013 17:55:11 +0000 (10:55 -0700)] 
Add cache_miss_revalidate

Port of 2.7 ignore_ims_on_miss directive.

This on/off switch enables Squid to convert conditional requests from
clients to non-conditional fetches that can fill the cache faster under
cold-start conditions.

11 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 15 Oct 2013 00:13:10 +0000 (18:13 -0600)] 
SourceFormat Enforcement

11 years agoBug 3480: StoreEntry::kickProducer() segfaults in store_client::copy() context
Alex Rousskov [Mon, 14 Oct 2013 20:11:13 +0000 (14:11 -0600)] 
Bug 3480: StoreEntry::kickProducer() segfaults in store_client::copy() context

Short-term fix: Lock StoreEntry object so that it is not freed by
storeClientCopy2() callbacks. Also lock StoreEntry in storeUnregister()
context because an aborting entry may be deleted there unless it is
double-locked.

See bug 3480 comment #27 for detailed call stack analysis. Additional cases
include rejected copied HIT due to Var mismatch and hits blocked by
reply_from_cache directive (under development; see bug 3937).

Long-term, we need to make store copying asynchronous and revise StoreEntry
locking approach.

11 years agoAdded cachemgr reporting of SBuf and MemBlob statistics
Francesco Chemolli [Thu, 10 Oct 2013 08:44:03 +0000 (10:44 +0200)] 
Added cachemgr reporting of SBuf and MemBlob statistics

11 years agoFix CBDATA_CLASS2 macro definition
Amos Jeffries [Wed, 9 Oct 2013 14:04:57 +0000 (08:04 -0600)] 
Fix CBDATA_CLASS2 macro definition

CBDATA_UNKNOWN was being used in place of a void no-op statement.
This was incorrect and useless. Now that the value definition is fixed
it is being picked up by the stricter compilers.
Replace the trinary conditional with an if-statement.

11 years agoFix PosToString duplicate definiton
Amos Jeffries [Wed, 9 Oct 2013 14:02:57 +0000 (08:02 -0600)] 
Fix PosToString duplicate definiton

Since SBuf::size_type and std::string::size_type are now both unsigned
and npos is the same value in both this function is a duplicate and
the stricter compilers complain.

11 years agoMore SBuf signedness fixes
Amos Jeffries [Tue, 8 Oct 2013 04:17:17 +0000 (22:17 -0600)] 
More SBuf signedness fixes

11 years agolibntlmauth: Fix string field truncation
Elmar Vonlanthen [Tue, 8 Oct 2013 01:24:23 +0000 (19:24 -0600)] 
libntlmauth: Fix string field truncation

Count of field bytes must begin at 0. Otherwise the decoder truncates
1 byte from the string due to lstring initial state values.

Also drop the lstring_zero(s) macro. It is only used in one place and
calling it 'zero' obscures that length is non-zero for invalid state.

11 years agontlm_fake_auth: pass DOMAIN data to Squid in original case
Elmar Vonlanthen [Tue, 8 Oct 2013 01:11:04 +0000 (19:11 -0600)] 
ntlm_fake_auth: pass DOMAIN data to Squid in original case

Lower-casing the domain field can cause base ACL match results if the
ACL is checking for case-sensitive or upper-case domain label.

The helper shodul be emitting the standard UPPER case domain and many
administrators will be expecting taht when they write ACLs.

11 years agoFix more signedness comparisons in SBuf
Amos Jeffries [Mon, 7 Oct 2013 11:23:58 +0000 (05:23 -0600)] 
Fix more signedness comparisons in SBuf

11 years agoFix signedness comparison in SBuf
Amos Jeffries [Mon, 7 Oct 2013 10:36:47 +0000 (04:36 -0600)] 
Fix signedness comparison in SBuf

11 years agoFixed testSBuf::testComparisons
Francesco Chemolli [Mon, 7 Oct 2013 10:23:48 +0000 (12:23 +0200)] 
Fixed testSBuf::testComparisons

11 years agoMake clang happy with SBuf API
Amos Jeffries [Mon, 7 Oct 2013 08:32:15 +0000 (02:32 -0600)] 
Make clang happy with SBuf API

Basic types are passed by-value and const is useless.
Clang is quite strict and treats this as a build error.

11 years agoFix bug in SQUID_CC_CHECK_ARGUMENT autoconf macro
Francesco Chemolli [Sun, 6 Oct 2013 19:14:55 +0000 (21:14 +0200)] 
Fix bug in SQUID_CC_CHECK_ARGUMENT autoconf macro

11 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 5 Oct 2013 00:14:03 +0000 (18:14 -0600)] 
SourceFormat Enforcement

11 years agoMerge SBuf.
Francesco Chemolli [Fri, 4 Oct 2013 14:50:52 +0000 (16:50 +0200)] 
Merge SBuf.

11 years agoRemoved copyright statements from SBuf code, pending project policy
Francesco Chemolli [Fri, 4 Oct 2013 13:55:21 +0000 (15:55 +0200)] 
Removed copyright statements from SBuf code, pending project policy
Made SBuf::size_type unsigned and adjusted tests accordingly
Add documentation for SBuf::spaceSize

11 years agoMerged from trunk
Francesco Chemolli [Fri, 4 Oct 2013 13:02:57 +0000 (15:02 +0200)] 
Merged from trunk

11 years agoRevert libresolv related changed of rev.13026
Amos Jeffries [Fri, 4 Oct 2013 12:15:52 +0000 (06:15 -0600)] 
Revert libresolv related changed of rev.13026

This library API and hacks are still used by the Kerberos LDAP group
helper for a custom SRV lookup.

11 years agoMerged from trunk
Francesco Chemolli [Thu, 3 Oct 2013 19:07:33 +0000 (21:07 +0200)] 
Merged from trunk

11 years agoMore ~pPrep for 3.4.0.2
Amos Jeffries [Thu, 3 Oct 2013 12:30:26 +0000 (06:30 -0600)] 
More ~pPrep for 3.4.0.2

11 years agoPrep for 3.4.0.2
Amos Jeffries [Thu, 3 Oct 2013 12:17:18 +0000 (06:17 -0600)] 
Prep for 3.4.0.2

11 years agoAdd --disable-arch-native build option
Amos Jeffries [Wed, 2 Oct 2013 12:21:20 +0000 (06:21 -0600)] 
Add --disable-arch-native build option

The -march-native option is required by Clang 3.2 on some CPU
and produces better optimization in binaries by GCC.
But building inside a virtual machine environment has been found to
cause random Illegal Instruction errors due to mis-detection of CPU.

This option is added to permit selective disabling of teh preferred
default (which is to use the compiler flag when available).

11 years agoFix line wrapping broken in rev.13027
Amos Jeffries [Wed, 2 Oct 2013 09:51:09 +0000 (03:51 -0600)] 
Fix line wrapping broken in rev.13027

11 years agoFix some missing parts from 13015
Amos Jeffries [Wed, 2 Oct 2013 09:06:03 +0000 (03:06 -0600)] 
Fix some missing parts from 13015

The %LOGIN format code makes the regressino testign fail minimal builds
where auth is disabled.

The test-suite configuration tests need to be distributed to allow
make check to operate outside a repository checkout.

11 years agoFix build errors in rev.13012
Amos Jeffries [Wed, 2 Oct 2013 03:41:06 +0000 (21:41 -0600)] 
Fix build errors in rev.13012

static functions defined in headers (.h) must be used in all .cc which
include them. Functions which are not always used must be defined as
inline instead.

This resolves warning: 'const char* LogTime()' defined but not used

11 years agoSourceFormat Enforcement
Automatic source maintenance [Wed, 2 Oct 2013 00:12:54 +0000 (18:12 -0600)] 
SourceFormat Enforcement

11 years agoRemove dnsserver and external DNS helper API
Amos Jeffries [Tue, 1 Oct 2013 23:21:17 +0000 (17:21 -0600)] 
Remove dnsserver and external DNS helper API

The external DNS helper API places limits on Squid DNS lookups per second
low enough to noticably affect the HTTP requests per second which can be
served.

Request for comments about proposed removal 2 years ago produced feedback
stating that the helper was needed for local name resolution. This is
now available since 3.4 mDNS extensions.

A more recent request for reasons for keeping the helper API have
produced only two responses over the period of several months. Both
indicating that the API is no longer necessary for the business cases of
a year or so ago.

As such and because the helper fails to operate sufficiently on several
major operating systems and the API is difficult to maintain it is being
removed as of Squid-3.5.

11 years agoRemove COSS
Amos Jeffries [Mon, 30 Sep 2013 12:30:50 +0000 (06:30 -0600)] 
Remove COSS

This storage type has been superceded by Rock storage since 3.2.

11 years agoPolish: better WARNING when workers directive is ignore on reconfigure.
Amos Jeffries [Mon, 30 Sep 2013 07:22:17 +0000 (01:22 -0600)] 
Polish: better WARNING when workers directive is ignore on reconfigure.

Changing the workers directive requires a proxy restart, not just a
reconfigure. State this clearly in the warning message.

11 years agoTests: Add regression tests for squid.conf parser
Amos Jeffries [Mon, 30 Sep 2013 07:04:36 +0000 (01:04 -0600)] 
Tests: Add regression tests for squid.conf parser

Regressions identified by the community in active production configs
with the 3.4.0.1 parser upgrade attempt.

Also, disables %macro detection inside quoted-strings. Which is still
encountering errors in the current 3.HEAD code.

11 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 30 Sep 2013 00:14:45 +0000 (18:14 -0600)] 
SourceFormat Enforcement

11 years agoFix various header build issues in librfcnb
Amos Jeffries [Sun, 29 Sep 2013 20:14:10 +0000 (14:14 -0600)] 
Fix various header build issues in librfcnb

Highlighted when the #include sorting was applied to lib/rfcnb/ files
several of the headers were using order-dependent definitions and were
not wrapped with sfety macros.

11 years agoChinese language dialect updates
Amos Jeffries [Sun, 29 Sep 2013 18:37:10 +0000 (06:37 +1200)] 
Chinese language dialect updates

Perform the long overdue renaming of zh-cn.po an zh-tw.po to Hans and
Hant alphabet files. Add aliases for the 2 and 3 code dialect tags which
are appearing in Asian traffic.

11 years agoFix various compile errors in rev.13012
Amos Jeffries [Sat, 28 Sep 2013 15:19:53 +0000 (03:19 +1200)] 
Fix various compile errors in rev.13012

Uncovered by GCC 4.8 and Squid Project build farm testing.

11 years agoAdd missing integration of squid.conf test with Unit-Test PASS/FAIL results
Amos Jeffries [Sat, 28 Sep 2013 09:14:43 +0000 (03:14 -0600)] 
Add missing integration of squid.conf test with Unit-Test PASS/FAIL results

11 years agoAutomated squid.conf parser testing with squid -k parse
Amos Jeffries [Sat, 28 Sep 2013 09:01:23 +0000 (03:01 -0600)] 
Automated squid.conf parser testing with squid -k parse

This make the build process testing run 'squid -k parse' with a series
of test configuration files to exercise edge cases and backward
compatibility.

The default squid.conf which is to be installed on new systems is always
tested.

Other config files with unit tests can be dropped into
test-suite/squidconf/ and will be parse tested automatically.

11 years agotypo in rev.13013
Amos Jeffries [Fri, 27 Sep 2013 16:14:40 +0000 (10:14 -0600)] 
typo in rev.13013

11 years agoPortability: cleanup includes for sys/time.h and sys/resource.h
Amos Jeffries [Fri, 27 Sep 2013 16:06:15 +0000 (10:06 -0600)] 
Portability: cleanup includes for sys/time.h and sys/resource.h

These two include files are order-dependent on several operating systems
and as such are provided by Squid libcompat headers. There is no need for
code to include them specially and several HAVE_SYS_TIME_H macros were
missing which breaks the build on systems where the file is missing.

11 years agonegotiate_kerberos_auth: upgrade to present group= keys
Markus Moeller [Fri, 27 Sep 2013 15:21:54 +0000 (09:21 -0600)] 
negotiate_kerberos_auth: upgrade to present group= keys

Use the new kv-pair protocol extensions for emitting group details
directly at the time of authentication. group=X key-value pair is
used to emit the Kerberos SIDS values presented by MS Active
Directory environments.

Also, update the Hiemdal library support for recent library versions.

Also, polish the Kerberos and LDAP Group related code to avoid memory
leaks and improve C++ coding style.

11 years agoUse IPv6 localhost nameserver on DNS configuration errors
Amos Jeffries [Tue, 24 Sep 2013 14:19:08 +0000 (08:19 -0600)] 
Use IPv6 localhost nameserver on DNS configuration errors

When DNS configuration fails to locate a set of nameservers "localhost"
is used as the default but has previously only been setting 127.0.0.1
IPv4 address for localhost. This enables the failover to work as designed
on IPv6-only networks.

11 years agoBug 3914: partial: make squidclient tool build cleanly with -Wconversion
Amos Jeffries [Sat, 21 Sep 2013 17:21:48 +0000 (05:21 +1200)] 
Bug 3914: partial: make squidclient tool build cleanly with -Wconversion

11 years agoBug 3923: cbdata and undefined behavior due to dynamic runtime enumeration
'noloader' [Sat, 21 Sep 2013 14:19:37 +0000 (02:19 +1200)] 
Bug 3923: cbdata and undefined behavior due to dynamic runtime enumeration

11 years agoBug 3918: Squid 3.3.9 Self Test Failures on Mac OS X 10.8
Alex Rousskov [Sat, 21 Sep 2013 12:33:29 +0000 (00:33 +1200)] 
Bug 3918: Squid 3.3.9 Self Test Failures on Mac OS X 10.8

11 years agoBug 3929: request_header_add not working for tunnel requests
libit [Sat, 21 Sep 2013 12:23:23 +0000 (00:23 +1200)] 
Bug 3929: request_header_add not working for tunnel requests

11 years agoFix typo in rev.13004
Amos Jeffries [Sat, 21 Sep 2013 12:13:36 +0000 (00:13 +1200)] 
Fix typo in rev.13004

11 years agoPolish: report bytes received when bad content-length detected by quick-abort
Amos Jeffries [Fri, 20 Sep 2013 02:41:05 +0000 (14:41 +1200)] 
Polish: report bytes received when bad content-length detected by quick-abort

11 years agoFixed documentation, tentative alternate dump implementation with Raw api
Francesco Chemolli [Thu, 19 Sep 2013 12:38:58 +0000 (14:38 +0200)] 
Fixed documentation, tentative alternate dump implementation with Raw api
Improve SBuf::find readability
Improved readability and error reporting in SBuf
Fixed nonfatal bug in snprintf behavior detection