a new ban msg for http status 503

This commit is contained in:
Matt Wells 2015-10-22 13:23:02 -07:00
parent 998c25e29b
commit 776b94396e

@ -1209,6 +1209,11 @@ bool ipWasBanned ( TcpSocket *ts , const char **msg , Msg13Request *r ) {
*msg = "status 999 request denied";
return true;
}
// let's add this new one
if ( httpStatus == 503 ) {
*msg = "status 503 service unavailable";
return true;
}
// if it has link to "google.com/recaptcha"
// TODO: use own gbstrstr so we can do QUICKPOLL(niceness)