Fix -s for httpsrv

This commit is contained in:
Vladimir Dubrovin committed 2026-10-12 13:58:48 +03:00
1 parent 30ffaff182
commit ee5a7588f8
1 file changed
+2 -1
+2 -1
View File
@@ -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