Mercurial > dovecot > core-2.2
changeset 10135:cb6dc691fa5a HEAD
imap/pop3 now supports multiple connections/process, removed the restriction.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 22 Oct 2009 18:31:40 -0400 |
parents | 545bdb7670d2 |
children | ff200b8e4929 |
files | src/imap/main.c src/pop3/main.c |
diffstat | 2 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/main.c Thu Oct 22 18:31:18 2009 -0400 +++ b/src/imap/main.c Thu Oct 22 18:31:40 2009 -0400 @@ -155,12 +155,6 @@ const char *error; buffer_t input_buf; - if (imap_clients != NULL) { - i_error("Can't handle more than one connection currently"); - (void)close(client->fd); - return; - } - memset(&input, 0, sizeof(input)); input.module = input.service = "imap"; input.local_ip = client->auth_req.local_ip; @@ -173,7 +167,6 @@ (void)close(client->fd); return; } - master_login_deinit(&master_login); if (mail_storage_service_lookup_next(storage_service, &input, &user, &mail_user, &error) <= 0)
--- a/src/pop3/main.c Thu Oct 22 18:31:18 2009 -0400 +++ b/src/pop3/main.c Thu Oct 22 18:31:40 2009 -0400 @@ -117,12 +117,6 @@ const char *error; buffer_t input_buf; - if (pop3_clients != NULL) { - i_error("Can't handle more than one connection currently"); - (void)close(client->fd); - return; - } - memset(&input, 0, sizeof(input)); input.module = input.service = "pop3"; input.local_ip = client->auth_req.local_ip; @@ -135,7 +129,6 @@ (void)close(client->fd); return; } - master_login_deinit(&master_login); if (mail_storage_service_lookup_next(storage_service, &input, &user, &mail_user, &error) <= 0)