Skip to content

Speculative HTTP/2 fixes, refs #4451 - #4464

Merged
mhils merged 1 commit into
mitmproxy:masterfrom
mhils:http2-fixes
Feb 21, 2021
Merged

mhils merged 1 commit into
mitmproxy:masterfrom
mhils:http2-fixes

Conversation

@mhils

@mhils mhils commented Feb 21, 2021

Copy link
Copy Markdown
Member

@r00t-'s comment in #4451 pointing to Facebook was a useful one - their custom HTTP/2 stack exposed some interesting race conditions in ours, which I believe I fixed all now.

@r00t-: Could you check out this branch and see if that fixes your Facebook POST requests in particular? 🍰

@r00t-

r00t- commented Feb 21, 2021

Copy link
Copy Markdown
Contributor

guess i should have reported this earlier...
i've had those issues uploading to facebook for a long time.
but i've all the time been assuming that it's a plain http/1 POST, and that the connection being closed could only be due to the server timing out because the request is taking too long :\

@r00t-

r00t- commented Feb 21, 2021

Copy link
Copy Markdown
Contributor

i did try uploading a few large posts with this branch, and had a 100% success rate, as opposed to near zero previously 👍

@mhils
mhils merged commit 4bd7b6c into mitmproxy:master Feb 21, 2021
@mhils
mhils deleted the http2-fixes branch February 21, 2021 14:36
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