• Russ Cox's avatar
    codereview: give up on http fetch after 30 seconds · f19cf640
    Russ Cox authored
    If Python blocks in the SSL handshake it seems to be
    completely uninterruptible, and I've been seeing it
    block for at least hours recently. I don't know if the
    problem is on the client side or the server side or
    somewhere in the network, but setting the timeout
    at least means you're guaranteed a new shell prompt
    (after printing some errors).
    
    R=golang-dev, bradfitz, minux.ma
    CC=golang-dev
    https://golang.org/cl/7337048
    f19cf640
codereview.py 104 KB