mod_http_file_share: Explicitly reject all unsupported ranges

Fail fast. Otherwise it sends the whole file.
This commit is contained in:
Kim Alvefur 2025-03-23 12:36:47 +01:00
parent afd99708d6
commit faed304d55

View file

@ -442,6 +442,9 @@ function handle_download(event, path) -- GET /uploads/:slot+filename
handle:close();
return 416;
end
else
handle:close();
return 416;
end
end