activate pending clients only for close direct download
if a client is redirected, do not exercise the client activation loop.master
parent
7b938edee2
commit
88e02d424b
|
@ -51,7 +51,8 @@ static void tip_client_release(struct ev_loop *loop, struct tip_client *cli)
|
|||
if (cli->method == TIP_METHOD_GET) {
|
||||
if (tip_client_large_file(cli)) {
|
||||
num_clients--;
|
||||
tip_client_activate_pending(false);
|
||||
if (!cli->redirect)
|
||||
tip_client_activate_pending(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue