Open MalteJanz opened 2 months ago
The client should re-authenticate itself if it needs to (receives a "unauthenticated" response).
This is a little tricky to do properly, one must consider the following invariants:
in_flight_semaphore
Also the code itself could see some more love and refactoring to remove code duplication
The client should re-authenticate itself if it needs to (receives a "unauthenticated" response).
This is a little tricky to do properly, one must consider the following invariants:
in_flight_semaphore
locks reduce the maximum requests happening at the same time in most cases. We need to be careful to not cause a deadlockAlso the code itself could see some more love and refactoring to remove code duplication