Skip to content

QuicListener AcceptConnectionAsync and OperationCanceledException #78096

Description

@pepone

The QuicListener can throw OperationCanceledException when the internal TLS handshake timeout expires, this is unexpected and not documented behavior.

See

_cancellationTokenSource.CancelAfter(s_handshakeTimeout);

It would be better to wrap the OperationCanceled exception from the internal timeout in a QuicException with the ConnectionTimeout error code

You should consider fixing this along #75184

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions