Skip to content

Destroying connections should use reasonToCode for code when rejecting new streams #77

@tegefaulkes

Description

@tegefaulkes

Specification

In the QUICConnection.processStreams, in the case where the connection is in the process of destroying. Any new streams that are iterated over are immediately shut down with code 1. We shouldn't be hard coding this code. We should pass in a relevant quic error into ReasonToCode and use the code provided by that function.

Additional context

Tasks

  • 1. Use the reasonToCode method to determine the code used when rejecting new connections during destroy.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions