http://qs321.pair.com?node_id=11131604


in reply to Re: Download big file in chunks with plack response
in thread Download big file in chunks with plack response

Ehh, that's what I get for not testing my submission.

Comment out these lines:

my $content = path($path_file); my $content_download = $content->slurp;

Replies are listed 'Best First'.
Re^3: Download big file in chunks with plack response
by Thenothing (Sexton) on Apr 22, 2021 at 16:58 UTC
    Hi, yes I did that before to run.
      What is the exact code that you're running, with which server, and how big is the file you're trying to serve (and how much memory do you have in the machine/VM/smart fridge you're trying this on)?
        First thank you for your participation, The code I posted is all I have, the server is HTTP::Server::PSGI, the memory I have is 1.5gb, the file is a iso of 2.30 GB, the code is running in virtual machine VMware Workstation