]>
git.ipfire.org Git - thirdparty/squid.git/log
wessels [Tue, 19 Jan 1999 06:15:42 +0000 (06:15 +0000)]
FD leak for 504 replies because we leaked "http->entry" when creating
a new reply.
wessels [Tue, 19 Jan 1999 05:23:32 +0000 (05:23 +0000)]
sigh. Okay, this might work better.
To "decouple" storeAbort calling into the server side (fwdAbort) and
wreaking havoc, lets have the storeAbort callback done as an event,
thus outside of comm_select loop.
Hopefully this means we don't need the gross "flags.delayed_comm_close"
and current_hdl_fd crap.
Also, since we moved the abort callback to an event, we might end up
doing a server read after the entry has been aborted, but before
the event is called. Thus, the server modules need to check
for ENTRY_ABORTED before reading.
this commit also adds some (temp?) debugging to track open
disk FDs
wessels [Mon, 18 Jan 1999 02:46:28 +0000 (02:46 +0000)]
oops
glenn [Sat, 16 Jan 1999 07:03:38 +0000 (07:03 +0000)]
Pid file now written on SIGHUP too.
glenn [Sat, 16 Jan 1999 03:48:15 +0000 (03:48 +0000)]
SNMP Agent now returns object instances correctly instead of objects
wessels [Fri, 15 Jan 1999 13:36:35 +0000 (13:36 +0000)]
probably multicast-miss-stream buffer overrun bug causing lots of coredumps
wessels [Fri, 15 Jan 1999 13:30:10 +0000 (13:30 +0000)]
change debug level for storeLateRelease
wessels [Fri, 15 Jan 1999 13:11:42 +0000 (13:11 +0000)]
only call errorAppendEntry in one spot
wessels [Fri, 15 Jan 1999 07:16:19 +0000 (07:16 +0000)]
FD leak for unauthenticated, non-anonymous FTP requests
wessels [Fri, 15 Jan 1999 06:58:52 +0000 (06:58 +0000)]
adding
wessels [Fri, 15 Jan 1999 06:55:40 +0000 (06:55 +0000)]
don't expose given passwords in error messages
wessels [Fri, 15 Jan 1999 06:45:09 +0000 (06:45 +0000)]
Here is a small addon to tcp-banger2: Warn if an unexpected HTTP status
is received.
wessels [Fri, 15 Jan 1999 06:15:43 +0000 (06:15 +0000)]
We used to close persistent connections if the number of free
descriptors was less than four times the reservedFD limit. On
small-FD systems, we will never keep a pconn open because reservedFD
is set to numberFD/4.
Lets try twice the reserved FD limit.
wessels [Thu, 14 Jan 1999 23:22:58 +0000 (23:22 +0000)]
From: Martin Hamilton <martin@net.lut.ac.uk>
The line which reads:
send($sock, $request, 0, $them);
should say
send($sock, $request, 0);
wessels [Thu, 14 Jan 1999 06:49:18 +0000 (06:49 +0000)]
adding
wessels [Thu, 14 Jan 1999 06:24:09 +0000 (06:24 +0000)]
OS/2 fixes from Doug Nazar nazard@man-assoc.on.ca
wessels [Thu, 14 Jan 1999 05:17:06 +0000 (05:17 +0000)]
update
wessels [Thu, 14 Jan 1999 05:13:38 +0000 (05:13 +0000)]
From: Dancer <dancer@zeor.simegen.com>
It turns out that if you are using an external authenticator, the
username is only logged on _subsequent_ (that is, cached) authentication
hits. If the user's authentication credentials expire from the cache,
their next (initially authenticated) request doesn't log any user info.
I'm pretty sure that this behaviour is unintentional.
Here's a patch:
wessels [Thu, 14 Jan 1999 04:59:52 +0000 (04:59 +0000)]
change error message for fwdConnectTimeout to ERR_CONNECT_FAIL/ETIMEDOUT
wessels [Thu, 14 Jan 1999 04:55:23 +0000 (04:55 +0000)]
more fixes for assertions on HP-UX/GCC
wessels [Thu, 14 Jan 1999 04:00:10 +0000 (04:00 +0000)]
FreeBSD has a linuxthreads package
wessels [Wed, 13 Jan 1999 12:56:08 +0000 (12:56 +0000)]
CheckQuickAbort2 debug levels
wessels [Wed, 13 Jan 1999 12:54:48 +0000 (12:54 +0000)]
storeAppend() might abort an entry in httpReadReply()
wessels [Wed, 13 Jan 1999 06:52:08 +0000 (06:52 +0000)]
open --> flags.open
wessels [Wed, 13 Jan 1999 06:38:35 +0000 (06:38 +0000)]
gindent
wessels [Wed, 13 Jan 1999 06:37:41 +0000 (06:37 +0000)]
- removed storeAbort callback-server side argument
- removed _fde->mode, I guess it was a bad idea anyway
- removed recently added ENTRY_ABORTED checks in server modules
- replaced fwdAbort()
- fixed a mem_obj->request == NULL bug when fwdStart() returns
503 service unavailable.
wessels [Wed, 13 Jan 1999 06:32:55 +0000 (06:32 +0000)]
update
wessels [Wed, 13 Jan 1999 06:22:28 +0000 (06:22 +0000)]
check _SQUID_NEWSOS6_ instead
wessels [Tue, 12 Jan 1999 23:42:15 +0000 (23:42 +0000)]
changed struct _fde->open to _fde->flags.open to save a few bytes
wessels [Tue, 12 Jan 1999 23:40:35 +0000 (23:40 +0000)]
in errorAppendEntry:
If the entry is not STORE_PENDING, then no clients
care about it, and we don't need to generate an
error message
wessels [Tue, 12 Jan 1999 23:23:22 +0000 (23:23 +0000)]
typo
wessels [Tue, 12 Jan 1999 23:22:16 +0000 (23:22 +0000)]
be more flexible in storeComplete(). instead of asserting that store_status
is STORE_PENDING, if its not, assert that the entry was aborted and
there are zero clients.
wessels [Tue, 12 Jan 1999 22:47:51 +0000 (22:47 +0000)]
server-side handlers check for ENTRY_ABORTED and close their FD
pump.c needs FwdState to set fwdFail()
wessels [Tue, 12 Jan 1999 07:20:42 +0000 (07:20 +0000)]
oops, we didn't cache cache-control: no-cache
wessels [Tue, 12 Jan 1999 06:29:41 +0000 (06:29 +0000)]
deleted ERR_CLIENT_ABORT
added ERR_SHUTTING_DOWN
set theOutIcpConnect = -1 when we close that FD
have fwdStart() return ERR_SHUTTING_DOWN if we are shutting down
the cache
wessels [Tue, 12 Jan 1999 06:26:42 +0000 (06:26 +0000)]
deleted ERR_CLIENT_ABORT; added ERR_SHUTTING_DOWN
wessels [Tue, 12 Jan 1999 05:56:38 +0000 (05:56 +0000)]
adding
wessels [Tue, 12 Jan 1999 05:54:15 +0000 (05:54 +0000)]
This patch fully transforms proxy_auth into a ACL type, allowing both
allow and deny in any order suitable.
Authentication is requested from the user if:
* proxy_auth is used and no valid authentication header is present.
* wrong password is used
* denied by a proxy_auth ACL
A positive sideeffect is that is is also possible to use deny_info on
proxy_auth ACLs to change the message returned. It also fixes the
problem where proxy_auth user wasn't logged if the proxy_auth user info
wasn't cached.
This patch fully replaces my previous attemt.
There is a small collision with one of my other changes in proto.h, but
I assume that you know how to resolve this.
wessels [Tue, 12 Jan 1999 05:46:16 +0000 (05:46 +0000)]
make commResetFD() more like comm_open(); set outgoing address, etc.
wessels [Tue, 12 Jan 1999 05:23:07 +0000 (05:23 +0000)]
fixed client_side cache-control max-age (henrik)
wessels [Tue, 12 Jan 1999 05:13:07 +0000 (05:13 +0000)]
use EUC encoding
wessels [Tue, 12 Jan 1999 04:55:33 +0000 (04:55 +0000)]
use STDC_HEADERS instead of __STDC__ as recommend by autoconf documentation
wessels [Tue, 12 Jan 1999 04:32:16 +0000 (04:32 +0000)]
adding
wessels [Tue, 12 Jan 1999 04:29:46 +0000 (04:29 +0000)]
portability problem for non-blocking connect() with sony newsos
wessels [Tue, 12 Jan 1999 03:34:14 +0000 (03:34 +0000)]
IRIX inline IO optimization ( -OPT:fast_io=ON) fubars this:
fprintf(fopen("foo", "w"), "%d", val);
wessels [Tue, 12 Jan 1999 03:28:02 +0000 (03:28 +0000)]
comment out unsupported FTP restart code
wessels [Tue, 12 Jan 1999 03:22:23 +0000 (03:22 +0000)]
adding
wessels [Tue, 12 Jan 1999 03:16:04 +0000 (03:16 +0000)]
send old entry if IMS request results in 500's status
wessels [Tue, 12 Jan 1999 03:09:38 +0000 (03:09 +0000)]
// fix from Henrik
wessels [Tue, 12 Jan 1999 03:05:50 +0000 (03:05 +0000)]
Small change of Squid output for FTP
Henrik Nordstrom
Andrew Filonov <aef@shu.smolensk.su>
wessels [Tue, 12 Jan 1999 02:42:22 +0000 (02:42 +0000)]
print ENTRY_ABORTED flag
wessels [Tue, 12 Jan 1999 02:40:29 +0000 (02:40 +0000)]
clear current_hdl_fd after each handler call
wessels [Mon, 11 Jan 1999 23:50:27 +0000 (23:50 +0000)]
changed store_status STORE_ABORTED to entry->flags ENTRY_ABORTED
wessels [Sat, 9 Jan 1999 05:07:54 +0000 (05:07 +0000)]
NPR bug
wessels [Sat, 9 Jan 1999 04:19:43 +0000 (04:19 +0000)]
typo
wessels [Sat, 9 Jan 1999 04:14:49 +0000 (04:14 +0000)]
update
wessels [Sat, 9 Jan 1999 04:12:06 +0000 (04:12 +0000)]
Moved storeAbort() call to store_client.c, where it really belongs
wessels [Sat, 9 Jan 1999 03:39:32 +0000 (03:39 +0000)]
added HDR_WAIT to storeEntryFlags() description
wessels [Fri, 8 Jan 1999 05:13:35 +0000 (05:13 +0000)]
fixed bug relating to searching ASN radix tree for INADDR_ANY.
wessels [Fri, 1 Jan 1999 06:50:25 +0000 (06:50 +0000)]
damn newline
wessels [Wed, 30 Dec 1998 05:51:11 +0000 (05:51 +0000)]
fwdReforward() needs to check pumpRestart() for PUMP methods
wessels [Wed, 16 Dec 1998 13:34:55 +0000 (13:34 +0000)]
better debugging
wessels [Wed, 16 Dec 1998 13:34:31 +0000 (13:34 +0000)]
these functions can be static
wessels [Wed, 16 Dec 1998 13:25:11 +0000 (13:25 +0000)]
fwd stats polishing
wessels [Wed, 16 Dec 1998 13:04:15 +0000 (13:04 +0000)]
forwarding statistics
wessels [Wed, 16 Dec 1998 12:38:57 +0000 (12:38 +0000)]
more cases where it is wrong to call cbdataValid
wessels [Wed, 16 Dec 1998 12:21:37 +0000 (12:21 +0000)]
its wrong to assert cbdataValid(foo) when 'foo' is the callback data
in the callback function itself.
wessels [Wed, 16 Dec 1998 07:07:17 +0000 (07:07 +0000)]
more peer / peer_digest locking fixes
wessels [Wed, 16 Dec 1998 06:51:19 +0000 (06:51 +0000)]
cleaning up peer and peer_digest interlocking goop
wessels [Wed, 16 Dec 1998 01:22:40 +0000 (01:22 +0000)]
sigh, we don't really need to lock/unlock peer here
wessels [Wed, 16 Dec 1998 01:19:26 +0000 (01:19 +0000)]
forgot to call cbdataFree() on the peer!!
wessels [Wed, 16 Dec 1998 00:33:58 +0000 (00:33 +0000)]
strip_query_terms option
wessels [Wed, 16 Dec 1998 00:33:33 +0000 (00:33 +0000)]
lookup FQDN if missed for access log
rousskov [Tue, 15 Dec 1998 06:45:15 +0000 (06:45 +0000)]
- do not lock event cbdata
wessels [Tue, 15 Dec 1998 05:34:30 +0000 (05:34 +0000)]
lock the peer while in the 'Config.peers' list
wessels [Mon, 14 Dec 1998 12:19:36 +0000 (12:19 +0000)]
stupid bugs
wessels [Mon, 14 Dec 1998 12:01:09 +0000 (12:01 +0000)]
fwdState leak
wessels [Sat, 12 Dec 1998 06:48:38 +0000 (06:48 +0000)]
update cbdataAddDbg macro
wessels [Sat, 12 Dec 1998 06:45:09 +0000 (06:45 +0000)]
got hierarchy logging working again after new forwarding goop
wessels [Sat, 12 Dec 1998 06:10:47 +0000 (06:10 +0000)]
Fixed handling of pconns. fwdUnregister no longer frees
the fwdState.
wessels [Sat, 12 Dec 1998 04:01:08 +0000 (04:01 +0000)]
added optional leakfinder code
wessels [Sat, 12 Dec 1998 03:09:33 +0000 (03:09 +0000)]
update
wessels [Sat, 12 Dec 1998 03:06:49 +0000 (03:06 +0000)]
Multicast Miss Stream code
wessels [Fri, 11 Dec 1998 03:10:13 +0000 (03:10 +0000)]
clarification on defaults
wessels [Thu, 10 Dec 1998 06:00:58 +0000 (06:00 +0000)]
client active requests cachemgr page
wessels [Wed, 9 Dec 1998 11:16:48 +0000 (11:16 +0000)]
change URI has whitespace debug level
glenn [Wed, 9 Dec 1998 03:30:10 +0000 (03:30 +0000)]
Bug fixes and memory fixes
Removed queuing of snmp responses
wessels [Sat, 5 Dec 1998 14:17:36 +0000 (14:17 +0000)]
fix recursive/loop calls to peerSelectFoo()
wessels [Sat, 5 Dec 1998 14:17:06 +0000 (14:17 +0000)]
configured_once cleanup
wessels [Sat, 5 Dec 1998 07:54:08 +0000 (07:54 +0000)]
mega patch to implement request re-forwarding after HTTP 500-ish errors
wessels [Sat, 5 Dec 1998 07:00:44 +0000 (07:00 +0000)]
2.1 branch merge
wessels [Sat, 5 Dec 1998 05:20:05 +0000 (05:20 +0000)]
2.1 branch merge
rousskov [Sat, 5 Dec 1998 01:25:14 +0000 (01:25 +0000)]
- more HPUX compiler workarounds: let's try to use floor() before (int)
wessels [Fri, 4 Dec 1998 23:37:07 +0000 (23:37 +0000)]
update comments
wessels [Wed, 2 Dec 1998 13:00:41 +0000 (13:00 +0000)]
fubar
wessels [Wed, 2 Dec 1998 12:57:52 +0000 (12:57 +0000)]
DW anal cleanup
wessels [Wed, 2 Dec 1998 12:51:00 +0000 (12:51 +0000)]
formatting
glenn [Wed, 2 Dec 1998 12:49:24 +0000 (12:49 +0000)]
cbdata and other memory bug fix
wessels [Wed, 2 Dec 1998 12:14:17 +0000 (12:14 +0000)]
some dont like function arg names same as type names
wessels [Wed, 2 Dec 1998 12:07:25 +0000 (12:07 +0000)]
USE_TRUNCATE_NOT_UNLINK option