Skip to content

Commit

Permalink
merge bitcoin#27418: Remove windows workaround in authproxy
Browse files Browse the repository at this point in the history
  • Loading branch information
kwvg committed Dec 15, 2024
1 parent a497df0 commit 280988b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/functional/test_framework/authproxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
import http.client
import json
import logging
import os
import socket
import time
import urllib.parse
Expand Down Expand Up @@ -101,11 +100,6 @@ def _request(self, method, path, postdata):
'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()
try:
self.__conn.request(method, path, postdata, headers)
return self._get_response()
Expand Down

0 comments on commit 280988b

Please sign in to comment.