A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/dotnet/yarp/issues/1678 below:

Consider setting a finite ConnectTimeout by default · Issue #1678 · dotnet/yarp · GitHub

Starting with 6.0, the consequences of a connection attempt that takes a long time to fail, or somehow becomes stuck are much higher than before (memory leaks, more failed requests ...).

In .NET 7, we made a change in the connection pool where we will now cancel a connection attempt 5 seconds after the request that initiated it completes (or is canceled).

The main mitigation for this in 6.0 is to set SocketsHttpHandler.ConnectTimeout to a finite value. We should consider setting such a default in YARP.
My preference would be that we make the change regardless of target framework (also change it for 7.0).

See #1833 (comment) for more context on this change.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4