Skip to content

macOS local mode: gracefully handle disconnecting client#252

Merged
emanuele-em merged 1 commit intomitmproxy:mainfrom
mhils:no-err-on-disconnect
Apr 28, 2025
Merged

macOS local mode: gracefully handle disconnecting client#252
emanuele-em merged 1 commit intomitmproxy:mainfrom
mhils:no-err-on-disconnect

Conversation

@mhils
Copy link
Copy Markdown
Member

@mhils mhils commented Apr 28, 2025

Got a traceback in the log during testing, this PR should fix it:

error: [11:40:45.674] Connection task failure: failed to handle TCP stream

Caused by:
    0: failed to write to socket from buf
    1: Broken pipe (os error 32)

@mhils mhils requested a review from emanuele-em April 28, 2025 09:48
@emanuele-em emanuele-em merged commit b3562a7 into mitmproxy:main Apr 28, 2025
23 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.

2 participants