Module Name: src Committed By: martin Date: Sun Mar 13 11:49:14 UTC 2016
Modified Files: src/usr.bin/ftp [netbsd-7]: cmds.c fetch.c ftp.c ftp_var.h ssl.c Log Message: Pull up following revision(s) (requested by nonakap in ticket #1133): usr.bin/ftp/fetch.c: revision 1.208-1.221 usr.bin/ftp/cmds.c: revision 1.136-1.137 usr.bin/ftp/ssl.c: revision 1.5 usr.bin/ftp/ftp.c: revision 1.165-1.166 usr.bin/ftp/ftp_var.h: revision 1.84 Workaround const issues of SSL_set_tlsext_host_name. Use the proper format "[IPv6 address]:port" when reporting connection attempts to IPv6 endpoints. (Hopefully) fix build without IPv6 support Try to factor out some code, this is completely out of control. Separate no_proxy handling. Factor the proxy handling code out. Fix compile failure without WITH_SSL. PR/50438: NONAKA Kimihiro: ftp(1): CONNECT method support make DPRINTF/DWARN always statements. Fix to connect https via proxy. Fix ttyout message. Simplify and factor out connect message Split the position/size parsing into a separate function. Mark function as only needed with ssl. Fix downloads of local files using file:// URLs Initialize the token match pointer. use sizeof() and array notation. CID 1354295: Array overrun. To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.135.8.1 src/usr.bin/ftp/cmds.c cvs rdiff -u -r1.205.4.2 -r1.205.4.3 src/usr.bin/ftp/fetch.c cvs rdiff -u -r1.164 -r1.164.10.1 src/usr.bin/ftp/ftp.c cvs rdiff -u -r1.82.8.1 -r1.82.8.2 src/usr.bin/ftp/ftp_var.h cvs rdiff -u -r1.2.14.1 -r1.2.14.2 src/usr.bin/ftp/ssl.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.