]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agoHenrik Nordstrom
wessels [Sun, 7 Dec 1997 07:48:12 +0000 (07:48 +0000)] 
Henrik Nordstrom
When we detect an entry with bad content length in store.c, set a flags
bit so we know to close the client connection.

27 years agoremove extra debugs
wessels [Sun, 7 Dec 1997 02:38:36 +0000 (02:38 +0000)] 
remove extra debugs

27 years agoclean up debugs
wessels [Sun, 7 Dec 1997 02:37:33 +0000 (02:37 +0000)] 
clean up debugs

27 years agourn tweaks
wessels [Sun, 7 Dec 1997 02:25:42 +0000 (02:25 +0000)] 
urn tweaks

27 years agoadd automatically-growning strings
wessels [Sun, 7 Dec 1997 02:02:33 +0000 (02:02 +0000)] 
add automatically-growning strings

27 years agoMoved URN->URL resolution over to "server-side"
wessels [Sun, 7 Dec 1997 01:58:34 +0000 (01:58 +0000)] 
Moved URN->URL resolution over to "server-side"
Now we always generate an HTML list of the possibilities.  IF we
get a 'minimum RTT' site, then we'll add a 'Location' reply header
and the user-agent should fetch it automatically.

27 years agoupdate
wessels [Sat, 6 Dec 1997 12:45:24 +0000 (12:45 +0000)] 
update

27 years agoINITIAL URN SUPPORT by Kostas
wessels [Sat, 6 Dec 1997 12:16:52 +0000 (12:16 +0000)] 
INITIAL URN SUPPORT by Kostas

27 years agoadding
wessels [Sat, 6 Dec 1997 10:00:36 +0000 (10:00 +0000)] 
adding

27 years agomoved getrusage prototypes to protos.h
wessels [Sat, 6 Dec 1997 08:26:50 +0000 (08:26 +0000)] 
moved getrusage prototypes to protos.h

27 years agoput rusage typedef hack here
wessels [Sat, 6 Dec 1997 08:26:28 +0000 (08:26 +0000)] 
put rusage typedef hack here

27 years agoadd assertion
wessels [Sat, 6 Dec 1997 08:26:16 +0000 (08:26 +0000)] 
add assertion

27 years agocompler
wessels [Sat, 6 Dec 1997 08:26:02 +0000 (08:26 +0000)] 
compler

27 years agoupdate
wessels [Sat, 6 Dec 1997 08:25:21 +0000 (08:25 +0000)] 
update

27 years agomoved options from Makefile to options.h
wessels [Sat, 6 Dec 1997 05:01:13 +0000 (05:01 +0000)] 
moved options from Makefile to options.h

27 years agomove ARP support into acl.c
wessels [Sat, 6 Dec 1997 04:02:06 +0000 (04:02 +0000)] 
move ARP support into acl.c

27 years agoadd ACL_SRC_ARP
wessels [Sat, 6 Dec 1997 03:58:31 +0000 (03:58 +0000)] 
add ACL_SRC_ARP

27 years agoACL ARP support
wessels [Sat, 6 Dec 1997 02:30:03 +0000 (02:30 +0000)] 
ACL ARP support
From:    dale@server.ctam.bitmcnit.bryansk.su (Dale)
   Working on setting up a proper firewall for a network containing some
Win'95 computers at our Univ, I've discovered that some smart students
avoid the restrictions easily just changing their IP addresses in Win'95
Contol Panel... It has been getting boring, so I took Squid-1.1.18
sources and added a new acl type for hard-wired access control:

27 years agosupport for typecode ala RFC 1738
wessels [Fri, 5 Dec 1997 14:42:57 +0000 (14:42 +0000)] 
support for typecode ala RFC 1738

27 years agoFix handling of certain non-200 HTTP replies (Henrik)
wessels [Fri, 5 Dec 1997 06:07:51 +0000 (06:07 +0000)] 
Fix handling of certain non-200 HTTP replies (Henrik)

27 years agoonly generate an error page if inmem_hi == 0
wessels [Fri, 5 Dec 1997 06:06:45 +0000 (06:06 +0000)] 
only generate an error page if inmem_hi == 0

27 years agoInitial URN support
kostas [Fri, 5 Dec 1997 05:50:04 +0000 (05:50 +0000)] 
Initial URN support

27 years agoDont reset the FD timeout value in clientReadRequest. It breaks the
wessels [Thu, 4 Dec 1997 07:07:33 +0000 (07:07 +0000)] 
Dont reset the FD timeout value in clientReadRequest.  It breaks the
half-close detection.

27 years agoupdate
wessels [Thu, 4 Dec 1997 06:56:56 +0000 (06:56 +0000)] 
update

27 years agonote half-closed client sockets
wessels [Thu, 4 Dec 1997 06:12:11 +0000 (06:12 +0000)] 
note half-closed client sockets

27 years agoargh, more changes to deal with sending errors back in StoreEntry's.
wessels [Thu, 4 Dec 1997 02:45:24 +0000 (02:45 +0000)] 
argh, more changes to deal with sending errors back in StoreEntry's.
Now, for failed requests, we will generate a clientHttpRequest struct
so we can use clientSendMoreData() etc..

27 years agoTypo corrected (s/celan/clean)
kostas [Thu, 4 Dec 1997 02:42:54 +0000 (02:42 +0000)] 
Typo corrected (s/celan/clean)

27 years agorequest_size needs to be stored as BYTES, not KBYTES
wessels [Thu, 4 Dec 1997 00:55:23 +0000 (00:55 +0000)] 
request_size needs to be stored as BYTES, not KBYTES

27 years agomaxfd bugs when we run out of files?
wessels [Wed, 3 Dec 1997 16:05:00 +0000 (16:05 +0000)] 
maxfd bugs when we run out of files?

27 years agoremove storeAbort() calls after storeAppendEntry() because now
wessels [Wed, 3 Dec 1997 16:00:16 +0000 (16:00 +0000)] 
remove storeAbort() calls after storeAppendEntry() because now
storeAppendEntry() calls storeComplete() which sets store_status
to STORE_COMPLETE.

27 years agoforgot to pass flags to storeCreateEntry()!
wessels [Wed, 3 Dec 1997 15:57:19 +0000 (15:57 +0000)] 
forgot to pass flags to storeCreateEntry()!

27 years agohave errorAppendEntry() call storeComplete()
wessels [Wed, 3 Dec 1997 15:26:34 +0000 (15:26 +0000)] 
have errorAppendEntry() call storeComplete()

27 years agoFor erroneous requests, we might not have a http->request structure,
wessels [Wed, 3 Dec 1997 15:24:07 +0000 (15:24 +0000)] 
For erroneous requests, we might not have a http->request structure,
so generate a fake on in clientCreateStoreEntry().

27 years agochange clientCreateStoreEntry() to take method_t arg because
wessels [Wed, 3 Dec 1997 14:30:29 +0000 (14:30 +0000)] 
change clientCreateStoreEntry() to take method_t arg because
http->request might be NULL.

27 years agomake EALREADY a hard error for HP-UX
wessels [Wed, 3 Dec 1997 11:39:07 +0000 (11:39 +0000)] 
make EALREADY a hard error for HP-UX

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

27 years agoformatting
wessels [Wed, 3 Dec 1997 08:33:15 +0000 (08:33 +0000)] 
formatting

27 years agomove "struct tree *Mib" to globals.h
wessels [Wed, 3 Dec 1997 08:32:20 +0000 (08:32 +0000)] 
move "struct tree *Mib" to globals.h

27 years agoremove short function fqdncache_add_to_hash()
wessels [Wed, 3 Dec 1997 08:31:59 +0000 (08:31 +0000)] 
remove short function fqdncache_add_to_hash()

27 years agorename memoryAccounted() to statMemoryAccounted() and make it global
wessels [Wed, 3 Dec 1997 08:31:40 +0000 (08:31 +0000)] 
rename memoryAccounted() to statMemoryAccounted() and make it global

27 years agoremove old snmp_config.h
wessels [Wed, 3 Dec 1997 08:30:39 +0000 (08:30 +0000)] 
remove old snmp_config.h

27 years agoremove commented-out prototypes
wessels [Wed, 3 Dec 1997 08:29:56 +0000 (08:29 +0000)] 
remove commented-out prototypes

27 years agoremove include/snmp_config.h because its specific to the src directory. its contents...
wessels [Wed, 3 Dec 1997 08:29:35 +0000 (08:29 +0000)] 
remove include/snmp_config.h because its specific to the src directory.  its contents have been relocated to src/structs.h and src/defines.h

27 years agoremove sneaky LOG_METER_EXPIRES
wessels [Wed, 3 Dec 1997 08:28:17 +0000 (08:28 +0000)] 
remove sneaky LOG_METER_EXPIRES

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