Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-11] src/usr.bin/ftp
Module Name: src
Committed By: martin
Date: Wed Mar 4 18:56:15 UTC 2026
Modified Files:
src/usr.bin/ftp [netbsd-11]: cmds.c fetch.c ftp.1 ftp.c ftp_var.h
main.c util.c version.h
Log Message:
Pull up following revision(s) (requested by lukem in ticket #186):
usr.bin/ftp/ftp.1: revision 1.163
usr.bin/ftp/ftp_var.h: revision 1.91
usr.bin/ftp/util.c: revision 1.171
usr.bin/ftp/main.c: revision 1.137
usr.bin/ftp/version.h: revision 1.103
usr.bin/ftp/ftp.c: revision 1.181
usr.bin/ftp/cmds.c: revision 1.145
usr.bin/ftp/fetch.c: revision 1.244
ftp: simplify socket buffer handling to improve performance
Only set the socket buffer sizes if the user explicitly sets the
rcvbuf (SO_RCVBUF) or sndbuf (SO_SNDBUF) to a positive value.
Otherwise leave to the operating system default.
Determine the transfer size based on the socket buffer size
clamped to 1 KiB .. 128 KiB, using using the maximum (128 KiB)
if the socket buffer size is 0 (autodetect).
Improves transfer performance on long fat links.
Bump version to 20260207.
PR bin/59865 from Christof Meerwald.
To generate a diff of this commit:
cvs rdiff -u -r1.144 -r1.144.2.1 src/usr.bin/ftp/cmds.c
cvs rdiff -u -r1.242.2.1 -r1.242.2.2 src/usr.bin/ftp/fetch.c
cvs rdiff -u -r1.160.2.2 -r1.160.2.3 src/usr.bin/ftp/ftp.1
cvs rdiff -u -r1.178.2.2 -r1.178.2.3 src/usr.bin/ftp/ftp.c
cvs rdiff -u -r1.89.2.1 -r1.89.2.2 src/usr.bin/ftp/ftp_var.h
cvs rdiff -u -r1.135.2.1 -r1.135.2.2 src/usr.bin/ftp/main.c
cvs rdiff -u -r1.168.2.2 -r1.168.2.3 src/usr.bin/ftp/util.c
cvs rdiff -u -r1.99.2.3 -r1.99.2.4 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.
Home |
Main Index |
Thread Index |
Old Index