diff options
Diffstat (limited to 'src/handler.c')
-rw-r--r-- | src/handler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handler.c b/src/handler.c index 9bcec71..ab9fdc4 100644 --- a/src/handler.c +++ b/src/handler.c @@ -101,7 +101,7 @@ int tip_client_state_process_payload(struct tip_client *cli) cli->allow_redirect = allow_redirect; num_clients++; - if (cli->size > FILE_SIZE_THRESHOLD && num_clients > max_clients) { + if (tip_client_large_file(cli) && num_clients > max_clients) { if (!tip_client_redirect(cli)) { tip_client_pending(cli); return 1; |