nanomsg / nng

nanomsg-next-generation -- light-weight brokerless messaging
https://nng.nanomsg.org
MIT License
3.85k stars 492 forks source link

UDP: prefer new packets (drop older) #1917

Closed gdamore closed 2 weeks ago

gdamore commented 2 weeks ago

Adds test cases for this and for remote pipe as well.

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.
codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.21%. Comparing base (75eb6f3) to head (a19dfb1). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1917 +/- ## ========================================== + Coverage 80.04% 80.21% +0.16% ========================================== Files 94 94 Lines 24073 24075 +2 Branches 3239 3239 ========================================== + Hits 19270 19312 +42 + Misses 4730 4688 -42 - Partials 73 75 +2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.