]> sjero.net Git - wget/blobdiff - src/ChangeLog
[svn] Replace conaddr with socket_ip_address.
[wget] / src / ChangeLog
index 85b6c5cb76ccc5a270ce4f841e4628e282b55895..c305d9919d35d4c370ddd8395b57375b66efeedf 100644 (file)
@@ -1,3 +1,25 @@
+2003-11-08  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * http.c (persistent_available_p): Instead of matching all the
+       addresses of HOST and last host, determine the peer's IP address
+       with socket_ip_address and see if that address is one of those
+       HOST resolves to.
+
+       * host.c (address_list_match_all): Removed.
+       (address_list_find): New function, finds an IP address in the
+       address list.
+
+       * ftp.c (ftp_do_pasv): Get the peer's address here, and pass it to
+       ftp_epsv so it doesn't need to call getpeername.
+
+       * ftp-basic.c (ftp_port): Use socket_ip_address instead of
+       getpeername.
+       (ftp_lprt): Ditto.
+
+       * connect.c (socket_ip_address): Replaces conaddr, generalized to
+       either get peer's or local address.
+       (sockaddr_get_data): Made local to this file.
+
 2003-11-08  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * hash.c (HASH_POSITION): Explicitly accept the hash function.