use local
This commit is contained in:
parent
6013140ae5
commit
b26b0dfc50
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue