]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
11 years agoMerged from trunk
Francesco Chemolli [Mon, 24 Sep 2012 19:34:52 +0000 (21:34 +0200)] 
Merged from trunk

11 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

11 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

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

11 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

11 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

11 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.

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

11 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

11 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

11 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.

11 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

11 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.

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

11 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.

11 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.

11 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.

11 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)

11 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

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

11 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

11 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.

11 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++

11 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++)

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

11 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

11 years agoFixed leftover issues with reverting RequestFlags getters/setters.
Francesco Chemolli [Wed, 19 Sep 2012 09:24:34 +0000 (11:24 +0200)] 
Fixed leftover issues with reverting RequestFlags getters/setters.

11 years agoremoved all RequestFlags setters/getters except for doneXff
Francesco Chemolli [Tue, 18 Sep 2012 21:33:54 +0000 (23:33 +0200)] 
removed all RequestFlags setters/getters except for doneXff

11 years agoReverted most RequestFlags getters/setters
Francesco Chemolli [Tue, 18 Sep 2012 21:05:32 +0000 (23:05 +0200)] 
Reverted most RequestFlags getters/setters

11 years agoClarified some comments in HttpHeaderFieldStat
Francesco Chemolli [Tue, 18 Sep 2012 14:23:58 +0000 (16:23 +0200)] 
Clarified some comments in HttpHeaderFieldStat
Sorted class forward declarations in HTtpHeaderTools
Fixed debug in RequestFlags.cc
Properly indented constructor in RequestFlags.h
class-ified AclAddress

11 years agoRenamed CacheMgrPasswd to Mgr::ActionPasswordList
Francesco Chemolli [Tue, 18 Sep 2012 14:06:31 +0000 (16:06 +0200)] 
Renamed CacheMgrPasswd to Mgr::ActionPasswordList

11 years agoFixed class indentation
Francesco Chemolli [Tue, 18 Sep 2012 12:54:44 +0000 (14:54 +0200)] 
Fixed class indentation

11 years agoRemoved duplicate empty lines
Francesco Chemolli [Tue, 18 Sep 2012 12:37:07 +0000 (14:37 +0200)] 
Removed duplicate empty lines

11 years agoMoved netdbEntry classes to icmp/net_db.h
Francesco Chemolli [Mon, 17 Sep 2012 18:03:06 +0000 (20:03 +0200)] 
Moved netdbEntry classes to icmp/net_db.h

11 years agorenamed class iostats to IoStats, moved to own header file.
Francesco Chemolli [Mon, 17 Sep 2012 15:12:01 +0000 (17:12 +0200)] 
renamed class iostats to IoStats, moved to own header file.

11 years agoFixed missing debug sections declarations sourceformat-review-1
Francesco Chemolli [Mon, 17 Sep 2012 13:31:37 +0000 (15:31 +0200)] 
Fixed missing debug sections declarations

11 years agoPartially reverted XFF preprocessor conditional code.
Francesco Chemolli [Fri, 14 Sep 2012 11:50:29 +0000 (13:50 +0200)] 
Partially reverted XFF preprocessor conditional code.

11 years agoReverted XFF unhiding changes
Francesco Chemolli [Fri, 14 Sep 2012 11:35:12 +0000 (13:35 +0200)] 
Reverted XFF unhiding changes

11 years agoMade more follow_xff members visible
Francesco Chemolli [Fri, 14 Sep 2012 10:54:03 +0000 (12:54 +0200)] 
Made more follow_xff members visible

11 years agoMore XFF unhiding.i
Francesco Chemolli [Fri, 14 Sep 2012 09:55:21 +0000 (11:55 +0200)] 
More XFF unhiding.i

11 years agoMake SquidConfig::followXFF unconditional
Francesco Chemolli [Fri, 14 Sep 2012 08:41:53 +0000 (10:41 +0200)] 
Make SquidConfig::followXFF unconditional

11 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 14 Sep 2012 00:13:20 +0000 (18:13 -0600)] 
SourceFormat Enforcement

11 years agoMerged in typedefs refactor work
Francesco Chemolli [Thu, 13 Sep 2012 16:22:07 +0000 (18:22 +0200)] 
Merged in typedefs refactor work

11 years agoMerged from trunk
Francesco Chemolli [Thu, 13 Sep 2012 16:21:30 +0000 (18:21 +0200)] 
Merged from trunk

11 years agoFinished implementing getters/setters for RequestFlags
Francesco Chemolli [Thu, 13 Sep 2012 16:20:41 +0000 (18:20 +0200)] 
Finished implementing getters/setters for RequestFlags

11 years agoMerged from trunk
Francesco Chemolli [Thu, 13 Sep 2012 11:41:03 +0000 (13:41 +0200)] 
Merged from trunk

11 years agomore RequestFlags getters/setters
Francesco Chemolli [Thu, 13 Sep 2012 11:40:32 +0000 (13:40 +0200)] 
more RequestFlags getters/setters

11 years agoCompleted protos.h split and code refactoring
Francesco Chemolli [Thu, 13 Sep 2012 11:39:30 +0000 (13:39 +0200)] 
Completed protos.h split and code refactoring

Complete the task of splitting protos.h into more specific files
Remove inclusion of protos.h from most files
Clean CVS and arch file-tags up
Rework some module initialization code so that it is the callee's task and not the callers' to do feature-enabling
Added ssl-crtd option to the maximus build test
Changed many functions' linkage type from C to C++

11 years agoMerged from trunk
Francesco Chemolli [Thu, 13 Sep 2012 06:56:05 +0000 (08:56 +0200)] 
Merged from trunk

11 years agoMore RequestFlags getters/setters
Francesco Chemolli [Wed, 12 Sep 2012 17:52:37 +0000 (19:52 +0200)] 
More RequestFlags getters/setters

11 years agoMore RequestFlags getters/setters.
Francesco Chemolli [Wed, 12 Sep 2012 17:01:17 +0000 (19:01 +0200)] 
More RequestFlags getters/setters.

11 years agoImplemented more RequestFlags getters/setters
Francesco Chemolli [Wed, 12 Sep 2012 16:06:56 +0000 (18:06 +0200)] 
Implemented more RequestFlags getters/setters

11 years agoRequestFlags: added missing default values, made all data fields unconditional, added...
Francesco Chemolli [Wed, 12 Sep 2012 11:19:27 +0000 (13:19 +0200)] 
RequestFlags: added missing default values, made all data fields unconditional, added more getters/setters

11 years agoMore RequestFlags getters/setters implemented, renamed internal variables as per...
Francesco Chemolli [Tue, 11 Sep 2012 16:27:49 +0000 (18:27 +0200)] 
More RequestFlags getters/setters implemented, renamed internal variables as per naming convention.

11 years agoRefactored some RequestFlags with getters and setters.
Francesco Chemolli [Tue, 11 Sep 2012 15:11:33 +0000 (17:11 +0200)] 
Refactored some RequestFlags with getters and setters.

11 years agoDo not reuse persistent connections for PUTs to avoid ERR_ZERO_SIZE_OBJECT.
Alex Rousskov [Mon, 10 Sep 2012 23:07:01 +0000 (17:07 -0600)] 
Do not reuse persistent connections for PUTs to avoid ERR_ZERO_SIZE_OBJECT.

A compliant proxy may retry PUTs, but Squid lacks the [rather complicated]
code required to protect the PUT request body from being nibbled during the
first try or [also tricky] code to send 100-continue expectation requiredto
delay body sending. Thus, Squid cannot safely retry some PUTs today, and
FwdState::checkRetriable() must return false for all PUTs, to avoid
bogus ERR_ZERO_SIZE_OBJECT errors (especially for clients that did not
reuse a pconn and, hence, may not be ready to handle/retry an error response).

In theory, requests with safe or idempotent methods other than PUT might have
bodies so we apply the same logic to them as well.

This reopens Squid bug #3398, undoing trunk r11859 commit which attempted
to close that bug.

11 years agoDo not chunk responses carrying a Content-Range header.
Alex Rousskov [Mon, 10 Sep 2012 22:38:09 +0000 (16:38 -0600)] 
Do not chunk responses carrying a Content-Range header.

When Squid forwards a response with a Content-Range header,
ClientSocketContext::socketState() detects the end of the response range(s)
and returns STREAM_*COMPLETE to ClientSocketContext::writeComplete().
The latter thinks that the writing of the response to the client must be
over and calls keepaliveNextRequest() instead of writing the last-chunk
(if any). If the to-client response was chunked, the client gets stuck
waiting for that missing last-chunk.

The multipart Range request case was already excluded from chunking (or it
would probably suffer from the same problem). With this change, no
Content-Range responses will be chunked.

N.B. Some servers send Content-Range responses to basic GET requests
without a Range header, so the problem affects more than just Range requests.

TODO: A proper fix would be to rewrite ClientSocketContext::writeComplete()
and other code so that it does not mix internal ClientStream completion with
[possibly chunk-encoded] writing completion. This should probably be done
along with fixing ClientSocketContext::socketState() and other state-checking
code to ignore to-client persistence (flags.proxy_keepalive), which is not
related to the internal ClientStream state.

11 years agoMore RequestFlags getters/setters
Francesco Chemolli [Mon, 10 Sep 2012 18:45:23 +0000 (20:45 +0200)] 
More RequestFlags getters/setters

11 years agoImplemented some more getters/setters for RequestFlags.
Francesco Chemolli [Mon, 10 Sep 2012 13:36:59 +0000 (15:36 +0200)] 
Implemented some more getters/setters for RequestFlags.
Moved from a preprocessor-backed conditional code to a compiler-backed conditional code for follow-x-forwarded-for

11 years agorenamed request_flags to RequestFlags, moved to own header, started implementing...
Francesco Chemolli [Mon, 10 Sep 2012 12:49:35 +0000 (14:49 +0200)] 
renamed request_flags to RequestFlags, moved to own header, started implementing getters and setters for it.

11 years agorenamed cachemgr_passwd to CacheMgrPasswd and moved to own header.
Francesco Chemolli [Mon, 10 Sep 2012 09:44:06 +0000 (11:44 +0200)] 
renamed cachemgr_passwd to CacheMgrPasswd and moved to own header.

11 years agorenamed refresh_t to RefreshPattern and moved to own header file.
Francesco Chemolli [Mon, 10 Sep 2012 07:59:18 +0000 (09:59 +0200)] 
renamed refresh_t to RefreshPattern and moved to own header file.

11 years agoMerged from trunk
Francesco Chemolli [Sun, 9 Sep 2012 19:41:47 +0000 (21:41 +0200)] 
Merged from trunk

11 years agoMerged from trunk
Francesco Chemolli [Sun, 9 Sep 2012 17:13:42 +0000 (19:13 +0200)] 
Merged from trunk

11 years agoMoved CacheDigest class to CacheDigest.h
Francesco Chemolli [Thu, 6 Sep 2012 14:48:49 +0000 (16:48 +0200)] 
Moved CacheDigest class to CacheDigest.h

11 years agoRenamed _store_rebuild_data to StoreRebuildData, moved it to store_rebuild.h
Francesco Chemolli [Thu, 6 Sep 2012 14:22:03 +0000 (16:22 +0200)] 
Renamed _store_rebuild_data to StoreRebuildData, moved it to store_rebuild.h

11 years agoMoved CustomLog to own header and implementation files.
Francesco Chemolli [Thu, 6 Sep 2012 13:29:14 +0000 (15:29 +0200)] 
Moved CustomLog to own header and implementation files.

11 years agoBug fix: TLS/SSL Options does not apply to the dynamically generated certificates
Christos Tsantilas [Thu, 6 Sep 2012 13:12:26 +0000 (16:12 +0300)] 
Bug fix: TLS/SSL Options does not apply to the dynamically generated certificates

The TLS/SSL options configured with http_port configuration parameter does not
used to generate SSL_CTX context objects used to establish SSL connections.
This is means that certificate based authentication, or SSL version selection
and other SSL/TLS http_port options does not work for ssl-bumped connection.
This patch fixes this problem.

This is a Measurement Factory project

11 years agoRenamed customlog to CustomLog and moved to own header and implementation file in...
Francesco Chemolli [Thu, 6 Sep 2012 12:47:15 +0000 (14:47 +0200)] 
Renamed customlog to CustomLog and moved to own header and implementation file in liblog

11 years agoRenamed relist to RegexList, moved to own header and implementation file.
Francesco Chemolli [Thu, 6 Sep 2012 11:56:46 +0000 (13:56 +0200)] 
Renamed relist to RegexList, moved to own header and implementation file.

11 years agoAdded missing reference in Makefile.am
Francesco Chemolli [Thu, 6 Sep 2012 11:44:54 +0000 (13:44 +0200)] 
Added missing reference in Makefile.am

11 years agoreamed acl_address to AclAddress and moved it to own file in acl/
Francesco Chemolli [Wed, 5 Sep 2012 19:54:09 +0000 (21:54 +0200)] 
reamed acl_address to AclAddress and moved it to own file in acl/

11 years agoAdded missing includes
Francesco Chemolli [Wed, 5 Sep 2012 15:12:36 +0000 (17:12 +0200)] 
Added missing includes
In-place turned snmp_request_t to a class

11 years agoRenamed acl_deny_info_list to AclDenyInfoList and moved to own header file in acl/
Francesco Chemolli [Wed, 5 Sep 2012 14:49:29 +0000 (16:49 +0200)] 
Renamed acl_deny_info_list to AclDenyInfoList and moved to own header file in acl/

11 years agoRenamed acl_name_list to AclNameList and moved ot own header file in acl/
Francesco Chemolli [Wed, 5 Sep 2012 13:45:53 +0000 (15:45 +0200)] 
Renamed acl_name_list to AclNameList and moved ot own header file in acl/

11 years agoAdded some missing includes
Francesco Chemolli [Wed, 5 Sep 2012 09:41:45 +0000 (11:41 +0200)] 
Added some missing includes

11 years agoMoved CachePeer to own header file.
Francesco Chemolli [Tue, 4 Sep 2012 15:15:51 +0000 (17:15 +0200)] 
Moved CachePeer to own header file.

11 years agoRenamed struct peer to class CachePeer.
Francesco Chemolli [Tue, 4 Sep 2012 14:38:44 +0000 (16:38 +0200)] 
Renamed struct peer to class CachePeer.

11 years agoMoved HttpHeaderFieldInfo to own header file.
Francesco Chemolli [Tue, 4 Sep 2012 13:09:04 +0000 (15:09 +0200)] 
Moved HttpHeaderFieldInfo to own header file.

11 years agoMoved HttpHeaderFieldStat to own header file.
Francesco Chemolli [Tue, 4 Sep 2012 11:58:36 +0000 (13:58 +0200)] 
Moved HttpHeaderFieldStat to own header file.

11 years agoMoved SquidConfig2 class to SquidConfig.h
Francesco Chemolli [Tue, 4 Sep 2012 11:26:41 +0000 (13:26 +0200)] 
Moved SquidConfig2 class to SquidConfig.h

11 years agoMoved YesNoNone to own header and implementation file.
Francesco Chemolli [Tue, 4 Sep 2012 11:13:13 +0000 (13:13 +0200)] 
Moved YesNoNone to own header and implementation file.

11 years agoMoved SquidConfig definition from structs.h to own header file.
Francesco Chemolli [Tue, 4 Sep 2012 09:10:20 +0000 (11:10 +0200)] 
Moved SquidConfig definition from structs.h to own header file.

11 years agoRemoved duplicate empty lines.
Francesco Chemolli [Mon, 3 Sep 2012 09:02:20 +0000 (11:02 +0200)] 
Removed duplicate empty lines.

11 years agoRemoved Debug.h inclusion in include/Range.h, added it elsewhere.
Francesco Chemolli [Mon, 3 Sep 2012 08:58:40 +0000 (10:58 +0200)] 
Removed Debug.h inclusion in include/Range.h, added it elsewhere.

11 years agoProtos.h doesn't need to reference any external includes anymore.
Francesco Chemolli [Mon, 3 Sep 2012 08:44:53 +0000 (10:44 +0200)] 
Protos.h doesn't need to reference any external includes anymore.

11 years agoRemoved some stale comments.
Francesco Chemolli [Mon, 3 Sep 2012 08:42:58 +0000 (10:42 +0200)] 
Removed some stale comments.

11 years agoMerged from trunk
Francesco Chemolli [Mon, 3 Sep 2012 07:16:45 +0000 (09:16 +0200)] 
Merged from trunk

11 years agoRelease Notes: document ECN vs TOS issue clearer for 3.1
Amos Jeffries [Sun, 2 Sep 2012 10:23:59 +0000 (04:23 -0600)] 
Release Notes: document ECN vs TOS issue clearer for 3.1

11 years agoChanged some structs to classes.
Francesco Chemolli [Sat, 1 Sep 2012 21:00:18 +0000 (23:00 +0200)] 
Changed some structs to classes.

11 years agoRemoved useless struct ushortlist
Francesco Chemolli [Sat, 1 Sep 2012 20:23:30 +0000 (22:23 +0200)] 
Removed useless struct ushortlist
turned some structs into classes

11 years agoRemoved gnu-arch file-tags
Francesco Chemolli [Sat, 1 Sep 2012 14:42:17 +0000 (16:42 +0200)] 
Removed gnu-arch file-tags

11 years agoRemoved CVS $ markers
Francesco Chemolli [Sat, 1 Sep 2012 14:38:36 +0000 (16:38 +0200)] 
Removed CVS $ markers

11 years agoMoved windows-related prototypes to new win32.h header file.
Francesco Chemolli [Sat, 1 Sep 2012 14:24:50 +0000 (16:24 +0200)] 
Moved windows-related prototypes to new win32.h header file.

11 years agoMoved Win32-service specific prototypes to own header
Francesco Chemolli [Sat, 1 Sep 2012 10:40:00 +0000 (12:40 +0200)] 
Moved Win32-service specific prototypes to own header

11 years agoreverted kerberos-related functrions to C linkage
Francesco Chemolli [Sat, 1 Sep 2012 08:17:17 +0000 (10:17 +0200)] 
reverted kerberos-related functrions to C linkage

11 years agoFixed linkage convention mismatch in peer_proxy_negotiate_auth.cc
Francesco Chemolli [Sat, 1 Sep 2012 07:52:25 +0000 (09:52 +0200)] 
Fixed linkage convention mismatch in peer_proxy_negotiate_auth.cc

11 years agoRemoved inclusion of protos.h from most clients.
Francesco Chemolli [Fri, 31 Aug 2012 16:57:39 +0000 (18:57 +0200)] 
Removed inclusion of protos.h from most clients.

11 years agoMoved Auth::Init to new specific header file.i
Francesco Chemolli [Fri, 31 Aug 2012 16:28:10 +0000 (18:28 +0200)] 
Moved Auth::Init to new specific header file.i

11 years agoMoved SNMP-related prototypes to a new home.
Francesco Chemolli [Fri, 31 Aug 2012 15:45:51 +0000 (17:45 +0200)] 
Moved SNMP-related prototypes to a new home.