Compare commits
2 Commits
ddc528d69d
...
688211fbcd
| Author | SHA1 | Date |
|---|---|---|
|
|
688211fbcd | |
|
|
1b2f521b99 |
|
|
@ -73,8 +73,12 @@ static int sf_uring_cancel_done(int sock, const int event, void *arg)
|
|||
|
||||
task = (struct fast_task_info *)arg;
|
||||
if (event != IOEVENT_TIMEOUT) {
|
||||
if (task->handler->use_io_uring || (FC_URING_OP_TYPE(task) !=
|
||||
IORING_OP_NOP && task->event.res == -ECANCELED))
|
||||
{
|
||||
CLEAR_OP_TYPE_AND_RELEASE_TASK(task);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue