mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
dump
This commit is contained in:
parent
a441139fed
commit
bdf5c973aa
@ -176,9 +176,10 @@ class Requester(Requester_common):
|
|||||||
curl = self.curl
|
curl = self.curl
|
||||||
__ = autostatus(self)
|
__ = autostatus(self)
|
||||||
else:
|
else:
|
||||||
curl = self.initcurl()
|
curl = AutoCURLHandle(curl_easy_duphandle(self.curl))
|
||||||
__ = 0
|
__ = 0
|
||||||
|
|
||||||
|
curl_easy_reset(curl)
|
||||||
curl_easy_setopt(curl, CURLoption.COOKIEJAR, "")
|
curl_easy_setopt(curl, CURLoption.COOKIEJAR, "")
|
||||||
if timeout:
|
if timeout:
|
||||||
curl_easy_setopt(curl, CURLoption.TIMEOUT_MS, timeout)
|
curl_easy_setopt(curl, CURLoption.TIMEOUT_MS, timeout)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user