Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Download big file in chunks with plack response

by kikuchiyo (Hermit)
on Apr 22, 2021 at 16:24 UTC ( [id://11131604]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131604]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-25 14:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found