]>
git.ipfire.org Git - thirdparty/squid.git/log
Francesco Chemolli [Tue, 20 Apr 2010 15:37:43 +0000 (17:37 +0200)]
Refactored SSL options
Amos Jeffries [Tue, 20 Apr 2010 12:51:57 +0000 (00:51 +1200)]
Compile error in ModTcp update.
Amos Jeffries [Tue, 20 Apr 2010 10:58:34 +0000 (22:58 +1200)]
Bug 2874: accept literal IPv6 address in icap_service URL
NP: This just ports the URL parsing from squid's main parser.
If host needs to be written out anywhere it will need to be
re-encoded properly.
Amos Jeffries [Tue, 20 Apr 2010 10:50:51 +0000 (22:50 +1200)]
Bug 2863: pt 1: Some Cygwin compile errors
Amos Jeffries [Tue, 20 Apr 2010 09:59:12 +0000 (21:59 +1200)]
Document more of AccessLogEntry class
Automatic source maintenance [Tue, 20 Apr 2010 00:12:58 +0000 (18:12 -0600)]
SourceFormat Enforcement
Amos Jeffries [Mon, 19 Apr 2010 11:07:59 +0000 (23:07 +1200)]
Use Ip namespace in ModTcp
Amos Jeffries [Mon, 19 Apr 2010 10:03:17 +0000 (22:03 +1200)]
Author: Dhaval Varia <dhavalkvaria@gmail.com>
TCP logging capability
Enable Squid to send log lines to a remote server over TCP.
This permits logging to bypass the failures implicit with UDP packets.
TODO:
* example daemon to receive the log traffic via TCP
* handle TCP failures mid-transaction
* handle full TCP buffers
Amos Jeffries [Mon, 19 Apr 2010 09:32:40 +0000 (21:32 +1200)]
Add Ip namespace to stubQosConfig file
TODO: stub seems not to be used now that teh SqudiConfig link is removed.
updatign it and keeping anyway in case future unit tests need it.
Automatic source maintenance [Sun, 18 Apr 2010 00:13:00 +0000 (18:13 -0600)]
SourceFormat Enforcement
Amos Jeffries [Sat, 17 Apr 2010 10:38:50 +0000 (22:38 +1200)]
Merge from trunk
Amos Jeffries [Sat, 17 Apr 2010 10:22:09 +0000 (22:22 +1200)]
also check data is non-null on auth checks
Amos Jeffries [Sat, 17 Apr 2010 02:29:04 +0000 (14:29 +1200)]
SourceLayout: Add Ip namespace for internal libip
IpAddress is now Ip::Address, IpInterceptor is now Ip::Interceptor, etc.
* Also detaches QosConfig from the global config structures.
Clearing up several of the dependency chains to libip
Automatic source maintenance [Sat, 17 Apr 2010 00:12:57 +0000 (18:12 -0600)]
SourceFormat Enforcement
root [Fri, 16 Apr 2010 11:06:18 +0000 (18:06 +0700)]
IPC patch
Francesco Chemolli [Fri, 16 Apr 2010 09:00:31 +0000 (11:00 +0200)]
Merged from trunk
Francesco Chemolli [Fri, 16 Apr 2010 08:58:32 +0000 (10:58 +0200)]
Fixed regression in EUI option handling.
Partly refactored SSL option handling.
Amos Jeffries [Fri, 16 Apr 2010 06:56:56 +0000 (18:56 +1200)]
Distribute some manuals better
Amos Jeffries [Fri, 16 Apr 2010 06:55:31 +0000 (00:55 -0600)]
Cleanup: remove Cisms from GNURegex alternative
Francesco Chemolli [Thu, 15 Apr 2010 15:07:23 +0000 (17:07 +0200)]
Fixed some text-wrappings and indentations.
Reworked default option handling for some configure switches
Refactored EUI and HTCP options handling
Amos Jeffries [Thu, 15 Apr 2010 11:37:19 +0000 (23:37 +1200)]
Add basic_sasl_auth(8) manual
Based on removed README
Amos Jeffries [Thu, 15 Apr 2010 11:25:10 +0000 (23:25 +1200)]
Minor updates to basic_pam_auth(8) manual
Amos Jeffries [Thu, 15 Apr 2010 10:19:26 +0000 (22:19 +1200)]
Back out the tweak on rev10398.
Amos Jeffries [Wed, 14 Apr 2010 23:23:26 +0000 (11:23 +1200)]
Author: Walter <bundestrojaner2@googlemail.com>
Bug 2904: make can create uncomplete files
Francesco Chemolli [Wed, 14 Apr 2010 21:04:28 +0000 (23:04 +0200)]
changed mempools option handling
simplified default value handling for some options
Francesco Chemolli [Wed, 14 Apr 2010 20:43:45 +0000 (22:43 +0200)]
Simplified default handling for some options
Francesco Chemolli [Wed, 14 Apr 2010 20:28:10 +0000 (22:28 +0200)]
Refactored --enable-mem-gen-trace and --enable-zph-qos
Francesco Chemolli [Wed, 14 Apr 2010 19:57:34 +0000 (21:57 +0200)]
Merged from trunk
Amos Jeffries [Wed, 14 Apr 2010 11:13:32 +0000 (23:13 +1200)]
Distribute the config.test files for all helpers
./configure depends on them to build the helpers correctly on auto-detect.
This should resolve some issues we have had testing the helpers and users
have found with missing logdaemon etc on package builds.
Amos Jeffries [Wed, 14 Apr 2010 11:04:12 +0000 (23:04 +1200)]
Provide smb_lm helper with config.h definitions
Amos Jeffries [Tue, 13 Apr 2010 23:29:30 +0000 (11:29 +1200)]
Bug 2848: Early Shutdown kill leads to misleading clean close with client browsers
Send TCP RST instead of FIN when the data is known to be incompletely sent.
Amos Jeffries [Mon, 12 Apr 2010 11:24:45 +0000 (05:24 -0600)]
Remove GNUregex malloc hack
stdlib.h is provided by the OS compat layer of Squid.
If malloc/realloc truely need to be redefined they cna be re-added
to the specific OS compat import with the correct prototypes.
Amos Jeffries [Mon, 12 Apr 2010 06:03:12 +0000 (18:03 +1200)]
Author: Various Translators
Translations Update auto-save
Amos Jeffries [Mon, 12 Apr 2010 05:37:02 +0000 (23:37 -0600)]
Revert Libtool/LTDL regression in autoconf
Amos Jeffries [Mon, 12 Apr 2010 01:35:28 +0000 (19:35 -0600)]
Disable 3.0 release snapshots.
Amos Jeffries [Sun, 11 Apr 2010 11:29:02 +0000 (23:29 +1200)]
Resolve assert in cacheCleanup
Amos Jeffries [Sun, 11 Apr 2010 09:02:42 +0000 (21:02 +1200)]
RefCount AuthUser and children
Also adds CacheMgr "username_cache" display page to view the
currently cached usernames and how long their TTLs are for.
Francesco Chemolli [Sat, 10 Apr 2010 14:45:31 +0000 (16:45 +0200)]
Merged from trunk
Francesco Chemolli [Fri, 9 Apr 2010 18:08:48 +0000 (20:08 +0200)]
Refafctored --enable-x-accelerator-vary option handling.
Francesco Chemolli [Fri, 9 Apr 2010 13:30:44 +0000 (15:30 +0200)]
refactrored --enable-cpu-profiling
Amos Jeffries [Fri, 9 Apr 2010 11:48:21 +0000 (23:48 +1200)]
Regression in UDP logging portage.
Francesco Chemolli [Fri, 9 Apr 2010 09:46:41 +0000 (11:46 +0200)]
Merged from trunk
Amos Jeffries [Fri, 9 Apr 2010 02:53:27 +0000 (14:53 +1200)]
Revert type regression slipped in from autoconf-refactor
Amos Jeffries [Fri, 9 Apr 2010 01:33:22 +0000 (13:33 +1200)]
Bring FDSETSIZE wrappers in with Squid wrapping style.
Also adding kFreeBSD wrapper to same logic as Linux.
Amos Jeffries [Fri, 9 Apr 2010 00:39:54 +0000 (12:39 +1200)]
Bug 2899: Restore lost rfc1738_unescape() data type
Data type was converted to char from int during recent upgrades.
On unix systems char is unsigned making the safety checks fail on build.
This reverts the type back to a usable signed int, no logic changes.
Francesco Chemolli [Thu, 8 Apr 2010 12:37:14 +0000 (14:37 +0200)]
Merged from trunk
Francesco Chemolli [Thu, 8 Apr 2010 12:35:27 +0000 (14:35 +0200)]
Merged from autoconf-refactor.
Amos Jeffries [Thu, 8 Apr 2010 12:14:42 +0000 (00:14 +1200)]
Merged from trunk
Amos Jeffries [Thu, 8 Apr 2010 11:53:16 +0000 (23:53 +1200)]
Some AuthUserReuqest polish and bug removal
* merge multiple authenticate and authenticateChildren members from
child classes into the parent AuthUserRequest
* severe circular ref-count links between AuthUser object and
AuthUserRequest. It appears to be unused and causes problems by merely
existing.
* remove entry from client_side unsettign the auth credentials of a
request simply because it was being logged.
The log code woud be better pulling the credentials from the request
directly when needed instead of cloning the text. RefCount in both request
and AuthUser holds the info in place until log output is finished.
But that polish is left for later.
Francesco Chemolli [Thu, 8 Apr 2010 10:30:13 +0000 (12:30 +0200)]
Documented HAVE_FS_* hack
Removed the now-useless --with-squid configure option
Automatic source maintenance [Thu, 8 Apr 2010 00:12:58 +0000 (18:12 -0600)]
SourceFormat Enforcement
Amos Jeffries [Wed, 7 Apr 2010 13:15:09 +0000 (01:15 +1200)]
squidclient: Use -k option to control connection keep-alive or close
This is needed to prevent HTTP 1.1 servers (or Squid) holding the
connection open after squidclient has finished.
Retain the old behavior for HTTP/1.0 requests.
Amos Jeffries [Wed, 7 Apr 2010 09:49:57 +0000 (21:49 +1200)]
Author: Matthew Morgan <atcs.matthew@gmail.com>
Add acl support to range_offset_limit.
It is being parsed using the same data types as reply_body_max_size,
which means the limit value gets run through parseBytesLine64, and the
acl is optional.
If people are using the old global style of range_offset_limit, they
shouldn't have to do anything to their configs.
getRangeOffsetLimit is now a member of HttpRequest, and it caches it's
value the same way reply_body_max_size does for faster repeat checking.
Amos Jeffries [Wed, 7 Apr 2010 06:22:41 +0000 (18:22 +1200)]
HTTP1.1: Advertise 1.1 on replies
Amos Jeffries [Wed, 7 Apr 2010 06:04:19 +0000 (18:04 +1200)]
Cleanup: wrap more helpers with safety code
Amos Jeffries [Wed, 7 Apr 2010 01:20:51 +0000 (13:20 +1200)]
Compat: permit LDAP helepr to use std memory allocators
Amos Jeffries [Tue, 6 Apr 2010 22:22:31 +0000 (10:22 +1200)]
Remove c++ comment from C code
Automatic source maintenance [Tue, 6 Apr 2010 00:12:56 +0000 (18:12 -0600)]
SourceFormat Enforcement
Christos Tsantilas [Mon, 5 Apr 2010 10:29:50 +0000 (13:29 +0300)]
Author: Alex Rousskov
Modify icap_service_failure_limit option to forget old ICAP errors.
A busy or remote ICAP server may produce a steady but shallow stream of
errors. Any ICAP server may become nearly unusable in a short period of
time, producing a burst of errors. To avoid disabling a generally usable
service, it is important to distinguish these two cases. Just counting
the number of errors and suspending the service after
icap_service_failure_limit is reached often either suspends the service
in both cases or never suspends it at all, depending on the option
value.
One way to distinguish a large burst of errors from a steady but shallow
error stream is to forget about old errors. The icap_service_failure_limit
option modified to instructs Squid to ignore errors that
are "too old" to be counted as a part of a burst.
Another way to look at this feature is to say that the modified
icap_service_failure_limit limits the ICAP error _rate_. For example,
# suspend service usage after 10 failures in 5 seconds:
icap_service_failure_limit 10 in 5 seconds
Squid does not remember every transaction error that occurred within the
allowed "oldest error" time period. That would be result in a precise
but too expensive implementation, especially during error bursts on a
busy server. Instead, Squid divides the period in ten slots, counts the
number of errors that occurred in each slot, and forget the oldest
slot(s) as needed. Thus, the algorithm has about 90% precision as far as
timing of the failures is concerned. That 90% precision ought to be good
enough for any deployment.
Henrik Nordstrom [Sun, 4 Apr 2010 20:01:14 +0000 (22:01 +0200)]
Bug #2895: TPROXY2 compile error
Francesco Chemolli [Sun, 4 Apr 2010 17:16:20 +0000 (19:16 +0200)]
Improved stackraces configuration options handling.
Francesco Chemolli [Sun, 4 Apr 2010 08:37:30 +0000 (10:37 +0200)]
Improved mempools configuration options
Refactored unlinkd configuration options.
Francesco Chemolli [Sat, 3 Apr 2010 19:15:08 +0000 (21:15 +0200)]
Refactored mempools option handling
Francesco Chemolli [Fri, 2 Apr 2010 12:10:28 +0000 (14:10 +0200)]
Fixed squid_host_os detection patterns.
Francesco Chemolli [Thu, 1 Apr 2010 16:34:18 +0000 (18:34 +0200)]
Refactored external_acl helpers detection.
Fixed "maximus" test-suite configure paramters.
Francesco Chemolli [Thu, 1 Apr 2010 07:39:04 +0000 (09:39 +0200)]
Fixed merge error.
Francesco Chemolli [Wed, 31 Mar 2010 15:59:21 +0000 (17:59 +0200)]
Merged from trunk.
Alex Rousskov [Tue, 30 Mar 2010 21:54:40 +0000 (15:54 -0600)]
Moved Kid and Kids classes from src/main.cc to src/ipc/, creating libipc.
Removed update_port hack(). Squid.conf macros and conditionals can now
be used to specify unique http_ports, cache_dirs, etc. for Squid processes.
Francesco Chemolli [Tue, 30 Mar 2010 17:32:03 +0000 (19:32 +0200)]
Marked more cppunit tests.
Amos Jeffries [Tue, 30 Mar 2010 06:00:55 +0000 (18:00 +1200)]
Author: Various Translators
Translations Update auto-save
Amos Jeffries [Tue, 30 Mar 2010 04:39:00 +0000 (16:39 +1200)]
Mark more cppunit tests
Amos Jeffries [Tue, 30 Mar 2010 02:21:01 +0000 (14:21 +1200)]
Author: Various Translators
Translations Update auto-save
Amos Jeffries [Mon, 29 Mar 2010 08:14:04 +0000 (21:14 +1300)]
Prep for 3.1.1
Alex Rousskov [Fri, 26 Mar 2010 13:52:36 +0000 (07:52 -0600)]
Added if-statement documentation.
Alex Rousskov [Fri, 26 Mar 2010 13:35:54 +0000 (07:35 -0600)]
Support if-statements in squid.conf. Supported conditions are int=int,true,false
if condition
...
[else
...]
endif
Alex Rousskov [Fri, 26 Mar 2010 13:34:04 +0000 (07:34 -0600)]
Cannot use String as a global due to memory pool dependencies.
Automatic source maintenance [Fri, 26 Mar 2010 00:13:04 +0000 (18:13 -0600)]
SourceFormat Enforcement
Amos Jeffries [Thu, 25 Mar 2010 10:09:56 +0000 (23:09 +1300)]
Compat: IPPROTO can;t be defined early for Linux.
Removed them again to uncover which OS actually need them. Add back as
needed to those specific OS compat headers.
Amos Jeffries [Thu, 25 Mar 2010 08:27:46 +0000 (02:27 -0600)]
Compat: Shuffle final squid.h hacks into libcompat
Amos Jeffries [Wed, 24 Mar 2010 05:21:13 +0000 (23:21 -0600)]
Compat: Several compile issues in Profiler and LeakFinder
Francesco Chemolli [Tue, 23 Mar 2010 16:08:04 +0000 (17:08 +0100)]
Also check for SASL shared libreries in SASL helper configlet.
Francesco Chemolli [Tue, 23 Mar 2010 15:45:39 +0000 (16:45 +0100)]
Improved helper configlets for wider compatibility.
Francesco Chemolli [Tue, 23 Mar 2010 11:09:45 +0000 (12:09 +0100)]
Added more detection locations for smbclient in basic_auth/SMB helper configlet.
Amos Jeffries [Tue, 23 Mar 2010 06:57:52 +0000 (19:57 +1300)]
Repair broken Czech manuals .po file
Amos Jeffries [Tue, 23 Mar 2010 05:16:27 +0000 (18:16 +1300)]
Compat: link eui64_aton.h properly
Automatic source maintenance [Tue, 23 Mar 2010 00:13:27 +0000 (18:13 -0600)]
SourceFormat Enforcement
Amos Jeffries [Mon, 22 Mar 2010 22:32:32 +0000 (16:32 -0600)]
Compat: Suppress sprintf override on Solaris cppunit
Francesco Chemolli [Mon, 22 Mar 2010 15:06:49 +0000 (16:06 +0100)]
Print out the version of cppunit during configure.
Amos Jeffries [Mon, 22 Mar 2010 13:11:45 +0000 (07:11 -0600)]
Cleanup: use config.h by testMain.cc
Amos Jeffries [Mon, 22 Mar 2010 13:05:28 +0000 (07:05 -0600)]
Compat: shuffle replacement OS function fiels into libcompat
* strerror() is omitted due to an emulator, and multiple
replacement functions being defined with rather complicated
interactions.
* the .c parts must also remain in lib/ for now to simplify
autoconf logics.
Amos Jeffries [Mon, 22 Mar 2010 10:00:14 +0000 (23:00 +1300)]
Bug 2827: assertion failed: FilledChecklist.cc:90: "conn() != NULL"
Assertion was bunk. We can happily continue without unlocking a
non-existent lock.
Amos Jeffries [Mon, 22 Mar 2010 05:10:13 +0000 (17:10 +1200)]
Author: Various Translators
Translations Update auto-save
Automatic source maintenance [Mon, 22 Mar 2010 00:13:19 +0000 (18:13 -0600)]
SourceFormat Enforcement
Amos Jeffries [Sun, 21 Mar 2010 21:55:01 +0000 (15:55 -0600)]
Typo in cachemgr.cc
Amos Jeffries [Sun, 21 Mar 2010 14:54:03 +0000 (03:54 +1300)]
Author: Unknown
Bug 2879: 3.0 regression in headers end finding
Ported from Squid-2.
Amos Jeffries [Sun, 21 Mar 2010 03:08:26 +0000 (21:08 -0600)]
Compat: Shuffle squid.h portability definitions into libcompat
* Improves and shuffles the memory allocator and string buffer protection
* Fixing many of the unsafe string buffer handling helpers
* removing several duplicated hacks already in libcompat
* Adds NetBSD portability file
Amos Jeffries [Sat, 20 Mar 2010 11:04:40 +0000 (05:04 -0600)]
Correct buffer calculation for snprintf
Amos Jeffries [Sat, 20 Mar 2010 10:25:57 +0000 (04:25 -0600)]
Cleanup rfc1738.c
Amos Jeffries [Sat, 20 Mar 2010 10:24:23 +0000 (04:24 -0600)]
Better fix for fromhex()
Amos Jeffries [Sat, 20 Mar 2010 07:09:43 +0000 (01:09 -0600)]
Compat: Shuffle type portability definitions and includes into libcompat