[Solved] How do I close the client connection in a uhttpsharp request handler? [closed]
[ad_1] I ended up figuring it out. Since I think it may be useful to others I put it here. Due to how the request handling is implemented the library expects a completed task (available with Task.Factory.GetCompleted) in order to properly close the connection with the client. Dim hs As New uhttpsharp.HttpServer(New uhttpsharp.RequestProviders.HttpRequestProvider()) hs.Use(New uhttpsharp.Listeners.TcpListenerAdapter(New … Read more