]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agoMisc fixes to eliminate problems at exit (and other things)
wessels [Tue, 26 Aug 1997 04:35:50 +0000 (04:35 +0000)] 
Misc fixes to eliminate problems at exit (and other things)

- changed storeDirCloseSwapLogs() to take a 'reopen' arg.
  if not set, we don't reopen the logs for writing again.
- added FD_CLOSING flag to avoid recursive calls to comm_close().
- added 'non_peers' structure to keep stats on offendors, instead
  of logging every bad reply.

27 years agoDavid Luyer passwd security fix for PROXY_AUTH
wessels [Mon, 25 Aug 1997 22:37:18 +0000 (22:37 +0000)] 
David Luyer passwd security fix for PROXY_AUTH

27 years agoEd Knowles cleanup
wessels [Mon, 25 Aug 1997 21:55:19 +0000 (21:55 +0000)] 
Ed Knowles cleanup

27 years agodoubleAverage() algorithm was wrong.
wessels [Mon, 25 Aug 1997 21:49:04 +0000 (21:49 +0000)] 
doubleAverage() algorithm was wrong.

27 years agofix dealing with whitespace
wessels [Mon, 25 Aug 1997 12:12:20 +0000 (12:12 +0000)] 
fix dealing with whitespace

27 years agomisc fixes
wessels [Mon, 25 Aug 1997 11:29:54 +0000 (11:29 +0000)] 
misc fixes

27 years agoupdate
wessels [Mon, 25 Aug 1997 10:13:33 +0000 (10:13 +0000)] 
update

27 years agogindent
wessels [Mon, 25 Aug 1997 09:52:16 +0000 (09:52 +0000)] 
gindent

27 years agoConfiguration cleanup.
wessels [Mon, 25 Aug 1997 09:51:46 +0000 (09:51 +0000)] 
Configuration cleanup.
- set up 'DEFAULT_IF_NONE' option for things like http_port
  and cache_dir where we want to set a default only if there
  is not one or more given in the config file.
- Implemented the configuration dump via cachemanager.  All the
  easy config types have dump functions; the remainder are
  unimplemented.

27 years agoFUM fix
wessels [Mon, 25 Aug 1997 08:38:52 +0000 (08:38 +0000)] 
FUM fix

27 years agoreturn a message when NETDB support isn't compiled in.
wessels [Mon, 25 Aug 1997 08:26:04 +0000 (08:26 +0000)] 
return a message when NETDB support isn't compiled in.

27 years agoreturn 0 if there is no object data, instead of returning -1. This
wessels [Mon, 25 Aug 1997 08:25:45 +0000 (08:25 +0000)] 
return 0 if there is no object data, instead of returning -1.  This
could happen, for example, with objcache requests for unsupported
features, such as netdb/icmp.

27 years agogindent
wessels [Mon, 25 Aug 1997 08:19:30 +0000 (08:19 +0000)] 
gindent

27 years agoadded back support for SRC_RTT features. Help from Jon Kay patch.
wessels [Mon, 25 Aug 1997 08:17:45 +0000 (08:17 +0000)] 
added back support for SRC_RTT features.  Help from Jon Kay patch.

27 years agoupdate
wessels [Mon, 25 Aug 1997 05:15:57 +0000 (05:15 +0000)] 
update

27 years agojkay sez poll() don't work on OSF1/3.2
wessels [Mon, 25 Aug 1997 05:15:43 +0000 (05:15 +0000)] 
jkay sez poll() don't work on OSF1/3.2

27 years agoreturn HTTP_FORBIDDEN, not HTTP_UNAUTHORIZED. If we use UNAUTH, then
wessels [Mon, 25 Aug 1997 05:13:26 +0000 (05:13 +0000)] 
return HTTP_FORBIDDEN, not HTTP_UNAUTHORIZED.  If we use UNAUTH, then
the browser wants us to authenticate.

27 years agoFixed not setting HTTP status code for errors. Still need to fix
wessels [Sun, 24 Aug 1997 07:59:47 +0000 (07:59 +0000)] 
Fixed not setting HTTP status code for errors.  Still need to fix
the log code and other fields.  This probably means a callback
from the errorpage module to the client-side.

27 years agoProtocolStr[] needs to be global for errorpage.c
wessels [Sun, 24 Aug 1997 07:49:26 +0000 (07:49 +0000)] 
ProtocolStr[] needs to be global for errorpage.c

27 years agoFixed NULL termination bug with error text buffers with a strdup()
wessels [Sun, 24 Aug 1997 07:46:44 +0000 (07:46 +0000)] 
Fixed NULL termination bug with error text buffers with a strdup()
added some more conversion codes

27 years agofix debug(0,0) statements
wessels [Sun, 24 Aug 1997 06:37:03 +0000 (06:37 +0000)] 
fix debug(0,0) statements

27 years ago1.1.alpha6
wessels [Mon, 11 Aug 1997 22:53:15 +0000 (22:53 +0000)] 
1.1.alpha6

27 years agoupdate
wessels [Mon, 11 Aug 1997 22:52:47 +0000 (22:52 +0000)] 
update

27 years agoDont put last-modified on error pages. Netscape (2.x at least) will
wessels [Mon, 11 Aug 1997 22:52:41 +0000 (22:52 +0000)] 
Dont put last-modified on error pages.  Netscape (2.x at least) will
send IMS when you try to reload an error page, and the origin server
sends back NOT MODIFIED.

27 years ago- In http.c, we need to keep httpState->orig_request after the request
wessels [Mon, 11 Aug 1997 08:29:08 +0000 (08:29 +0000)] 
- In http.c, we need to keep httpState->orig_request after the request
  has been sent, in case we need to call httpRestart().
- Sometimes netscape (2.x, IRIX) hangs forever on '100% complete'.  Seems
  like netscape bug, but we should close the persistent connection after
  a short bit anyway.

27 years agoadding
wessels [Mon, 11 Aug 1997 08:25:00 +0000 (08:25 +0000)] 
adding

27 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

27 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

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

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

27 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

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

27 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

27 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

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

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

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

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

27 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

27 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

27 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

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

27 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

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

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

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

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

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

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

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

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

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

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

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

27 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

27 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[]

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

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

27 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

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

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

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

27 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

27 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

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

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

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

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

27 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

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

27 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

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

27 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

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

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

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

27 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

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

27 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

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

27 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

27 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

27 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