mirror of https://github.com/moparisthebest/curl
bail out on crap received, makes test case 402 *NOT* ruin the test series
anymore!
This commit is contained in:
parent
07e3dc2ee2
commit
637bce2707
|
@ -439,7 +439,8 @@ for ( $waitedpid = 0;
|
||||||
|
|
||||||
unless (m/^([A-Z]{3,4})\s?(.*)/i) {
|
unless (m/^([A-Z]{3,4})\s?(.*)/i) {
|
||||||
print "500 '$_': command not understood.\r\n";
|
print "500 '$_': command not understood.\r\n";
|
||||||
next;
|
logmsg "unknown crap received, bailing out hard\n";
|
||||||
|
last;
|
||||||
}
|
}
|
||||||
my $FTPCMD=$1;
|
my $FTPCMD=$1;
|
||||||
my $FTPARG=$2;
|
my $FTPARG=$2;
|
||||||
|
|
Loading…
Reference in New Issue