Skip to content
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

Always reclaim buffer space #229

Merged
merged 2 commits into from
Feb 17, 2025
Merged

Always reclaim buffer space #229

merged 2 commits into from
Feb 17, 2025

Conversation

mhils
Copy link
Member

@mhils mhils commented Feb 16, 2025

This fixes mitmproxy/mitmproxy#7548.

It turns out BytesMut has a really annoying failure mode where capacity needs to be explicitly reclaimed, otherwise things break after a while.

@mhils mhils requested a review from errorxyz February 16, 2025 15:02
@mhils mhils requested a review from emanuele-em February 16, 2025 15:37
@mhils mhils merged commit eb29a8a into mitmproxy:main Feb 17, 2025
25 checks passed
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.

Task failed: Received invalid IPC message from redirector
1 participant