f6f23086d0259d50cde3bd5d4180d67d820d293d |
|
22-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-master: Add master_service_init_stats_client()
This allows initializing the stats client after master_service_init() if
necessary. |
b63e20ea9bc84f1aa90a551f217d01385e070b73 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-master: Add stats-client
Enable it if MASTER_SERVICE_FLAG_SEND_STATS is set |
754896551f0422cda5d78500b26700eec5343c5b |
|
31-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-master: Load SSL module if wanted by service |
b68b98e1545bad8af9cb58ef89e8d7f6e16577be |
|
16-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
lib-master: Support HAproxy TLVs
This allows passing in information about SSL and client
certificate(s) and other information from haproxy. |
719abeb2088987f213a33a7dd1fe78958beaef03 |
|
03-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-master: master_service_init_log() - Switch log handlers only on the first call
The secondary calls were only done by mail_storage_service_*() calls. They
want to initialize the logging once, but afterwards they only care about
changing the log prefix. Switch to this behavior now explicitly.
This fixes behavior if logging functions are changed between
mail_storage_service_*() calls, so they don't get reset. |
8a0a8c982a6ffc75a4b1c8717b6180a811655794 |
|
10-Jun-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
master: Move master_set_import_environment() to lib-master |
541f258d86b2db26efd5670883966183b4fb6323 |
|
02-May-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-master: Add comments to struct master_service_connection |
0679f8a70a8dda43b204ae35fc6a903818cc6584 |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib-master: Add automatic data stack frame to init unless disabled. |
0dffa25d211be541ee3c953b23566a1a990789df |
|
06-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: unsigned int:1 -> bool:1
perl -i -pe 's/unsigned int ([^,:;]+):1;/bool $1:1;/' **/*.[ch] |
03baa1c4c51f7b08fb285e82b528fcb00ac09ebf |
|
18-Nov-2015 |
Timo Sirainen <tss@iki.fi> |
lib-master: master_service_is_master_stopped() now returns FALSE if running standalone.
The only caller of this function was stats plugin to see if it should send
stats updates. So this fixes dovecot-lda, doveadm and other standalone tools
to send stats updates. |
009217abb57a24a4076092e8e4e165545747839e |
|
29-Aug-2015 |
Stephan Bosch <stephan@rename-it.nl> |
Changed type of internet port values to in_port_t everywhere.
Created special SET_IN_PORT setting type for internet port values.
Created net_str2port() for parsing internet port values.
Removed several atoi() invocations in the process. |
72f21884c0bb9bb26edad63623427ac2120901ea |
|
15-Jun-2015 |
Stephan Bosch <stephan@rename-it.nl> |
lib-master: Added local and real IP addresses and ports to struct master_service_connection. |
9b0f6b90ff8d1d6efd718b0d7cbe01b2454e9fd6 |
|
07-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib-master: Make sure we can't accidentally add duplicate getopt args. |
7f1b897201d80c83c96b0d663f2a14c517d48f14 |
|
13-May-2015 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added master_service_get_socket_name() |
b7b9d4be2a1ff399026a5d6feeffd3a048f22be0 |
|
01-Aug-2013 |
Timo Sirainen <tss@iki.fi> |
lib-master: If MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN is set, open the config socket before dropping privileges. |
d6b3cfd855c0eebed68be50d3111de1b5a6afeb0 |
|
13-Jun-2013 |
Timo Sirainen <tss@iki.fi> |
Call master_service_init_finish() only after all of the initialization is done.
This way if the init crashes, the master process will throttle a buggy
service. |
57397188558fcd1a9e24dbbbd2952eac9c45c20d |
|
23-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added master_service_is_master_stopped() |
d4845c4245638fd6f02dc0cb92c3465fae763cbb |
|
04-Apr-2013 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added master_service_get_process_min_avail() |
31a9637b38d37451b649c86301b2c12e53a7810e |
|
18-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
Compiling fix for Solaris |
9c6a09aa16095ff72837799a37e0e3b3e93bb3d8 |
|
15-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lib-master: include unistd.h for master_getopt() users. |
6303f32ad4af9cb08794561e6324df1c6c5fb637 |
|
14-Mar-2013 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added version_string_verify_full() |
8b5c520883aa37bb55646286d375fdbae294d710 |
|
25-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
login: Don't fail at startup by trying to load SSL plugin. |
bdd36cfdba3ff66d25570a9ff568d69e1eb543cf |
|
03-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
Renamed network.[ch] to net.[ch].
The function prefixes already started with net_ instead of network_.
And icecap wants to use network.h for other purpose. :) |
32b78da5dfbbf6a06b3dbdc9278c60b55714f9bc |
|
19-Sep-2012 |
Timo Sirainen <tss@iki.fi> |
Read SSL settings only if service has SSL sockets or MASTER_SERVICE_FLAG_USE_SSL_SETTINGS. |
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4 |
|
23-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786 |
0161376aac025266d8654577c4b9ce371ffc87ea |
|
20-Jan-2012 |
Timo Sirainen <tss@iki.fi> |
lib-master: Send service's idle_kill value to process in environment. |
f7423cbbd9dea363a5df18ebb96da055a977ae79 |
|
29-Dec-2011 |
Timo Sirainen <tss@iki.fi> |
Listener names are now in struct master_service_connection.name
This allows service to use the names to figure out what type the listener
is. |
21e6b4fd844fd074583b17f09e1f27b9835ee238 |
|
23-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added master_service_client_connection_created() |
ccf50662cc02b5e703039a4ff7f91a4470e25b71 |
|
27-Jun-2011 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added master_service_set_idle_die_callback() |
1ffb2afe6d7e8860a2231a4827078cf2ef9c22cd |
|
27-Jun-2011 |
Timo Sirainen <tss@iki.fi> |
master process now tells its children their service's process_limit. |
d5eb47a791ec56149fd711cd8e44efc8babeaae5 |
|
10-Feb-2011 |
Timo Sirainen <tss@iki.fi> |
Added import_environment setting.
This also cleans up different places in code where TZ and other environments
are preserved. If it's not in the import_environment setting, it's not
preserved. |
e2bdca8201e4aa1cd31332ffbdd4c6eef9151d5e |
|
03-Nov-2010 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added MASTER_SERVICE_FLAG_UPDATE_PROCTITLE for showing number of connections in ps.
The title is still only updated if verbose_proctitle=yes, so this allows
binaries to easily just set the flag and lib-master handles the rest. |
71df09024cea5f2faa93da3bb9513ee96ba6bf22 |
|
23-Jul-2010 |
Timo Sirainen <tss@iki.fi> |
doveadm: Added client/server architecture support for running mail commands.
This is done when doveadm_worker_count is non-zero. |
f37ecd72aad9b806aae83f71bacafdce32146945 |
|
21-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added MASTER_SERVICE_FLAG_NO_IDLE_DIE.
--HG--
branch : HEAD |
f158d9a303bb15a6848ca276c9391c7ca52e452b |
|
02-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Added version_string_verify() and removed code duplication with it.
--HG--
branch : HEAD |
db693bf6fcae96d834567f1782257517b7207655 |
|
27-May-2010 |
Timo Sirainen <tss@iki.fi> |
lib-master API changed to avoid accidentally leaking client connections.
This change also fixes many such leaks.
--HG--
branch : HEAD |
1f9d1bedae25d86f26c239055c5487499dfeeb58 |
|
16-Mar-2010 |
Timo Sirainen <tss@iki.fi> |
lib-master: Environment variables no longer override settings.
Also did some other cleanups to settings reading and removed unused features.
--HG--
branch : HEAD |
275385a2ecc58e41dc7df3ce3cd943caaa58c4d1 |
|
06-Nov-2009 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added master_service_stop_new_connections().
--HG--
branch : HEAD |
86791365b10f45982c88e70f2eb94fd6c3fea151 |
|
23-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Handle shutdown_clients globally for all services.
Delay shutting down processes until it's convenient for them, but if they're
not gone in 30 seconds forcibly stop. And if that doesn't help, master will
start killing them in 60 seconds.
--HG--
branch : HEAD |
a3fe8c0c54d87822f4b4f8f0d10caac611861b2b |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Moved process title init to lib-master. With Linux-hack enabled it now preserves command args.
--HG--
branch : HEAD |
578ef2538ccf42e2a48234c24a8b709397101d88 |
|
21-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Moved most of getopt() handling to lib-master.
--HG--
branch : HEAD |
cf0ad1a0bddb0787f3d7b408a96d721a8b2a98a3 |
|
20-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
Redesigned how login process passes connections to mail processes and changed related APIs.
Master process is no longer in the middle.
--HG--
branch : HEAD |
047c00cd3f7f403672f81569413669238df8c15a |
|
18-Oct-2009 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added _NO_CONFIG_SETTIGS and _NO_ENV_SETTINGS flags.
--HG--
branch : HEAD |
6fdfa4d4cf14d1d7764d7faa8258f112e39c8dbe |
|
11-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
*-login: Fixed dropping oldest connection when reaching all limits.
--HG--
branch : HEAD |
e0740628f6ca05f4bc79a9d8a90b650f4d38d4d0 |
|
09-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
Removed mail_log_max_lines_per_sec setting and related code.
It's pretty unnecessary and there's really no good way to implement it with
shared log pipes.
--HG--
branch : HEAD |
3f603ef00e35fca21605afa0ad8d76e94fee2b96 |
|
04-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added master_service_set_die_with_master.
--HG--
branch : HEAD |
89237470342ea6d4bbdf4cff9764037cfb3f6f45 |
|
04-Sep-2009 |
Timo Sirainen <tss@iki.fi> |
lib-master: Fixes to handling FIFO connections. Also expose the FIFOness to caller.
--HG--
branch : HEAD |
b2d562f9c7fd13f9a16e9b3bcee904630b80b1fe |
|
01-Jun-2009 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added master_service_get_name().
--HG--
branch : HEAD |
4d4d6d4745682790c20d759ba93dbea46b812c5d |
|
22-May-2009 |
Timo Sirainen <tss@iki.fi> |
lib-master has now a global master_service variable that all binaries use.
There should always be only one of them anyway.
--HG--
branch : HEAD |
c6335901c67a4c9365319190a111a2168f3b06f5 |
|
21-May-2009 |
Timo Sirainen <tss@iki.fi> |
master process shouldn't log to stderr. Changed the lib-master flag to _DONT_LOG_TO_STDERR.
--HG--
branch : HEAD |
01230de017cd273de41143d88e9c18df1243ae8a |
|
15-May-2009 |
Timo Sirainen <tss@iki.fi> |
lib-master: Added support for keeping config connection open and reusing it for later requests.
--HG--
branch : HEAD |
6c2ce1d5bf17b21e804a079eb0f973b7ab83e0d8 |
|
06-May-2009 |
Timo Sirainen <tss@iki.fi> |
Implemented anvil service, which is used to implement mail_max_userip_connections.
--HG--
branch : HEAD |
7487ff578435377bbeefffdbfb78ca09ed1292df |
|
05-May-2009 |
Timo Sirainen <tss@iki.fi> |
inet_listeners now support ssl=yes. For now only login processes support it.
--HG--
branch : HEAD |
d176f84ce5ca2073f4dfbafb457b9c74f6bf0d76 |
|
24-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Initial commit for v2.0 master rewrite. Several features are still missing.
--HG--
branch : HEAD |
6d2b3ce2c6ef62334985ece4f0ab8b154e0e9560 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
doveadm: Log to stderr.
--HG--
branch : HEAD |
8d3278a82b964217d95c340ec6f82037cdc59d19 |
|
10-Apr-2009 |
Timo Sirainen <tss@iki.fi> |
Added lib-master and mail-storage-service code that makes it easier to build new Dovecot binaries.
Currently only the standalone applications (e.g. deliver) uses this.
--HG--
branch : HEAD |