mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Fix -s for httpsrv
This commit is contained in:
1 parent
30ffaff182
commit
ee5a7588f8
1 file changed
+2
-1
+2
-1
@@ -692,7 +692,8 @@ int MODULEMAINFUNC (int argc, char** argv){
|
||||
break;
|
||||
case 's':
|
||||
#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
|
||||
srv.s_option = 1 + atoi(argv[i]+2);
|
||||
#ifdef WITHSPLICE
|
||||
|
||||
Reference in new issue
Block a user