do not stop activating clients when direct download starts
Do not break the loop after activating one client. Keep activating clients that can be redirected. If no redirection is found, then start direct download for this client (only one) but keep looping for clients that can be redirected.master
parent
44287f9e67
commit
7b938edee2
|
@ -367,7 +367,9 @@ void tip_client_activate_pending(bool redirect_only)
|
|||
ev_io_start(tip_main_loop, &cli->io);
|
||||
ev_timer_again(tip_main_loop, &cli->timer);
|
||||
cli->state = TIP_CLIENT_PROCESSING_REQUEST_2;
|
||||
break;
|
||||
/* only activate one direct download from server. */
|
||||
if (!redirected)
|
||||
redirect_only = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue