summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-17 20:57:58 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-17 20:57:58 +0000
commit6a588826c1411d3ea259a83f96f6744b20de65d6 (patch)
tree03d805ae2da2cd0703c806830ac01000776c863d
parent9fd6a9eaa9948eb998b2b9b9922453b4d6e0ad5b (diff)
downloadtinyproxy-6a588826c1411d3ea259a83f96f6744b20de65d6.tar.gz
tinyproxy-6a588826c1411d3ea259a83f96f6744b20de65d6.zip
Changes to configure.ac, src/sock.c, src/reqs.c, src/acl.c, src/acl.h,
and src/thread.c
Diffstat (limited to '')
-rw-r--r--ChangeLog30
1 files changed, 30 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c5014f4..314970b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,33 @@
+2002-04-17 Robert James Kaes <rjkaes@flarenet.com>
+
+ * configure.ac: Added test for pthread_cancel() since it doesn't
+ seem to be available on every platform, even if the rest of
+ pthread is. Thanks to Daniel Flemming and Petr Lampa for
+ reporting this problem.
+
+ * src/sock.c (lookup_domain): Removed the LOOKUP_LOCK() and
+ LOOKUP_UNLOCK() macros and replaced them with calls the LOCK() and
+ UNLOCK(). The reason for this change is that I can not be sure
+ that calls to gethostbyname() and gethostbyaddr() will not
+ over-write the same static block of memory. Potential problem
+ pointed out by Petr Lampa.
+
+ * src/reqs.c (handle_connection): If the initialize_conn()
+ function fails, we need to close the socket.
+
+ * src/acl.c (check_acl): Changed the code to accept the peer IP
+ address and string address from the calling function (in this case
+ handle_connection.)
+
+ * src/thread.c (thread_main): Removed close(connfd) since it has
+ already been closed from within handle_connection(). Thanks to
+ Petr Lampa for spotting this.
+ (thread_pool_create): Added test to make sure pthread_create()
+ succeeds, and returns -1 if all the threads could not be created.
+ (thread_main_loop): Added test to determine if the
+ pthread_create() call succeeded. Warns the admin if there was a
+ problem, but tinyproxy will continue to run.
+
2002-04-15 Robert James Kaes <rjkaes@flarenet.com>
* src/anonymous.c (anonymous_insert): Now returns -1 upon error,