changeset 11970:59b0e70c8f14

ssl-params: Comment update.
author Timo Sirainen <tss@iki.fi>
date Mon, 09 Aug 2010 18:14:48 +0100
parents b8a09fa4acc4
children 88309dcfdab5
files src/ssl-params/main.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/ssl-params/main.c	Mon Aug 09 18:12:12 2010 +0100
+++ b/src/ssl-params/main.c	Mon Aug 09 18:14:48 2010 +0100
@@ -79,9 +79,10 @@
 	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;