mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
better dat filters handling
This commit is contained in:
1 parent
1ff0fabf15
commit
d2dcf4bb69
2 files changed
+20
-5
No files matched your search
+1
-1
@@ -67,7 +67,7 @@ int sockmap(struct clientparam * param, int timeo, int usesplice){
|
||||
int pipesrv[2] = {-1,-1};
|
||||
int pipecli[2] = {-1,-1};
|
||||
|
||||
if(param->operation == UDPASSOC) usesplice = 0;
|
||||
if(param->operation == UDPASSOC || (!param->nolongdatfilter && (param->ndatfilterscli > 0 || param->ndatfilterssrv))) usesplice = 0;
|
||||
if(usesplice){
|
||||
TOCLIENTPIPE = FROMCLIENTPIPE = TOSERVERPIPE = FROMSERVERPIPE = 1;
|
||||
TOCLIENTBUF = TOSERVERBUF = 0;
|
||||
|
||||
Reference in new issue
Block a user