Skip to content

Fix negotiation detector empty-chunk handling - #264

Merged
oferchen merged 1 commit into
masterfrom
implement-rsync-3.4.1-in-rust
Oct 16, 2025
Merged

oferchen merged 1 commit into
masterfrom
implement-rsync-3.4.1-in-rust

Conversation

@oferchen

@oferchen oferchen commented Oct 16, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • ensure the negotiation detector reports NeedMoreData when a legacy prefix is incomplete and only an empty chunk is observed
  • update the detector documentation and tests to reflect the empty-chunk behavior while keeping the cached legacy decision accessible
  • relax partitioned detection tests so cached legacy state that still requires more bytes is treated as success

Testing

  • cargo test

@oferchen
oferchen merged commit ae95cb5 into master Oct 16, 2025
@oferchen
oferchen deleted the implement-rsync-3.4.1-in-rust branch October 16, 2025 18:54
oferchen added a commit that referenced this pull request Feb 22, 2026
Remove disable_default_paths() from CLI daemon entry so --config flag
in arguments properly overrides the default config path. Add integration
test verifying --config=FILE loads modules from the specified file.
oferchen added a commit that referenced this pull request Feb 22, 2026
)

Remove disable_default_paths() from CLI daemon entry so --config flag
in arguments properly overrides the default config path. Add integration
test verifying --config=FILE loads modules from the specified file.
oferchen added a commit that referenced this pull request May 1, 2026
)

Remove disable_default_paths() from CLI daemon entry so --config flag
in arguments properly overrides the default config path. Add integration
test verifying --config=FILE loads modules from the specified file.
oferchen added a commit that referenced this pull request May 5, 2026
)

Remove disable_default_paths() from CLI daemon entry so --config flag
in arguments properly overrides the default config path. Add integration
test verifying --config=FILE loads modules from the specified file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant