From 3bfa06c9a2e3d53ae2b2ca1a1841429623f1f12e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 2 Nov 2001 23:09:25 +0000 Subject: [PATCH] improved functionality for new timeout tests --- tests/FILEFORMAT | 8 ++++++++ tests/ftpserver.pl | 10 ++++++++++ tests/httpserver.pl | 20 ++++++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index 40fab24..8f4a77e 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -23,6 +23,14 @@ if the data is sent but this is what should be checked afterwards number to return on a ftp SIZE command + +special purpose server-command to control its behavior *before* the +reply is sent + + +special purpose server-command to control its behavior *after* the +reply is sent + diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 956ff4d..ef34787 100644 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -326,6 +326,7 @@ sub PORT_command { $SIG{CHLD} = \&REAPER; my %customreply; +my %delayreply; sub customize { undef %customreply; open(CUSTOM, "