mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
re-authenticate user on
This commit is contained in:
1 parent
dcec2cadaa
commit
eeb2d78fb1
7 files changed
+23
-12
No files matched your search
@@ -68,6 +68,11 @@ int sockmap(struct clientparam * param, int timeo){
|
||||
|
||||
while (!stop&&!conf.timetoexit){
|
||||
sasize = sizeof(struct sockaddr_in);
|
||||
if(param->version != conf.version){
|
||||
if (res = (*param->srv->authfunc)(param)) {return(res);}
|
||||
param->paused = conf.paused;
|
||||
param->version = conf.version;
|
||||
}
|
||||
if((param->maxtrafin64 && param->statssrv64 >= param->maxtrafin64) || (param->maxtrafout64 && param->statscli64 >= param->maxtrafout64)){
|
||||
return (10);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user