Skip to content

Race conditions in connection::cancel() #318

@anarthal

Description

@anarthal

The cancellation mechanism in connection::cancel() is currently quite rudimentary, and subject to race conditions. If cancellation is called after an operation has completed, but before its handler is called, connection::cancel() does nothing. The correct way to handle this is using per-operation cancel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions