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. --- lib/smtp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/smtp.h') diff --git a/lib/smtp.h b/lib/smtp.h index cc581d4d5..02cd467f5 100644 --- a/lib/smtp.h +++ b/lib/smtp.h @@ -37,6 +37,7 @@ typedef enum { SMTP_MAIL, /* MAIL FROM */ SMTP_RCPT, /* RCPT TO */ SMTP_DATA, + SMTP_POSTDATA, SMTP_QUIT, SMTP_LAST /* never used */ } smtpstate; -- cgit v1.2.1