a few more changes to oshttp send

This commit is contained in:
UbitUmarov
2021-09-04 14:49:42 +01:00
parent 52753972ee
commit affaacb279
3 changed files with 24 additions and 12 deletions

View File

@@ -299,7 +299,7 @@ namespace OSHttpServer
m_contexts.Enqueue(context);
}
public static void EnqueueSend(HttpClientContext context, int priority, bool notThrottled = true)
public static void EnqueueSend(HttpClientContext context, int priority)
{
switch(priority)
{
@@ -315,8 +315,12 @@ namespace OSHttpServer
default:
return;
}
if(notThrottled)
m_processWaitEven.Set();
m_processWaitEven.Set();
}
public static void PulseWaitSend()
{
m_processWaitEven?.Set();
}
public static void ContextEnterActiveSend()