]>
git.ipfire.org Git - thirdparty/squid.git/log
Francesco Chemolli [Mon, 24 Sep 2012 19:34:52 +0000 (21:34 +0200)]
Merged from trunk
Francesco Chemolli [Mon, 24 Sep 2012 19:27:10 +0000 (21:27 +0200)]
moved dread_ctrl to disk.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
Francesco Chemolli [Sun, 23 Sep 2012 15:11:29 +0000 (17:11 +0200)]
added missing include
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
Francesco Chemolli [Sun, 23 Sep 2012 09:41:29 +0000 (11:41 +0200)]
Removed unused close_handler type and conn_close_pool
Francesco Chemolli [Sun, 23 Sep 2012 09:04:21 +0000 (11:04 +0200)]
Removed now-useless inclusions of structs.h in various places.
Francesco Chemolli [Sat, 22 Sep 2012 20:07:31 +0000 (22:07 +0200)]
Remved cruft from structs.h
Francesco Chemolli [Sat, 22 Sep 2012 18:46:52 +0000 (20:46 +0200)]
Make IPC base path absolute in testRock
Francesco Chemolli [Sat, 22 Sep 2012 15:07:57 +0000 (17:07 +0200)]
renamed snmp_request_t to SnmpRequest and moved to own header
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.
Francesco Chemolli [Sat, 22 Sep 2012 13:26:23 +0000 (15:26 +0200)]
renamed domain_ping to CachePeerDomainList and moved to own header file
Francesco Chemolli [Sat, 22 Sep 2012 13:04:26 +0000 (15:04 +0200)]
Renamed neighbor_type to NeighborTypeDomainList and moved to own header.
Francesco Chemolli [Sat, 22 Sep 2012 10:56:48 +0000 (12:56 +0200)]
Merged from trunk
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.
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.
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.
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)
Francesco Chemolli [Fri, 21 Sep 2012 13:27:44 +0000 (15:27 +0200)]
Added some class documentation.
Removed explicit "extern" markers from some functions
Francesco Chemolli [Fri, 21 Sep 2012 09:49:04 +0000 (11:49 +0200)]
Removed some unnecessary includes.
Alex Rousskov [Fri, 21 Sep 2012 06:11:10 +0000 (18:11 +1200)]
Bug 3647: parsing hier_code acl fails
Francesco Chemolli [Thu, 20 Sep 2012 16:36:22 +0000 (18:36 +0200)]
Reworked a few includes, changed some linkages.
Francesco Chemolli [Thu, 20 Sep 2012 13:05:01 +0000 (15:05 +0200)]
Shuffled some includes
Changed some linkage to c++
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++)
Francesco Chemolli [Thu, 20 Sep 2012 09:13:58 +0000 (11:13 +0200)]
Removed/reworked some header inclusions.
Francesco Chemolli [Wed, 19 Sep 2012 17:16:56 +0000 (19:16 +0200)]
Improved documentation and standardized names for RequestFlags
Francesco Chemolli [Wed, 19 Sep 2012 09:24:34 +0000 (11:24 +0200)]
Fixed leftover issues with reverting RequestFlags getters/setters.
Francesco Chemolli [Tue, 18 Sep 2012 21:33:54 +0000 (23:33 +0200)]
removed all RequestFlags setters/getters except for doneXff
Francesco Chemolli [Tue, 18 Sep 2012 21:05:32 +0000 (23:05 +0200)]
Reverted most RequestFlags getters/setters
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
Francesco Chemolli [Tue, 18 Sep 2012 14:06:31 +0000 (16:06 +0200)]
Renamed CacheMgrPasswd to Mgr::ActionPasswordList
Francesco Chemolli [Tue, 18 Sep 2012 12:54:44 +0000 (14:54 +0200)]
Fixed class indentation
Francesco Chemolli [Tue, 18 Sep 2012 12:37:07 +0000 (14:37 +0200)]
Removed duplicate empty lines
Francesco Chemolli [Mon, 17 Sep 2012 18:03:06 +0000 (20:03 +0200)]
Moved netdbEntry classes to icmp/net_db.h
Francesco Chemolli [Mon, 17 Sep 2012 15:12:01 +0000 (17:12 +0200)]
renamed class iostats to IoStats, moved to own header file.
Francesco Chemolli [Mon, 17 Sep 2012 13:31:37 +0000 (15:31 +0200)]
Fixed missing debug sections declarations
Francesco Chemolli [Fri, 14 Sep 2012 11:50:29 +0000 (13:50 +0200)]
Partially reverted XFF preprocessor conditional code.
Francesco Chemolli [Fri, 14 Sep 2012 11:35:12 +0000 (13:35 +0200)]
Reverted XFF unhiding changes
Francesco Chemolli [Fri, 14 Sep 2012 10:54:03 +0000 (12:54 +0200)]
Made more follow_xff members visible
Francesco Chemolli [Fri, 14 Sep 2012 09:55:21 +0000 (11:55 +0200)]
More XFF unhiding.i
Francesco Chemolli [Fri, 14 Sep 2012 08:41:53 +0000 (10:41 +0200)]
Make SquidConfig::followXFF unconditional
Automatic source maintenance [Fri, 14 Sep 2012 00:13:20 +0000 (18:13 -0600)]
SourceFormat Enforcement
Francesco Chemolli [Thu, 13 Sep 2012 16:22:07 +0000 (18:22 +0200)]
Merged in typedefs refactor work
Francesco Chemolli [Thu, 13 Sep 2012 16:21:30 +0000 (18:21 +0200)]
Merged from trunk
Francesco Chemolli [Thu, 13 Sep 2012 16:20:41 +0000 (18:20 +0200)]
Finished implementing getters/setters for RequestFlags
Francesco Chemolli [Thu, 13 Sep 2012 11:41:03 +0000 (13:41 +0200)]
Merged from trunk
Francesco Chemolli [Thu, 13 Sep 2012 11:40:32 +0000 (13:40 +0200)]
more RequestFlags getters/setters
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++
Francesco Chemolli [Thu, 13 Sep 2012 06:56:05 +0000 (08:56 +0200)]
Merged from trunk
Francesco Chemolli [Wed, 12 Sep 2012 17:52:37 +0000 (19:52 +0200)]
More RequestFlags getters/setters
Francesco Chemolli [Wed, 12 Sep 2012 17:01:17 +0000 (19:01 +0200)]
More RequestFlags getters/setters.
Francesco Chemolli [Wed, 12 Sep 2012 16:06:56 +0000 (18:06 +0200)]
Implemented more RequestFlags getters/setters
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
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.
Francesco Chemolli [Tue, 11 Sep 2012 15:11:33 +0000 (17:11 +0200)]
Refactored some RequestFlags with getters and setters.
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.
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.
Francesco Chemolli [Mon, 10 Sep 2012 18:45:23 +0000 (20:45 +0200)]
More RequestFlags getters/setters
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
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.
Francesco Chemolli [Mon, 10 Sep 2012 09:44:06 +0000 (11:44 +0200)]
renamed cachemgr_passwd to CacheMgrPasswd and moved to own header.
Francesco Chemolli [Mon, 10 Sep 2012 07:59:18 +0000 (09:59 +0200)]
renamed refresh_t to RefreshPattern and moved to own header file.
Francesco Chemolli [Sun, 9 Sep 2012 19:41:47 +0000 (21:41 +0200)]
Merged from trunk
Francesco Chemolli [Sun, 9 Sep 2012 17:13:42 +0000 (19:13 +0200)]
Merged from trunk
Francesco Chemolli [Thu, 6 Sep 2012 14:48:49 +0000 (16:48 +0200)]
Moved CacheDigest class to CacheDigest.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
Francesco Chemolli [Thu, 6 Sep 2012 13:29:14 +0000 (15:29 +0200)]
Moved CustomLog to own header and implementation files.
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
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
Francesco Chemolli [Thu, 6 Sep 2012 11:56:46 +0000 (13:56 +0200)]
Renamed relist to RegexList, moved to own header and implementation file.
Francesco Chemolli [Thu, 6 Sep 2012 11:44:54 +0000 (13:44 +0200)]
Added missing reference in Makefile.am
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/
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
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/
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/
Francesco Chemolli [Wed, 5 Sep 2012 09:41:45 +0000 (11:41 +0200)]
Added some missing includes
Francesco Chemolli [Tue, 4 Sep 2012 15:15:51 +0000 (17:15 +0200)]
Moved CachePeer to own header file.
Francesco Chemolli [Tue, 4 Sep 2012 14:38:44 +0000 (16:38 +0200)]
Renamed struct peer to class CachePeer.
Francesco Chemolli [Tue, 4 Sep 2012 13:09:04 +0000 (15:09 +0200)]
Moved HttpHeaderFieldInfo to own header file.
Francesco Chemolli [Tue, 4 Sep 2012 11:58:36 +0000 (13:58 +0200)]
Moved HttpHeaderFieldStat to own header file.
Francesco Chemolli [Tue, 4 Sep 2012 11:26:41 +0000 (13:26 +0200)]
Moved SquidConfig2 class to SquidConfig.h
Francesco Chemolli [Tue, 4 Sep 2012 11:13:13 +0000 (13:13 +0200)]
Moved YesNoNone to own header and implementation file.
Francesco Chemolli [Tue, 4 Sep 2012 09:10:20 +0000 (11:10 +0200)]
Moved SquidConfig definition from structs.h to own header file.
Francesco Chemolli [Mon, 3 Sep 2012 09:02:20 +0000 (11:02 +0200)]
Removed duplicate empty lines.
Francesco Chemolli [Mon, 3 Sep 2012 08:58:40 +0000 (10:58 +0200)]
Removed Debug.h inclusion in include/Range.h, added it elsewhere.
Francesco Chemolli [Mon, 3 Sep 2012 08:44:53 +0000 (10:44 +0200)]
Protos.h doesn't need to reference any external includes anymore.
Francesco Chemolli [Mon, 3 Sep 2012 08:42:58 +0000 (10:42 +0200)]
Removed some stale comments.
Francesco Chemolli [Mon, 3 Sep 2012 07:16:45 +0000 (09:16 +0200)]
Merged from trunk
Amos Jeffries [Sun, 2 Sep 2012 10:23:59 +0000 (04:23 -0600)]
Release Notes: document ECN vs TOS issue clearer for 3.1
Francesco Chemolli [Sat, 1 Sep 2012 21:00:18 +0000 (23:00 +0200)]
Changed some structs to classes.
Francesco Chemolli [Sat, 1 Sep 2012 20:23:30 +0000 (22:23 +0200)]
Removed useless struct ushortlist
turned some structs into classes
Francesco Chemolli [Sat, 1 Sep 2012 14:42:17 +0000 (16:42 +0200)]
Removed gnu-arch file-tags
Francesco Chemolli [Sat, 1 Sep 2012 14:38:36 +0000 (16:38 +0200)]
Removed CVS $ markers
Francesco Chemolli [Sat, 1 Sep 2012 14:24:50 +0000 (16:24 +0200)]
Moved windows-related prototypes to new win32.h header file.
Francesco Chemolli [Sat, 1 Sep 2012 10:40:00 +0000 (12:40 +0200)]
Moved Win32-service specific prototypes to own header
Francesco Chemolli [Sat, 1 Sep 2012 08:17:17 +0000 (10:17 +0200)]
reverted kerberos-related functrions to C linkage
Francesco Chemolli [Sat, 1 Sep 2012 07:52:25 +0000 (09:52 +0200)]
Fixed linkage convention mismatch in peer_proxy_negotiate_auth.cc
Francesco Chemolli [Fri, 31 Aug 2012 16:57:39 +0000 (18:57 +0200)]
Removed inclusion of protos.h from most clients.
Francesco Chemolli [Fri, 31 Aug 2012 16:28:10 +0000 (18:28 +0200)]
Moved Auth::Init to new specific header file.i
Francesco Chemolli [Fri, 31 Aug 2012 15:45:51 +0000 (17:45 +0200)]
Moved SNMP-related prototypes to a new home.