Reformated the ChangeLog.

This commit is contained in:
Robert James Kaes 2002-05-27 02:01:06 +00:00
parent 4ce9674365
commit c2712cb0bb

View File

@ -1,73 +1,72 @@
2002-05-26 Robert James Kaes <rjkaes@flarenet.com>
* doc/tinyproxy.conf:
Removed the "DNSserver" directives since they're no longer needed.
* doc/tinyproxy.conf: Removed the "DNSserver" directives since
they're no longer needed.
* configure.ac:
Removed the pthread related tests and added a test for the sys/mman.h
header (needed for shared memory.)
* configure.ac: Removed the pthread related tests and added a test
for the sys/mman.h header (needed for shared memory.)
* src/Makefile.am:
Removed the "dnsserver" program all together, and changed the names of
some of the files.
* src/Makefile.am: Removed the "dnsserver" program all together,
and changed the names of some of the files.
* src/heap.c, src/heap.h:
Added the malloc_shared_memory() and calloc_shared_memory() function to
allow the use of shared memory between all the children.
* src/heap.c, src/heap.h: Added the malloc_shared_memory() and
calloc_shared_memory() function to allow the use of shared memory
between all the children.
* src/log.h, src/reqs.c: Spelling changes (from thread to child.)
* src/grammar.y, src/scanner.l:
Removed the directives for the old DNSserver process.
* src/grammar.y, src/scanner.l: Removed the directives for the old
DNSserver process.
* src/stats.c:
The stats structure has been moved into a shared memory block since it
needs to be shared by all the children.
* src/stats.c: The stats structure has been moved into a shared
memory block since it needs to be shared by all the children.
* src/tinyproxy.c: Removed all the code relating to the DNS API as
it's no longer needed with the new pre-forked model.
Updated the copyright dates.
(main): Moved the signals around so that they are assigned to the
appropriate process level: either the parent only, or all
processes.
* src/sock.c:
Removed the DNS API calls and replaced them with the standard
gethostbyname() and gethostbyaddr() functions. This is possible
because tinyproxy now uses a standard pre-forked() method.
* src/sock.c: Removed the DNS API calls and replaced them with the
standard gethostbyname() and gethostbyaddr() functions. This is
possible because tinyproxy now uses a standard pre-forked() method.
* src/common.h: Removed the "pthread" related includes.
* src/thread.c, src/thread.h:
No longer using a threading model; so these files have been replaced by
the child.c/child.h files (which use a pre-forked model.)
* src/thread.c, src/thread.h: No longer using a threading model;
so these files have been replaced by the child.c/child.h files,
which use a pre-forked model.
* src/dnsclient.h, src/dnsserver.c, src/dnsclient.c:
I didn't like the DNS co-process design so I changed tinyproxy from a
threading model to a standard pre-forked model. This means I don't need
the DNS co-process files. Gone.
* src/dnsclient.h, src/dnsserver.c, src/dnsclient.c: I didn't like
the DNS co-process design so I changed tinyproxy from a threading
model to a standard pre-forked model. This means I don't need the
DNS co-process files. Gone.
* src/child.c, src/child.h:
Changed from using a threading model to a standard pre-forked model.
Therefore the thread.c file has been removed and this file replaces it.
These files are really just the thread.c and thread.h files with all the
threading stuff replaced with fork() code. Most of the code is identical.
* src/child.c, src/child.h: Changed from using a threading model
to a standard pre-forked model. Therefore the thread.c file has
been removed and this file replaces it. These files are really
just the thread.c and thread.h files with all the threading stuff
replaced with fork() code. Most of the code is identical.
2002-05-24 Robert James Kaes <rjkaes@flarenet.com>
* src/buffer.c, src/conns.c, src/dnsclient.c, src/hashmap.c, src/reqs.c, src/stats.c, src/text.c, src/thread.c, src/tinyproxy.c, src/utils.c, src/vector.c:
Fixed a tonne of spelling mistakes.
* src/buffer.c, src/conns.c, src/dnsclient.c, src/hashmap.c,
src/reqs.c, src/stats.c, src/text.c, src/thread.c,
src/tinyproxy.c, src/utils.c, src/vector.c: Fixed a tonne of
spelling mistakes.
* src/sock.c:
Fixed some spelling mistakes, and removed the getpeer_ip() and
getpeer_string() functions as they've been replaced by the
getpeer_information() function.
* src/sock.c: Fixed some spelling mistakes, and removed the
getpeer_ip() and getpeer_string() functions as they've been
replaced by the getpeer_information() function.
2002-05-23 Robert James Kaes <rjkaes@flarenet.com>
* src/dnsserver.c: The DNS resolver for use by the various
tinyproxy threads. The DNS resovler was moved into a separate
funtion to prevent the blocking problem the 1.4.x and 1.5.0
tinyproxy threads. The DNS resolver was moved into a separate
function to prevent the blocking problem the 1.4.x and 1.5.0
versions experienced when a DNS query would take a long time to
return. While the query was blocking, other threads could not
establish their own queries, so they all blocked. Not so good.