915137728090d52f755d7ad005865871ba4c7209 max Mon Jun 2 05:00:54 2025 -0700 adding file for previous commit diff --git src/hg/inc/botDelay.h src/hg/inc/botDelay.h index b43d5dded4a..882163a7e31 100644 --- src/hg/inc/botDelay.h +++ src/hg/inc/botDelay.h @@ -27,15 +27,17 @@ extern int botDelayMillis; boolean earlyBotCheck(long enteredMainTime, char *cgiName, double delayFrac, int warnMs, int exitMs, char *exitType); /* for use before the CGI has started any * output or setup the cart of done any MySQL operations. The boolean * return is used later in the CGI after it has done all its setups and * started output so it can issue the warning. Pass in delayFrac 0.0 * to use the default 1.0, pass in 0 for warnMs and exitMs to use defaults, * and exitType is either 'html' or 'json' to do that type of exit output in * the case of hogExit(); */ int hgBotDelayCurrWarnMs(); /* get number of millis that are tolerated until a warning is shown on the most recent call to earlyBotCheck */ +boolean botException(); +/* check if the remote ip address is on the exceptions list */