]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
13 years agoBug 3502: client timeout uses server-side read_timeout, not request_timeout
HONDA Hirofumi [Tue, 28 Feb 2012 17:52:21 +0000 (10:52 -0700)] 
Bug 3502: client timeout uses server-side read_timeout, not request_timeout

I have also adjusted request_timeout description in squid.conf to clarify that
request_timeout applies to receiving complete HTTP request headers and not
just the first header byte. We reset the connection timeout to
clientLifetimeTimeout after parsing request headers.

https_port was correctly using Config.Timeout.request already.

13 years agoLanguage: hu updates
Gergely [Tue, 28 Feb 2012 11:06:07 +0000 (00:06 +1300)] 
Language: hu updates

13 years agoMade idnsSendSlaveAAAAQuery() debug label differ from that of idnsALookup().
Alex Rousskov [Tue, 28 Feb 2012 01:34:35 +0000 (18:34 -0700)] 
Made idnsSendSlaveAAAAQuery() debug label differ from that of idnsALookup().

13 years agoBug 3497: Bad ssl_crtd db size file causes infinite loop.
Guy Helmer [Tue, 28 Feb 2012 00:22:38 +0000 (17:22 -0700)] 
Bug 3497: Bad ssl_crtd db size file causes infinite loop.

The db size file may become empty when Squid runs out of disk space. Ignoring
db size reading errors led to bogus db sizes used as looping condition. This
fix honors reading errors and also terminates the loop when no more
certificates can be removed. Both errors and removal failure are fatal to
ssl_crtd.

A positive side-effect of this fix is one less call to the relatively
expensive file-reading size()/readSize() methods under normal conditions.

I also removed "minimum db size" check because it did not seem to be in sync
with other ssl_crtd parameters such as fs block size and because its overall
purpose was unclear. The check was also removed by the original bug reporter.

TODO: Remaining problems include: ssl_crtd should not exit just because it
cannot write something to disk. A proper reporting/debugging API is missing.

13 years agoLog '-' on requests with no Referer or User-Agent headers
Amos Jeffries [Mon, 27 Feb 2012 10:03:03 +0000 (03:03 -0700)] 
Log '-' on requests with no Referer or User-Agent headers

This data is actually meaningful for the analysis of client behaviour.

squid-dev have agreed that it is worth removing the old log behaviour of
omitting these entries.

13 years agoBug 3490: Crash writing Apache Common logs
Amos Jeffries [Mon, 27 Feb 2012 09:57:02 +0000 (02:57 -0700)] 
Bug 3490: Crash writing Apache Common logs

13 years agoLanguage: hu updates
Gergely [Sun, 26 Feb 2012 11:05:56 +0000 (00:05 +1300)] 
Language: hu updates

13 years agoLanguage: hu updates
Gergely [Sun, 26 Feb 2012 05:05:39 +0000 (18:05 +1300)] 
Language: hu updates

13 years agoLanguage: hu updates
Gergely [Sat, 25 Feb 2012 23:06:00 +0000 (12:06 +1300)] 
Language: hu updates

13 years agoLanguage: hu updates
Gergely [Sat, 25 Feb 2012 17:05:50 +0000 (06:05 +1300)] 
Language: hu updates

13 years agoLanguage: en updates
Amos [Fri, 24 Feb 2012 17:06:43 +0000 (06:06 +1300)] 
Language: en updates

13 years agoLanguage: en updates
Amos [Fri, 24 Feb 2012 17:05:43 +0000 (06:05 +1300)] 
Language: en updates

13 years agoLanguage: fr updates
Bernard [Thu, 23 Feb 2012 23:06:10 +0000 (12:06 +1300)] 
Language: fr updates

13 years agoFix IPv6 site-local IP detection
Amos Jeffries [Tue, 21 Feb 2012 09:59:51 +0000 (22:59 +1300)] 
Fix IPv6 site-local IP detection

RFC 4193 the site-local allocated range is fc00::/7.

Squid has been using IN6_IS_ADDR_SITELOCAL() but it turns out Linux and
OpenBSD at least still define that to test for the long obsolete fec0::/10.

13 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 21 Feb 2012 02:00:15 +0000 (19:00 -0700)] 
SourceFormat Enforcement

13 years agoRetry requests that failed due to a persistent connection race
Alex Rousskov [Mon, 20 Feb 2012 19:10:54 +0000 (12:10 -0700)] 
Retry requests that failed due to a persistent connection race
instead of replying with ERR_ZERO_SIZE_OBJECT "Bad Gateway".

The ERR_ZERO_SIZE_OBJECT errors were visible to the client when the
destination had only one address because serverDestinations.shift()
made the list of destination empty and startConnectionOrFail() failed.

When FwdState starts to use a pinned connection, the connection is treated as
an idle persistent connection as far as race detection is concerned.
Currently, pinned connections cannot be reopened, repinned, and retried after
a pconn race. This will change when server-side bumped connections become
pinned.

It felt wrong that a failed serverConn may remain set while we are opening a
new connection so I set it to NULL after a squid-dev discussion indicating
that doing so should be safe.

We also now reset the local port number to zero in case it was set to the
actual source port by ConnOpener or other code working with the previous
connection to the same serverDestinations[0] address, although simple tests
worked (and showed changing source port) without this reset.

13 years agoBug fix: sslpassword_program for ssl-bump http ports
Christos Tsantilas [Mon, 20 Feb 2012 18:07:29 +0000 (20:07 +0200)] 
Bug fix: sslpassword_program for ssl-bump http ports

Currently the sslpassword_program configuration parameter does not work
for encrypted certificate keys on ssl-bump enabled http ports, and user
always asked to give the SSL key password.

This patch fixes this problem.

This is a Measurement Factory project.

13 years agoBug 3490: Crash writing Referer/Username logs
Amos Jeffries [Mon, 20 Feb 2012 08:56:41 +0000 (01:56 -0700)] 
Bug 3490: Crash writing Referer/Username logs

13 years agoRFC 2518 obsoleted by RFC 4918
Amos Jeffries [Sat, 18 Feb 2012 02:03:38 +0000 (19:03 -0700)] 
RFC 2518 obsoleted by RFC 4918

13 years agoSupport CoAP-over-HTTP
Amos Jeffries [Fri, 17 Feb 2012 09:01:51 +0000 (02:01 -0700)] 
Support CoAP-over-HTTP

Make Squid happy with HTTP requests using coap:// and coaps:// URI.

No gateway or other interaction with CoAP is enabled by this patch.

13 years agoBug 3324: loadFromFile: parse error while reading template file
Alex Rousskov [Thu, 16 Feb 2012 04:23:15 +0000 (21:23 -0700)] 
Bug 3324: loadFromFile: parse error while reading template file

Do not store and later use a pointer to a temporary String buffer.
HttpHeader::getByName() returns a temporary String.

13 years agoTranslation: add basic_getpwnam_auth manual
Amos Jeffries [Tue, 14 Feb 2012 05:26:50 +0000 (18:26 +1300)] 
Translation: add basic_getpwnam_auth manual

13 years agoDrop redundant fde.h include
Amos Jeffries [Tue, 14 Feb 2012 05:20:16 +0000 (18:20 +1300)] 
Drop redundant fde.h include

13 years agoFix CommIO missing includes
Amos Jeffries [Sun, 12 Feb 2012 13:15:51 +0000 (06:15 -0700)] 
Fix CommIO missing includes

13 years agoDrop old keep-alive hack for Netscape
Amos Jeffries [Fri, 10 Feb 2012 03:30:02 +0000 (20:30 -0700)] 
Drop old keep-alive hack for Netscape

13 years agoDo not cache partially loaded entries in shared mem cache (and then serve them)
Alex Rousskov [Fri, 10 Feb 2012 00:32:44 +0000 (17:32 -0700)] 
Do not cache partially loaded entries in shared mem cache (and then serve them)

When handling a conditional request, Squid may load the beginning of a cached
object from disk, realize that the client has the same fresh copy, and respond
with 304 Not Modified. After that, Squid was checking whether the partially
loaded object should be kept in shared memory cache (if enabled). There were
no checks preventing memory caching of the partially loaded object.

Later, partially cached objects were served to clients, resulting in truncated
responses. I believe this happens because shared memory cache does not keep
all the StoreEntry data (just like a disk cache does not do that) so the fact
that only a part of the object was available was lost.

13 years agoDo not swap out swapped out objects.
Alex Rousskov [Fri, 10 Feb 2012 00:01:17 +0000 (17:01 -0700)] 
Do not swap out swapped out objects.

I noticed that sometimes Squid would start swapping out an entry that was
recently loaded from disk and was still on disk. That wastes disk
resources (at best).

The old StoreEntry::mayStartSwapOut() code assumed that when swap_status is
not SWAPOUT_NONE it is SWAPOUT_WRITING, but SWAPOUT_WRITING is impossible
after recent StoreEntry::swapOut() modifications because mayStartSwapOut() is
only called when we are not swappingOut() already. SWAPOUT_DONE is possible.

13 years agoDrop dead code in reply parsing
Amos Jeffries [Thu, 9 Feb 2012 13:27:51 +0000 (06:27 -0700)] 
Drop dead code in reply parsing

This code has not been used/needed in some time. It can die.

It is also no clear why it existed in the first place. The RFC is not
mentioned by number and RFC 2068/2616 only talk about tolerance for
whitespace before request lines, not replies.

13 years agoBug 3490: part 1: SegFault opening FTP active data connections
Amos Jeffries [Wed, 8 Feb 2012 22:55:23 +0000 (11:55 +1300)] 
Bug 3490: part 1: SegFault opening FTP active data connections

13 years agoLanguage: zh_TW updates
Anonymous Pootle User [Mon, 6 Feb 2012 17:13:38 +0000 (06:13 +1300)] 
Language: zh_TW updates

13 years agoLanguage: zh_CN updates
Anonymous Pootle User [Mon, 6 Feb 2012 17:12:01 +0000 (06:12 +1300)] 
Language: zh_CN updates

13 years agoLanguage: uk updates
Anonymous Pootle User [Mon, 6 Feb 2012 17:10:31 +0000 (06:10 +1300)] 
Language: uk updates

13 years agoLanguage: tr updates
Anonymous Pootle User [Mon, 6 Feb 2012 17:08:53 +0000 (06:08 +1300)] 
Language: tr updates

13 years agoLanguage: sv updates
Anonymous Pootle User [Mon, 6 Feb 2012 17:07:14 +0000 (06:07 +1300)] 
Language: sv updates

13 years agoLanguage: sr_LT updates
Bratislav [Mon, 6 Feb 2012 17:05:52 +0000 (06:05 +1300)] 
Language: sr_LT updates

13 years agoLanguage: sl updates
Aleksa [Mon, 6 Feb 2012 11:57:57 +0000 (00:57 +1300)] 
Language: sl updates

13 years agoLanguage: sk updates
helix84 [Mon, 6 Feb 2012 11:56:50 +0000 (00:56 +1300)] 
Language: sk updates

13 years agoLanguage: ru updates
Amos [Mon, 6 Feb 2012 11:55:20 +0000 (00:55 +1300)] 
Language: ru updates

13 years agoLanguage: ro updates
Arthur [Mon, 6 Feb 2012 11:53:56 +0000 (00:53 +1300)] 
Language: ro updates

13 years agoLanguage: pt updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:52:36 +0000 (00:52 +1300)] 
Language: pt updates

13 years agoLanguage: pt_BR updates
Amos [Mon, 6 Feb 2012 11:51:11 +0000 (00:51 +1300)] 
Language: pt_BR updates

13 years agoLanguage: pl updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:49:50 +0000 (00:49 +1300)] 
Language: pl updates

13 years agoLanguage: nl updates
Amos [Mon, 6 Feb 2012 11:48:35 +0000 (00:48 +1300)] 
Language: nl updates

13 years agoLanguage: lt updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:47:21 +0000 (00:47 +1300)] 
Language: lt updates

13 years agoLanguage: ko updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:45:24 +0000 (00:45 +1300)] 
Language: ko updates

13 years agoLanguage: ja updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:43:59 +0000 (00:43 +1300)] 
Language: ja updates

13 years agoLanguage: it updates
Francesco [Mon, 6 Feb 2012 11:42:23 +0000 (00:42 +1300)] 
Language: it updates

13 years agoLanguage: hy updates
Arthur [Mon, 6 Feb 2012 11:40:54 +0000 (00:40 +1300)] 
Language: hy updates

13 years agoLanguage: hu updates
Amos [Mon, 6 Feb 2012 11:39:28 +0000 (00:39 +1300)] 
Language: hu updates

13 years agoLanguage: he updates
Administrator [Mon, 6 Feb 2012 11:37:42 +0000 (00:37 +1300)] 
Language: he updates

13 years agoLanguage: fr updates
Bernard [Mon, 6 Feb 2012 11:36:07 +0000 (00:36 +1300)] 
Language: fr updates

13 years agoLanguage: fi updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:34:45 +0000 (00:34 +1300)] 
Language: fi updates

13 years agoLanguage: et updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:33:22 +0000 (00:33 +1300)] 
Language: et updates

13 years agoLanguage: es updates
Amos [Mon, 6 Feb 2012 11:32:00 +0000 (00:32 +1300)] 
Language: es updates

13 years agoLanguage: en updates
Amos [Mon, 6 Feb 2012 11:29:58 +0000 (00:29 +1300)] 
Language: en updates

13 years agoLanguage: el updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:27:07 +0000 (00:27 +1300)] 
Language: el updates

13 years agoLanguage: de updates
Robert [Mon, 6 Feb 2012 11:25:39 +0000 (00:25 +1300)] 
Language: de updates

13 years agoLanguage: da updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:23:50 +0000 (00:23 +1300)] 
Language: da updates

13 years agoLanguage: cs updates
Amos [Mon, 6 Feb 2012 11:22:19 +0000 (00:22 +1300)] 
Language: cs updates

13 years agoLanguage: ca updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:21:00 +0000 (00:21 +1300)] 
Language: ca updates

13 years agoLanguage: bg updates
Evgeni [Mon, 6 Feb 2012 11:19:46 +0000 (00:19 +1300)] 
Language: bg updates

13 years agoLanguage: az updates
Anonymous Pootle User [Mon, 6 Feb 2012 11:18:42 +0000 (00:18 +1300)] 
Language: az updates

13 years agoLanguage: en updates
Amos [Mon, 6 Feb 2012 11:17:18 +0000 (00:17 +1300)] 
Language: en updates

13 years agoLanguage: en updates
Amos [Mon, 6 Feb 2012 11:15:52 +0000 (00:15 +1300)] 
Language: en updates

13 years agoTranslation POT update
Amos Jeffries [Mon, 6 Feb 2012 05:46:00 +0000 (18:46 +1300)] 
Translation POT update

13 years agoAdd debugs for NTLM domain decode errors
Amos Jeffries [Mon, 6 Feb 2012 05:36:30 +0000 (18:36 +1300)] 
Add debugs for NTLM domain decode errors

13 years agoSourceFormat Enforcement
Automatic source maintenance [Mon, 6 Feb 2012 01:21:18 +0000 (18:21 -0700)] 
SourceFormat Enforcement

13 years agoSourceLayout: shuffle CommIO into DiskThreads library
Amos Jeffries [Mon, 6 Feb 2012 01:01:23 +0000 (18:01 -0700)] 
SourceLayout: shuffle CommIO into DiskThreads library

While investigating the Windows port problems it became clear that the
CommIO object is not actually related to the rest of comm systems. It is
instead a dedicated higher level disk I/O pipe manager for DiskThreads.

Given that it causes build errors in comm.cc on Windows and does not
even need to be there this patch shuffles it into the DiskThreads
library. The build issues on Windows still exist but are now limited to
just that threads library and can be avoided temporarily with simple
./configure options.

13 years agoPrep for 3.1.19 and 3.2.0.15
Amos Jeffries [Sun, 5 Feb 2012 11:27:18 +0000 (04:27 -0700)] 
Prep for 3.1.19 and 3.2.0.15

13 years agoSilence messages about MGR_INDEX when not installed
Amos Jeffries [Sun, 5 Feb 2012 11:24:07 +0000 (04:24 -0700)] 
Silence messages about MGR_INDEX when not installed

13 years agoBug 3441: part 2: Prevent further cache size corruption of swap.state
Alex Rousskov [Sun, 5 Feb 2012 07:29:09 +0000 (00:29 -0700)] 
Bug 3441: part 2: Prevent further cache size corruption of swap.state

13 years agoFixed debugging line: "<<" has higher precedence than "?:".
Alex Rousskov [Fri, 3 Feb 2012 23:45:11 +0000 (16:45 -0700)] 
Fixed debugging line: "<<" has higher precedence than "?:".

13 years agoBug 3478: pt1: Host verify catching dynamic CDN hosted sites
Amos Jeffries [Fri, 3 Feb 2012 04:07:36 +0000 (21:07 -0700)] 
Bug 3478: pt1: Host verify catching dynamic CDN hosted sites

This add a bit more leniency to the Host: header validation without
re-opening Squid to the cache poisoning risks involved.Resolving most
issues with websites using geo-based DNS results and/or short DNS TTL for
load balancing.

It alters host_verify_strict directive to allow requests which fail Host:
validation to continue through processing. The default remains OFF.

* blocks caching on the response to protect all other network clients
  against one compromised client spreading infections.

* forces the original (untrusted) destination IP to be used instead of
  any alternative Squid might find. Preventing Squid or peer DNS lookup
  being the point of vulnerability for the same-origin bypass. For any
  client to be vulnerable it must be vulnerable inside the browser agent
  where the original TCP connection is established.

Also add a new error template ERR_CONFLICT_HOST to replace the confusing
"invalid request" message with a clear explanation of the problem and
some client workarounds.

FUTURE WORK:
* adapt processing to allow these requests to safely be passed to peers.
* adapt caching to permit safe sharing between clients making identical
  requests to same sources.

13 years agoLanguage: fr updates
Bernard [Thu, 2 Feb 2012 17:06:03 +0000 (06:06 +1300)] 
Language: fr updates

13 years agoLanguage: bg updates
Evgeni [Thu, 2 Feb 2012 02:31:25 +0000 (15:31 +1300)] 
Language: bg updates

13 years agoLanguage: fr updates
Bernard [Thu, 2 Feb 2012 01:59:00 +0000 (14:59 +1300)] 
Language: fr updates

13 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 31 Jan 2012 01:57:05 +0000 (18:57 -0700)] 
SourceFormat Enforcement

13 years agoUse -2 instead of -1 as the minimum sane time in swap.state entries
Alex Rousskov [Mon, 30 Jan 2012 17:57:54 +0000 (10:57 -0700)] 
Use -2 instead of -1 as the minimum sane time in swap.state entries
because StoreSwapLogData::expires documentation says it sometimes uses -2.

13 years agoBug 3441: Part 1: Minimize cache size corruption by malformed swap.state.
Alex Rousskov [Mon, 30 Jan 2012 17:13:52 +0000 (10:13 -0700)] 
Bug 3441: Part 1: Minimize cache size corruption by malformed swap.state.

If swap.state gets corrupted, a single entry with bogus size value will screw
up Squid idea of the current cache size. A newly added StoreSwapLogData sane()
method attempts to minimize the chance of corruption by ignoring log entries
with obviously bogus values.

However, without expensive size checks (-S or "Does the log entry matches the
actual cache file size?"), it is not possible to reliably detect all bogus log
entries.

If Squid gets a wrong idea of the current cache size, it may either cache too
much (and possibly run out of space) OR delete everything.

13 years agoBug 3268: remove wrong 'Ready to serve requests.' message
Amos Jeffries [Fri, 27 Jan 2012 13:41:01 +0000 (06:41 -0700)] 
Bug 3268: remove wrong 'Ready to serve requests.' message

13 years agoDNs changes obsoleted dns_v4_fallback
Amos Jeffries [Fri, 27 Jan 2012 12:45:06 +0000 (05:45 -0700)] 
DNs changes obsoleted dns_v4_fallback

13 years agoRestor mgr: default menu display
Amos Jeffries [Fri, 27 Jan 2012 12:28:26 +0000 (05:28 -0700)] 
Restor mgr: default menu display

13 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 27 Jan 2012 01:19:11 +0000 (18:19 -0700)] 
SourceFormat Enforcement

13 years agoBug 3449: shm_open failed (part 4: fixing memory_cache_shared defaults)
Alex Rousskov [Thu, 26 Jan 2012 14:52:35 +0000 (07:52 -0700)] 
Bug 3449: shm_open failed (part 4: fixing memory_cache_shared defaults)

Properly initialize memory_cache_shared when not explicitly configured and
do not allocate shared memory segments if memory_cache_shared is off.

Prior to this change, shared memory was requested (during rrClaimMemoryNeeds)
before memory_cache_shared was initialized (during rrAfterConfig, unless
explicitly set in squid.conf). Moreover, MemStore::EntryLimit() calculation
ignored memory_cache_shared setting. All that resulted in an attempt to create
shared memory segments where none were needed or possible.

We now have a new Runners Registry (rrFinalizeConfig) that is dedicated to
finalizing complex configuration options, before those configurations options
are used to initialize modules, features, and services. As far as shared
memory is concerned, the initialization order is now:

  * rrFinalizeConfig: finalize memory_cache_shared if needed
  * rrClaimMemoryNeeds: request shared memory pages for the caches
  * rrAfterConfig: create shared memory segments

The same bug 3449 also needed a fix for shared segment paths (trunk r11961).

13 years agoBug 3268: Squid cannot do anything else during ufs/diskd rebuild
Alex Rousskov [Thu, 26 Jan 2012 04:51:21 +0000 (21:51 -0700)] 
Bug 3268: Squid cannot do anything else during ufs/diskd rebuild

Replaced 50-entries/step UFS rebuild logic with 50msec/step logic,
while also ensuring that other events can be processed between steps.

During a swap.state rebuild, progress reporting will now happen
every 4000 entries instead of every 0xFFF entries because humans do not
think in hex. Still no progress reporting for dirty rebuilds based on the
cache directory scans.

The code is based on Rock Store rebuild code. Eventually, the common rebuild
pacing logic among all stores should be merged to avoid code duplication.

Also removed RebuildState::next methods as unused. A copy-paste error?

13 years agoRenamed squid.h to squid-old.h and config.h to squid.h.
Francesco Chemolli [Sun, 22 Jan 2012 14:15:59 +0000 (15:15 +0100)] 
Renamed squid.h to squid-old.h and config.h to squid.h.

13 years agoFixed source-maintenance.sh
Francesco Chemolli [Sun, 22 Jan 2012 13:45:40 +0000 (14:45 +0100)] 
Fixed source-maintenance.sh

Updated guard against checking squid-old.h
Prevented checking libTrie as it uses its own config.h

13 years agoFixed typo in documentation.
Francesco Chemolli [Sun, 22 Jan 2012 11:12:00 +0000 (12:12 +0100)] 
Fixed typo in documentation.

13 years agoDisable OpenSSL SSL/TLS bug workarounds by default
Henrik Nordstrom [Sat, 21 Jan 2012 23:04:54 +0000 (00:04 +0100)] 
Disable OpenSSL SSL/TLS bug workarounds by default

On a closer inspection the set of "harmless" SSL/TLS bug workarounds
set by SSL_OP_ALL is not all of them harmless and reduces the SSL/TLS
strength to some attacks.

To revert to the older mode the ALL option can be set explicitly, but
it's better to understand which bug is encountered and enable only that
specific workaround if needed.

13 years agoRemoved some mentions of squid-old from the documentation.
Francesco Chemolli [Sat, 21 Jan 2012 17:11:05 +0000 (18:11 +0100)] 
Removed some mentions of squid-old from the documentation.

13 years agoSmall fixes.
Francesco Chemolli [Sat, 21 Jan 2012 17:06:38 +0000 (18:06 +0100)] 
Small fixes.

13 years agoFixed comment in source-maintenance.sh
Francesco Chemolli [Sat, 21 Jan 2012 08:08:51 +0000 (09:08 +0100)] 
Fixed comment in source-maintenance.sh

13 years agoClarified and corrected documentation.
Francesco Chemolli [Sat, 21 Jan 2012 08:06:33 +0000 (09:06 +0100)] 
Clarified and corrected documentation.

13 years agoDo not add HTTP 110 and 111 Warnings to TCP_REFRESH_UNMODIFIED responses.
Alex Rousskov [Fri, 20 Jan 2012 23:28:14 +0000 (16:28 -0700)] 
Do not add HTTP 110 and 111 Warnings to TCP_REFRESH_UNMODIFIED responses.

The old "stale if hit" logic did not account for cases where the stored stale
response became fresh due to a successful revalidation with the origin server.
When the stored response was stale at the time of the request, we were adding
110 "Response is stale" and even 111 "Revalidation failed" Warning headers to
responses while logging TCP_REFRESH_UNMODIFIED, which is considered a hit.

13 years agoRenamed squid.h to squid-old.h and config.h to squid.h
Francesco Chemolli [Fri, 20 Jan 2012 18:55:04 +0000 (19:55 +0100)] 
Renamed squid.h to squid-old.h and config.h to squid.h

13 years agoRemove unnecessary stub_tools dependency on String
Francesco Chemolli [Fri, 20 Jan 2012 15:59:58 +0000 (16:59 +0100)] 
Remove unnecessary stub_tools dependency on String

13 years agoSourceFormat Enforcement
Automatic source maintenance [Fri, 20 Jan 2012 01:42:50 +0000 (18:42 -0700)] 
SourceFormat Enforcement

13 years agoMerge from StatHist refactor.
Francesco Chemolli [Thu, 19 Jan 2012 20:08:53 +0000 (21:08 +0100)] 
Merge from StatHist refactor.

Added StatHist unit tests, and moved algorithm consistency checks there.
Expanded storage for histograms to 64bit unsigned.
Inlined StatHist constructor, destructor and assignment operator.
Implemented stubs for StatHist.cc and mem.cc

13 years agoGCC 4.7 fix
Jiri Skala [Tue, 17 Jan 2012 19:36:40 +0000 (20:36 +0100)] 
GCC 4.7 fix

13 years agoSourceFormat Enforcement
Automatic source maintenance [Tue, 17 Jan 2012 01:39:21 +0000 (18:39 -0700)] 
SourceFormat Enforcement