mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Add splice() support on Linux to proxy, socks, ftppt, smtpp, pop3p
usage example: proxy -s proxy -s2 -s - enable splice() for sockets mapping to avoid data to be copied to user space -s2 - enable splice() and attempt to free user space buffer ASAP
This commit is contained in:
1 parent
34876b7616
commit
d159c57e1f
6 files changed
+98
-23
No files matched your search
+1
-1
@@ -44,7 +44,7 @@ void * pop3pchild(struct clientparam* param) {
|
||||
{RETURN(623);}
|
||||
param->statscli64 += (uint64_t)(strlen((char *)param->extusername) + 7);
|
||||
param->nwrites++;
|
||||
RETURN (sockmap(param, 180));
|
||||
RETURN (mapsocket(param, 180));
|
||||
CLEANRET:
|
||||
|
||||
if(param->hostname&¶m->extusername) {
|
||||
|
||||
Reference in new issue
Block a user