X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=cgi.c;h=98d05cdc18aebd73bdcc3f17207214658178e95b;hp=e1960974fb00f88c93ce9b5d6c568fd0185d9050;hb=59e68c837eaa393a3fa0bb979b9b1da23a93e841;hpb=66b279cc3553af414ba3e3d5053ab85a3cdc3f48 diff --git a/cgi.c b/cgi.c index e1960974..98d05cdc 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -const char cgi_rcs[] = "$Id: cgi.c,v 1.48 2002/03/08 17:47:07 jongfoster Exp $"; +const char cgi_rcs[] = "$Id: cgi.c,v 1.49 2002/03/13 00:27:04 jongfoster Exp $"; /********************************************************************* * * File : $Source: /cvsroot/ijbswa/current/cgi.c,v $ @@ -38,6 +38,9 @@ const char cgi_rcs[] = "$Id: cgi.c,v 1.48 2002/03/08 17:47:07 jongfoster Exp $"; * * Revisions : * $Log: cgi.c,v $ + * Revision 1.49 2002/03/13 00:27:04 jongfoster + * Killing warnings + * * Revision 1.48 2002/03/08 17:47:07 jongfoster * Adding comments * @@ -330,6 +333,11 @@ static const struct cgi_dispatcher cgi_dispatchers[] = { { "", cgi_default, "Junkbuster main page" }, +#ifdef FEATURE_GRACEFUL_TERMINATION + { "die", + cgi_die, + "Shut down - Do not deploy this build in a production environment, this is a one click Denial Of Service attack!!!" }, +#endif { "show-status", cgi_show_status, "Show information about the current configuration" },