M0dEx / quincy

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

refactor!: remove tunnel, add signal handlers #44

Closed M0dEx closed 4 months ago

M0dEx commented 4 months ago

This PR removes the tunnel "middleware", opting for a server == tunnel design, simplifying a lot of task handling. It is, unfortunately, a breaking change, since there are changes to the configuration structure.

It also adds signal handlers for clean termination.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 77.45098% with 46 lines in your changes are missing coverage. Please review.

Project coverage is 71.63%. Comparing base (84f42cf) to head (5ec43f0).

Files Patch % Lines
src/server.rs 83.48% 18 Missing :warning:
src/client.rs 80.00% 9 Missing :warning:
src/utils/tasks.rs 0.00% 9 Missing :warning:
src/server/connection.rs 61.90% 8 Missing :warning:
src/utils/signal_handler.rs 50.00% 2 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #44 +/- ## ========================================== + Coverage 71.15% 71.63% +0.48% ========================================== Files 20 20 Lines 981 913 -68 ========================================== - Hits 698 654 -44 + Misses 283 259 -24 ```

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