mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 09:24:12 +01:00
fixed bug. When only partial answer were received, the queue delete functionality didn't work
This commit is contained in:
parent
a26c8a70cc
commit
e526936ce3
@ -340,14 +340,16 @@ class SyncLib
|
||||
curl_multi_select ($mh);
|
||||
}
|
||||
} while($active);
|
||||
|
||||
|
||||
foreach ($ch as $h) {
|
||||
curl_multi_remove_handle ($mh, $h);
|
||||
curl_close ($h);
|
||||
}
|
||||
curl_multi_close ($mh);
|
||||
|
||||
return $str;
|
||||
|
||||
if ($ans_count>0) return $ans_arr;
|
||||
else return $str;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user