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..."
This commit is contained in:
Alex Musolino 2020-09-23 12:44:05 +09:30
parent 313aebb964
commit 23de6808f7

View file

@ -85,6 +85,7 @@ struct Cmd
Cmd cmdtab[] =
{
{ "abor", abortcmd, 0, },
{ "allo", nopcmd, 1, },
{ "appe", appendcmd, 1, },
{ "cdup", cdupcmd, 1, },
{ "cwd", cwdcmd, 1, },