Mercurial > dovecot > core-2.2
comparison src/lib-master/master-login-auth.c @ 10473:a0d99b374aa4 HEAD
imap, pop3: Close auth/config connections when we stop accepting more connections.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 13 Dec 2009 21:08:41 -0500 |
parents | 9d13e9f78d52 |
children | 615eef3139c2 |
comparison
equal
deleted
inserted
replaced
10472:32949365f28d | 10473:a0d99b374aa4 |
---|---|
49 auth->fd = -1; | 49 auth->fd = -1; |
50 auth->requests = hash_table_create(default_pool, pool, 0, NULL, NULL); | 50 auth->requests = hash_table_create(default_pool, pool, 0, NULL, NULL); |
51 return auth; | 51 return auth; |
52 } | 52 } |
53 | 53 |
54 static void master_login_auth_disconnect(struct master_login_auth *auth) | 54 void master_login_auth_disconnect(struct master_login_auth *auth) |
55 { | 55 { |
56 struct hash_iterate_context *iter; | 56 struct hash_iterate_context *iter; |
57 void *key, *value; | 57 void *key, *value; |
58 | 58 |
59 iter = hash_table_iterate_init(auth->requests); | 59 iter = hash_table_iterate_init(auth->requests); |