X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=cprogs%2Fcgi-fcgi-interp.c;h=f455dbe2665a563038c7d5ac7ff3888cb4d3620d;hb=4cf8544fbb5a2e39662e969da863dd82047dad5c;hp=c08ba9da457d0e153bf52c2c04c1121487c2235e;hpb=96f381820f6b2f532a1f166b628ff7f5f7e12908;p=chiark-utils.git diff --git a/cprogs/cgi-fcgi-interp.c b/cprogs/cgi-fcgi-interp.c index c08ba9d..f455dbe 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