]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
28 years agoupdate
wessels [Mon, 1 Dec 1997 12:33:27 +0000 (12:33 +0000)] 
update

28 years agoremove unused prototypes
wessels [Mon, 1 Dec 1997 12:06:44 +0000 (12:06 +0000)] 
remove unused prototypes

28 years agoOof, icpCheckTransferDone() fix. We were ending the transfer after
wessels [Mon, 1 Dec 1997 11:46:50 +0000 (11:46 +0000)] 
Oof, icpCheckTransferDone() fix.  We were ending the transfer after
the reply headers for ALL replies, not just non-200 replies.

28 years agopersistent connection / content-length fix. We may not get a
wessels [Mon, 1 Dec 1997 09:19:19 +0000 (09:19 +0000)] 
persistent connection / content-length fix.  We may not get a
content-length on non-200 replies.  In this case, we are DONE writing
to the client when we have seen the end of the reply headers.

28 years agopersistent connection / content-length fix. For non-200 replies, we
wessels [Mon, 1 Dec 1997 09:17:29 +0000 (09:17 +0000)] 
persistent connection / content-length fix.  For non-200 replies, we
may or may not get a content-length.  If there is no content-length, AND
we've reached the end-of-headers, then we can still try being persistent.
This was previously #ifdef'd out as 'NOT_SURE_THIS_MATTERS'

28 years agoassert that mem->clients == NULL in destroy_MemObject()
wessels [Mon, 1 Dec 1997 09:15:25 +0000 (09:15 +0000)] 
assert that mem->clients == NULL in destroy_MemObject()

28 years agoNeed to 'cbdataUnlock()' the ConnectStateData->data in commConnectFree()
wessels [Sun, 30 Nov 1997 11:59:05 +0000 (11:59 +0000)] 
Need to 'cbdataUnlock()' the ConnectStateData->data in commConnectFree()
if we DIDN'T ever call commConnectCallback().

28 years agodebug changes
wessels [Sun, 30 Nov 1997 11:00:53 +0000 (11:00 +0000)] 
debug changes

28 years agoUse the errorpage codes to generate a special URL with the %2f hack
wessels [Sun, 30 Nov 1997 10:08:37 +0000 (10:08 +0000)] 
Use the errorpage codes to generate a special URL with the %2f hack
for failed request (Henrik Nordstrom)

28 years agomove POLLRDNORM hack from config.h to squid.h
wessels [Sun, 30 Nov 1997 09:52:09 +0000 (09:52 +0000)] 
move POLLRDNORM hack from config.h to squid.h

28 years agocompiler
wessels [Sun, 30 Nov 1997 09:40:07 +0000 (09:40 +0000)] 
compiler

28 years agoFrom: BoB Miorelli <miorelli@pweh.com>
wessels [Sun, 30 Nov 1997 09:26:41 +0000 (09:26 +0000)] 
From:    BoB Miorelli <miorelli@pweh.com>
I recently sent patches to fix the proxy_auth code in
Squid 1.2.beta6.   This context diff fixes the log file
so that the authorized user name is logged if there
is no ident header present.  Also fixes the Common Log
Format to properly log client IP address.

28 years agofix some int/long problems for 64bit systems
wessels [Sun, 30 Nov 1997 09:10:30 +0000 (09:10 +0000)] 
fix some int/long problems for 64bit systems

28 years agoadd cbdata __FILE__,__LINE__ debugging
wessels [Sun, 30 Nov 1997 00:00:43 +0000 (00:00 +0000)] 
add cbdata __FILE__,__LINE__ debugging

28 years agoremove bogus (?) assertion
wessels [Sat, 29 Nov 1997 15:07:35 +0000 (15:07 +0000)] 
remove bogus (?) assertion

28 years ago"content-length: 0" is a valid reply header, so we must use -1 to indicate
wessels [Sat, 29 Nov 1997 15:03:17 +0000 (15:03 +0000)] 
"content-length: 0" is a valid reply header, so we must use -1 to indicate
a LACK of a content-length.

28 years agoabort request after 20 timeouts
wessels [Sat, 29 Nov 1997 06:49:26 +0000 (06:49 +0000)] 
abort request after 20 timeouts

28 years agocall getCurrentTime() while writing clean logs
wessels [Sat, 29 Nov 1997 06:48:26 +0000 (06:48 +0000)] 
call getCurrentTime() while writing clean logs

28 years agocode reuse; commCallCloseHandlers()
wessels [Sat, 29 Nov 1997 06:48:07 +0000 (06:48 +0000)] 
code reuse; commCallCloseHandlers()

28 years agocompiler warning
wessels [Sat, 29 Nov 1997 06:34:04 +0000 (06:34 +0000)] 
compiler warning

28 years ago- clean up snmplib #includes to eliminate compiler warnings
wessels [Sat, 29 Nov 1997 06:25:25 +0000 (06:25 +0000)] 
- clean up snmplib #includes to eliminate compiler warnings
- also use xcalloc() instead of calloc(), etc.

28 years agocbdata leak, mostly from comm_remove_close_handler failing to
wessels [Sat, 29 Nov 1997 02:47:22 +0000 (02:47 +0000)] 
cbdata leak, mostly from comm_remove_close_handler failing to
call cbdataUnlock().

28 years agocomment out old code
wessels [Fri, 28 Nov 1997 15:20:29 +0000 (15:20 +0000)] 
comment out old code

28 years agohash_join() is now void
wessels [Fri, 28 Nov 1997 15:19:56 +0000 (15:19 +0000)] 
hash_join() is now void

28 years agohash_join() and hash_insert() now are void
wessels [Fri, 28 Nov 1997 15:15:07 +0000 (15:15 +0000)] 
hash_join() and hash_insert() now are void

28 years agoexpand the combination of protcols and methods squid will accept
wessels [Fri, 28 Nov 1997 15:14:09 +0000 (15:14 +0000)] 
expand the combination of protcols and methods squid will accept

28 years agomodified ipcache.c to use double-linked list for LRU instead of qsort().
wessels [Fri, 28 Nov 1997 15:13:45 +0000 (15:13 +0000)] 
modified ipcache.c to use double-linked list for LRU instead of qsort().

28 years ago- StoreEntry didn't need to have the method_t member, so its been
wessels [Fri, 28 Nov 1997 15:11:58 +0000 (15:11 +0000)] 
- StoreEntry didn't need to have the method_t member, so its been
  moved to MemObject->method.
- storeEntryListAdd and storeEntryListDelete are quite general.  They
  have been moved to tools.c and named dlinkAdd() and dlinkDelete().
- we want to be able to cache ALL methods, so store_key_url.c now
  always puts the request method into the cache key.
- made StoreEntry->refcount and StoreEntry->flag 16-bit shorts.

28 years agoremoved UNUSED StoreEntry->flag enums so we can make it a 16-bit short
wessels [Fri, 28 Nov 1997 15:05:13 +0000 (15:05 +0000)] 
removed UNUSED StoreEntry->flag enums so we can make it a 16-bit short

28 years ago- Rename 'icp' functions to 'client' functions
wessels [Fri, 28 Nov 1997 15:04:39 +0000 (15:04 +0000)] 
- Rename 'icp' functions to 'client' functions
- break clientProcessRequest() into smaller chunks.
- moved setting some request->flags bits into icpParseRequestHeaders()
  with the rest of them.

28 years agoAdd 'mgr:foo' hack
wessels [Fri, 28 Nov 1997 15:02:31 +0000 (15:02 +0000)] 
Add 'mgr:foo' hack

28 years agoAdd counter for cachemgr output
wessels [Fri, 28 Nov 1997 15:01:03 +0000 (15:01 +0000)] 
Add counter for cachemgr output

28 years agoprotect with SQUID_SNMP defines
wessels [Fri, 28 Nov 1997 15:00:29 +0000 (15:00 +0000)] 
protect with SQUID_SNMP defines

28 years agocant have SNMP #ifdefs in Config
wessels [Tue, 25 Nov 1997 06:18:48 +0000 (06:18 +0000)] 
cant have SNMP #ifdefs in Config

28 years agoadding
wessels [Tue, 25 Nov 1997 06:05:16 +0000 (06:05 +0000)] 
adding

28 years agoupdate
wessels [Tue, 25 Nov 1997 06:03:38 +0000 (06:03 +0000)] 
update

28 years agoupdate
wessels [Tue, 25 Nov 1997 06:03:37 +0000 (06:03 +0000)] 
update

28 years agooops, undo debug change
wessels [Tue, 25 Nov 1997 05:36:24 +0000 (05:36 +0000)] 
oops, undo debug change

28 years agoFixes to get pipelined client requests working better. Need a function
wessels [Tue, 25 Nov 1997 05:32:36 +0000 (05:32 +0000)] 
Fixes to get pipelined client requests working better.  Need a function
called storeClientPending() whose purpose is to tell the client side
if there is already a callback registered for the entry and the client.
If not, then we'll register one via storeClientCopy().  This is due to
a race condition; when we have pipelined requests, we can not guarantee
that we'll get Deferred in clientSendMoreData() before its time to
send the object off to the client, so the original handler may still
be in place.

28 years agoHenrik's massive FTP fixes and other minor changes
wessels [Tue, 25 Nov 1997 01:27:15 +0000 (01:27 +0000)] 
Henrik's massive FTP fixes and other minor changes

28 years agoMaking it so reconfigure doesn't require waiting for all current
wessels [Sun, 23 Nov 1997 13:52:36 +0000 (13:52 +0000)] 
Making it so reconfigure doesn't require waiting for all current
connections to finish

28 years agomisc new functions
wessels [Sun, 23 Nov 1997 13:51:45 +0000 (13:51 +0000)] 
misc new functions

28 years agoAdd 'R' tag for full HTTP request
wessels [Sun, 23 Nov 1997 13:51:19 +0000 (13:51 +0000)] 
Add 'R' tag for full HTTP request

28 years agoMove *ConnectionOpen() functionality to client_side.c and icp_v2.c.
wessels [Sun, 23 Nov 1997 13:50:26 +0000 (13:50 +0000)] 
Move *ConnectionOpen() functionality to client_side.c and icp_v2.c.
trying to make it so HUP doesn't require closing all the connections

28 years agoWhen reconfiguring, don't free the cacheSwap data structs, we can only
wessels [Sun, 23 Nov 1997 13:48:39 +0000 (13:48 +0000)] 
When reconfiguring, don't free the cacheSwap data structs, we can only
change the size and the read/write flag.

28 years agoMake SNMP optional
wessels [Sun, 23 Nov 1997 13:47:18 +0000 (13:47 +0000)] 
Make SNMP optional

28 years agoFor ERR_INVALID_REQ print the full request instead of the URL which
wessels [Sun, 23 Nov 1997 13:46:04 +0000 (13:46 +0000)] 
For ERR_INVALID_REQ print the full request instead of the URL which
probably isnt' even set

28 years agoadd request headers to errorpage types
wessels [Sat, 22 Nov 1997 00:51:46 +0000 (00:51 +0000)] 
add request headers to errorpage types

28 years agoFrom: Henrik Nordstrom <hno@hem.passagen.se>
wessels [Sat, 22 Nov 1997 00:28:11 +0000 (00:28 +0000)] 
From:    Henrik Nordstrom <hno@hem.passagen.se>
Here is a small patch to make the generated squid.conf reflect the
configured paths for cache_dir and cache_access_log...

28 years agocleanup, warn if Config.Snmp.agentInfo == NULL
wessels [Fri, 21 Nov 1997 13:59:57 +0000 (13:59 +0000)] 
cleanup, warn if Config.Snmp.agentInfo == NULL

28 years agoincludes for getenv()
wessels [Fri, 21 Nov 1997 13:45:35 +0000 (13:45 +0000)] 
includes for getenv()

28 years agoFurther SNMP cleanup...
wessels [Fri, 21 Nov 1997 13:41:11 +0000 (13:41 +0000)] 
Further SNMP cleanup...

28 years agoclean string_arrays.c too
wessels [Fri, 21 Nov 1997 12:59:31 +0000 (12:59 +0000)] 
clean string_arrays.c too

28 years agoContinuing SNMP debugging.
wessels [Fri, 21 Nov 1997 12:55:51 +0000 (12:55 +0000)] 
Continuing SNMP debugging.
    - snmpHandleUdp needed to set 'outlen' before calling
      snmp_agent_parse()!

28 years agoclean up snmp debug levels
wessels [Fri, 21 Nov 1997 12:17:42 +0000 (12:17 +0000)] 
clean up snmp debug levels

28 years agoadd newlines on debugs, etc
wessels [Fri, 21 Nov 1997 12:13:24 +0000 (12:13 +0000)] 
add newlines on debugs, etc

28 years agoadding
kostas [Fri, 21 Nov 1997 11:48:10 +0000 (11:48 +0000)] 
adding

28 years agomore SNMP compiler cleanup, typedefs, etc
wessels [Fri, 21 Nov 1997 11:45:33 +0000 (11:45 +0000)] 
more SNMP compiler cleanup, typedefs, etc

28 years agoget rid of some compiler warnings
wessels [Fri, 21 Nov 1997 10:42:37 +0000 (10:42 +0000)] 
get rid of some compiler warnings

28 years agogindent
wessels [Fri, 21 Nov 1997 09:45:48 +0000 (09:45 +0000)] 
gindent

28 years agogindent
wessels [Fri, 21 Nov 1997 08:58:57 +0000 (08:58 +0000)] 
gindent

28 years agoneeded for snmp
kostas [Fri, 21 Nov 1997 07:51:43 +0000 (07:51 +0000)] 
needed for snmp

28 years agofinal snmp goop
wessels [Fri, 21 Nov 1997 07:47:54 +0000 (07:47 +0000)] 
final snmp goop

28 years agoSNMP, cmu derived, heavily modified
kostas [Fri, 21 Nov 1997 07:40:34 +0000 (07:40 +0000)] 
SNMP, cmu derived, heavily modified

28 years agoInclude files for snmp support
kostas [Fri, 21 Nov 1997 07:34:06 +0000 (07:34 +0000)] 
Include files for snmp support

28 years agoMore initial support for snmp
kostas [Fri, 21 Nov 1997 07:30:32 +0000 (07:30 +0000)] 
More initial support for snmp

28 years agokostas initial snmp support
wessels [Fri, 21 Nov 1997 07:29:31 +0000 (07:29 +0000)] 
kostas initial snmp support

28 years agoperl compiler complains about []
wessels [Fri, 21 Nov 1997 00:51:51 +0000 (00:51 +0000)] 
perl compiler complains about []

28 years agoChanged how we account the keepalive ratio. We don't want to
wessels [Fri, 21 Nov 1997 00:48:37 +0000 (00:48 +0000)] 
Changed how we account the keepalive ratio.  We don't want to
increment keepalives_sent++ when we write the request, because
if we have a large number of requests outstanding, the ratio
will tend towards zero quickly and then we'll stop sending keepalives
on subsequent requests.  So now we increment keeepalives_sent when
we get the reply.

28 years agoset FD description for the idle pconn
wessels [Fri, 21 Nov 1997 00:47:12 +0000 (00:47 +0000)] 
set FD description for the idle pconn

28 years agoadd assertion
wessels [Fri, 21 Nov 1997 00:46:42 +0000 (00:46 +0000)] 
add assertion

28 years agoadding
wessels [Thu, 20 Nov 1997 15:20:26 +0000 (15:20 +0000)] 
adding

28 years agoOkumoto suggested changes. perl script to generate string arrays
wessels [Thu, 20 Nov 1997 13:25:24 +0000 (13:25 +0000)] 
Okumoto suggested changes.  perl script to generate string arrays
from enums.
protoStart() can be static and should use a switch() instead of
if-else-else

28 years agounused variable
wessels [Wed, 19 Nov 1997 13:17:31 +0000 (13:17 +0000)] 
unused variable

28 years agoup debug level
wessels [Wed, 19 Nov 1997 13:16:57 +0000 (13:16 +0000)] 
up debug level

28 years agoconsolidate HTTP/x.x token parsing and remove level 1 debug()
wessels [Wed, 19 Nov 1997 13:16:33 +0000 (13:16 +0000)] 
consolidate HTTP/x.x token parsing and remove level 1 debug()

28 years agoupdate
wessels [Wed, 19 Nov 1997 03:38:35 +0000 (03:38 +0000)] 
update

28 years agodon't need InvokeHandlers() call after ftpParseListing()
wessels [Wed, 19 Nov 1997 03:38:25 +0000 (03:38 +0000)] 
don't need InvokeHandlers() call after ftpParseListing()

28 years agoReplaced gross EBIT_SET(..., DELAY_SENDING) and EBIT_CLR(..., DELAY_SENDING)
wessels [Tue, 18 Nov 1997 08:02:37 +0000 (08:02 +0000)] 
Replaced gross EBIT_SET(..., DELAY_SENDING) and EBIT_CLR(..., DELAY_SENDING)
with storeBuffer() and storeBufferFlush().

28 years agodon't call storeCheckSwapOut() if DELAY_SENDING is set.
wessels [Tue, 18 Nov 1997 07:48:46 +0000 (07:48 +0000)] 
don't call storeCheckSwapOut() if DELAY_SENDING is set.

28 years agoWe are prematurely calling storeComplete() on ftp listings!
wessels [Tue, 18 Nov 1997 07:48:23 +0000 (07:48 +0000)] 
We are prematurely calling storeComplete() on ftp listings!

28 years agoWe're coredumping with wierd results on oceana. ->http_ver is set to
wessels [Tue, 18 Nov 1997 07:47:59 +0000 (07:47 +0000)] 
We're coredumping with wierd results on oceana.  ->http_ver is set to
some wierd constant and the debugger prints 'Arithmetic error'.
Lets try atof() instead of sscanf().

28 years agoproxy auth user/passwd fix
wessels [Tue, 18 Nov 1997 05:11:24 +0000 (05:11 +0000)] 
proxy auth user/passwd fix

28 years agoup loopdetect threshold to 10
wessels [Tue, 18 Nov 1997 05:11:09 +0000 (05:11 +0000)] 
up loopdetect threshold to 10

28 years agonext big step on 5 minute averages
wessels [Sat, 15 Nov 1997 13:36:33 +0000 (13:36 +0000)] 
next big step on 5 minute averages

28 years agorusage hacks if its not defined
wessels [Sat, 15 Nov 1997 13:02:04 +0000 (13:02 +0000)] 
rusage hacks if its not defined
tfSubDsec()

28 years agoadd tvSubS~Dsec()
wessels [Sat, 15 Nov 1997 12:43:29 +0000 (12:43 +0000)] 
add tvSubS~Dsec()

28 years agoNew averaging counter stuff
wessels [Sat, 15 Nov 1997 07:14:46 +0000 (07:14 +0000)] 
New averaging counter stuff

28 years agoremove unused cruft
wessels [Sat, 15 Nov 1997 03:00:39 +0000 (03:00 +0000)] 
remove unused cruft

28 years agoupdate
wessels [Sat, 15 Nov 1997 00:56:42 +0000 (00:56 +0000)] 
update

28 years agoFix storeClientCopy2() bug. We can't compare copy_offset to
wessels [Sat, 15 Nov 1997 00:22:09 +0000 (00:22 +0000)] 
Fix storeClientCopy2() bug.  We can't compare copy_offset to
inmem_hi because for inmem_hi == 0 for swapped out objects.  Must
compare object_len instead!

28 years agoUse new ignoreErrno()
wessels [Sat, 15 Nov 1997 00:21:15 +0000 (00:21 +0000)] 
Use new ignoreErrno()

28 years agoIn clientReadRequest(), moved reinstalling the read handler with
wessels [Sat, 15 Nov 1997 00:20:13 +0000 (00:20 +0000)] 
In clientReadRequest(), moved reinstalling the read handler with
commSetSelect() to just after the read().  Due to another bug, there
was a problem in clientReadRequest that we called commSetSelect()
on a FD which had been closed.

28 years agoFix 'EOF' bug in storeClientCopy2(). If the client copy offset equals
wessels [Fri, 14 Nov 1997 23:05:48 +0000 (23:05 +0000)] 
Fix 'EOF' bug in storeClientCopy2().  If the client copy offset equals
inmem_hi, and store_status == STORE_OK, then callback with zero size
to indicate EOF.

28 years agoremove HTTP version debug
wessels [Fri, 14 Nov 1997 22:49:58 +0000 (22:49 +0000)] 
remove HTTP version debug

28 years agocompiler
wessels [Fri, 14 Nov 1997 12:16:23 +0000 (12:16 +0000)] 
compiler

28 years agoEBIT bugfix. Was passing REQ_CACHABLE enum as a bitfield.
wessels [Fri, 14 Nov 1997 12:13:28 +0000 (12:13 +0000)] 
EBIT bugfix.  Was passing REQ_CACHABLE enum as a bitfield.

28 years agoDavid Luyer's fixes
wessels [Fri, 14 Nov 1997 11:55:05 +0000 (11:55 +0000)] 
David Luyer's fixes
- poll() for Linux
- SHA optimizations
- errno clashes
- storeDirCloseSwapLogs(); logs might not be open.

28 years agoupdate
wessels [Fri, 14 Nov 1997 00:38:50 +0000 (00:38 +0000)] 
update

28 years ago1.2.beta6
wessels [Fri, 14 Nov 1997 00:38:14 +0000 (00:38 +0000)] 
1.2.beta6