Update application/controllers/Lotw.php

Co-authored-by: Joerg (DJ7NT) <int2001@users.noreply.github.com>
This commit is contained in:
Florian (DF2ET)
2026-01-02 13:12:47 +01:00
committed by GitHub
parent 0f80247002
commit 206e11ba2a

View File

@@ -847,7 +847,8 @@ class Lotw extends CI_Controller {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $lotw_url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
curl_setopt($ch, CURLOPT_TIMEOUT, 20);
$content = curl_exec($ch);
if(curl_errno($ch)) {
$ret['status']='failed';