mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-20 10:38:42 +01:00
Merge bitcoin/bitcoin#23092: test: Remove Windows workaround in authproxy
fad02274ba
test: Remove Windows workaround in authproxy (MarcoFalke) Pull request description: Might no longer be needed after https://github.com/bitcoin/bitcoin/pull/23089 ACKs for top commit: hebasto: ACKfad02274ba
, passed 3 consequential runs on my [personal CI](https://cirrus-ci.com/task/4897456077930496): Tree-SHA512: 3c408e068ad7590dc0e5922c0b4cd3bf927e22fe624b13b8ab38db848342d310c9c934f358638fd5234c7b5f10f95d3bddc676deb925dcbba54945e2e8229275
This commit is contained in:
commit
58c25bdcea
@ -113,10 +113,8 @@ class AuthServiceProxy():
|
||||
self.__conn.request(method, path, postdata, headers)
|
||||
return self._get_response()
|
||||
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
|
||||
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:
|
||||
self.__conn.close()
|
||||
self.__conn.request(method, path, postdata, headers)
|
||||
|
Loading…
Reference in New Issue
Block a user