mirror of
https://github.com/3proxy/3proxy.git
synced 2026-10-22 16:11:05 +00:00
corre usesplice setting
This commit is contained in:
parent
d2705df891
commit
0425cbbdb5
1 changed files with 3 additions and 3 deletions
|
|
@ -846,13 +846,13 @@ void srvinit(struct srvparam * srv, struct clientparam *param){
|
|||
srv->logdumpcli = conf.logdumpcli;
|
||||
srv->cbsock = INVALID_SOCKET;
|
||||
srv->needuser = 1;
|
||||
#ifdef WITHSPLICE
|
||||
srv->usesplice = 1;
|
||||
#endif
|
||||
memset(param, 0, sizeof(struct clientparam));
|
||||
param->srv = srv;
|
||||
param->version = srv->version;
|
||||
param->paused = srv->paused;
|
||||
#ifdef WITHSPLICE
|
||||
param->usesplice = 1;
|
||||
#endif
|
||||
param->remsock = param->clisock = param->ctrlsock = param->ctrlsocksrv = INVALID_SOCKET;
|
||||
*SAFAMILY(¶m->req) = *SAFAMILY(¶m->sinsl) = *SAFAMILY(¶m->sinsr) = *SAFAMILY(¶m->sincr) = *SAFAMILY(¶m->sincl) = AF_INET;
|
||||
pthread_mutex_init(&srv->counter_mutex, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue