diff --git a/HTTP/HttpServer.cs b/HTTP/HttpServer.cs index 248a560..fc3060d 100644 --- a/HTTP/HttpServer.cs +++ b/HTTP/HttpServer.cs @@ -162,8 +162,8 @@ public sealed class HttpServer if (response is SwitchingProtocols swp) { //Increase timeouts - req.Client.SendTimeout = 120_000; - req.Client.ReceiveTimeout = 120_000; + client.SendTimeout = 120_000; + client.ReceiveTimeout = 120_000; //Create and run websocket Websocket ws = new Websocket(req, swp.ChosenProtocol);