Skip to content

Conversation

simolus3
Copy link
Contributor

In #281, I've moved the core switch statement handling different sync lines into a separate method responsible for handling a single line. Unfortunately, I've missed that this changes the semantics of break and return statements, which previously interrupted a sync iteration and now do nothing 😬

This fixes the issue by setting a boolean variable to break out of the sync iteration, I've also added two new test cases for these scenarios.

@simolus3 simolus3 requested a review from rkistner May 30, 2025 15:10
@simolus3 simolus3 force-pushed the fix-reconnect-after-checksum-failure branch from 3c2d004 to ba335b8 Compare June 2, 2025 09:03
@simolus3 simolus3 merged commit 3fa499d into main Jun 2, 2025
9 of 10 checks passed
@simolus3 simolus3 deleted the fix-reconnect-after-checksum-failure branch June 2, 2025 09:30
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