10000 Set `size_hint` for identity compession bodies by SabrinaJewson · Pull Request #531 · tower-rs/tower-http · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Set size_hint for identity compession bodies #531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

SabrinaJewson
Copy link
Contributor

Motivation

See tokio-rs/axum#3035 (comment)

Solution

Override the size_hint on identity compression bodies.

< 8000 span class="Skeleton d-inline-block" style="width:12px; height:12px;">
@seanmonstar seanmonstar merged commit d1e4731 into tower-rs:main Nov 18, 2024
10 of 11 checks passed
@SabrinaJewson SabrinaJewson deleted the size-hint-compression branch November 18, 2024 21:34
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.

2 participants
0