Skip to content

Track replay progress in negotiated streams - #451

Merged
oferchen merged 1 commit into
masterfrom
implement-functional-parity-with-rsync-3.4.1
Oct 17, 2025
Merged

oferchen merged 1 commit into
masterfrom
implement-functional-parity-with-rsync-3.4.1

Conversation

@oferchen

@oferchen oferchen commented Oct 17, 2025 •

Copy link
Copy Markdown
Owner

Summary

  • add buffered_consumed accessors to NegotiatedStream and NegotiatedStreamParts so higher layers can observe replay progress without cloning buffers
  • expose the internal cursor via NegotiationBuffer::buffered_consumed and extend the test suite with scenarios that validate the counters and doctested examples

Testing

  • cargo test

Red → Green

  • Count: 0 (adds observability and tests without addressing existing failures)
  • Goldens: n/a
  • Rationale: aligns the transport facade with upstream replay semantics by surfacing how many sniffed bytes were already drained

@oferchen
oferchen merged commit cfb84cb into master Oct 17, 2025
@oferchen
oferchen deleted the implement-functional-parity-with-rsync-3.4.1 branch October 17, 2025 21:45
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