we use .net framework 4.6.2 with flurl 2.4.2 and 4.0.2
On both new and old version if we use sync like bellow code we get time out.
Also WithTimeout not work on this code
return _baseHttpAddress
.WithHeaders(headers)
.WithTimeout(TimeSpan.FromSeconds(TimeOutOnSecond))
.AppendPathSegment(url)
.SetQueryParams(query)
.GetJsonAsync<TResponse>()
.GetAwaiter().GetResult();If add ConfigureAwait(false) problem will be solved on low concurrency.
If we increase threads more than 100, we get errors again.
return _baseHttpAddress
.WithHeaders(headers)
.WithTimeout(TimeSpan.FromSeconds(TimeOutOnSecond))
.AppendPathSegment(url)
.SetQueryParams(query)
.GetJsonAsync<TResponse>()
.ConfigureAwait(false).GetAwaiter().GetResult();This problem happened only on first call, for example if call sync and wait to complete and then again call sync, we don't get any errors







