Skip to content

[pull] main from tower-rs:main#9

Merged
barjin merged 4 commits intoapify:mainfrom
tower-rs:main
May 6, 2026
Merged

[pull] main from tower-rs:main#9
barjin merged 4 commits intoapify:mainfrom
tower-rs:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented May 5, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

tottoto and others added 2 commits May 5, 2026 08:08
…636)

* feat(on-early-drop): Add middleware for client early drop detection

Introduces a new middleware that detects when a client disconnects
before receiving a full response. This allows for monitoring and logging
of early connection terminations.

Fixes #396

* docs(on-early-drop): document and pin drop-only semantics

* refactor(on-early-drop): simplify OnEarlyDropGuard state

* feat(on-early-drop): add body-drop detection and trace adapter

* docs(examples): demonstrate OnEarlyDropLayer in axum-key-value-store

* test(on-early-drop): cover is_end_stream, noop slots, and custom callback

* docs(on-early-drop): document panic requirement on callbacks

* docs: clarify that OnEarlyDropLayer::new can only be used with EarlyDropsAsFailures, other doc cleanups

---------

Co-authored-by: Jess Izen <jlizen@amazon.com>
@pull pull Bot locked and limited conversation to collaborators May 5, 2026
@pull pull Bot added the ⤵️ pull label May 5, 2026
@pull pull Bot assigned barjin May 5, 2026
@pull pull Bot requested a review from barjin May 5, 2026 16:33
@barjin barjin merged commit cc299de into apify:main May 6, 2026
13 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants