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

Reading the actual request may trigger CONNRESET on a cached connection #62

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Jul 13, 2017

  1. Reading the actual response may trigger ECONNRESET or EPIPE

    (if the connection was cached)
    
    thus move that code inside the try:.
    smurfix committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    8ea22f2 View commit details
    Browse the repository at this point in the history
  2. More changes for handling broken connections

    Handle ECONNRESET and EPIPE correctly
    
    and simplify the code a bit (pull up conn.close()
    while we're at it
    smurfix committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    b1b4795 View commit details
    Browse the repository at this point in the history