Exit configure if we detect GCC 2.9x on FreeBSD because it causes
a coredump inside the debugs() macro, which uses the stringstream
class.
CVS ----------------------------------------------------------------------
Fixed the following on HP Tru64 and probably on some other 64 bit platforms:
- assert() must test logical expressions, not pointers
- STATUS define conflict in parse.c (snmplib)
- Warnings SMB, fakeauth and MSNT helpers
- Various debug() ==> debugs() changes
- Alpha asm access to CPU profiling info
- timezone should be long, not time_t
- Various clean of ESI code
- assert() definition problem in diskd.cc
Samba-2.X is declared unsupported by the Samba team. Remove the old
winbind helpers to reduce confusion. People wanting winbind integration
really should use Samba-3.X these days.
Forward port from 2.5 of updated Spanish error messages
- Translates errors/Spanish/ERR_INVALID_RESP to Spanish
- Replaces some ISO8859-1 characters by the preferred HTML code (i.e.
"á" for "á").
- Minor typos or style fixes.
- Unifies the gender of "cache".
- Unifies the spelling of "cache" in spanish.
The last two changes deserve an explanation. The word "cache" in the
sense of a "web cache" or "cache memory" has not been formally (i.e. by
the "Real Academia de la Lengua Española" (Royal Academy of the Spanish
Language)) incorporated into spanish, therefore there isn't a sanctioned
spelling of the word. Nevertheless, the word is widely used in spanish,
but with inconsistencies: it is found both as a masculine and femenine
noun (spanish has only two genders, there is no neuter (it) pronoun) and
with at least two spellings. After a brief survey of the web, I set on a
single gender and spelling and fixed those error messages that were
using different ones (by virtue of being translated by different
people).
serassio [Mon, 27 Jun 2005 00:51:20 +0000 (00:51 +0000)]
Bug #1308: squid -k reconfigure internal corruption if the type of a
cache_dir is changed
Failed to detect if the type of an existing cache_dir was changed,
calling the parser function of the new type with the internal data of
the existing one..
This patch detects this and logs to cache.log (and the console) that a
restart is required.
serassio [Fri, 3 Jun 2005 21:24:14 +0000 (21:24 +0000)]
Bug #1244: Squid-3.0 compilation problems with gcc-4.0
This patch fixes inlining optimization problems with gcc4.
For some functions (peerDigestSwapInHeaders(),
peerDigestSwapInCBlock() and peerDigestSwapInMask()) is not
possible any workaround without big changes, so the function
scope must be changed from static to global.
serassio [Fri, 3 Jun 2005 21:00:55 +0000 (21:00 +0000)]
Use PRIu64 ISO C99 Standard printf() macro for 64 bit unsigned int
instead of llu. This allow the correct formatting of 64 bit printf
on some systems like native Windows.
serassio [Fri, 3 Jun 2005 18:59:06 +0000 (18:59 +0000)]
First step of MinGw configure support.
Changes:
- MinGW environment identification
- Windows PSAPI.DLL support
- Support for Windows native port of OpenSSL
- Winsock support detection
- Identification of maximum FDs number
- Windows native resolver identification
serassio [Sun, 29 May 2005 02:01:06 +0000 (02:01 +0000)]
Bug #1305: Double content-length often harmless
There is quite many web servers out there with broken banner engines
forgetting to delete the original content-length after adding the
banner. Currently these are (rightfully) rejected by Squid.
Instead of rejecting we could select the biggest content-length header
found and remove the other. This should fix up these replies while not
allowing for attacks.
hno [Mon, 9 May 2005 23:11:57 +0000 (23:11 +0000)]
Bug #1229: Random data corruption / lost whitespace characters.
This patch both corrects the whitespace delete between replies and
deactivates it entirely as this breaks certain HTTP/0.9 replies.
The response splitting counter measures is extremely likely to trigger
on this anyway, killing the connection before it may be reused (still
need to be forward-ported from Squid-2.5).
hno [Fri, 6 May 2005 07:57:55 +0000 (07:57 +0000)]
Bug #1166: Configuration confusing when empty acls are encountered
Bug #1255: http_access line with unknown acls
This patch makes Squid very strict about access configuration errors.
Previously Squid ignored most errors, now it rejects the configuraiton
with an description of the error seen.
serassio [Thu, 5 May 2005 21:44:44 +0000 (21:44 +0000)]
Bug 1298: Multiple OIDs in SNMP GETNEXT not processed
Bug 1299: SNMPv2 requests should result in SNMPv2 responses
This patch fixes some minor issues in the SNMP Agent. The GETNEXT/BULK
requests both may contain more than one OID just like normal GET, but
Squid ignored all but the first.
Also the response version was always SNMP Version 1, even if the request
was a SNMP Version 2(c) request.
Bug #1223: Make the use of the %m error page to return auth info
messages
This patch extends the helper protocols for Basic and Digest to provide
some basic information in error responses, and makes use of the error
response already included in the NTLM helper protocol, making these
messages available as %m in error pages. Can be used if desired to
indicate why a login failed. The exact messages returned is helper
dependent.