mirror of
https://github.com/3proxy/3proxy.git
synced 2026-10-15 16:15:49 +08:00
Fix -s for httpsrv
This commit is contained in:
parent
30ffaff182
commit
ee5a7588f8
@ -692,7 +692,8 @@ int MODULEMAINFUNC (int argc, char** argv){
|
|||||||
break;
|
break;
|
||||||
case 's':
|
case 's':
|
||||||
#ifdef WITHSPLICE
|
#ifdef WITHSPLICE
|
||||||
if(isudp || srv.service == S_ADMIN)
|
/* admin is an httpsrv, where -s is the limited mode */
|
||||||
|
if(isudp || srv.service == S_ADMIN || srv.service == S_HTTPSRV)
|
||||||
#endif
|
#endif
|
||||||
srv.s_option = 1 + atoi(argv[i]+2);
|
srv.s_option = 1 + atoi(argv[i]+2);
|
||||||
#ifdef WITHSPLICE
|
#ifdef WITHSPLICE
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user