Fix connlim issues

This commit is contained in:
Vladimir Dubrovin committed 2023-04-26 15:04:00 +03:00
1 parent 862405bdfd
commit 6532163f01
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -1025,7 +1025,7 @@ void freeparam(struct clientparam * param) {
}
myfree(param->filters);
}
if(conf.connlimiter && (param->res != 10 || param->remsock != INVALID_SOCKET)) stopconnlims(param);
if(param->connlim) stopconnlims(param);
#endif
if(param->clibuf) myfree(param->clibuf);
if(param->srvbuf) myfree(param->srvbuf);