mirror of
https://github.com/3proxy/3proxy.git
synced 2026-06-10 09:50:12 +08:00
Fix: unneeded poll in sockmap
This commit is contained in:
parent
bed3977575
commit
a639bcb017
@ -256,6 +256,7 @@ log("send to client from buf");
|
||||
}
|
||||
if(!inserverbuf){
|
||||
param->srvinbuf = param->srvoffset = 0;
|
||||
if(fromserver) TOSERVERBUF = 1;
|
||||
continue;
|
||||
}
|
||||
sasize = SASIZE(¶m->sincr);
|
||||
@ -303,6 +304,7 @@ log(logbuf);
|
||||
param->statscli64 += res;
|
||||
inclientpipe -= res;
|
||||
fromclient -= res;
|
||||
if(fromclient) TOCLIENTPIPE = 1;
|
||||
if(param->bandlimfunc) {
|
||||
int sl1;
|
||||
sl1 = (*param->bandlimfunc)(param, 0, res);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user