X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;ds=sidebyside;f=cprogs%2Fcgi-fcgi-interp.c;h=602ffa62d274a8165a95b3ee65dfed0a911c478b;hb=30e5907e11ada349dc2a63c1933067c0068b9c19;hp=9df31034aa8da607297ea67dff618b86c5c5e755;hpb=71eaa17c0ac8118db72b3ba7a24ad45345608694;p=chiark-utils.git diff --git a/cprogs/cgi-fcgi-interp.c b/cprogs/cgi-fcgi-interp.c index 9df3103..602ffa6 100644 --- a/cprogs/cgi-fcgi-interp.c +++ b/cprogs/cgi-fcgi-interp.c @@ -7,6 +7,7 @@ * cgi-fcgi-interp.[ch] - C helpers common to the whole of chiark-utils * * Copyright 2016 Ian Jackson + * Copyright 1982,1986,1993 The Regents of the University of California * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +23,8 @@ * License along with this file; if not, consult the Free Software * Foundation's website at www.fsf.org, or the GNU Project website at * www.gnu.org. + * + * See below for a BSD 3-clause notice regarding timespeccmp. */ /* * The result is a program which looks, when executed via the #! @@ -47,6 +50,14 @@ * speedy, the specified number of servers is started * right away.) The default is 4. * + * -c + * Stale server check interval, in seconds. The worker + * process group will get a SIGTERM when it is no longer + * needed to process new requests. Ideally it would continue + * to serve any existing requests. The SIGTERM will arrive no + * earlier than after the last request arrived at + * the containing webserver. Default is 300. + * * -D * Debug mode. Do not actually run program. Instead, print * out what we would do. @@ -65,7 +76,7 @@ * ~/.cgi-fcgi-interp// * and inside there uses these paths * s - * g + * l used to lock around garbage collection * * If -M is not specified then an initial substricg of the * lowercase hex of the sha256 of the