I have Mojo::UserAgent working to get the file from AWS S3 (including all the crypto foo), but I cannot stream its output from a controller attached to a Mojolicious::Lite route. I am running into the same problem as is discussed in this thread from 2018:
https://groups.google.com/forum/#!topic/mojolicious/fIGwnDOxl2E $ua->start($tx) is a blocking call, and as a result my chunks merely append to a buffer with nowhere to go until memory fills up. Unfortunately, if the way to solve this problem is answered in the responses to the thread above, said answer is too subtle for me to suss out. So, to restate my problem in words: given a Mojo::UserAgent transaction that can read a very large file, how can I stream its output, buffer by buffer, into a browser via a Mojolicious::Lite route? Regards, Joe Fridy -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mojolicious/ce448a79-c8d4-4098-b0b0-d9564259b632%40googlegroups.com.