We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dbf879 commit 231f059Copy full SHA for 231f059
main/fastcgi.c
@@ -1239,7 +1239,6 @@ static int fcgi_is_allowed() {
1239
}
1240
#endif
1241
1242
- fcgi_log(FCGI_ERROR, "Connection disallowed: IP address '%s' has been dropped.", fcgi_get_last_client_ip());
1243
return 0;
1244
1245
@@ -1296,6 +1295,7 @@ FCGI_API int fcgi_accept_request(fcgi_request *req)
1296
1295
1297
client_sa = sa;
1298
if (req->fd >= 0 && !fcgi_is_allowed()) {
+ fcgi_log(FCGI_ERROR, "Connection disallowed: IP address '%s' has been dropped.", fcgi_get_last_client_ip());
1299
closesocket(req->fd);
1300
req->fd = -1;
1301
continue;
0 commit comments