BSD Ports

www/p5-CGI-Application-Plugin-Stream 2.12 DragonFly

Plugin that adds file streaming support to CGI::Application

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
perl5, www
Package size
8.3 KiB, 14.8 KiB installed

Description

This plugin provides a way to stream a file back to the user.

This is useful if you are creating a PDF or Spreadsheet document dynamically to deliver to the user.

The file is read and printed in small chunks to keep memory consumption down.

This plugin is a consumer, as in your runmode shouldn't try to do any output or anything afterwards. This plugin affects the HTTP response headers, so anything you do afterwards will probably not work. If you pass along a filehandle, we'll make sure to close it for you.

It's recommended that you increment $| (or set it to 1), which will autoflush the buffer as your application is streaming out the file.

In the other systems

The newest version among them is 2.12, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlywww/p5-CGI-Application-Plugin-Stream2.12 newestnone known-[email protected]-
FreeBSDwww/p5-CGI-Application-Plugin-Stream2.12 newestnone known-[email protected]-
NetBSDwip/p5-CGI-Application-Plugin-Stream by name2.12 newestnone known-[email protected]-
HardenedBSDwww/p5-CGI-Application-Plugin-Stream2.12 newestno data-[email protected]-
GhostBSDwww/p5-CGI-Application-Plugin-Stream2.12 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

pkg install p5-CGI-Application-Plugin-Stream

From DPorts:

cd /usr/dports/www/p5-CGI-Application-Plugin-Stream && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 3

No port depends on this one.