This commit is contained in:
恍兮惚兮 2024-07-10 14:45:07 +08:00
parent a441139fed
commit bdf5c973aa

View File

@ -176,9 +176,10 @@ class Requester(Requester_common):
curl = self.curl
__ = autostatus(self)
else:
curl = self.initcurl()
curl = AutoCURLHandle(curl_easy_duphandle(self.curl))
__ = 0
curl_easy_reset(curl)
curl_easy_setopt(curl, CURLoption.COOKIEJAR, "")
if timeout:
curl_easy_setopt(curl, CURLoption.TIMEOUT_MS, timeout)