aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-02-20 21:56:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2010-02-20 21:56:48 +0000
commita434cb43e807753730d815096464c9c7cb3f1596 (patch)
treeb07e5774cdd5732f24f55136039f4037fd30a1cc /tests
parent846b926a3fd9078a4fa07f04b0ee4c9253831ce1 (diff)
- I made the SMTP code expect a 250 response back from the server after the
full DATA has been sent, and I modified the test SMTP server to also send that response. As usual, the DONE operation that is made after a completed transfer is still not doable in a non-blocking way so this waiting for 250 is unfortunately made blockingly.
Diffstat (limited to 'tests')
-rw-r--r--tests/ftpserver.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index bc868cfd2..8c1692464 100644
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -545,6 +545,7 @@ sub DATA_smtp {
print FILE "$ulsize bytes would've been stored here\n";
}
close(FILE);
+ sendcontrol "250 OK, data received!\r\n";
logmsg "received $ulsize bytes upload\n";
}