prioritize redirections over direct server download
testbed shows 95% use of redirections for data transfers.master
parent
9c338ce302
commit
669089d6b1
|
@ -160,8 +160,8 @@ int tip_client_state_process_payload(struct tip_client *cli)
|
|||
cli->allow_redirect = allow_redirect;
|
||||
|
||||
num_clients++;
|
||||
if (num_clients > max_clients) {
|
||||
if (!tip_client_redirect(cli)) {
|
||||
if (!tip_client_redirect(cli)) {
|
||||
if (num_clients > max_clients) {
|
||||
tip_client_pending(cli);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue