Mercurial > dovecot > core-2.2
view src/master/login-process.h @ 4538:9d9e72374164 HEAD
Fixes to login process handling, especially with
login_process_per_connection=no. Removed login_max_logging_users setting
since it was somewhat weird in how it worked. Added login_max_connections to
replace it with login_process_per_connection=no, and with =yes its
functionality is now within login_max_processes_count.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 06 Aug 2006 23:05:32 +0300 |
parents | 5e0167577399 |
children | f5d53a684856 |
line wrap: on
line source
#ifndef __LOGIN_PROCESS_H #define __LOGIN_PROCESS_H struct login_group { struct login_group *next; enum process_type process_type; struct settings *set; unsigned int processes; unsigned int listening_processes; unsigned int wanted_processes_count; /* if login_process_per_connection=yes this contains the list of processes that are in LOGIN_STATE_FULL_PRELOGINS state */ struct login_process *oldest_prelogin_process; struct login_process *newest_prelogin_process; }; void login_process_destroyed(pid_t pid, bool abnormal_exit); void login_processes_destroy_all(bool unref); void login_processes_init(void); void login_processes_deinit(void); #endif