]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login: If client pipelines multiple failing auth commands, don't stop handling after...
authorTimo Sirainen <tss@iki.fi>
Wed, 29 Oct 2008 16:23:31 +0000 (18:23 +0200)
committerTimo Sirainen <tss@iki.fi>
Wed, 29 Oct 2008 16:23:31 +0000 (18:23 +0200)
--HG--
branch : HEAD

src/imap-login/client-authenticate.c
src/pop3-login/client-authenticate.c

index 1b58d05a648787fafb48e5b41f1fcf3e8072c2a0..a29b8d5289efbf50660a968708202b2378f268a4 100644 (file)
@@ -83,6 +83,7 @@ static void client_auth_failed(struct imap_client *client)
        client->io = io_add(client->common.fd, IO_READ,
                            client_input, client);
        client->common.auth_command_tag = NULL;
+       client_input(client);
 }
 
 static bool client_handle_args(struct imap_client *client,
index f08f4aa73b91a82b467629de503f14d7f78c0db8..0126b732a50fdee2571fc3661f7bb810be8eb15e 100644 (file)
@@ -152,6 +152,7 @@ static bool client_handle_args(struct pop3_client *client,
                        io_remove(&client->io);
                client->io = io_add(client->common.fd, IO_READ,
                                    client_input, client);
+               client_input(client);
        }
        return TRUE;
 }
@@ -194,6 +195,7 @@ static void sasl_callback(struct client *_client, enum sasl_server_reply reply,
                                io_remove(&client->io);
                        client->io = io_add(client->common.fd, IO_READ,
                                            client_input, client);
+                       client_input(client);
                }
                break;
        case SASL_SERVER_REPLY_MASTER_FAILED: