The NetBSD Project

CVS log for src/tests/usr.bin/ftp/custom_headers.sh

[BACK] Up to [cvs.NetBSD.org] / src / tests / usr.bin / ftp

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Oct 13 16:06:37 2024 UTC (3 months, 1 week ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +36 -0 lines
Pull up following revision(s) (requested by riastradh in ticket #970):

	tests/usr.bin/Makefile: revision 1.42
	usr.bin/ftp/ruserpass.c: revision 1.34
	usr.bin/ftp/main.c: revision 1.130
	usr.bin/ftp/ssl.c: revision 1.17
	usr.bin/ftp/main.c: revision 1.131
	usr.bin/ftp/ssl.c: revision 1.18
	usr.bin/ftp/main.c: revision 1.132
	usr.bin/ftp/ssl.c: revision 1.19
	usr.bin/ftp/main.c: revision 1.133
	distrib/sets/lists/tests/mi: revision 1.1342
	usr.bin/ftp/ftp.1: revision 1.151
	usr.bin/ftp/ftp.1: revision 1.152
	usr.bin/ftp/progressbar.c: revision 1.25
	usr.bin/ftp/ftp.1: revision 1.153
	usr.bin/ftp/progressbar.c: revision 1.26
	usr.bin/ftp/ftp.1: revision 1.155
	usr.bin/ftp/ftp.1: revision 1.156
	usr.bin/ftp/fetch.c: revision 1.239
	usr.bin/ftp/ftp.1: revision 1.157
	usr.bin/ftp/ftp.1: revision 1.158
	usr.bin/ftp/ftp.1: revision 1.159
	usr.bin/ftp/ftp_var.h: revision 1.87
	etc/mtree/NetBSD.dist.tests: revision 1.208
	usr.bin/ftp/ftp_var.h: revision 1.88
	usr.bin/ftp/ftp_var.h: revision 1.89
	usr.bin/ftp/cmds.c: revision 1.142
	usr.bin/ftp/util.c: revision 1.168
	usr.bin/ftp/cmds.c: revision 1.143
	tests/usr.bin/ftp/custom_headers.sh: revision 1.1
	usr.bin/ftp/ssl.c: revision 1.20
	usr.bin/ftp/complete.c: revision 1.48
	tests/usr.bin/ftp/Makefile: revision 1.1
	tests/usr.bin/ftp/t_custom_headers.sh: revision 1.1
	usr.bin/ftp/fetch.c: revision 1.240
	usr.bin/ftp/fetch.c: revision 1.241
	usr.bin/ftp/ftp.c: revision 1.176
	usr.bin/ftp/ftp.c: revision 1.177
	(all via patch)

ftp(1): wording and formatting improvements

Fix grammar issue with "Support values" reported in private mail.
Document all file transfer types in "type" and cross-reference that.
Consistency fixes in describing file transfer parameters and types.

Fix some mandoc -Tlint issues (except "useless macro: Tn").

Add -b <buflen> to specify the buffer size.

ftp: bump FTPBUFLEN from 4kB to 16kB
sourceforge.net returns a 5kB content-security-policy.
Analyzed by mlelstv@ who reports usual limits are between 4kB and 48kB.
default is now 16K

ftp: improve -b documentation

Order -b bufsize in the synopsis.

Document the actual default value.

ftp: improve units used in comments and errors
Use "KiB" instead of "K" in errors.
Clarify related comments.

pass some lint.

PR/58581: Sunil Nimmagadda: Add flag to allow specifying extra http header
fields.

ftp(1): Nix trailing whitespace in man page.
No functional change intended.

PR bin/58581: ftp(1) should allow specifying header fields in http requests
fix markup (h -> H), explain about multiple headers, fix usage (from RVP)

Don't forget the dot, use the intended macro name (I think),
and improve the wording a little.    (All related to the -H option.)
ftp(1): Add test for custom HTTP header fields.

Based on a patch from Sunil Nimmagadda.

PR bin/58581: ftp(1) should allow specifying header fields in http
requests

Revision 1.1.2.1
Sat Oct 12 22:19:37 2024 UTC (3 months, 1 week ago) by martin
Branches: netbsd-10
FILE REMOVED
Changes since revision 1.1: +0 -36 lines
file custom_headers.sh was added on branch netbsd-10 on 2024-10-13 16:06:36 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Oct 12 22:19:37 2024 UTC (3 months, 1 week ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Branch point for: netbsd-10
ftp(1): Add test for custom HTTP header fields.

Based on a patch from Sunil Nimmagadda <sunil@nimmagadda.net>.

PR bin/58581: ftp(1) should allow specifying header fields in http
requests

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>