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

Aio start three #2021

Merged
merged 12 commits into from
Dec 27, 2024
Merged

Aio start three #2021

merged 12 commits into from
Dec 27, 2024

Conversation

gdamore
Copy link
Contributor

@gdamore gdamore commented Dec 26, 2024

fixes #

Note that the above format should be used in your git commit comments.
You agree that by submitting a PR, you have read and agreed to our
contributing guidelines.

This represents an API change, and we remove the nng_aio_begin
function as well, introducing the lightweight nng_aio_reset instead.
This also moves the close of the UDP socket later, to avoid a
potential use after free while the aio's are still in-flight.
Unfortunately we cannot unbind cleanly without a hard close.
Copy link

codecov bot commented Dec 27, 2024

Codecov Report

Attention: Patch coverage is 86.92308% with 17 lines in your changes missing coverage. Please review.

Project coverage is 82.39%. Comparing base (8027aeb) to head (aada131).

Files with missing lines Patch % Lines
src/nng.c 58.82% 7 Missing ⚠️
src/platform/posix/posix_tcpdial.c 42.85% 4 Missing ⚠️
src/platform/posix/posix_ipcdial.c 50.00% 3 Missing ⚠️
src/supplemental/tls/tls_common.c 90.00% 2 Missing ⚠️
src/sp/transport/udp/udp.c 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2021      +/-   ##
==========================================
+ Coverage   82.32%   82.39%   +0.07%     
==========================================
  Files          95       95              
  Lines       23972    23840     -132     
  Branches     3137     3081      -56     
==========================================
- Hits        19734    19643      -91     
+ Misses       4164     4125      -39     
+ Partials       74       72       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

(Mostly this is to get a newer wolfSSL.)
@gdamore gdamore merged commit 218a24e into main Dec 27, 2024
32 of 35 checks passed
@gdamore gdamore deleted the aio-start-three branch December 28, 2024 17:43
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.

1 participant