diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-22 16:08:29 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-22 16:08:29 +0000 |
commit | 358b2781af5855e29fb9a37599e1154308117668 (patch) | |
tree | 59eeb763ec4bcb2105f63cb06afa55153eac87a1 /ChangeLog | |
parent | ad743c1e41635a903aed50935afcb411f8388408 (diff) | |
download | tinyproxy-358b2781af5855e29fb9a37599e1154308117668.tar.gz tinyproxy-358b2781af5855e29fb9a37599e1154308117668.zip |
Cleaned up the code in handle_connection() and added a NULL pointer test
in the free request function.
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1,5 +1,10 @@ 2001-10-22 Robert James Kaes <rjkaes@flarenet.com> + * src/reqs.c (free_request_struct): Added a test to return if the + pointer is NULL. + (handle_connection): Cleaned up the code to better handle the + cause where the request is NULL. + * src/sock.c (getpeer_string): * src/sock.c (getpeer_ip): When the DNS lookup fails, we need to initialized the user's buffer to an empty string; otherwise, the |