hno [Sat, 18 Jan 2003 09:10:37 +0000 (09:10 +0000)]
date: 2003/01/10 17:52:53; author: wessels; state: Exp; lines: +1 -0
added reporting of "Process Data Segment Size via sbrk()" when
sbrk() call exists. According to the sbrk() man page, calling
sbrk(0) returns the end of the data segment. By storing the data
segment offset when Squid starts, we can report the size of the
data segment at any time. This might be a better metric than
getrusage()'s MAX RSS, which, in my experience, is often less than
the process size reported by 'ps' (presumably because some of the
processes memory is swapped to disk). However, initial tests show that
the sbrk() trick reports a value slightly smaller than reported by
'ps'.
date: 2003/01/17 05:21:49; author: wessels; state: Exp; lines: +1 -1
failure_ratio is a ratio, not a percentage. Removed %% from printf.
hno [Thu, 9 Jan 2003 18:45:49 +0000 (18:45 +0000)]
Filter the pipe usage to not unneededly trigger a comm_poll/select
wakeup when there has been I/O already dealt with in this iteration.
(corrected version)
hno [Thu, 9 Jan 2003 18:44:05 +0000 (18:44 +0000)]
revision 1.49
date: 2003/01/08 20:55:46; author: wessels; state: Exp; lines: +12 -7
Some nitpicks and cleanup relating to cache manager helper stats and
user authentication:
- debugging statement in helperStatefulDefer() reported wrong function name
- formatted some comments for 80 columns
- added "program name" to helpeStats() output
- fixed formatting for helperStatefulStats() so columns line up again
- added authentication type (basic/digest/ntml) to cachemgr menu description
- ran gindent
hno [Thu, 9 Jan 2003 18:41:40 +0000 (18:41 +0000)]
date: 2003/01/08 20:55:46; author: wessels; state: Exp; lines: +12 -7
Some nitpicks and cleanup relating to cache manager helper stats and
user authentication:
- debugging statement in helperStatefulDefer() reported wrong function name
- formatted some comments for 80 columns
- added "program name" to helpeStats() output
- fixed formatting for helperStatefulStats() so columns line up again
- added authentication type (basic/digest/ntml) to cachemgr menu description
- ran gindent
hno [Thu, 9 Jan 2003 18:40:40 +0000 (18:40 +0000)]
date: 2003/01/07 20:46:12; author: wessels; state: Exp; lines: +2 -1
alan mccaig <alanmccaig@yahoo.co.uk> discovered a buffer overrun in
'squidclient'. The simple fix is to use strncpy() instead of strcpy()
and make sure the URL buffer is always terminated.
hno [Sat, 4 Jan 2003 08:28:13 +0000 (08:28 +0000)]
Change async-io to use a pipe to signal I/O completetion instead of
relying on rapid polling.
The actual completetion events are still polled. Only the notification
that there is completed events is done via the pipe to have select/poll
react in a timely fashion.
hno [Sat, 7 Dec 2002 06:19:12 +0000 (06:19 +0000)]
SSL support update
- Support for outgoing SSL connetions
- SSL encrypted peers
- https:// gatewaying for clients not supporting SSL
or URLs rewritten via a redirector to https://...
- Client certificate support
- Hardware crypto SSL acceleration support via OpenSSL engine
- SSL key/certificate now read while parsing squid.conf to
support secure key protection and chroot.
hno [Fri, 15 Nov 2002 20:27:58 +0000 (20:27 +0000)]
Bugzilla #458: segmentation fault if external_acl helper exits
This patch allows Squid to deal more gracefully if a external_acl helper
exits. Instead of crashing with a segfault Squid now repeats the query
to the next available helper.
hno [Fri, 15 Nov 2002 20:12:36 +0000 (20:12 +0000)]
Bugzilla #463: GET requests with request entity fail
This patch adds a new squid.conf directive "request_entities on/off".
If set to "on" then Squid will allow GET/HEAD requests with request
entities, even if such entites are "undefined" in the HTTP specification.
Technically speaking Squid is violating the HTTP specification when
not allowing such requests. The official way to handle such requests
is that the server should ignore the request entity.
hno [Sat, 9 Nov 2002 16:34:22 +0000 (16:34 +0000)]
date: 2002/10/24 18:49:56; author: wessels; state: Exp; lines: +20 -4
Bugzilla #462: WCCP doesn't ensure WCCP_ASSIGN_BUCKETS message was received
This patch makes Squid remember the change value when it last sent a
WCCP_ASSIGN_BUCKETS message. It will resend the message until
the router updates the change value.
adrian [Mon, 28 Oct 2002 15:53:37 +0000 (15:53 +0000)]
Wrap the memset() just before the msgrcv() in #ifdef ALWAYS_ZERO_BUFFERS.
There's no real point in zeroing the buffer just before we read and then
verify the message is the right length - unless we're debugging.