diff options
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -50,9 +50,10 @@ static void tip_client_release(struct ev_loop *loop, struct tip_client *cli) free((void *)cli->path); if (cli->method == TIP_METHOD_GET) { - num_clients--; - if (tip_client_large_file(cli)) + if (tip_client_large_file(cli)) { + num_clients--; tip_client_activate_pending(); + } } free(cli); |