var owinHttpListener = (OwinHttpListener)appBuilder.Properties["Microsoft.Owin.Host.HttpListener.OwinHttpListener"];
int maxAccepts, maxRequests;
maxAccepts = Int32.MaxValue; //Default = 5 * ProcCount
maxRequests = Int32.MaxValue; //Default = Int32.MaxValue;
owinHttpListener.SetRequestProcessingLimits(maxAccepts, maxRequests);
The OwinHttpListener.SetRequestProcessingLimits
from above example code accepts two parameters according to MSDN.
maxAccepts
The maximum number of pending request receives.maxRequests
The maximum number of active requests being processed.
What I don't understand is the maxAccepts parameter. Accept here means TCP accept? HTTP head received?
Can someone help to clarify what does maxAccepts parameter mean?