Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-10] src/usr.bin/ftp
Module Name: src
Committed By: martin
Date: Wed Mar 4 19:07:19 UTC 2026
Modified Files:
src/usr.bin/ftp [netbsd-10]: 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 #1238):
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.141.6.2 -r1.141.6.3 src/usr.bin/ftp/cmds.c
cvs rdiff -u -r1.235.2.5 -r1.235.2.6 src/usr.bin/ftp/fetch.c
cvs rdiff -u -r1.147.2.9 -r1.147.2.10 src/usr.bin/ftp/ftp.1
cvs rdiff -u -r1.174.2.5 -r1.174.2.6 src/usr.bin/ftp/ftp.c
cvs rdiff -u -r1.86.2.2 -r1.86.2.3 src/usr.bin/ftp/ftp_var.h
cvs rdiff -u -r1.128.2.4 -r1.128.2.5 src/usr.bin/ftp/main.c
cvs rdiff -u -r1.164.2.6 -r1.164.2.7 src/usr.bin/ftp/util.c
cvs rdiff -u -r1.95.2.6 -r1.95.2.7 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