# HG changeset patch # User Kim Alvefur # Date 1742729807 -3600 # Node ID 284b100acda197dd6710a078dac6b5853ac5c57d # Parent d7e54a2475cccfd7eede68bbc89c457c43808141 mod_http_file_share: Explicitly reject all unsupported ranges Fail fast. Otherwise it sends the whole file. diff -r d7e54a2475cc -r 284b100acda1 plugins/mod_http_file_share.lua --- a/plugins/mod_http_file_share.lua Sun Mar 23 12:21:19 2025 +0100 +++ b/plugins/mod_http_file_share.lua Sun Mar 23 12:36:47 2025 +0100 @@ -442,6 +442,9 @@ handle:close(); return 416; end + else + handle:close(); + return 416; end end