mirror of
https://github.com/curl/curl.git
synced 2026-05-30 17:27:29 +03:00
bail out on crap received, makes test case 402 *NOT* ruin the test series
anymore!
This commit is contained in:
parent
07e3dc2ee2
commit
637bce2707
1 changed files with 2 additions and 1 deletions
|
|
@ -439,7 +439,8 @@ for ( $waitedpid = 0;
|
|||
|
||||
unless (m/^([A-Z]{3,4})\s?(.*)/i) {
|
||||
print "500 '$_': command not understood.\r\n";
|
||||
next;
|
||||
logmsg "unknown crap received, bailing out hard\n";
|
||||
last;
|
||||
}
|
||||
my $FTPCMD=$1;
|
||||
my $FTPARG=$2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue