mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-25 00:11:28 +02:00
test: Remove Windows workaround in authproxy
This reverts commit fab98992043f47fa7240d7c1217920d0c4f783a2.
This commit is contained in:
parent
747f91c0a3
commit
fad02274ba
@ -113,10 +113,8 @@ class AuthServiceProxy():
|
|||||||
self.__conn.request(method, path, postdata, headers)
|
self.__conn.request(method, path, postdata, headers)
|
||||||
return self._get_response()
|
return self._get_response()
|
||||||
except OSError as e:
|
except OSError as e:
|
||||||
retry = (
|
|
||||||
'[WinError 10053] An established connection was aborted by the software in your host machine' in str(e))
|
|
||||||
# Workaround for a bug on macOS. See https://bugs.python.org/issue33450
|
# Workaround for a bug on macOS. See https://bugs.python.org/issue33450
|
||||||
retry = retry or ('[Errno 41] Protocol wrong type for socket' in str(e))
|
retry = '[Errno 41] Protocol wrong type for socket' in str(e)
|
||||||
if retry:
|
if retry:
|
||||||
self.__conn.close()
|
self.__conn.close()
|
||||||
self.__conn.request(method, path, postdata, headers)
|
self.__conn.request(method, path, postdata, headers)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user