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