]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
29 years agogindent
wessels [Mon, 8 Apr 1996 23:10:43 +0000 (23:10 +0000)] 
gindent

29 years agomade main.c more modular
wessels [Mon, 8 Apr 1996 23:07:59 +0000 (23:07 +0000)] 
made main.c more modular
Added clean shutdown to comm_select.  on SIGTERM close incoming sockets
and dnsserver pipes.  When no sockets left to select on, return with
COMM_SHUTDOWN.

29 years agouse integer flag for init
wessels [Mon, 8 Apr 1996 22:01:05 +0000 (22:01 +0000)] 
use integer flag for init

29 years agoThis patch to alpha9 allows for large requests by the
wessels [Sat, 6 Apr 1996 07:53:03 +0000 (07:53 +0000)] 
This patch to alpha9 allows for large requests by the
clients (for example POST file upload)

It adds the configuration directive request_size, which sets the
maximum request size.

The memory used for the request is grown in ASCII_REQUEST_BLOCKSIZE
steps (8Kb).

This patch is not very tested, but it should work... please test.

There is also a small change in cache_cf.c, to remove a compiler warning
when the in_addr localhost variable is initialized. (uninitialized members
in a initialized structure is set to binary 0 by standard)

/Henrik

29 years agomake sure tmp_error_buf is big enough to hold two URLs
wessels [Sat, 6 Apr 1996 06:21:11 +0000 (06:21 +0000)] 
make sure tmp_error_buf is big enough to hold two URLs
use pointers rather than arrays

29 years agoadd negative_dns_ttl config option
wessels [Sat, 6 Apr 1996 04:51:45 +0000 (04:51 +0000)] 
add negative_dns_ttl config option

29 years agogindent
wessels [Sat, 6 Apr 1996 00:48:27 +0000 (00:48 +0000)] 
gindent

29 years agouse "void *" instead of "caddr_t" everywhere
wessels [Sat, 6 Apr 1996 00:47:39 +0000 (00:47 +0000)] 
use "void *" instead of "caddr_t" everywhere

29 years agoremove some #ifdef'd-out pieces of code
wessels [Sat, 6 Apr 1996 00:22:19 +0000 (00:22 +0000)] 
remove some #ifdef'd-out pieces of code

29 years agoadjust debug levels
wessels [Fri, 5 Apr 1996 23:57:26 +0000 (23:57 +0000)] 
adjust debug levels

29 years agofix storeSetPublicKey/storeSetPrivateKey logic problems
wessels [Fri, 5 Apr 1996 23:53:28 +0000 (23:53 +0000)] 
fix storeSetPublicKey/storeSetPrivateKey logic problems

29 years ago1.0.alpha9
wessels [Fri, 5 Apr 1996 08:02:39 +0000 (08:02 +0000)] 
1.0.alpha9

29 years agogindent
wessels [Fri, 5 Apr 1996 08:01:52 +0000 (08:01 +0000)] 
gindent

29 years agoupdate
wessels [Fri, 5 Apr 1996 08:01:29 +0000 (08:01 +0000)] 
update

29 years agoAdded storeEntryValidLength() based on Henrik's version.
wessels [Fri, 5 Apr 1996 08:00:33 +0000 (08:00 +0000)] 
Added storeEntryValidLength() based on Henrik's version.
If content-length and hdr_size are given, the object is
ejected if the sizes don't match the actual object size.

29 years agofix multiply defined sm_stats and disk_stats
wessels [Fri, 5 Apr 1996 07:59:27 +0000 (07:59 +0000)] 
fix multiply defined sm_stats and disk_stats

29 years agoFixed bug in httpParseReplyHeader because incoming 'buf' is not
wessels [Fri, 5 Apr 1996 07:58:54 +0000 (07:58 +0000)] 
Fixed bug in httpParseReplyHeader because incoming 'buf' is not
zeroed and may contain tailing garbage.   Now pass size and only
copy that many bytes.

Added hdr_sz parsing and field to mem_obj

29 years agocall setMaxFD() before first call to getMaxFD()
wessels [Fri, 5 Apr 1996 05:01:54 +0000 (05:01 +0000)] 
call setMaxFD() before first call to getMaxFD()

29 years agoMostly Henrik's patch, plus some debugging mucking by DPW
wessels [Fri, 5 Apr 1996 04:34:25 +0000 (04:34 +0000)] 
Mostly Henrik's patch, plus some debugging mucking by DPW

Here is a patch to not cache objects with invalid content-length.

It also fixes a small bug in memGrep. memGrep was returning
the offset to the last char in the matching string, and not
the next.

/Henrik

29 years agogindent
wessels [Fri, 5 Apr 1996 02:03:36 +0000 (02:03 +0000)] 
gindent

29 years agounlink pid file on shutdown
wessels [Fri, 5 Apr 1996 02:03:11 +0000 (02:03 +0000)] 
unlink pid file on shutdown

29 years agogcc -Wall warnings
wessels [Fri, 5 Apr 1996 01:51:02 +0000 (01:51 +0000)] 
gcc -Wall warnings

29 years agodebug cleanup
wessels [Fri, 5 Apr 1996 01:50:11 +0000 (01:50 +0000)] 
debug cleanup

29 years agoAdded __FILE__,__LINE__ debugging to {get,put}_free_[48]k_page().
wessels [Fri, 5 Apr 1996 01:41:22 +0000 (01:41 +0000)] 
Added __FILE__,__LINE__ debugging to {get,put}_free_[48]k_page().
Found 'page leak' in http.c.  was calling safe_free on a 8k page.

29 years agoremove extra newline in debug
wessels [Fri, 5 Apr 1996 01:39:55 +0000 (01:39 +0000)] 
remove extra newline in debug

29 years agoadd http_code arg to cached_error_url
wessels [Fri, 5 Apr 1996 00:46:39 +0000 (00:46 +0000)] 
add http_code arg to cached_error_url

29 years agomake new IP ACL code the default
wessels [Fri, 5 Apr 1996 00:45:53 +0000 (00:45 +0000)] 
make new IP ACL code the default

29 years ago1.0.alpha8; oops skipped alpha7!
wessels [Thu, 4 Apr 1996 12:32:40 +0000 (12:32 +0000)] 
1.0.alpha8; oops skipped alpha7!

29 years agoupdate
wessels [Thu, 4 Apr 1996 12:29:18 +0000 (12:29 +0000)] 
update

29 years agoavoid using stderr; use debug() or debug_log instead
wessels [Thu, 4 Apr 1996 12:19:48 +0000 (12:19 +0000)] 
avoid using stderr; use debug() or debug_log instead

29 years agouse debug() rather than stderr
wessels [Thu, 4 Apr 1996 12:10:16 +0000 (12:10 +0000)] 
use debug() rather than stderr

29 years agoFrom: "Daniel O'Callaghan" <danny@miriworld.its.unimelb.EDU.AU>
wessels [Thu, 4 Apr 1996 12:06:36 +0000 (12:06 +0000)] 
From:    "Daniel O'Callaghan" <danny@miriworld.its.unimelb.EDU.AU>

This patch replaces  ip_acl_match(), ip_access_check() and addToIPACL()
with versions which accept the following formats:

proxy_allow 1.2.3.0     (old cached format for 1.2.3.0/24)
proxy_allow 1.2.0.0     (old cached format for 1.2.0.0/16)

proxy_allow 1.2.3.4     (equivalent to 1.2.3.4/32)
proxy_allow 1.2.3.0/24
proxy_allow 1.2.3.0/255.255.255.0

proxy_allow all         (equivalent to 0.0.0.0/0.0.0.0)

29 years agoThis is a patch that adds the configuration directive ftp_user.
wessels [Thu, 4 Apr 1996 11:33:09 +0000 (11:33 +0000)] 
This is a patch that adds the configuration directive ftp_user.
this directive can be used to change the email address used
for anonymous ftp.

Note that perl.com requires that the email address can be validated
using SMTP VRFY (i.e. it has to be a valid email address)

The patch is as always available on my web page
http://www.his.se/ida/~squid/

/Henrik

29 years agosend Accept: header
wessels [Thu, 4 Apr 1996 08:57:54 +0000 (08:57 +0000)] 
send Accept: header

29 years ago1.0.alpha6
wessels [Thu, 4 Apr 1996 08:33:01 +0000 (08:33 +0000)] 
1.0.alpha6

29 years agoupdate
wessels [Thu, 4 Apr 1996 08:32:39 +0000 (08:32 +0000)] 
update

29 years agomajor code cleanup/unification/rewrite
wessels [Thu, 4 Apr 1996 08:30:42 +0000 (08:30 +0000)] 
major code cleanup/unification/rewrite

29 years agoEnhanced access logging. Now log HTTP reply code and elapsed
wessels [Wed, 3 Apr 1996 04:50:22 +0000 (04:50 +0000)] 
Enhanced access logging.  Now log HTTP reply code and elapsed
time in msec.  In icpSendMoreData we parse the object for a HTTP
reply code if necesary.

29 years agocompiler
wessels [Tue, 2 Apr 1996 08:00:31 +0000 (08:00 +0000)] 
compiler

29 years ago1.0.alpha5
wessels [Tue, 2 Apr 1996 07:54:18 +0000 (07:54 +0000)] 
1.0.alpha5

29 years agoupdate
wessels [Tue, 2 Apr 1996 07:54:02 +0000 (07:54 +0000)] 
update

29 years agoMade {ftp,gopher,wais} more like http. ie, protoCloseAndFree().
wessels [Tue, 2 Apr 1996 07:51:52 +0000 (07:51 +0000)] 
Made {ftp,gopher,wais} more like http.  ie, protoCloseAndFree().
treat ECONNRESET like any other read error.  All read errors should
be ejected immediately.  Added ERR_ZERO_SIZE_OBJECT.

29 years agoSignificant change to storage manager. Now we don't add the object
wessels [Tue, 2 Apr 1996 06:34:43 +0000 (06:34 +0000)] 
Significant change to storage manager.  Now we don't add the object
to the hash table when it is created.  Instead it must be explicitly
added if the object is public.  storeAdd() has been split into
two functions: storeCreateEntry() and storeAddEntry().  The first is
called where storeAdd() was called.  The second is called when the
object is known to be publicly sharable.  For HTTP this means
after the reply header is parsed.  For other objects it storeAddEntry()
gets called immediately, as there is no header parsing.

29 years agogindent
wessels [Tue, 2 Apr 1996 06:25:37 +0000 (06:25 +0000)] 
gindent

29 years agocoredump fix for when object list is empty
wessels [Tue, 2 Apr 1996 06:22:03 +0000 (06:22 +0000)] 
coredump fix for when object list is empty

29 years agomake a large local array static
wessels [Tue, 2 Apr 1996 01:25:47 +0000 (01:25 +0000)] 
make a large local array static
call storeCreateHashTable in storeInit instead of various other places
always expect 5 args in the swap logfile
use new getCurrentTime()
fix some deubg messages

29 years agouse new getCurrentTime(); new log format
wessels [Tue, 2 Apr 1996 01:24:30 +0000 (01:24 +0000)] 
use new getCurrentTime(); new log format

29 years agouse new getCurrentTime()
wessels [Tue, 2 Apr 1996 01:23:52 +0000 (01:23 +0000)] 
use new getCurrentTime()

29 years agodo some negative caching in httpProcessHeaders
wessels [Tue, 2 Apr 1996 01:23:13 +0000 (01:23 +0000)] 
do some negative caching in httpProcessHeaders

29 years agouse new getCurrentTime
wessels [Tue, 2 Apr 1996 01:21:48 +0000 (01:21 +0000)] 
use new getCurrentTime

29 years agooff by one error
wessels [Tue, 2 Apr 1996 01:21:29 +0000 (01:21 +0000)] 
off by one error

29 years agoput current time into a timeval
wessels [Tue, 2 Apr 1996 01:21:11 +0000 (01:21 +0000)] 
put current time into a timeval

29 years agoadding http.h gopher.h wais.c objcache.h
wessels [Tue, 2 Apr 1996 01:20:46 +0000 (01:20 +0000)] 
adding http.h gopher.h wais.c objcache.h

29 years agocompiler
wessels [Mon, 1 Apr 1996 11:56:48 +0000 (11:56 +0000)] 
compiler

29 years agomisc adjustments
wessels [Mon, 1 Apr 1996 11:51:33 +0000 (11:51 +0000)] 
misc adjustments

29 years agogindent
wessels [Mon, 1 Apr 1996 11:51:14 +0000 (11:51 +0000)] 
gindent

29 years agocleanup
wessels [Mon, 1 Apr 1996 11:31:11 +0000 (11:31 +0000)] 
cleanup

29 years agomisc cleanup and comments
wessels [Mon, 1 Apr 1996 11:30:32 +0000 (11:30 +0000)] 
misc cleanup and comments

29 years ago1. Added storeExpire(StoreEntry *) that marks a object as expired
wessels [Mon, 1 Apr 1996 11:27:11 +0000 (11:27 +0000)] 
1. Added storeExpire(StoreEntry *) that marks a object as expired
   i.e. it will NOT be provided to new clients
2. don't cache objects with private keys. This is actually a workaround
   a small problem: If the server closes the connection before the MIME
   headers are send, the object is cached with a private key. This solves
   that problem, and adds some error toleranse in the code.
   Probably it should be extended to not cache expired objects as well.
3. Expire objects that have a pending delete
   This is to prevent new clients from using a object that should be
   deleted as soon as possible.
4. Minor changes in debug messages (name corrections and level adjustment)
/Henrik

29 years agoUnneded argument to ttl_describe removed
wessels [Mon, 1 Apr 1996 11:16:11 +0000 (11:16 +0000)] 
Unneded argument to ttl_describe removed
/Henrik

29 years agoTrue parsing of mime headers
wessels [Mon, 1 Apr 1996 11:08:25 +0000 (11:08 +0000)] 
True parsing of mime headers
/Henrik

29 years ago1. data->reply_hdr are the full unmodified MIME headers, including
wessels [Mon, 1 Apr 1996 10:49:30 +0000 (10:49 +0000)] 
1. data->reply_hdr are the full unmodified MIME headers, including
   terminating "\r\n\r\n"
2. Some debugging at level 0 is changed to level 1.
   (keep debug level 0 clean from informal messages please)
3. The MIME parsing is made more tolerant, as specified in
   the HTTP 1.0 spec. (only look for \n)
4. Expiry information are set when the headers are received
   (before the object goes public). This is to enable the use
   of TTL 0 to indicate that the object is private (either
   throught Expires: header, or ttl_pattern)
5. If the server connection is closed by RESET, throw the object
   away. RESET should only be generated by malfunctioning servers
   or when the server dies. It is very unpolite to cache modified
   objects. (I am not sure I got this right, pleas check it out)
/Henrik

29 years agoA minor cleanup in _db_print in __STRICT_ANSI__ mode. Use normal argument
wessels [Mon, 1 Apr 1996 10:42:30 +0000 (10:42 +0000)] 
A minor cleanup in _db_print in __STRICT_ANSI__ mode. Use normal argument
passing for all required arguments, and stdargs for all extra args.
/Henrik

29 years agomake functions static
wessels [Mon, 1 Apr 1996 10:34:42 +0000 (10:34 +0000)] 
make functions static

29 years agojust use sys/socket.ph
wessels [Sat, 30 Mar 1996 07:34:23 +0000 (07:34 +0000)] 
just use sys/socket.ph

29 years agoupdate
wessels [Sat, 30 Mar 1996 07:34:07 +0000 (07:34 +0000)] 
update

29 years ago1.0.alpha4
wessels [Sat, 30 Mar 1996 07:33:48 +0000 (07:33 +0000)] 
1.0.alpha4

29 years agoMajor rewrite of logging. Now log accesses when the client data
wessels [Sat, 30 Mar 1996 07:09:02 +0000 (07:09 +0000)] 
Major rewrite of logging.  Now log accesses when the client data
structure (icpStateData) gets destroyed.  TCP_DONE is gone and
TCP_MISS is now logged when the request completes and has a valid
size.  Made some adjustments to get error logging working also.
Had to add 'abort_code' element to the StoreEntry Mem_Obj structure.

29 years agogindent
wessels [Sat, 30 Mar 1996 04:20:12 +0000 (04:20 +0000)] 
gindent

29 years agoassign various debug sections
wessels [Sat, 30 Mar 1996 04:19:19 +0000 (04:19 +0000)] 
assign various debug sections

29 years agoassign store.c to debugging section 20
wessels [Sat, 30 Mar 1996 04:17:23 +0000 (04:17 +0000)] 
assign store.c to debugging section 20
fixed storeRebuildFromDisk bug introduced when switched from fdopen(, "a")
to fdopen(, "w").  Now storeInit() makes a little more sense.

29 years agoassign disk.c to debugging section 6
wessels [Sat, 30 Mar 1996 04:16:08 +0000 (04:16 +0000)] 
assign disk.c to debugging section 6

29 years agoassign comm.c to debugging section 5
wessels [Sat, 30 Mar 1996 04:15:48 +0000 (04:15 +0000)] 
assign comm.c to debugging section 5

29 years agoassign cached_error.c to debugging section 4
wessels [Sat, 30 Mar 1996 04:15:23 +0000 (04:15 +0000)] 
assign cached_error.c to debugging section 4

29 years agoassign cache_cf.c to debugging section 3; also add "visible_hostname"
wessels [Sat, 30 Mar 1996 04:14:32 +0000 (04:14 +0000)] 
assign cache_cf.c to debugging section 3; also add "visible_hostname"

29 years agoassign wais.c to debugging section 24
wessels [Sat, 30 Mar 1996 04:13:31 +0000 (04:13 +0000)] 
assign wais.c to debugging section 24

29 years ago1.0.alpha3
wessels [Fri, 29 Mar 1996 08:08:19 +0000 (08:08 +0000)] 
1.0.alpha3

29 years agoImplemented prototype IMS-GET and change-key-until-headers-read
wessels [Fri, 29 Mar 1996 08:07:35 +0000 (08:07 +0000)] 
Implemented prototype IMS-GET and change-key-until-headers-read

29 years agoinit pointers to NULL
wessels [Fri, 29 Mar 1996 06:11:20 +0000 (06:11 +0000)] 
init pointers to NULL

29 years agocreate ipaddr field in fd_stat_tab table
wessels [Fri, 29 Mar 1996 05:37:54 +0000 (05:37 +0000)] 
create ipaddr field in fd_stat_tab table

29 years agoreinstall read handlers when we get EAGAIN or EWOULDBLOCK
wessels [Fri, 29 Mar 1996 03:42:46 +0000 (03:42 +0000)] 
reinstall read handlers when we get EAGAIN or EWOULDBLOCK

29 years agorearrange order of functions
wessels [Thu, 28 Mar 1996 13:10:04 +0000 (13:10 +0000)] 
rearrange order of functions

29 years agocomment
wessels [Thu, 28 Mar 1996 13:02:19 +0000 (13:02 +0000)] 
comment

29 years agorearrange order of functions
wessels [Thu, 28 Mar 1996 13:02:09 +0000 (13:02 +0000)] 
rearrange order of functions

29 years agofill in mising error messages
wessels [Thu, 28 Mar 1996 12:42:48 +0000 (12:42 +0000)] 
fill in mising error messages

29 years agore-fix htons() for echo_port
wessels [Thu, 28 Mar 1996 12:39:36 +0000 (12:39 +0000)] 
re-fix htons() for echo_port

29 years agomisc fixes for WAIS
wessels [Thu, 28 Mar 1996 12:39:21 +0000 (12:39 +0000)] 
misc fixes for WAIS

29 years agoWAIS always compiled in
wessels [Thu, 28 Mar 1996 12:28:02 +0000 (12:28 +0000)] 
WAIS always compiled in

29 years agoupdate
wessels [Thu, 28 Mar 1996 12:27:17 +0000 (12:27 +0000)] 
update

29 years agogindent
wessels [Thu, 28 Mar 1996 12:23:31 +0000 (12:23 +0000)] 
gindent

29 years agoalways compile wais by default
wessels [Thu, 28 Mar 1996 12:22:53 +0000 (12:22 +0000)] 
always compile wais by default

29 years agoUse O_NDELAY rather than FNDELAY
wessels [Thu, 28 Mar 1996 12:21:46 +0000 (12:21 +0000)] 
Use O_NDELAY rather than FNDELAY

29 years agoMake sure syslog goes after stdarg/varargs
wessels [Thu, 28 Mar 1996 12:21:28 +0000 (12:21 +0000)] 
Make sure syslog goes after stdarg/varargs

29 years agomore prototypes
wessels [Thu, 28 Mar 1996 10:02:10 +0000 (10:02 +0000)] 
more prototypes

29 years agorely on configure to properly set HAVE_MALLINFO and HAVE_MALLOPT
wessels [Thu, 28 Mar 1996 09:34:04 +0000 (09:34 +0000)] 
rely on configure to properly set HAVE_MALLINFO and HAVE_MALLOPT

29 years agoconfigure adjustments
wessels [Thu, 28 Mar 1996 09:33:33 +0000 (09:33 +0000)] 
configure adjustments

29 years agoSome major readjustment of configure.in. Use LIBS instead of XTRA_LIBS
wessels [Thu, 28 Mar 1996 09:32:47 +0000 (09:32 +0000)] 
Some major readjustment of configure.in.  Use LIBS instead of XTRA_LIBS
so that we link with the libs we found when looking for functions
later on...

29 years agoremove all code dealing with binary mode
wessels [Thu, 28 Mar 1996 03:21:41 +0000 (03:21 +0000)] 
remove all code dealing with binary mode

29 years agocreate setMaxFD() in tools.c
wessels [Thu, 28 Mar 1996 03:21:11 +0000 (03:21 +0000)] 
create setMaxFD() in tools.c

29 years agofix debug inequality test
wessels [Thu, 28 Mar 1996 03:20:44 +0000 (03:20 +0000)] 
fix debug inequality test