mirror of
https://github.com/ledccn/IYUUPlus.git
synced 2025-04-30 18:23:21 +00:00
测试:调整tr下载器获取session_id的超时
This commit is contained in:
parent
666c5e3765
commit
aa6ff6674e
@ -899,8 +899,8 @@ class transmission extends AbstractClient
|
||||
curl_setopt($ch, CURLOPT_USERPWD, $this->username.':'.$this->password);
|
||||
curl_setopt($ch, CURLOPT_HEADER, false);
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 30);
|
||||
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
|
||||
curl_setopt($ch, CURLOPT_TIMEOUT, 300);
|
||||
$content = curl_exec($ch);
|
||||
$error_code = curl_errno($ch);
|
||||
$error_message = curl_error($ch);
|
||||
|
Loading…
x
Reference in New Issue
Block a user