Note: the patch file on the web site has several problems.. First, it
doesn't apply, and second, it bogusly changes the version. It also
introduces some problems for FreeBSD where the author missed the point of
a fix I sent back. :-(
- POST didn't work if there were null characters (strncpy vs. memcpy)
- defensive measures to try and stop "HELP! IP cache overflowing"
- warn when forced to do blocking gethostbyxxxx() calls
- fix some coredumps and other problems
Reviewed by:
Submitted by:
Obtained from:
Note, there are a few important changes to the squid.conf file,
be sure to read the ChangeLog file for the details. Some names
have been renamed, and a new option needs to be specified if squid
is run as root - it needs to know what uid to change to, it won't run
as root by default. This may require changes to the port to create a
user or something.
Among the changes are some patches submitted to the maintainers by
yours truly to improve the password support in cachemgr.cgi. It also
reports the resource "maxrss" correctly for what it is.
The distributed patches to 1.1.4:
* ftpget.c.patch: Changes the default MIME type to
"application/octet-stream" and fixes directory listings from
NetWare servers.
* icp.c.patch: Fixes "Unknown status reply from server: 0!" error
messages in Netscape.
* ipcache.c.patch: Fixes ipcache_dnsHandleRead() coredumps.
* neighbors.c.patch: Fixes BIT_SET/BIT_TEST typo in
getDefaultParent().
Reviewed by:
Submitted by:
Obtained from:
- Fixed announcement bug. Announcements were always off unless
a file was specified.
- Fixed wrong number of args to examine_select() debug.
- Fixed null-string content-type
- Don't cache replies with 'Set-Cookie:' headers.
- Fixed bug when client issues IMS, Squid has stale object and
Squid's lastmod time is greater than the client IMS time.
A 304 reply would be appropriate for Squid, but not the client
(diagnosed by Mark Treacy).
- Fixed httpBuildRequestHeader() content length bug which breaks for
really large POST requests (Takahiro Yugawa).
- Fixed 'passthrough_proxy' to pick up port number from list of
neighbors.
- Ensure pid file is world-readable if umask is set otherwise
(Doug Urner).
- Collect statistics on a few more HTTP headers.
Reviewed by:
Submitted by:
Obtained from:
This fixes some small bugs, including a CR/LF problem and (I think) two
problems with aborting. The author has hinted that this might be the last
beta before 1.1.0.
Among the changes:
- remove patch-aa, it's now in the standard distribution
- checks for libgnumalloc for <= FreeBSD-2.1.x systems to avoid the
nasty libc malloc problems.
- more useful data in the logs
- support for poll() syscall with unlimited number of file descriptors
if present instead of select()'s restrictions.
(Standard FreeBSD doesn't yet have poll()..)
- the usual bug fixes
Included in this update:
- large objects fix, apparently large objects could get stuck (eg:
netscape, msie downloads etc)
- configurable 1st and 2nd level directory hash sizes
- can have a password in squid.conf for cachemgr.cgi
- POST is now passthrough
- other bugfixes
- other new features and corresponding bugfixes :-)
Reviewed by:
Submitted by:
Obtained from:
files were repository copied to www/squid11, then this commit brings it
to 1.1.b13. (This was Satoshi's idea :-) It preserves the history)
Squid-1.0 and 1.1 are under parallel development, kinda like when we had
2.1-stable and 2.2-current in parallel development. The 1.0 code is well
polished, and 1.1 is "on the bleeding edge" as such. The features and
performance are much improved, but it can be a bit hair-raising. I
personally have no major hassles with 1.1beta13.
Among the nicer things that this version has over 1.0:
- URL redirector.. ie: you can rewrite url's of sites with "mirrors"
so that you don't have 15 copies of the same files.
- optional ident logging
- improved acl's
- dramatically improved cache directory structure (scales much better with
gigantic disk caches)
- much improved DNS ttl handling (esp. with resolver hack)
- more control over neighbor status; parent, sibling etc.
- much improved refresh rules to help combat stupid sites that needlessly
set the Expires: field to zero when it doesn't need to be. (This is fine
when it's genuinely needed, but some sites really abuse it to to attempt
to negate caching to get inflated hit counts etc)
Reviewed by:
Submitted by:
Obtained from:
and stability measures.
This port installs in a "FreeBSD-native" tree (like apache) rather than
with a mini hierarchy under /usr/local/squid/{bin,etc,cache,logs,...}
(the default behavior seems to have changed between 1.0.0 and 1.0.20)
Also, build a rc.d/squid.sh script.