The flag should be set to the task.request and not to the cur->request. The cur->request could have been already changed by the main thread.
The flag should be set to the task.request and not to the cur->request. The cur->request could have been already changed by the main thread.