From b26b0dfc5073a7ba1a4ece4e55927e0a474c0d7d Mon Sep 17 00:00:00 2001 From: uwaa Date: Sat, 16 Nov 2024 07:54:08 +0000 Subject: [PATCH] use local --- HTTP/HttpServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);