WireMockMiddleware should use HandleRequestsSynchronously correctly (#939)

This commit is contained in:
Stef Heyenrath
2023-05-19 21:43:14 +02:00
committed by GitHub
parent 11f4c47851
commit e61f08fe48

View File

@@ -60,7 +60,7 @@ namespace WireMock.Owin
public Task Invoke(IContext ctx)
#endif
{
if (_options.HandleRequestsSynchronously.GetValueOrDefault(true))
if (_options.HandleRequestsSynchronously.GetValueOrDefault(false))
{
lock (_lock)
{