M0dEx / quincy

QUIC-based VPN
MIT License
84 stars 7 forks source link

refactor(auth/server): simplify server-side auth #30

Closed M0dEx closed 7 months ago

M0dEx commented 7 months ago

This PR refactors the auth server component to not require a RwLock for authentication status, removing it from the hot path (authentication status is checked during packet read/write).

codecov[bot] commented 7 months ago

Codecov Report

Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (38e7da2) 66.63% compared to head (c007c9d) 66.96%.

Files Patch % Lines
src/auth/server.rs 70.58% 10 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #30 +/- ## ========================================== + Coverage 66.63% 66.96% +0.33% ========================================== Files 19 19 Lines 1019 990 -29 ========================================== - Hits 679 663 -16 + Misses 340 327 -13 ```

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