e56e7ba46b
There was a race with context getting cancelled and new request arriving that could resulted new request to receive cancelled result as well. This happened because lock was held when getting the Done() channel but it could have been already released by the time returned channel was closed. Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com> |
||
---|---|---|
.. | ||
flightcontrol.go | ||
flightcontrol_test.go |