diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-04-04 13:25:41 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-04-04 13:23:53 +0200 |
commit | fa584b4d01ca055488a10b280f45dca323b474d4 (patch) | |
tree | db5fcf9626a85153f0133faad9da1b68267d8ad8 /test | |
parent | 49b87bfe7e2799d25ce709123ecafa872b36e87a (diff) | |
download | bitcoin-fa584b4d01ca055488a10b280f45dca323b474d4.tar.xz |
test: Remove windows workaround in authproxy
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/test_framework/authproxy.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/functional/test_framework/authproxy.py b/test/functional/test_framework/authproxy.py index b798ec3ebd..f7765a9dfa 100644 --- a/test/functional/test_framework/authproxy.py +++ b/test/functional/test_framework/authproxy.py @@ -39,7 +39,6 @@ from http import HTTPStatus import http.client import json import logging -import os import socket import time import urllib.parse @@ -100,11 +99,6 @@ class AuthServiceProxy(): 'User-Agent': USER_AGENT, 'Authorization': self.__auth_header, 'Content-type': 'application/json'} - 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() self.__conn.request(method, path, postdata, headers) return self._get_response() |