diff --git a/BMAMail b/BMAMail index a337acf..c014706 100755 Binary files a/BMAMail and b/BMAMail differ diff --git a/__SMTP_QUIT.cpp b/__SMTP_QUIT.cpp index 11faa94..ed762d2 100644 --- a/__SMTP_QUIT.cpp +++ b/__SMTP_QUIT.cpp @@ -5,7 +5,7 @@ namespace mail { int __SMTP_QUIT::processCommand(coreutils::PString request, SMTPSession &session, SMTPServer &server, std::stringstream &data) { data << "221 " << server.hostName << CRLF; - session.shutdown("quit request"); + session.terminate(); return 1; } diff --git a/main.cpp b/main.cpp index cdefe1c..c8fc944 100644 --- a/main.cpp +++ b/main.cpp @@ -29,7 +29,7 @@ int main(int argc, char **argv) { mail::IMAPServer imapServer(ePoll, hostName, mailFileSystem, core::IPAddress(ipAddress, 143)); core::ConsoleServer consoleServer(ePoll, core::IPAddress(ipAddress, 1027)); consoleServer.commands.add(consoleServer.commands, "help"); - ePoll.start(4, 1000); + ePoll.start(8, 1000); while(true) sleep(300);