mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
test: Document why connection is re-constructed on windows
This commit is contained in:
parent
fa9f4f663c
commit
faa655731e
1 changed files with 1 additions and 0 deletions
|
@ -101,6 +101,7 @@ class AuthServiceProxy():
|
|||
if os.name == 'nt':
|
||||
# Windows somehow does not like to re-use connections
|
||||
# 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()
|
||||
try:
|
||||
self.__conn.request(method, path, postdata, headers)
|
||||
|
|
Loading…
Add table
Reference in a new issue