hno [Sun, 10 Oct 2004 08:49:04 +0000 (08:49 +0000)]
Bug #848: connect_timeout ends up twice the length
This adds the forward_timeout parameter, placing an upper limit on
how long Squid tries to forward a request, and allows proper connect
timeout management.
Bug #899: request_header_max_size configuration option doesn't work correctly
This patch enforced the request_header_max_size directive even if the
internal buffer size can accomodate larger requests, and increases the
default limit from 10 KB to 20 KB to compensate for the stricter checking.
hno [Sun, 15 Aug 2004 03:15:15 +0000 (03:15 +0000)]
The external_acl helper protocol breaks down if there for whatever reason
is newines embedded in the data.
This patch changes the external acl helper protocol to use URL encoding
with an optional configuration parameter to switch back to the "shell style"
quoting used in Squid-2.5.
In addition the "shell style" quoting format is extended to support newlines
by the traditional \n and \r codes.
The URL syntax used by Squid for FTP/Gopher icons are uneededly complex and
often causes problems. This patch adds a "short_icon_urls" directive which
can be used to enable a less complex URL syntax for icons.
Bug #877: Squid doesn't follow telnet protocol on FTP control connections
Squid forgot to escape IAC characters (ascii code 255) in FTP requests,
causing problems to access files/directories using this character in their
name or to log in with this character in the login or password.
Bug #877: cache_swap_log still refers to "swap.log" filename
swap.log was renamed to swap.state very many versions ago, but squid.conf
documentation still referred to the old "swap.log" name.
This patch also officially renames cache_swap_log to cache_swap_state with
the old name still accepted. (squid-2.5.STABLE6 will also accept the new
name)
Due to the a accounting mismatch in the number of open connections to peers
the cache_peer max-conn=.. option does not work. This issue is also seen as
very high numbers in the OPEN CONN peer statistics via cachemgr.
Bug #865: Persistent connection usage too high after sudden burst of traffic
Persistent server connections are reused in a round-robin fashion which may
cause the number of connections to stay artificially high after a sudden
burst of requests.
This patch changes persistent connection management to use a LIFO order
reusing the most recently used connection first, thereby allowing unneeded
connections to close down by idle timeout.
Bug #862: Repeated POST requests causes number of persistent connections to grow
If responses to POST or other non-indempotent requests allows the connection
to be kept persistently open then this can lead to a increased connection
usage by Squid. This patch changes the behaviour to keep the number of
connections stable by closing a persistent connection before opening the
new connection.
Bug #935: squid_ldap_auth can be confused by the use of reserved characters
squid_ldap_auth may be confused by the use of reserved characters allowing
the login name to be masqueraded in different manners possibly allowing the
user to partially bypass certain per-user restrictions or confuse third
party accounting packages.
Note that the user can not bypass the login procedure as such. All he can
do is to make the login name look different than normal. There is still
full audit trails on who the user is etc.
The patch also adds and documents a -d flag to both squid_ldap_auth and
squid_ldap_group to allow for easier tracing of the operation of these
programs if results is not what is expected.
If the proxy or web server authentication options of squidclient is used then
the HTTP headers sent in the request is slightly malformed and may confuse
other non-Squid software which is not as tolerant on HTTP format.
Bug #799: positive_dns_ttl ignored when using internal DNS client
The positive_dns_ttl directive is not used by the internal dns client (the
default). This patch changes it to at least be used as a upper limit on how
long DNS data may be cached.
Bug #594: mime type missing for .bz2 and many other filetypes
Mime types missing for .bz2 and several other file types, causing slightly
undesireable results when browsing ftp:// directories (viewed in browser
rather than downloaded). The patch also make sure the download icon is
always shown to make downloading more obvious