robertc [Fri, 17 Oct 2003 03:40:16 +0000 (03:40 +0000)]
Move HierarchyLogEntry, all depended classes, and their dependents out of structs, assigning constructors. Ensure that ps_state objects created will use the constructor
Very minor bug:
missing storeBuffer() call before httpReplyPackHeadersInto() when
creating a base Vary object ("Internal marker object"). Bug does
not cause incorrect operation, only slightly inefficient for these
rare vary base objects.
Move aclCheckFast to ACLChecklist::fastCheck(), and adjust callers.
Move aclChecklistCreate into the ACLChecklist source.
Move the common code leading into matchAclList into the top of matchACLList.
From 2.5: Make SQUID_MAXFD always an multiple of 64 to guarantee there is no rounding
errors in bitfield arithmetics of the fd_set macros. For example GLIBC has
bugs causing a fd_set overflow if the size is not an even multiple of a
machie word (64 bits on 64 bit platforms)
From Reuben:
configure comments updates to remove Linux-2.4 dependency for Netfilter.
Netfilter is Linux-2.4+ and also Linux-2.2 with netfilter patch..
Implement placement new and placement delete for cbdata. Prevents history leaking memory, without needing ugly manual destruction etc.
Make cbdata::type typesafe.
Summary: Class cleanup - resulting from addressing a latent segfault.
Keywords:
Move httpMsgIsPersistent delcaration to HttpHeader
Rename http_version_t to HttpVersion, and make a class.
Remove httpBuildVersion - use HttpVersion constructor.
Move HttpVersion to it's own file.
Move HttpStatusLine to it's own file and make a class.
Move AccessLogEntry to it's own file, and make a class.
Remove memset() use against AccessLogEntry.
Remove unused prototypes from store_dir_coss.cc.
Fixup a couple of bugs in the new coss option parsing.
Bugfix debug options to allow debugging of the parser.
robertc [Sun, 31 Aug 2003 07:22:05 +0000 (07:22 +0000)]
Summary: Windows Merges - dup2 and debugging.
Keywords:
These are 2 residual Windows port merge patches:
- main.cc: On Windows signal() can't be used for debugging purpose: added
support for native debug
- comm.cc: On Windows dup2() can't work correctly on Sockets, the work
around is to close the destination socket before call them.
hno [Wed, 20 Aug 2003 23:44:55 +0000 (23:44 +0000)]
Remove the link to Glenns LDAP auth page.. It is no longer of interest to
users of this helper as the helper has evolved far beyond what it once looked
like, and also his page appears to be offline..
hno [Mon, 18 Aug 2003 18:24:45 +0000 (18:24 +0000)]
Non-intrusive but significant performance improvement when Squid is running
as a https reverse proxy (ssl enabled peers), allowing Squid to reuse the
same SSL session.
robertc [Sun, 17 Aug 2003 19:42:04 +0000 (19:42 +0000)]
Summary: gethostname definition on Solaris broken.
Keywords:
The C++ compiler detection seems to allow the native declarations of gethostname to function on Solaris. Copy that logic into protos.h so that we don't conflict, but still have our declaration should it be needed.
robertc [Sat, 16 Aug 2003 06:19:55 +0000 (06:19 +0000)]
Summary: Use SQUID_C[XX]FLAGS throughout configure.
Keywords:
Where we are setting defines etc. that are required to build squid correctly, set them via SQUID_C[XX]FLAGS, not C[XX]FLAGS, so that the user can override the user-related flags (i.e. optimisation / profiling / debugging) without breaking the squid build.
robertc [Fri, 15 Aug 2003 19:06:34 +0000 (19:06 +0000)]
Summary: Prevent pushing persistent connections with outstanding writes.
Keywords:
Adrians' recent post to squid-dev looks like it's triggered by persistent connections being pushed inappropriately... this change adds an assert if a persistent connection is pushed while a write is outstanding.
robertc [Thu, 14 Aug 2003 18:15:04 +0000 (18:15 +0000)]
Summary: Swallow request bodies even when denying access.
Keywords:
* Assert when destroying requests with body connections.
* Move ClientBody class definition to client_side.h
* Encapsulate comm_close calls from ClientSocketContext.
* When closing a client socket, if there is a body, swallow it.
* When swalling a request body, if the connection needs to close, do so.
hno [Thu, 14 Aug 2003 03:49:45 +0000 (03:49 +0000)]
Bug #718: accel with nonstandard cache_peer port uses standard port
The recent fix for vhost acceleration and persistent connections
confusing certain servers did a little bit too much, accidently using
the port of the URL rather than the cache_peer in case of origin class
peers.
The algorithm that calculates the timeout for a set of ICP
queries ignores multicast neighbors. It also ignores the
expected number of replies because "*exprep" is always set
equal to parent_exprep + sibling_exprep.
This patch adds multicast group counts to the expected number
of ICP replies. It also sets the query timeout to the
multicast peer rtt (x2) if there were no parents query. If
there are parents, the expected parents timeout is used.
robertc [Wed, 13 Aug 2003 06:17:24 +0000 (06:17 +0000)]
Summary: Add %<sS and %<sH to custom log formats.
Keywords:
Bugfix to access logging - the last request in a connection was racing with releasing of the store entry.
Add new high offset and available offset counters.
robertc [Mon, 11 Aug 2003 19:07:56 +0000 (19:07 +0000)]
Summary: Cachemgr page length - Guido.
Keywords:
Hi,
On Windows native port, cachemgr parses the squid output in TEXT mode, with
a wrong resultant Content-Length in html pages, see this thread for details: