Support » Plugin: Download Monitor » Download chunked file not working

  • Hello,

    Thanks for your plugin.

    I want to use the chunked download file but there some bug in your source.

    The header “Content-Length” is not correctly set.

    Line 534:
    $new_length = $range_end - $range;
    Change to
    $new_length = ($range_end - $range) + 1;

    Line 544:
    if ( $this->readfile_chunked( $file_path, $range ) ) {
    Change to
    if ( $this->readfile_chunked( $file_path, false, $range ) ) {

    Regards,

    Auban

    • This topic was modified 1 month, 1 week ago by  redcastor.
  • You must be logged in to reply to this topic.