Run Tests\Http2.Owin.Server.WebApi.Tests\Http2.Owin.Server.WebApi.Tests (use https://)
Use vanilla browser (FF) or Fiddler to do perform simple GET requests
Expected: each request is handled and correct response is showed
Observe: only each second request is processed (see image below)
As per quick look _server.AcceptSocket(monitor) in the following code is really triggered only for each second request
using (var monitor = new ALPNExtensionMonitor())
{
incomingClient = _server.AcceptSocket(monitor);
}
Http2Logger.LogDebug("New connection accepted");
Repro:
As per quick look _server.AcceptSocket(monitor) in the following code is really triggered only for each second request
using (var monitor = new ALPNExtensionMonitor()) { incomingClient = _server.AcceptSocket(monitor); } Http2Logger.LogDebug("New connection accepted");