From a434cb43e807753730d815096464c9c7cb3f1596 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 20 Feb 2010 21:56:48 +0000 Subject: - 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. --- tests/ftpserver.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') 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"; } -- cgit v1.2.3