NancyFx / Nancy

Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
http://nancyfx.org
MIT License
7.15k stars 1.47k forks source link

Cannot get async to work in self hosted nancy #2874

Open marten-gustafsson-blinfo-se opened 6 years ago

marten-gustafsson-blinfo-se commented 6 years ago

Prerequisites

Description

Call to await Task.Delay(1000*seconds).ConfigureAwait(false); seems to block

Steps to Reproduce

Download the attached VS2017 solution, restore NuGet packages. Start the application in VS. Open "localhost:8888/sleep/60. Open "localhost:8888/echo/hello". The call to hello will be processed after the call to sleep.

System Configuration

abasau commented 6 years ago

This is a duplicate of issue #2714.