Close http connections (#1595) (#1905)

This commit is contained in:
Soxoj
2024-11-27 15:28:10 +01:00
committed by GitHub
parent 6170f07154
commit 2e2a47a12b
+2
View File
@@ -425,6 +425,8 @@ def make_site_result(
headers = {
"User-Agent": get_random_user_agent(),
# tell server that we want to close connection after request
"Connection": "close",
}
headers.update(site.headers)