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

Wrap OpenSSL SysCallError on send as well as recv #1125

Merged
merged 1 commit into from
Feb 26, 2017

Conversation

patstew
Copy link
Contributor

@patstew patstew commented Feb 25, 2017

I was having a similar issue as described in #367, occasionally getting "SysCallError: (104, 'Connection reset by peer')" on sending through the requests library. As I understand it, it should be intercepted and wrapped here.

@codecov-io
Copy link

codecov-io commented Feb 25, 2017

Codecov Report

Merging #1125 into master will increase coverage by 2.28%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1125      +/-   ##
=========================================
+ Coverage   97.71%    100%   +2.28%     
=========================================
  Files          21      21              
  Lines        1926    1926              
=========================================
+ Hits         1882    1926      +44     
+ Misses         44       0      -44
Impacted Files Coverage Δ
urllib3/util/selectors.py 100% <ø> (+14.52%)

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 f52981d...bf04898. Read the comment docs.

@Lukasa
Copy link
Sponsor Contributor

Lukasa commented Feb 26, 2017

This looks reasonable enough to me. It'd be nice to have a test for this, but we don't have a good framework for testing this module right now and I am not going to ask you to start one for this PR.

Thanks! 👍

@Lukasa Lukasa merged commit 39094f6 into urllib3:master Feb 26, 2017
Lukasa added a commit that referenced this pull request Feb 26, 2017
Lukasa added a commit that referenced this pull request Feb 26, 2017
Dobatymo pushed a commit to Dobatymo/urllib3 that referenced this pull request Mar 16, 2022
…tions

Wrap OpenSSL SysCallError on send as well as recv
Dobatymo pushed a commit to Dobatymo/urllib3 that referenced this pull request Mar 16, 2022
Dobatymo pushed a commit to Dobatymo/urllib3 that referenced this pull request Mar 16, 2022
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.

None yet

3 participants