Right now, since I don't want to have to handle the linked timeout CQE, on ECANCELED I check if manual cancellation has been requested and otherwise return a timeout error. But I would prefer if e.g. there was a setup flag to use
ETIMEDOUT
or
ETIME
or whatever upon cancellation due to linked timeout expiry.