]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
27 years agoupdate
wessels [Tue, 21 Oct 1997 04:58:53 +0000 (04:58 +0000)] 
update

27 years agonew cachemgr objects format
wessels [Tue, 21 Oct 1997 04:49:42 +0000 (04:49 +0000)] 
new cachemgr objects format

27 years agoassertions
wessels [Tue, 21 Oct 1997 04:49:25 +0000 (04:49 +0000)] 
assertions

27 years agoAdded skeletons, conn.setup etc for future snmp support
kostas [Tue, 21 Oct 1997 04:31:36 +0000 (04:31 +0000)] 
Added skeletons, conn.setup etc for future snmp support

27 years agoNeed to define a timeout handler for the server side
wessels [Tue, 21 Oct 1997 01:25:22 +0000 (01:25 +0000)] 
Need to define a timeout handler for the server side

27 years agochange Retrying message to debug level 2
wessels [Tue, 21 Oct 1997 01:24:59 +0000 (01:24 +0000)] 
change Retrying message to debug level 2

27 years agogopherStart() doesn't need to verify that the host is already in
wessels [Tue, 21 Oct 1997 01:09:00 +0000 (01:09 +0000)] 
gopherStart() doesn't need to verify that the host is already in
the IP cache.  commConnect does it for us.

27 years agoWhen done swapping out (storeSwapOutHandle()) if the object became
wessels [Tue, 21 Oct 1997 01:07:09 +0000 (01:07 +0000)] 
When done swapping out (storeSwapOutHandle()) if the object became
uncachable, then release it and don't do storeLog() etc.

27 years agoNeed to comm_close() in errorSendComplete!
wessels [Tue, 21 Oct 1997 01:06:25 +0000 (01:06 +0000)] 
Need to comm_close() in errorSendComplete!

27 years agoneed to set FTP_ISDIR bit if there is no urlpath
wessels [Tue, 21 Oct 1997 01:06:02 +0000 (01:06 +0000)] 
need to set FTP_ISDIR bit if there is no urlpath

27 years agobug in storeCheckCachable(): only check content length if STORE_OK
wessels [Sat, 18 Oct 1997 13:20:57 +0000 (13:20 +0000)] 
bug in storeCheckCachable(): only check content length if STORE_OK

27 years agoadd headers, GPL statement, change debug section to 51
wessels [Sat, 18 Oct 1997 06:01:06 +0000 (06:01 +0000)] 
add headers, GPL statement, change debug section to 51

27 years ago- parse the HTTP reply headers at swap in. This means that
wessels [Sat, 18 Oct 1997 05:57:41 +0000 (05:57 +0000)] 
- parse the HTTP reply headers at swap in.  This means that
  storeClientCopyHandleRead() needs to have a MemObject around.
  So I added a pointer back to the parent mem_obj from _store_client.
  ugh.
- removed lots of OLD_CODE

27 years agomisc fixes for new vm-friendly swapin/swapout stuff
wessels [Sat, 18 Oct 1997 05:32:38 +0000 (05:32 +0000)] 
misc fixes for new vm-friendly swapin/swapout stuff

27 years agofor new swapout scheme we need to separately track the number of
wessels [Sat, 18 Oct 1997 05:32:15 +0000 (05:32 +0000)] 
for new swapout scheme we need to separately track the number of
bytes queued for disk write and the number actually written

27 years agoassert that we don't swap out any PRIVATE (e.g. non-cachable) objects
wessels [Sat, 18 Oct 1997 05:31:51 +0000 (05:31 +0000)] 
assert that we don't swap out any PRIVATE (e.g. non-cachable) objects

27 years agoadd clientCacheHit()
wessels [Sat, 18 Oct 1997 05:31:24 +0000 (05:31 +0000)] 
add clientCacheHit()

27 years ago- Need to use clientCacheHit() for icpHandleIMSReply() as well. This
wessels [Sat, 18 Oct 1997 05:31:10 +0000 (05:31 +0000)] 
- Need to use clientCacheHit() for icpHandleIMSReply() as well.  This
  means making it global.  icpHandleIMSReply() might think it is
  serving a cache hit, but the swapfile might not be validated yet,
  so swapin might fail.

27 years agomissing %d format arg
wessels [Sat, 18 Oct 1997 04:09:04 +0000 (04:09 +0000)] 
missing %d format arg

27 years ago*** empty log message ***
kostas [Sat, 18 Oct 1997 03:19:55 +0000 (03:19 +0000)] 
*** empty log message ***

27 years agoImproved IP cache chapter.
kostas [Sat, 18 Oct 1997 02:29:41 +0000 (02:29 +0000)] 
Improved IP cache chapter.

27 years agoMake sure that we don't deallocate any MemObject's which have swapout
wessels [Sat, 18 Oct 1997 02:21:46 +0000 (02:21 +0000)] 
Make sure that we don't deallocate any MemObject's which have swapout
descriptors open

27 years agoSet fde->flags FD_SOCKET_EOF when we detect EOF/shutdown on a client
wessels [Sat, 18 Oct 1997 02:20:52 +0000 (02:20 +0000)] 
Set fde->flags FD_SOCKET_EOF when we detect EOF/shutdown on a client
socket

27 years agoremove file_read debugs
wessels [Sat, 18 Oct 1997 02:20:17 +0000 (02:20 +0000)] 
remove file_read debugs

27 years agomodify assertion: its okay to open a swapin FD while the object is still
wessels [Sat, 18 Oct 1997 01:39:32 +0000 (01:39 +0000)] 
modify assertion: its okay to open a swapin FD while the object is still
being swapped out

27 years agoupdate
wessels [Sat, 18 Oct 1997 00:55:44 +0000 (00:55 +0000)] 
update

27 years agostill fudging various offsets from new swapout scheme
wessels [Fri, 17 Oct 1997 22:21:51 +0000 (22:21 +0000)] 
still fudging various offsets from new swapout scheme

27 years agoFixed client address in access.log; it was always '-'
wessels [Fri, 17 Oct 1997 21:44:32 +0000 (21:44 +0000)] 
Fixed client address in access.log; it was always '-'

27 years agoxbstrerror() not needed I think
wessels [Fri, 17 Oct 1997 11:27:56 +0000 (11:27 +0000)] 
xbstrerror() not needed I think

27 years agoupdate
wessels [Fri, 17 Oct 1997 11:27:29 +0000 (11:27 +0000)] 
update

27 years agoWith new storeClientCopy() scheme, the client side might re-request
wessels [Fri, 17 Oct 1997 11:20:18 +0000 (11:20 +0000)] 
With new storeClientCopy() scheme, the client side might re-request
some data which has already been read from disk (if it didn't get
the full HTTP headers).  That means we need to put lseek() back
in; ugh.  New fde->disk.offset tracks the current file offset.

Fixed the 'double-read' bug found by Alex Rousskov.  Always
make the read callback after each read() call.  Don't wait
for the read buffer to full or for EOF.

This means dread_ctrl->offset isn't needed as it was being used
because there will only be one read() per dread_ctrl.  ->offset
now becomes the offset requested from the store module, and we
seek if dread_ctrl->offset != fde->disk.offset.

27 years ago- removed ERR_NO_CLIENTS because its not needed any longer
wessels [Fri, 17 Oct 1997 10:00:10 +0000 (10:00 +0000)] 
- removed ERR_NO_CLIENTS because its not needed any longer
- Fixed new swap out scheme.  'swapout.offset' should have been 'lowest_offset'

27 years agogindent
wessels [Fri, 17 Oct 1997 06:00:27 +0000 (06:00 +0000)] 
gindent

27 years agoReamped objects being held in memory during transit. There will be a
wessels [Fri, 17 Oct 1997 05:59:52 +0000 (05:59 +0000)] 
Reamped objects being held in memory during transit.  There will be a
smallish windo of data in memory for objects being transferred from the
server side.  For cache hits (swap ins) there is no window, we just read
directly into buffers allocated from the client side, given to store.c
via storeClientCopy().

27 years agoFix for small bug.
kostas [Fri, 17 Oct 1997 02:42:24 +0000 (02:42 +0000)] 
Fix for small bug.

27 years agoError page triggering. ip cache documentation.
kostas [Fri, 17 Oct 1997 01:22:35 +0000 (01:22 +0000)] 
Error page triggering. ip cache documentation.

27 years agoAdded xbstrerror() for late construction with error as argument
kostas [Thu, 16 Oct 1997 04:06:44 +0000 (04:06 +0000)] 
Added xbstrerror() for late construction with error as argument

27 years ago- More cleanup relating to reduced error code set. protostart() doesn't
wessels [Wed, 15 Oct 1997 00:31:24 +0000 (00:31 +0000)] 
- More cleanup relating to reduced error code set.  protostart() doesn't
  really need ERR_NOT_IMPLEMENTED.
- Start working on VM_WINDOW code, removed/replaced old DONT_USE_VM defines
- Replaced !DONT_USE_VM defines with USE_ICP_HIT_OBJ.

27 years agoremove unused error codes
wessels [Wed, 15 Oct 1997 00:24:31 +0000 (00:24 +0000)] 
remove unused error codes

27 years agofinish giving content to error messages
wessels [Tue, 14 Oct 1997 23:52:31 +0000 (23:52 +0000)] 
finish giving content to error messages
deleted some which we don't need any longer

27 years agoRemoved old blocking IP cache lookup code in gopherStart(). Its handled
wessels [Tue, 14 Oct 1997 22:56:04 +0000 (22:56 +0000)] 
Removed old blocking IP cache lookup code in gopherStart().  Its handled
by gopherConnect() now.

27 years agoThis snprintf() supports all sorts of conversions (%f, %x.ys etc)
kostas [Tue, 14 Oct 1997 22:44:21 +0000 (22:44 +0000)] 
This snprintf() supports all sorts of conversions (%f, %x.ys etc)

27 years agoupdate
wessels [Tue, 14 Oct 1997 08:53:22 +0000 (08:53 +0000)] 
update

27 years agoChanged most of sprintf() to snprintf().
kostas [Tue, 14 Oct 1997 04:09:03 +0000 (04:09 +0000)] 
Changed most of sprintf() to snprintf().

27 years agoadding
wessels [Tue, 14 Oct 1997 04:08:06 +0000 (04:08 +0000)] 
adding

27 years agoadding new
wessels [Tue, 14 Oct 1997 03:47:22 +0000 (03:47 +0000)] 
adding new

27 years agoremoving old
wessels [Tue, 14 Oct 1997 03:46:59 +0000 (03:46 +0000)] 
removing old

27 years agoed knowles nits
wessels [Tue, 26 Aug 1997 23:30:34 +0000 (23:30 +0000)] 
ed knowles nits

27 years agoupdate
wessels [Tue, 26 Aug 1997 12:52:18 +0000 (12:52 +0000)] 
update

27 years agofinish getting new proxy auth working--but still untested
wessels [Tue, 26 Aug 1997 10:21:17 +0000 (10:21 +0000)] 
finish getting new proxy auth working--but still untested

27 years agoStarted integration of Proxy Auth ACL patch from Arjan De Vet and others.
wessels [Tue, 26 Aug 1997 05:45:22 +0000 (05:45 +0000)] 
Started integration of Proxy Auth ACL patch from Arjan De Vet and others.

27 years agoupdate
wessels [Tue, 26 Aug 1997 04:37:10 +0000 (04:37 +0000)] 
update

27 years ago1.2.alpha7
wessels [Tue, 26 Aug 1997 04:37:04 +0000 (04:37 +0000)] 
1.2.alpha7

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

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