mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-28 06:50:38 +01:00
test: Document why connection is re-constructed on windows
This commit is contained in:
@@ -101,6 +101,7 @@ class AuthServiceProxy():
|
|||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
# Windows somehow does not like to re-use connections
|
# Windows somehow does not like to re-use connections
|
||||||
# TODO: Find out why the connection would disconnect occasionally and make it reusable on Windows
|
# TODO: Find out why the connection would disconnect occasionally and make it reusable on Windows
|
||||||
|
# Avoid "ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine"
|
||||||
self._set_conn()
|
self._set_conn()
|
||||||
try:
|
try:
|
||||||
self.__conn.request(method, path, postdata, headers)
|
self.__conn.request(method, path, postdata, headers)
|
||||||
|
|||||||
Reference in New Issue
Block a user