proper sessions, packet still not read as it should be

This commit is contained in:
rafi1212122
2023-05-26 10:21:53 +07:00
parent 6e87fc6ef2
commit 7a12c9ec55
6 changed files with 170 additions and 17 deletions

View File

@@ -49,7 +49,7 @@ namespace HttpServer
if ((int)Global.config.VerboseLevel > (int)VerboseLevel.Normal)
{
c.Log($"{context.Response.StatusCode} {context.Request.Method.ToUpper()} {context.Request.Path}");
}else if(((int)Global.config.VerboseLevel > (int)VerboseLevel.Silent) && (Array.IndexOf(SurpressedRoutes, context.Request.Path.ToString()) == -1))
}else if(((int)Global.config.VerboseLevel > (int)VerboseLevel.Silent) && !SurpressedRoutes.Contains(context.Request.Path.ToString()))
{
c.Log($"{context.Response.StatusCode} {context.Request.Method.ToUpper()} {context.Request.Path}");
}