Closed yaliashkevich closed 7 years ago
Currently, you cannot disable this shared logic. The AsyncLock
gets removed with version 4.0 in the hope, that the HttpClient
allows concurrent requests which will be required for HTTP 2.0 support.
in the hope, that the HttpClient allows concurrent requests
@fubar-coder Is there something wrong with current HttpClient
for concurrent requests? I will be very interested in if you have any references about those :)
The library behaved very strangely (see issue #19)
@fubar-coder just do confirm, did you remove the AsyncLock in the v4 release? I wasn't able to find any reference to it since the v4 branch merge
Yes, the AsyncLock is gone.
if cancelation token is already cancelled when you pass it to clien.Execute() following exception occurs:
It doesn't crash my xamarin app, but I'm constantly receive this crash report (unobserved task exception).
Question: Is it possible to configure restclient (http) to ignore "shared" logic? I always create new instance for each request and don't need this async lock/guard logic at all