Skip to content
  • Dan McGee's avatar
    Finish large file download attack prevention · f7a3c4c8
    Dan McGee authored
    
    
    This handles the no Content-Length header problem as stated in the
    comments of FS#23413. We add a quick check to the callback that will
    force an abort if the downloaded data exceeds the payload size, and then
    check for this error in the post-download cleanup code.
    
    Signed-off-by: default avatarDan McGee <dan@archlinux.org>
    f7a3c4c8