mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Use splice by default if no filteers set
-s0 to disable splice
This commit is contained in:
1 parent
a4bc89dc8f
commit
d2705df891
2 files changed
+5
-2
No files matched your search
+1
-1
@@ -324,7 +324,7 @@ extern struct datatype datatypes[64];
|
||||
extern struct commands commandhandlers[];
|
||||
|
||||
#ifdef WITHSPLICE
|
||||
#define mapsocket(a,b) (a->srv->usesplice?splicemap(a,b):sockmap(a,b))
|
||||
#define mapsocket(a,b) (a->srv->usesplice && !a->ndatfilterssrv && !a->ndatfilterscli && !a->npredatfilters?splicemap(a,b):sockmap(a,b))
|
||||
#else
|
||||
#define mapsocket(a,b) sockmap(a,b)
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user