]> Cypherpunks repositories - gostls13.git/commit
codereview: give up on http fetch after 30 seconds
authorRuss Cox <rsc@golang.org>
Tue, 19 Feb 2013 15:18:16 +0000 (10:18 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 19 Feb 2013 15:18:16 +0000 (10:18 -0500)
commitf19cf640d482480432e65a451477cd3bcf818288
treedbe66d451496bdb734825bc26a17eec4e4065b55
parentcb32ea9c195929d2cc9fb60192c1d1aea2e34a98
codereview: give up on http fetch after 30 seconds

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
lib/codereview/codereview.py