CVS commit: [netbsd-10] src/usr.bin/ftp

"Martin Husemann" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	martin
Date:		Wed Mar  4 19:04:52 UTC 2026

Modified Files:
	src/usr.bin/ftp [netbsd-10]: fetch.c ftp.c ftp_var.h util.c version.h

Log Message:
Pull up following revision(s) (requested by lukem in ticket #1237):

	usr.bin/ftp/ftp_var.h: revision 1.90
	usr.bin/ftp/util.c: revision 1.170
	usr.bin/ftp/version.h: revision 1.102
	usr.bin/ftp/ftp.c: revision 1.180
	usr.bin/ftp/fetch.c: revision 1.243

ftp: limit I/O transfers to 128 KiB

Change the default/maximum I/O transfer size to 128 KiB,
instead of relying upon the socket buffer size.

Reworked change proposed by Michael van Elst.

Use more constants instead of magic values.

Bump version to 20260115.

Part of PR bin/59865.


To generate a diff of this commit:
cvs rdiff -u -r1.235.2.4 -r1.235.2.5 src/usr.bin/ftp/fetch.c
cvs rdiff -u -r1.174.2.4 -r1.174.2.5 src/usr.bin/ftp/ftp.c
cvs rdiff -u -r1.86.2.1 -r1.86.2.2 src/usr.bin/ftp/ftp_var.h
cvs rdiff -u -r1.164.2.5 -r1.164.2.6 src/usr.bin/ftp/util.c
cvs rdiff -u -r1.95.2.5 -r1.95.2.6 src/usr.bin/ftp/version.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.