use local

This commit is contained in:
uwaa 2024-11-16 07:54:08 +00:00
parent 6013140ae5
commit b26b0dfc50

View file

@ -162,8 +162,8 @@ public sealed class HttpServer
if (response is SwitchingProtocols swp) if (response is SwitchingProtocols swp)
{ {
//Increase timeouts //Increase timeouts
req.Client.SendTimeout = 120_000; client.SendTimeout = 120_000;
req.Client.ReceiveTimeout = 120_000; client.ReceiveTimeout = 120_000;
//Create and run websocket //Create and run websocket
Websocket ws = new Websocket(req, swp.ChosenProtocol); Websocket ws = new Websocket(req, swp.ChosenProtocol);