// find current mirror and select next one
for (int i=0; i < AllMirrors.size()-1; i++)
{
if (Queue->Uri.find(AllMirrors[i]) == 0)
{
Queue->Uri.replace(0, AllMirrors[i].size(), AllMirrors[i+1]);
// find current mirror and select next one
for (int i=0; i < AllMirrors.size()-1; i++)
{
if (Queue->Uri.find(AllMirrors[i]) == 0)
{
Queue->Uri.replace(0, AllMirrors[i].size(), AllMirrors[i+1]);