]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
ssl-params: Comment update.
authorTimo Sirainen <tss@iki.fi>
Mon, 9 Aug 2010 17:14:48 +0000 (18:14 +0100)
committerTimo Sirainen <tss@iki.fi>
Mon, 9 Aug 2010 17:14:48 +0000 (18:14 +0100)
src/ssl-params/main.c

index 17c66d36b5456f006dc78cacef569051571dc9f2..3381ef3a275d2466598c4e246ec021e55706c789 100644 (file)
@@ -79,9 +79,10 @@ static void ssl_params_callback(const unsigned char *data, size_t size)
        buffer_append(ssl_params, data, size);
 
        if (!array_is_created(&delayed_fds)) {
-               /* master ran us at startup to make sure ssl parameters
-                  are generated asap. we may not be needed for a while
-                  (or ever), so kill ourself now. */
+               /* if we don't get client connections soon, it means master
+                  ran us at startup to make sure ssl parameters are generated
+                  asap. if we're here because of that, don't bother hanging
+                  around to see if we get any client connections. */
                to_startup = timeout_add(STARTUP_IDLE_TIMEOUT_MSECS,
                                         master_service_stop, master_service);
                return;