Skip to content

fix(tlsn): drain partial proxy relay writes - #1175

Open
k15z wants to merge 1 commit into
tlsnotary:mainfrom
k15z:fix-tlsn-relay-drain
Open

fix(tlsn): drain partial proxy relay writes#1175
k15z wants to merge 1 commit into
tlsnotary:mainfrom
k15z:fix-tlsn-relay-drain

Conversation

@k15z

@k15z k15z commented Jul 27, 2026

Copy link
Copy Markdown

Summary

Wake the proxy prover after a partial relay write so queued TLS records are drained without waiting for unrelated I/O.

A mux stream may accept one frame per poll. When that happens, the prover now schedules another poll after making progress, allowing it to drain the remaining queued TLS records.

Add a regression test for the partial-write wakeup.

Testing

  • cargo +1.95.0 test -p tlsn --lib
  • cargo +1.95.0 clippy --all-features --all-targets -- -D warnings

Wake the prover after a partial write to the proxy stream so queued TLS records are drained without waiting for unrelated I/O.

Add a regression test for the partial-write wakeup.
@k15z
k15z marked this pull request as ready for review July 27, 2026 14:54
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.

1 participant