better dat filters handling

This commit is contained in:
z3APA3A committed 2020-11-19 02:30:19 +03:00
1 parent 1ff0fabf15
commit d2dcf4bb69
2 files changed
+20 -5

No files matched your search

+1 -1
View File
@@ -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;