]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agodont make SNMP in by default
wessels [Wed, 3 Dec 1997 08:27:55 +0000 (08:27 +0000)] 
dont make SNMP in by default

27 years agoupdate
wessels [Wed, 3 Dec 1997 08:27:40 +0000 (08:27 +0000)] 
update

27 years agoignore SIGPIPE
wessels [Wed, 3 Dec 1997 07:29:47 +0000 (07:29 +0000)] 
ignore SIGPIPE

27 years ago1.2.beta8
wessels [Wed, 3 Dec 1997 07:29:01 +0000 (07:29 +0000)] 
1.2.beta8

27 years agoupdate
wessels [Wed, 3 Dec 1997 07:28:57 +0000 (07:28 +0000)] 
update

27 years agoAvoid errorSend() in client_side.c. We must use errorAppendEntry()
wessels [Wed, 3 Dec 1997 06:55:05 +0000 (06:55 +0000)] 
Avoid errorSend() in client_side.c.  We must use errorAppendEntry()
instead because of persistent/pipeline requests.

27 years ago- Make HTTP PUT's work again in clientProcessRequest().
wessels [Wed, 3 Dec 1997 05:12:56 +0000 (05:12 +0000)] 
- Make HTTP PUT's work again in clientProcessRequest().
- Eliminate 'fd' arg for clientProcess* functions.

27 years agocorrected several snmp problems, including net_db support, spreading snmp code
kostas [Wed, 3 Dec 1997 00:59:32 +0000 (00:59 +0000)] 
corrected several snmp problems, including net_db support, spreading snmp code
to the appropriate files so that we don't make some structures global. minor
mib corrections.

27 years agovariable structures and magic numbers moved here to spread agent called functions
kostas [Wed, 3 Dec 1997 00:56:03 +0000 (00:56 +0000)] 
variable structures and magic numbers moved here to spread agent called functions
over several files.

27 years agoMakefiles
wessels [Tue, 2 Dec 1997 12:28:00 +0000 (12:28 +0000)] 
Makefiles

27 years agoMD5 support for Squid's cache keys!
wessels [Tue, 2 Dec 1997 12:06:36 +0000 (12:06 +0000)] 
MD5 support for Squid's cache keys!
- moved md5.c from snmplib to lib
- changed md5.c's wierd typedefs (UINT4, POINTER)
- moved u_num32 typedefs to config.h, deleted from squid.h and
  asn1.h.
- more I'm sure

27 years agoformatting
wessels [Tue, 2 Dec 1997 10:33:08 +0000 (10:33 +0000)] 
formatting

27 years agofix u_num32 typedefs
wessels [Tue, 2 Dec 1997 10:32:50 +0000 (10:32 +0000)] 
fix u_num32 typedefs

27 years agoremove OLD_CODE
wessels [Tue, 2 Dec 1997 10:32:22 +0000 (10:32 +0000)] 
remove OLD_CODE

27 years agomake SNMP code #ifdef-able, including config parsing
wessels [Tue, 2 Dec 1997 10:30:21 +0000 (10:30 +0000)] 
make SNMP code #ifdef-able, including config parsing

27 years agoswitch fqdncache_purgelru() from using qsort() to a double-linked list.
wessels [Tue, 2 Dec 1997 10:19:28 +0000 (10:19 +0000)] 
switch fqdncache_purgelru() from using qsort() to a double-linked list.

27 years agopreprocessor
wessels [Tue, 2 Dec 1997 07:45:22 +0000 (07:45 +0000)] 
preprocessor

27 years agogindent
wessels [Tue, 2 Dec 1997 07:17:21 +0000 (07:17 +0000)] 
gindent

27 years agoupdate
wessels [Tue, 2 Dec 1997 07:17:04 +0000 (07:17 +0000)] 
update

27 years agocomm_poll/comm_select could 'spin' a little bit on HTTP and ICP sockets
wessels [Tue, 2 Dec 1997 07:15:50 +0000 (07:15 +0000)] 
comm_poll/comm_select could 'spin' a little bit on HTTP and ICP sockets
because it would only check them every 7th FD.  If select returns
less than 7, however, we should make sure they get done.

27 years agogindent
wessels [Tue, 2 Dec 1997 07:13:56 +0000 (07:13 +0000)] 
gindent

27 years agoinitialize statLen to 0
wessels [Tue, 2 Dec 1997 07:13:40 +0000 (07:13 +0000)] 
initialize statLen to 0

27 years agoSNMP changes to get snmpwalk working
wessels [Tue, 2 Dec 1997 05:45:44 +0000 (05:45 +0000)] 
SNMP changes to get snmpwalk working

27 years agofix keep alive connection request header for non-proxy connections
wessels [Mon, 1 Dec 1997 12:34:55 +0000 (12:34 +0000)] 
fix keep alive connection request header for non-proxy connections

27 years agodont need to check xmalloc() return value
wessels [Mon, 1 Dec 1997 12:33:53 +0000 (12:33 +0000)] 
dont need to check xmalloc() return value

27 years agoupdate
wessels [Mon, 1 Dec 1997 12:33:27 +0000 (12:33 +0000)] 
update

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

27 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.

27 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.

27 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'

27 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()

27 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().

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

27 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)

27 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

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

27 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.

27 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

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

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

27 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.

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

27 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

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

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

27 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.

27 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().

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

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

27 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

27 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

27 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().

27 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.

27 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

27 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.

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

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

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

27 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

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

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

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

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

27 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.

27 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

27 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

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

27 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

27 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

27 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.

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

27 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

27 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

27 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...

27 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

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

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

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

27 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()!

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

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

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

27 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

27 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

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

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

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

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

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

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

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

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

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

27 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.

27 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

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

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

27 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

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

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