]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
28 years agoadding
wessels [Mon, 11 Aug 1997 08:25:00 +0000 (08:25 +0000)] 
adding

28 years agoMore work on persistent connections
wessels [Sun, 10 Aug 1997 12:34:26 +0000 (12:34 +0000)] 
More work on persistent connections
- added histogram counter
- added httpRestart() to retry failed requests when the
  server closes on us.
- missing commSetTimeout() calls when reusing a pconn.
- need to disable read and timeout handler when pconn
  pops a FD.
- const fixes

28 years agobug: cbdataUnlock would free() if the ptr was not valid, but still had locks
wessels [Sun, 10 Aug 1997 12:29:21 +0000 (12:29 +0000)] 
bug: cbdataUnlock would free() if the ptr was not valid, but still had locks

28 years agoconst fixes
wessels [Sun, 10 Aug 1997 11:05:32 +0000 (11:05 +0000)] 
const fixes

28 years agoupdate
wessels [Sun, 10 Aug 1997 10:42:47 +0000 (10:42 +0000)] 
update

28 years agoSERVER-SIDE PERSISTENT CONNECTIONS:
wessels [Sun, 10 Aug 1997 10:42:32 +0000 (10:42 +0000)] 
SERVER-SIDE PERSISTENT CONNECTIONS:
- Added pconn.c
- Addec Cofig.Timeout.pconn; default 120 seconds
- Added httpState->flags
- Added flags arg to httpBuildRequestHeader()
- Added HTTP_PROXYING and HTTP_KEEPALIVE flags
- Added 'Connection' to allowed HTTP headers (http-anon.c)
- Added 'Proxy-Connection' to allowed HTTP headers (http-anon.c)
- Merged proxyhttpStart() with httpStart() and crated new
  httpBuildState().
- New httpPconnTransferDone() detects end-of-data on persistent
  connections.

Other casualties:
- clean up casting of HASHCMP functions
- changed comm_open to return -1 instead of wierd COMM_ERROR
- cbdata-ify comm_close_handler stuff
- make some args const
- changed some PARAMS(()) to CNCB's
- Fixed cachemgrShutdown() not being used

28 years agoinstrumented persistent connection counter histogram
wessels [Sat, 9 Aug 1997 11:42:31 +0000 (11:42 +0000)] 
instrumented persistent connection counter histogram

28 years agosimpler cacheobj implementation; use OpTable of OBJH functions
wessels [Sat, 9 Aug 1997 10:48:06 +0000 (10:48 +0000)] 
simpler cacheobj implementation; use OpTable of OBJH functions

28 years agoneed to initialize first_ping.
wessels [Sat, 9 Aug 1997 06:01:32 +0000 (06:01 +0000)] 
need to initialize first_ping.
debug changes in icp.c

28 years agolooks like snprintf() breaks badly if given an unsupported format
wessels [Mon, 28 Jul 1997 12:42:57 +0000 (12:42 +0000)] 
looks like snprintf() breaks badly if given an unsupported format
such as '%f'.

28 years agoadding errors/
wessels [Mon, 28 Jul 1997 12:42:31 +0000 (12:42 +0000)] 
adding errors/

28 years agoupdate
wessels [Mon, 28 Jul 1997 12:42:00 +0000 (12:42 +0000)] 
update

28 years agoadding
wessels [Mon, 28 Jul 1997 12:41:16 +0000 (12:41 +0000)] 
adding

28 years agomostly working customizable error messages. lots of blanks to fill in though
wessels [Mon, 28 Jul 1997 12:40:50 +0000 (12:40 +0000)] 
mostly working customizable error messages.  lots of blanks to fill in though

28 years agomove bunch of options to Config.onoff
wessels [Sat, 26 Jul 1997 10:48:21 +0000 (10:48 +0000)] 
move bunch of options to Config.onoff

28 years ago- Change some sizes to 'size_t'
wessels [Mon, 21 Jul 1997 13:20:55 +0000 (13:20 +0000)] 
- Change some sizes to 'size_t'
- Change some offsets to 'off_t'
- Need to unlock static icons
- Move unbuffered logs flag to Config
- Too much time debugging keep-alive problems with Netscape Navigator-2.x

28 years agogindent
wessels [Sat, 19 Jul 1997 13:19:59 +0000 (13:19 +0000)] 
gindent

28 years agoadd special cases for DIR, DIRUP, and LINK icons
wessels [Sat, 19 Jul 1997 13:17:59 +0000 (13:17 +0000)] 
add special cases for DIR, DIRUP, and LINK icons

28 years agoput - for NULL hierarchy host
wessels [Sat, 19 Jul 1997 12:12:49 +0000 (12:12 +0000)] 
put - for NULL hierarchy host

28 years agoupdate
wessels [Sat, 19 Jul 1997 11:01:39 +0000 (11:01 +0000)] 
update

28 years agono timestamps
wessels [Sat, 19 Jul 1997 10:54:16 +0000 (10:54 +0000)] 
no timestamps

28 years agoupdate
wessels [Sat, 19 Jul 1997 10:52:55 +0000 (10:52 +0000)] 
update

28 years agowe can't have sprintf() munging '\r'!!!!
wessels [Sat, 19 Jul 1997 10:25:38 +0000 (10:25 +0000)] 
we can't have sprintf() munging '\r'!!!!

28 years agoadd icons directory
wessels [Sat, 19 Jul 1997 10:25:19 +0000 (10:25 +0000)] 
add icons directory

28 years agoFixes related to proxying passthrough requests. peer_select.c had a few debug
wessels [Sat, 19 Jul 1997 10:01:24 +0000 (10:01 +0000)] 
Fixes related to proxying passthrough requests.  peer_select.c had a few debug
statements with entry->url, but entry == NULL for passthrough.  pass.c
needed to access passState->request (the original request) instead of
'request' when proxying.

28 years agoadding icons
wessels [Sat, 19 Jul 1997 09:20:10 +0000 (09:20 +0000)] 
adding icons

28 years agofix some parsing. Needed regular 'parse_size_t' different than one
wessels [Sat, 19 Jul 1997 08:56:35 +0000 (08:56 +0000)] 
fix some parsing.  Needed regular 'parse_size_t' different than one
for parsing "bytes" spec.
Also fixed initialization for sendSignal()

28 years agoStarted internal icon support
wessels [Sat, 19 Jul 1997 07:33:53 +0000 (07:33 +0000)] 
Started internal icon support

28 years agocomment
wessels [Thu, 17 Jul 1997 11:32:27 +0000 (11:32 +0000)] 
comment

28 years agoswapped always_direct = answer ? -1 : 1;
wessels [Thu, 17 Jul 1997 11:28:07 +0000 (11:28 +0000)] 
swapped always_direct = answer ? -1 : 1;
added debugging

28 years agoremoved old ERR_FTP_DISABLED
wessels [Thu, 17 Jul 1997 11:25:09 +0000 (11:25 +0000)] 
removed old ERR_FTP_DISABLED
inserted missing ERR_WRITE_ERROR in log_tags[]

28 years agoremove dup client_info_sz
wessels [Thu, 17 Jul 1997 11:22:31 +0000 (11:22 +0000)] 
remove dup client_info_sz

28 years agochar *me = getMyHostname() breaks strtok on irix-6?
wessels [Thu, 17 Jul 1997 11:21:32 +0000 (11:21 +0000)] 
char *me = getMyHostname() breaks strtok on irix-6?

28 years agouse cbdata on hostname in net_db callbacks
wessels [Thu, 17 Jul 1997 05:01:31 +0000 (05:01 +0000)] 
use cbdata on hostname in net_db callbacks

28 years agogindent
wessels [Thu, 17 Jul 1997 04:58:23 +0000 (04:58 +0000)] 
gindent

28 years agoclose mime.conf
wessels [Thu, 17 Jul 1997 04:57:42 +0000 (04:57 +0000)] 
close mime.conf

28 years agowrite lastref to swap.state
wessels [Thu, 17 Jul 1997 04:57:24 +0000 (04:57 +0000)] 
write lastref to swap.state

28 years agoclose data.fd in ftpStateFree()
wessels [Thu, 17 Jul 1997 04:57:02 +0000 (04:57 +0000)] 
close data.fd in ftpStateFree()
remove assertion

28 years agoin comm_open close the fd if commBind() fails
wessels [Thu, 17 Jul 1997 04:56:38 +0000 (04:56 +0000)] 
in comm_open close the fd if commBind() fails

28 years agoclose swaplog_fd's in free_swapdir()
wessels [Thu, 17 Jul 1997 04:56:12 +0000 (04:56 +0000)] 
close swaplog_fd's in free_swapdir()
replace configFreeMemory() which just calls free_all()

28 years agorename swap "log" to "swap.state"
wessels [Thu, 17 Jul 1997 02:58:24 +0000 (02:58 +0000)] 
rename swap "log" to "swap.state"

28 years agoremove debugging in parse_peer()
wessels [Thu, 17 Jul 1997 02:55:42 +0000 (02:55 +0000)] 
remove debugging in parse_peer()

28 years agoremove squid.conf.pre.in
wessels [Thu, 17 Jul 1997 02:55:15 +0000 (02:55 +0000)] 
remove squid.conf.pre.in

28 years agosuccessful compile after merging 1.1.10 thru 1.1.14
wessels [Thu, 17 Jul 1997 02:31:45 +0000 (02:31 +0000)] 
successful compile after merging 1.1.10 thru 1.1.14

28 years agomisc
wessels [Wed, 16 Jul 1997 11:25:04 +0000 (11:25 +0000)] 
misc

28 years agotack all the peer structures onto Config
wessels [Wed, 16 Jul 1997 10:48:27 +0000 (10:48 +0000)] 
tack all the peer structures onto Config

28 years agogindent
wessels [Wed, 16 Jul 1997 05:23:14 +0000 (05:23 +0000)] 
gindent

28 years agoremove ssl_proxy and passthrough_proxy
wessels [Wed, 16 Jul 1997 05:15:34 +0000 (05:15 +0000)] 
remove ssl_proxy and passthrough_proxy

28 years ago1.2.alpha5
wessels [Tue, 15 Jul 1997 22:03:19 +0000 (22:03 +0000)] 
1.2.alpha5

28 years agoSeems that some KEY_PRIVATE entries were being swapped out. This
wessels [Tue, 15 Jul 1997 21:46:27 +0000 (21:46 +0000)] 
Seems that some KEY_PRIVATE entries were being swapped out.  This
caused problems during reload because we now also reload the flags.
An entry would be loaded with e->key == e->url, but KEY_PRIVATE set.
Now we clear KEY_PRIVATE in storeAddDiskRestore(), ignore entries
with KEY_PRIVATE in storeDoRebuildFromDisk(), and don't swap out
KEY_PRIVATE entries from storeCheckSwapable().

28 years agohad hardcoded access.log pathanme
wessels [Tue, 15 Jul 1997 21:38:27 +0000 (21:38 +0000)] 
had hardcoded access.log pathanme

28 years agoneed to flush logs before forking when unbuffered_logs = 1
wessels [Tue, 15 Jul 1997 11:34:08 +0000 (11:34 +0000)] 
need to flush logs before forking when unbuffered_logs = 1

28 years ago- memset needs to go LAST in comm_close()
wessels [Tue, 15 Jul 1997 10:03:09 +0000 (10:03 +0000)] 
- memset needs to go LAST in comm_close()
- Count invalid during store rebuild.
- storeWriteCleanLog() was using the old swaplog format.

28 years ago- cf.data.pre had disabled all cachemgr passwords
wessels [Tue, 15 Jul 1997 09:29:00 +0000 (09:29 +0000)] 
- cf.data.pre had disabled all cachemgr passwords
- nuke ENTRY_HTML flag
- set defaults for more things in globals.h
- Added storeComplete() call for bad cachemgr passwords.
- icpProcessMISS needed to have protoDispatch() AFTER storeClientCopy()
  because if cachemgr passwd was incorrect, storeComplete() would
  get called before storeClientCopy().
- in storeCreateEntry(), set the key before other stuff, notably
  call storeReleaseRequest().
- Little more debugging to store.c

28 years agotyping
wessels [Tue, 15 Jul 1997 08:30:16 +0000 (08:30 +0000)] 
typing

28 years agowarning: initialization from incompatible pointer type
wessels [Tue, 15 Jul 1997 05:50:17 +0000 (05:50 +0000)] 
warning: initialization from incompatible pointer type

28 years agowarning: comparison of distinct pointer types lacks a cast
wessels [Tue, 15 Jul 1997 05:48:29 +0000 (05:48 +0000)] 
warning: comparison of distinct pointer types lacks a cast

28 years ago- warning if no units present for times or byte sizes
wessels [Tue, 15 Jul 1997 05:44:57 +0000 (05:44 +0000)] 
- warning if no units present for times or byte sizes
- added defaults to all time_t's in cf.data.pre
- Fixed up connect callbacks to recognize COMM_DNS_ERR and !COMM_OK
- Set FTP_HTTP_HEADER_SENT for ftp
- Initialize neighbors_do_private_keys in globals.c
- Remove opt_no_ipcache
- removed redundant externs from squid.h
- changed more debug_trap's to assert's
- changed over-high-water-mark warning to only report once at
  each threshold

28 years agos/debug_trap/assert/
wessels [Tue, 15 Jul 1997 04:32:03 +0000 (04:32 +0000)] 
s/debug_trap/assert/

28 years agowrestling with units on byte variables
wessels [Tue, 15 Jul 1997 03:11:00 +0000 (03:11 +0000)] 
wrestling with units on byte variables

28 years agodefault_all() needs to copy input lines to static memory. this also
wessels [Tue, 15 Jul 1997 01:56:14 +0000 (01:56 +0000)] 
default_all() needs to copy input lines to static memory.  this also
lets us fake config_lineno.
other misc fixes

28 years agoremove temp debug()
wessels [Tue, 15 Jul 1997 01:53:12 +0000 (01:53 +0000)] 
remove temp debug()

28 years agoremove temp debug()
wessels [Tue, 15 Jul 1997 01:31:40 +0000 (01:31 +0000)] 
remove temp debug()

28 years agoremove assert(0)
wessels [Tue, 15 Jul 1997 01:27:28 +0000 (01:27 +0000)] 
remove assert(0)

28 years agozoinks, sizeof() breaks when a variable is the same name as its type
wessels [Tue, 15 Jul 1997 01:24:35 +0000 (01:24 +0000)] 
zoinks, sizeof() breaks when a variable is the same name as its type
fde *fde = NULL

28 years agomisc changes, but still in nonworking state
wessels [Mon, 14 Jul 1997 11:57:51 +0000 (11:57 +0000)] 
misc changes, but still in nonworking state

28 years agofill in some missing cf functions
wessels [Mon, 14 Jul 1997 10:27:37 +0000 (10:27 +0000)] 
fill in some missing cf functions

28 years agoremove doubly-defined globals
wessels [Mon, 14 Jul 1997 09:33:33 +0000 (09:33 +0000)] 
remove doubly-defined globals

28 years agoadding
wessels [Mon, 7 Jul 1997 11:35:55 +0000 (11:35 +0000)] 
adding

28 years agofinish mega config hacking on kite
wessels [Mon, 7 Jul 1997 11:29:37 +0000 (11:29 +0000)] 
finish mega config hacking on kite

28 years agoconfig fixes in progress
wessels [Sun, 6 Jul 1997 11:14:06 +0000 (11:14 +0000)] 
config fixes in progress

28 years agoSupport for Cache-Control: proxy-revalidate. From squid-1.1.x patch by
wessels [Thu, 3 Jul 1997 04:42:54 +0000 (04:42 +0000)] 
Support for Cache-Control: proxy-revalidate.  From squid-1.1.x patch by
Mike Mitchell <mcm@unx.sas.com>

28 years ago1.2.alpha4
wessels [Fri, 27 Jun 1997 05:07:14 +0000 (05:07 +0000)] 
1.2.alpha4

28 years agouse calloc, not malloc
wessels [Fri, 27 Jun 1997 05:02:15 +0000 (05:02 +0000)] 
use calloc, not malloc

28 years agoHAVE_SNPRINTF check
wessels [Fri, 27 Jun 1997 04:43:51 +0000 (04:43 +0000)] 
HAVE_SNPRINTF check

28 years agoupdate
wessels [Fri, 27 Jun 1997 04:43:40 +0000 (04:43 +0000)] 
update

28 years agoMax Okumoto configuration file patch. Config goop will be generated
wessels [Fri, 27 Jun 1997 04:41:35 +0000 (04:41 +0000)] 
Max Okumoto configuration file patch.  Config goop will be generated
from a single file.  Still needs work.

28 years agogindent
wessels [Fri, 27 Jun 1997 04:35:35 +0000 (04:35 +0000)] 
gindent

28 years agoadding
wessels [Fri, 27 Jun 1997 04:29:30 +0000 (04:29 +0000)] 
adding

28 years agoupdate
wessels [Wed, 25 Jun 1997 02:24:24 +0000 (02:24 +0000)] 
update

28 years agocompiler
wessels [Wed, 25 Jun 1997 02:24:20 +0000 (02:24 +0000)] 
compiler

28 years agoObject might be validated between being added to validation list and
wessels [Sat, 21 Jun 1997 10:55:58 +0000 (10:55 +0000)] 
Object might be validated between being added to validation list and
when storeValidate is called.

28 years agoclean up access logging, remove lots of Cacheinfo garbage
wessels [Sat, 21 Jun 1997 08:38:03 +0000 (08:38 +0000)] 
clean up access logging, remove lots of Cacheinfo garbage
Need to relocate enums to an enums.h file, too many other wierd
dependencies.

28 years agoadding
wessels [Sat, 21 Jun 1997 08:36:47 +0000 (08:36 +0000)] 
adding

28 years agofix assertions
wessels [Fri, 20 Jun 1997 11:26:08 +0000 (11:26 +0000)] 
fix assertions

28 years agoremove some of that HTTPCacheInfo->crap
wessels [Fri, 20 Jun 1997 11:08:30 +0000 (11:08 +0000)] 
remove some of that HTTPCacheInfo->crap

28 years agoin ftpAbort, close the descriptors instead of trying to send QUIT
wessels [Fri, 20 Jun 1997 08:22:11 +0000 (08:22 +0000)] 
in ftpAbort, close the descriptors instead of trying to send QUIT

28 years agossize_t support
wessels [Fri, 20 Jun 1997 06:03:24 +0000 (06:03 +0000)] 
ssize_t support
snprintf source

28 years ago- memCopy needs to return a signed value to report errors, so we need
wessels [Fri, 20 Jun 1997 06:00:10 +0000 (06:00 +0000)] 
- memCopy needs to return a signed value to report errors, so we need
  to have 'ssize_t'
- Fixed FTP end-of-transfer confusion
- Rearranged assertions in icpSendMoreData to account for STORE_ABORT

28 years agoMucking about with storeAbort. Removed squid_error_entry() (need
wessels [Fri, 20 Jun 1997 04:51:48 +0000 (04:51 +0000)] 
Mucking about with storeAbort.  Removed squid_error_entry() (need
to replace it later!) and just call storeAbort directly now.

28 years agoPut storeDeleteBehind() call before storeCopy callback. Apparently
wessels [Wed, 18 Jun 1997 22:15:53 +0000 (22:15 +0000)] 
Put storeDeleteBehind() call before storeCopy callback.  Apparently
invoking the callback may release the StoreEntry, so either we need
to lock it or do the delete behind first.

28 years agocbdataLock/cbdataUnlock around comm_write
wessels [Wed, 18 Jun 1997 22:00:09 +0000 (22:00 +0000)] 
cbdataLock/cbdataUnlock around comm_write

28 years agoassociate storeRegisterAbort calls with comm_add_close_handler calls
wessels [Wed, 18 Jun 1997 10:04:13 +0000 (10:04 +0000)] 
associate storeRegisterAbort calls with comm_add_close_handler calls

28 years agogindent, debug
wessels [Wed, 18 Jun 1997 10:03:42 +0000 (10:03 +0000)] 
gindent, debug

28 years agodebugging and assertions
wessels [Wed, 18 Jun 1997 09:06:48 +0000 (09:06 +0000)] 
debugging and assertions

28 years agoremove assertion from store rebuild code. A swap log entry might be
wessels [Wed, 18 Jun 1997 09:06:22 +0000 (09:06 +0000)] 
remove assertion from store rebuild code.  A swap log entry might be
"newer" if we're in a slow rebuild.  In that case the swap log entry
should be ignored, assuming the existing entry was added during the
rebuild.

28 years agomore cbdata additions
wessels [Wed, 18 Jun 1997 07:43:42 +0000 (07:43 +0000)] 
more cbdata additions

28 years agoadding
wessels [Wed, 18 Jun 1997 06:20:07 +0000 (06:20 +0000)] 
adding

28 years agoJunk the 'callback_meta' idea
wessels [Wed, 18 Jun 1997 06:19:50 +0000 (06:19 +0000)] 
Junk the 'callback_meta' idea
Now use a hash table of callback datas.  A callback pointer is added when
the data is created, then callback functions lock and unlock it while
waiting for the operation to complete.

28 years agofurther HashID changes
wessels [Wed, 18 Jun 1997 01:00:02 +0000 (01:00 +0000)] 
further HashID changes