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
Skip broken pipe errors #1524
Skip broken pipe errors #1524
Commits on May 24, 2019
-
Skipping the broken pipe errors.
In the case the server legitimally close a connection but we are still sending data (e.g. sending a POST request), the old code prevents the response to be retrieved. With this change, we avoid a broken pipe in the request write process, to end the read process.
-
Included
request_chunked()
in the control.Added a comment with the rationale.
-
-
-
-
Commits on Apr 22, 2020
Commits on Apr 23, 2020
Commits on Apr 28, 2020
-
Fix test_broken_pipe_ignore ignore on macOS
When the server closed the socket but the client still tries to read the response, macOS can fail with EPROTOTYPE instead of simply EPIPE or ESHUTDOWN, so BrokenPipeError isn't enough. I also had to fix the test, otherwise the request would fail because it didn't read the whole response (which is still a healthy thing to do).
Commits on Jun 30, 2020
-
-
-
-
Use nox version that works with Python 3.5.2
This is the default `python3` shipped by Travis.
-
-
-
-
-
-
-
Add default user agent header (urllib3#1750)
Co-authored-by: hodbn <hodbn@users.noreply.github.com>
-
Merge remote-tracking branch 'urllib3/master' into robermorales-broke…
…n-pipe-detection
-