]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
25 years agoFD leak for 504 replies because we leaked "http->entry" when creating
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.

25 years agosigh. Okay, this might work better.
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

25 years agooops
wessels [Mon, 18 Jan 1999 02:46:28 +0000 (02:46 +0000)] 
oops

25 years agoPid file now written on SIGHUP too.
glenn [Sat, 16 Jan 1999 07:03:38 +0000 (07:03 +0000)] 
Pid file now written on SIGHUP too.

25 years agoSNMP Agent now returns object instances correctly instead of objects
glenn [Sat, 16 Jan 1999 03:48:15 +0000 (03:48 +0000)] 
SNMP Agent now returns object instances correctly instead of objects

25 years agoprobably multicast-miss-stream buffer overrun bug causing lots of coredumps
wessels [Fri, 15 Jan 1999 13:36:35 +0000 (13:36 +0000)] 
probably multicast-miss-stream buffer overrun bug causing lots of coredumps

25 years agochange debug level for storeLateRelease
wessels [Fri, 15 Jan 1999 13:30:10 +0000 (13:30 +0000)] 
change debug level for storeLateRelease

25 years agoonly call errorAppendEntry in one spot
wessels [Fri, 15 Jan 1999 13:11:42 +0000 (13:11 +0000)] 
only call errorAppendEntry in one spot

25 years agoFD leak for unauthenticated, non-anonymous FTP requests
wessels [Fri, 15 Jan 1999 07:16:19 +0000 (07:16 +0000)] 
FD leak for unauthenticated, non-anonymous FTP requests

25 years agoadding
wessels [Fri, 15 Jan 1999 06:58:52 +0000 (06:58 +0000)] 
adding

25 years agodon't expose given passwords in error messages
wessels [Fri, 15 Jan 1999 06:55:40 +0000 (06:55 +0000)] 
don't expose given passwords in error messages

25 years agoHere is a small addon to tcp-banger2: Warn if an unexpected HTTP status
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.

25 years agoWe used to close persistent connections if the number of free
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.

25 years agoFrom: Martin Hamilton <martin@net.lut.ac.uk>
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);

25 years agoadding
wessels [Thu, 14 Jan 1999 06:49:18 +0000 (06:49 +0000)] 
adding

25 years agoOS/2 fixes from Doug Nazar nazard@man-assoc.on.ca
wessels [Thu, 14 Jan 1999 06:24:09 +0000 (06:24 +0000)] 
OS/2 fixes from Doug Nazar nazard@man-assoc.on.ca

25 years agoupdate
wessels [Thu, 14 Jan 1999 05:17:06 +0000 (05:17 +0000)] 
update

25 years agoFrom: Dancer <dancer@zeor.simegen.com>
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:

25 years agochange error message for fwdConnectTimeout to ERR_CONNECT_FAIL/ETIMEDOUT
wessels [Thu, 14 Jan 1999 04:59:52 +0000 (04:59 +0000)] 
change error message for fwdConnectTimeout to ERR_CONNECT_FAIL/ETIMEDOUT

25 years agomore fixes for assertions on HP-UX/GCC
wessels [Thu, 14 Jan 1999 04:55:23 +0000 (04:55 +0000)] 
more fixes for assertions on HP-UX/GCC

25 years agoFreeBSD has a linuxthreads package
wessels [Thu, 14 Jan 1999 04:00:10 +0000 (04:00 +0000)] 
FreeBSD has a linuxthreads package

25 years agoCheckQuickAbort2 debug levels
wessels [Wed, 13 Jan 1999 12:56:08 +0000 (12:56 +0000)] 
CheckQuickAbort2 debug levels

25 years agostoreAppend() might abort an entry in httpReadReply()
wessels [Wed, 13 Jan 1999 12:54:48 +0000 (12:54 +0000)] 
storeAppend() might abort an entry in httpReadReply()

25 years agoopen --> flags.open
wessels [Wed, 13 Jan 1999 06:52:08 +0000 (06:52 +0000)] 
open --> flags.open

25 years agogindent
wessels [Wed, 13 Jan 1999 06:38:35 +0000 (06:38 +0000)] 
gindent

25 years ago- removed storeAbort callback-server side argument
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.

25 years agoupdate
wessels [Wed, 13 Jan 1999 06:32:55 +0000 (06:32 +0000)] 
update

25 years agocheck _SQUID_NEWSOS6_ instead
wessels [Wed, 13 Jan 1999 06:22:28 +0000 (06:22 +0000)] 
check _SQUID_NEWSOS6_ instead

25 years agochanged struct _fde->open to _fde->flags.open to save a few bytes
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

25 years agoin errorAppendEntry:
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

25 years agotypo
wessels [Tue, 12 Jan 1999 23:23:22 +0000 (23:23 +0000)] 
typo

25 years agobe more flexible in storeComplete(). instead of asserting that store_status
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.

25 years agoserver-side handlers check for ENTRY_ABORTED and close their FD
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()

25 years agooops, we didn't cache cache-control: no-cache
wessels [Tue, 12 Jan 1999 07:20:42 +0000 (07:20 +0000)] 
oops, we didn't cache cache-control: no-cache

25 years agodeleted ERR_CLIENT_ABORT
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

25 years agodeleted ERR_CLIENT_ABORT; added ERR_SHUTTING_DOWN
wessels [Tue, 12 Jan 1999 06:26:42 +0000 (06:26 +0000)] 
deleted ERR_CLIENT_ABORT; added ERR_SHUTTING_DOWN

25 years agoadding
wessels [Tue, 12 Jan 1999 05:56:38 +0000 (05:56 +0000)] 
adding

25 years agoThis patch fully transforms proxy_auth into a ACL type, allowing both
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.

25 years agomake commResetFD() more like comm_open(); set outgoing address, etc.
wessels [Tue, 12 Jan 1999 05:46:16 +0000 (05:46 +0000)] 
make commResetFD() more like comm_open(); set outgoing address, etc.

25 years agofixed client_side cache-control max-age (henrik)
wessels [Tue, 12 Jan 1999 05:23:07 +0000 (05:23 +0000)] 
fixed client_side cache-control max-age (henrik)

25 years agouse EUC encoding
wessels [Tue, 12 Jan 1999 05:13:07 +0000 (05:13 +0000)] 
use EUC encoding

25 years agouse STDC_HEADERS instead of __STDC__ as recommend by autoconf documentation
wessels [Tue, 12 Jan 1999 04:55:33 +0000 (04:55 +0000)] 
use STDC_HEADERS instead of __STDC__ as recommend by autoconf documentation

25 years agoadding
wessels [Tue, 12 Jan 1999 04:32:16 +0000 (04:32 +0000)] 
adding

25 years agoportability problem for non-blocking connect() with sony newsos
wessels [Tue, 12 Jan 1999 04:29:46 +0000 (04:29 +0000)] 
portability problem for non-blocking connect() with sony newsos

25 years agoIRIX inline IO optimization ( -OPT:fast_io=ON) fubars this:
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);

25 years agocomment out unsupported FTP restart code
wessels [Tue, 12 Jan 1999 03:28:02 +0000 (03:28 +0000)] 
comment out unsupported FTP restart code

25 years agoadding
wessels [Tue, 12 Jan 1999 03:22:23 +0000 (03:22 +0000)] 
adding

25 years agosend old entry if IMS request results in 500's status
wessels [Tue, 12 Jan 1999 03:16:04 +0000 (03:16 +0000)] 
send old entry if IMS request results in 500's status

25 years ago// fix from Henrik
wessels [Tue, 12 Jan 1999 03:09:38 +0000 (03:09 +0000)] 
// fix from Henrik

25 years agoSmall change of Squid output for FTP
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>

25 years agoprint ENTRY_ABORTED flag
wessels [Tue, 12 Jan 1999 02:42:22 +0000 (02:42 +0000)] 
print ENTRY_ABORTED flag

25 years agoclear current_hdl_fd after each handler call
wessels [Tue, 12 Jan 1999 02:40:29 +0000 (02:40 +0000)] 
clear current_hdl_fd after each handler call

25 years agochanged store_status STORE_ABORTED to entry->flags ENTRY_ABORTED
wessels [Mon, 11 Jan 1999 23:50:27 +0000 (23:50 +0000)] 
changed store_status STORE_ABORTED to entry->flags ENTRY_ABORTED

25 years agoNPR bug
wessels [Sat, 9 Jan 1999 05:07:54 +0000 (05:07 +0000)] 
NPR bug

25 years agotypo
wessels [Sat, 9 Jan 1999 04:19:43 +0000 (04:19 +0000)] 
typo

25 years agoupdate
wessels [Sat, 9 Jan 1999 04:14:49 +0000 (04:14 +0000)] 
update

25 years agoMoved storeAbort() call to store_client.c, where it really belongs
wessels [Sat, 9 Jan 1999 04:12:06 +0000 (04:12 +0000)] 
Moved storeAbort() call to store_client.c, where it really belongs

25 years agoadded HDR_WAIT to storeEntryFlags() description
wessels [Sat, 9 Jan 1999 03:39:32 +0000 (03:39 +0000)] 
added HDR_WAIT to storeEntryFlags() description

25 years agofixed bug relating to searching ASN radix tree for INADDR_ANY.
wessels [Fri, 8 Jan 1999 05:13:35 +0000 (05:13 +0000)] 
fixed bug relating to searching ASN radix tree for INADDR_ANY.

25 years agodamn newline
wessels [Fri, 1 Jan 1999 06:50:25 +0000 (06:50 +0000)] 
damn newline

25 years agofwdReforward() needs to check pumpRestart() for PUMP methods
wessels [Wed, 30 Dec 1998 05:51:11 +0000 (05:51 +0000)] 
fwdReforward() needs to check pumpRestart() for PUMP methods

25 years agobetter debugging
wessels [Wed, 16 Dec 1998 13:34:55 +0000 (13:34 +0000)] 
better debugging

25 years agothese functions can be static
wessels [Wed, 16 Dec 1998 13:34:31 +0000 (13:34 +0000)] 
these functions can be static

25 years agofwd stats polishing
wessels [Wed, 16 Dec 1998 13:25:11 +0000 (13:25 +0000)] 
fwd stats polishing

25 years agoforwarding statistics
wessels [Wed, 16 Dec 1998 13:04:15 +0000 (13:04 +0000)] 
forwarding statistics

25 years agomore cases where it is wrong to call cbdataValid
wessels [Wed, 16 Dec 1998 12:38:57 +0000 (12:38 +0000)] 
more cases where it is wrong to call cbdataValid

25 years agoits wrong to assert cbdataValid(foo) when 'foo' is the callback data
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.

25 years agomore peer / peer_digest locking fixes
wessels [Wed, 16 Dec 1998 07:07:17 +0000 (07:07 +0000)] 
more peer / peer_digest locking fixes

25 years agocleaning up peer and peer_digest interlocking goop
wessels [Wed, 16 Dec 1998 06:51:19 +0000 (06:51 +0000)] 
cleaning up peer and peer_digest interlocking goop

25 years agosigh, we don't really need to lock/unlock peer here
wessels [Wed, 16 Dec 1998 01:22:40 +0000 (01:22 +0000)] 
sigh, we don't really need to lock/unlock peer here

25 years agoforgot to call cbdataFree() on the peer!!
wessels [Wed, 16 Dec 1998 01:19:26 +0000 (01:19 +0000)] 
forgot to call cbdataFree() on the peer!!

25 years agostrip_query_terms option
wessels [Wed, 16 Dec 1998 00:33:58 +0000 (00:33 +0000)] 
strip_query_terms option

25 years agolookup FQDN if missed for access log
wessels [Wed, 16 Dec 1998 00:33:33 +0000 (00:33 +0000)] 
lookup FQDN if missed for access log

25 years ago- do not lock event cbdata
rousskov [Tue, 15 Dec 1998 06:45:15 +0000 (06:45 +0000)] 
- do not lock event cbdata

25 years agolock the peer while in the 'Config.peers' list
wessels [Tue, 15 Dec 1998 05:34:30 +0000 (05:34 +0000)] 
lock the peer while in the 'Config.peers' list

25 years agostupid bugs
wessels [Mon, 14 Dec 1998 12:19:36 +0000 (12:19 +0000)] 
stupid bugs

25 years agofwdState leak
wessels [Mon, 14 Dec 1998 12:01:09 +0000 (12:01 +0000)] 
fwdState leak

25 years agoupdate cbdataAddDbg macro
wessels [Sat, 12 Dec 1998 06:48:38 +0000 (06:48 +0000)] 
update cbdataAddDbg macro

25 years agogot hierarchy logging working again after new forwarding goop
wessels [Sat, 12 Dec 1998 06:45:09 +0000 (06:45 +0000)] 
got hierarchy logging working again after new forwarding goop

25 years agoFixed handling of pconns. fwdUnregister no longer frees
wessels [Sat, 12 Dec 1998 06:10:47 +0000 (06:10 +0000)] 
Fixed handling of pconns.  fwdUnregister no longer frees
the fwdState.

25 years agoadded optional leakfinder code
wessels [Sat, 12 Dec 1998 04:01:08 +0000 (04:01 +0000)] 
added optional leakfinder code

25 years agoupdate
wessels [Sat, 12 Dec 1998 03:09:33 +0000 (03:09 +0000)] 
update

25 years agoMulticast Miss Stream code
wessels [Sat, 12 Dec 1998 03:06:49 +0000 (03:06 +0000)] 
Multicast Miss Stream code

25 years agoclarification on defaults
wessels [Fri, 11 Dec 1998 03:10:13 +0000 (03:10 +0000)] 
clarification on defaults

25 years agoclient active requests cachemgr page
wessels [Thu, 10 Dec 1998 06:00:58 +0000 (06:00 +0000)] 
client active requests cachemgr page

25 years agochange URI has whitespace debug level
wessels [Wed, 9 Dec 1998 11:16:48 +0000 (11:16 +0000)] 
change URI has whitespace debug level

25 years agoBug fixes and memory fixes
glenn [Wed, 9 Dec 1998 03:30:10 +0000 (03:30 +0000)] 
Bug fixes and memory fixes
Removed queuing of snmp responses

25 years agofix recursive/loop calls to peerSelectFoo()
wessels [Sat, 5 Dec 1998 14:17:36 +0000 (14:17 +0000)] 
fix recursive/loop calls to peerSelectFoo()

25 years agoconfigured_once cleanup
wessels [Sat, 5 Dec 1998 14:17:06 +0000 (14:17 +0000)] 
configured_once cleanup

25 years agomega patch to implement request re-forwarding after HTTP 500-ish errors
wessels [Sat, 5 Dec 1998 07:54:08 +0000 (07:54 +0000)] 
mega patch to implement request re-forwarding after HTTP 500-ish errors

25 years ago2.1 branch merge
wessels [Sat, 5 Dec 1998 07:00:44 +0000 (07:00 +0000)] 
2.1 branch merge

25 years ago2.1 branch merge
wessels [Sat, 5 Dec 1998 05:20:05 +0000 (05:20 +0000)] 
2.1 branch merge

25 years ago- more HPUX compiler workarounds: let's try to use floor() before (int)
rousskov [Sat, 5 Dec 1998 01:25:14 +0000 (01:25 +0000)] 
- more HPUX compiler workarounds: let's try to use floor() before (int)

25 years agoupdate comments
wessels [Fri, 4 Dec 1998 23:37:07 +0000 (23:37 +0000)] 
update comments

25 years agofubar
wessels [Wed, 2 Dec 1998 13:00:41 +0000 (13:00 +0000)] 
fubar

25 years agoDW anal cleanup
wessels [Wed, 2 Dec 1998 12:57:52 +0000 (12:57 +0000)] 
DW anal cleanup

25 years agoformatting
wessels [Wed, 2 Dec 1998 12:51:00 +0000 (12:51 +0000)] 
formatting

25 years agocbdata and other memory bug fix
glenn [Wed, 2 Dec 1998 12:49:24 +0000 (12:49 +0000)] 
cbdata and other memory bug fix

25 years agosome dont like function arg names same as type names
wessels [Wed, 2 Dec 1998 12:14:17 +0000 (12:14 +0000)] 
some dont like function arg names same as type names

25 years agoUSE_TRUNCATE_NOT_UNLINK option
wessels [Wed, 2 Dec 1998 12:07:25 +0000 (12:07 +0000)] 
USE_TRUNCATE_NOT_UNLINK option