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

QUIC: Raise more errors when appropriate #21700

Closed
wants to merge 6 commits into from

Conversation

t8m
Copy link
Member

@t8m t8m commented Aug 9, 2023

There are probably more places where we could raise errors but this should be sufficient for MVP.

@t8m t8m added branch: master Merge to master branch approval: review pending This pull request needs review by a committer approval: otc review pending This pull request needs review by an OTC member triaged: refactor The issue/pr requests/implements refactoring tests: exempted The PR is exempt from requirements for testing labels Aug 9, 2023
@t8m t8m linked an issue Aug 9, 2023 that may be closed by this pull request
@mattcaswell
Copy link
Member

CI failures are relevant

@t8m
Copy link
Member Author

t8m commented Aug 9, 2023

CI failures are relevant

Fixed

ssl/quic/quic_txp.c Outdated Show resolved Hide resolved
ssl/quic/quic_impl.c Outdated Show resolved Hide resolved
ssl/quic/quic_impl.c Outdated Show resolved Hide resolved
ssl/quic/quic_impl.c Show resolved Hide resolved
ssl/quic/quic_impl.c Show resolved Hide resolved
ssl/quic/quic_impl.c Outdated Show resolved Hide resolved
ssl/quic/quic_record_tx.c Show resolved Hide resolved
ssl/quic/quic_txp.c Show resolved Hide resolved
ssl/quic/quic_wire_pkt.c Show resolved Hide resolved
ssl/quic/quic_wire_pkt.c Show resolved Hide resolved
ssl/quic/quic_wire_pkt.c Show resolved Hide resolved
Copy link
Member

@hlandau hlandau left a comment

Choose a reason for hiding this comment

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

Generally good stuff. @mattcaswell's comments apply. The TXP change needs to be reverted and all raising in quic_impl.c should use one of the RAISE macros, defining a new non-I/O one if desired.

ssl/quic/quic_channel.c Show resolved Hide resolved
ssl/quic/quic_impl.c Outdated Show resolved Hide resolved
ssl/quic/quic_impl.c Show resolved Hide resolved
@t8m t8m removed approval: review pending This pull request needs review by a committer approval: otc review pending This pull request needs review by an OTC member labels Aug 10, 2023
This improves tracking where the failure was triggered.
Raise errors when appropriate.
@t8m t8m added approval: review pending This pull request needs review by a committer approval: otc review pending This pull request needs review by an OTC member labels Aug 18, 2023
@t8m
Copy link
Member Author

t8m commented Aug 18, 2023

Ready for re-review.

@hlandau hlandau removed the approval: otc review pending This pull request needs review by an OTC member label Aug 21, 2023
@t8m
Copy link
Member Author

t8m commented Aug 22, 2023

Ping @openssl/committers for second review

@mattcaswell mattcaswell removed the approval: review pending This pull request needs review by a committer label Aug 22, 2023
@mattcaswell mattcaswell added the approval: done This pull request has the required number of approvals label Aug 22, 2023
@openssl-machine openssl-machine added approval: ready to merge The 24 hour grace period has passed, ready to merge and removed approval: done This pull request has the required number of approvals labels Aug 23, 2023
@openssl-machine
Copy link
Collaborator

This pull request is ready to merge

@t8m
Copy link
Member Author

t8m commented Aug 23, 2023

Merged to master branch. Thank you for the reviews.

@t8m t8m closed this Aug 23, 2023
openssl-machine pushed a commit that referenced this pull request Aug 23, 2023
This was already resolved by #21547

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #21700)
openssl-machine pushed a commit that referenced this pull request Aug 23, 2023
This improves tracking where the failure was triggered.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #21700)
openssl-machine pushed a commit that referenced this pull request Aug 23, 2023
Raise errors when appropriate.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #21700)
openssl-machine pushed a commit that referenced this pull request Aug 23, 2023
Even in case of later failure we need to flush
the previous packets.

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #21700)
openssl-machine pushed a commit that referenced this pull request Aug 23, 2023
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from #21700)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: ready to merge The 24 hour grace period has passed, ready to merge branch: master Merge to master branch tests: exempted The PR is exempt from requirements for testing triaged: refactor The issue/pr requests/implements refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review QUIC code to see if more errors should be raised
5 participants