Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return UnknownStream from Connection::reset for closed/reset streams #778

Merged
merged 2 commits into from
May 23, 2020

Conversation

Ralith
Copy link
Collaborator

@Ralith Ralith commented May 21, 2020

Improves consistency with other stream interfaces. H3 logic was
updated to ignore errors to preserve existing behavior, but future
work might want to insert some unwraps there if static correctness
guarantees are available.

@Ralith Ralith requested a review from stammw May 21, 2020 00:44
@codecov
Copy link

codecov bot commented May 21, 2020

Codecov Report

Merging #778 into master will decrease coverage by 0.44%.
The diff coverage is 70.83%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #778      +/-   ##
==========================================
- Coverage   71.33%   70.89%   -0.45%     
==========================================
  Files          73       74       +1     
  Lines       13111    12999     -112     
==========================================
- Hits         9353     9215     -138     
- Misses       3758     3784      +26     
Impacted Files Coverage Δ
quinn-h3/src/frame.rs 75.00% <0.00%> (+2.16%) ⬆️
quinn-h3/src/server.rs 66.40% <25.00%> (-0.53%) ⬇️
quinn-proto/src/connection/streams.rs 85.51% <50.00%> (-0.99%) ⬇️
quinn/src/streams.rs 68.54% <75.00%> (+0.14%) ⬆️
quinn-h3/src/connection.rs 56.91% <100.00%> (-2.96%) ⬇️
quinn-h3/src/data.rs 69.07% <100.00%> (-7.73%) ⬇️
quinn-proto/src/connection/mod.rs 80.16% <100.00%> (+0.01%) ⬆️
quinn-proto/src/tests/mod.rs 97.31% <100.00%> (-0.12%) ⬇️
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update de5dc88...193ad45. Read the comment docs.

@Ralith Ralith force-pushed the reset-cleanup branch 2 times, most recently from fbdc68c to c9b0b7f Compare May 21, 2020 00:58
djc
djc previously approved these changes May 21, 2020
Copy link
Member

@djc djc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@djc
Copy link
Member

djc commented May 22, 2020

@stammw just to be sure: note that your review is requested here, as well. :)

Ralith added 2 commits May 22, 2020 16:33
Improves consistency with other stream interfaces. H3 logic was
updated to ignore errors to preserve existing behavior, but future
work might want to insert some unwraps there if static correctness
guarantees are available.
@Ralith
Copy link
Collaborator Author

Ralith commented May 22, 2020

Resolved merge conflict, just need a quick sanity-check for the h3 changes.

@djc djc merged commit d92a567 into master May 23, 2020
@delete-merged-branch delete-merged-branch bot deleted the reset-cleanup branch May 23, 2020 17:08
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.

3 participants