Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Description While playing with cancellation on an old machine not supporting `io_uring`, I noticed that it was using the original `fd`, thus causing a `error.FileDescriptorNotRegistered` to appear. # Solution Use the duplicated `fd` if the `completion.flags.dup` boolean is set, otherwise fallback to the `completion.fd` function.
- Loading branch information