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

fix(s2n-quic-events): correct tx error emission #1623

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

jmayclin
Copy link
Contributor

@jmayclin jmayclin commented Feb 6, 2023

When a tx error occurs in the standard queue (used for recvfrom and sendto system call) we previously emitted an rx error. This commit corrects this, so now tx failures result in tx error events.

Call-outs:

We don't currently have tests for these events, but if there is interest I can add some.

Testing:

Manually looked through the rest of the queue implementations and confirmed that errors corresponded to the proper methods. See call-out about unit tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When a tx error occurs in the standard queue (used for recvfrom and
sendto system call) we previously emitted an rx error. This commit
corrects this, so now tx failures result in tx error events.
@jmayclin jmayclin requested a review from camshaft February 6, 2023 23:09
@jmayclin jmayclin merged commit f7ee779 into aws:main Feb 9, 2023
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.

2 participants