mirror of
https://github.com/3proxy/3proxy.git
synced 2026-08-04 06:37:00 +00:00
Fix invalid buffer calculation in sockmap
This commit is contained in:
parent
aaa04116a8
commit
1de06c5059
1 changed files with 1 additions and 1 deletions
|
|
@ -399,7 +399,7 @@ log("done read from client to pipe");
|
|||
#ifdef WITHLOG
|
||||
log("read from server to pipe\n");
|
||||
#endif
|
||||
res = splice(param->remsock, NULL, pipesrv[1], NULL, MIN(MAXSPLICE - inclientpipe, fromserver - inserverpipe), SPLICE_F_NONBLOCK|SPLICE_F_MOVE);
|
||||
res = splice(param->remsock, NULL, pipesrv[1], NULL, MIN(MAXSPLICE - inserverpipe, fromserver - inserverpipe), SPLICE_F_NONBLOCK|SPLICE_F_MOVE);
|
||||
#ifdef WITHLOG
|
||||
log("server to pipe splice finished\n");
|
||||
#if WITHLOG > 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue