Mercurial > dovecot > original-hg > dovecot-1.2
diff src/master/login-process.c @ 615:0d852af6842e HEAD
Master process generates DH/RSA parameters now and stores them into file
which login processes read. Added setting for regeneration interval. Some
other SSL cleanups.
Also fixed default login process path to be ../run/dovecot/login/ like
example config file said, instead of just ../run/dovecot/ which it actually
was until now.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 17 Nov 2002 11:42:07 +0200 |
parents | e60620644af3 |
children | 90a65c017bf0 |
line wrap: on
line diff
--- a/src/master/login-process.c Sat Nov 16 07:57:20 2002 +0200 +++ b/src/master/login-process.c Sun Nov 17 11:42:07 2002 +0200 @@ -312,6 +312,11 @@ set_ssl_key_file, NULL)); } + if (set_ssl_parameters_file != NULL) { + putenv((char *) t_strconcat("SSL_PARAM_FILE=", + set_ssl_parameters_file, NULL)); + } + if (set_disable_plaintext_auth) putenv("DISABLE_PLAINTEXT_AUTH=1"); @@ -333,6 +338,13 @@ return -1; } +void login_process_abormal_exit(pid_t pid __attr_unused__) +{ + /* don't start raising the process count if they're dying all + the time */ + wanted_processes_count = 0; +} + static void login_hash_cleanup(void *key __attr_unused__, void *value, void *context __attr_unused__) {