mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
correct trafic accounting in spliced map
This commit is contained in:
1 parent
73438cc378
commit
12b5ad143f
1 file changed
+3
@@ -74,6 +74,9 @@ int splicemap(struct clientparam * param, int timeo){
|
||||
if(socksend(param->remsock, param->clibuf + param->clioffset, tosend, conf.timeouts[STRING_S]) != tosend){
|
||||
return 97;
|
||||
}
|
||||
param->nwrites++;
|
||||
param->statscli64 += tosend;
|
||||
|
||||
if(!needcontinue){
|
||||
param->clioffset += tosend;
|
||||
if(param->clioffset == param->cliinbuf) param->clioffset = param->cliinbuf = 0;
|
||||
|
||||
Reference in new issue
Block a user