Skip to content

server: include body receipt in request deadlines#148

Open
jeet-dekivadia wants to merge 3 commits into
anthropics:mainfrom
jeet-dekivadia:codex/include-body-receipt-in-deadline
Open

server: include body receipt in request deadlines#148
jeet-dekivadia wants to merge 3 commits into
anthropics:mainfrom
jeet-dekivadia:codex/include-body-receipt-in-deadline

Conversation

@jeet-dekivadia
Copy link
Copy Markdown

@jeet-dekivadia jeet-dekivadia commented May 30, 2026

Summary

  • anchor buffered request deadlines before body collection so one absolute budget covers receipt and handler execution
  • apply the same bounded collection to error-path drains while leaving client-streaming and bidi request flow unchanged
  • document the request-receipt guarantee and add paused-time regressions for stalled unary and server-streaming bodies

Fixes #136

Validation

  • git diff --check
  • cargo +nightly fmt --all -- --check
  • cargo check --workspace --all-features --all-targets
  • cargo test --workspace --all-features
  • cargo clippy --workspace --all-features --all-targets -- -D warnings

Signed-off-by: Jeet Dekivadia <jeet.university@gmail.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 30, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

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.

server: include request body receipt in the request deadline

1 participant