Added the lookup_domain() function which replaces the DNS caching system.

This commit is contained in:
Robert James Kaes 2001-12-15 06:00:03 +00:00
parent a4934e2232
commit e10d005f81

View File

@ -1,3 +1,12 @@
2001-12-15 Robert James Kaes <rjkaes@flarenet.com>
* src/sock.c (lookup_domain): Removed the DNS cache since
according to RFC2616 a HTTP client should not cache an address if
the client doesn't also respect the TTL value. tinyproxy does not
have a complete DNS resolver. Additionally, a caching DNS system
is an administrator decision which should not be included in
tinyproxy.
2001-11-25 Robert James Kaes <rjkaes@flarenet.com> 2001-11-25 Robert James Kaes <rjkaes@flarenet.com>
* src/buffer.c (makenewline): This function now copies the actual * src/buffer.c (makenewline): This function now copies the actual