urllib3 doesn't correctly catch OpenSSL.SSL.SysCallError |
||
Issue description
Maybe the fix is to update urllib3, need to look up upstream first. If not, maybe upstream a fix. The fix in _send_until_done() would look like :
except OpenSSL.SSL.SysCallError as e:
raise SocketError(e)
This catch the exception correctly:
https://github.com/luci/luci-py/blob/master/client/third_party/requests/packages/urllib3/contrib/pyopenssl.py#L181
but the exception was thrown at:
https://github.com/luci/luci-py/blob/master/client/third_party/requests/packages/urllib3/contrib/pyopenssl.py#L207
Ref:
https://chromium-swarm.appspot.com/task?id=36e599da2b358510
,
Jun 26 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by sheriffbot@chromium.org
, Jun 22 2018Status: Untriaged (was: Available)