Skip to content

Backport urllib3 upstream fix for reset connections to AWS servers, fixes #1248#1385

Closed
ezyang wants to merge 1 commit intoboto:developfrom
ezyang:pr/urllib2-backport-fix
Closed

Backport urllib3 upstream fix for reset connections to AWS servers, fixes #1248#1385
ezyang wants to merge 1 commit intoboto:developfrom
ezyang:pr/urllib2-backport-fix

Conversation

@ezyang
Copy link
Copy Markdown

@ezyang ezyang commented Feb 13, 2018

This solves #1248 in botocore HEAD. The proper fix is to update urllib3 but I don't know why you are vendoring requests in the first place.

Upstream fix I backported was urllib3/urllib3#1235

@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 13, 2018

Codecov Report

Merging #1385 into develop will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #1385   +/-   ##
========================================
  Coverage    80.52%   80.52%           
========================================
  Files           87       87           
  Lines        12121    12121           
========================================
  Hits          9760     9760           
  Misses        2361     2361
Impacted Files Coverage Δ
...ore/vendored/requests/packages/urllib3/response.py 18.67% <0%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f354013...f64b15b. Read the comment docs.

# Don't bother reading the body of a HEAD request.
# FIXME: Can we do this somehow without accessing private httplib _method?
self._original_response.close()
return
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that must be indented

@joguSD
Copy link
Copy Markdown
Contributor

joguSD commented Aug 25, 2018

We have un-vendored requests/urllib3 and are now using urllib3 directly as of botocore v1.11.0.
Relevant upgrade notes.

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.

4 participants