git: 9front

Download patch

ref: 42f800d4d564c34db94b6b5bbda3d900b86980ea
parent: 8b97843e8701dcbfd924632d3f7add548864b4e4
author: Alex Musolino <alex@musolino.id.au>
date: Wed Sep 23 08:44:05 EDT 2020

ftpd: handle "allo" command by treating it as a no-op

RFC959 says:

	"The ALLO command should be treated as a NOOP (no
	operation) by those servers which do not require
	that the maximum size of the file be declared
	beforehand..."

--- a/sys/src/cmd/ip/ftpd.c
+++ b/sys/src/cmd/ip/ftpd.c
@@ -85,6 +85,7 @@
 Cmd cmdtab[] =
 {
 	{ "abor",	abortcmd,	0, },
+	{ "allo",	nopcmd,		1, },
 	{ "appe",	appendcmd,	1, },
 	{ "cdup",	cdupcmd,	1, },
 	{ "cwd",	cwdcmd,		1, },
--