Skip to content

Use the correct error when reset a stream#13309

Merged
normanmaurer merged 1 commit into4.1from
reset_stream_error
Mar 31, 2023
Merged

Use the correct error when reset a stream#13309
normanmaurer merged 1 commit into4.1from
reset_stream_error

Conversation

@normanmaurer
Copy link
Copy Markdown
Member

Motivation:

At the moment we always used "CANCEL" when reseting a stream because of an error. This is not correct, we should use the error that caused the stream error.

Modifications:

  • Use correct error when reset a stream.
  • Add unit test

Result:

Correctly propagate stream errors via reset

Motivation:

At the moment we always used "CANCEL" when reseting a stream because of an error. This is not correct, we should use the error that caused the stream error.

Modifications:

- Use correct error when reset a stream.
- Add unit test

Result:

Correctly propagate stream errors via reset
@normanmaurer
Copy link
Copy Markdown
Member Author

/cc @violetagg

@normanmaurer normanmaurer merged commit 12e1169 into 4.1 Mar 31, 2023
@normanmaurer normanmaurer deleted the reset_stream_error branch March 31, 2023 14:58
normanmaurer added a commit that referenced this pull request Mar 31, 2023
Motivation:

At the moment we always used "CANCEL" when reseting a stream because of an error. This is not correct, we should use the error that caused the stream error.

Modifications:

- Use correct error when reset a stream.
- Add unit test

Result:

Correctly propagate stream errors via reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants