Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
attack: early cancel ctx only when there's no err
This fixes a bug introduced in 074c530 where we'd be cancelling the racing go-routines even when the first one produced an error, hence returning an error. Signed-off-by: Tomás Senart <tsenart@gmail.com>
- Loading branch information