DOKK / manpages / debian 12 / libplack-perl / Plack::Middleware::BufferedStreaming.3pm.en
Plack::Middleware::BufferedStreaming(3pm) User Contributed Perl Documentation Plack::Middleware::BufferedStreaming(3pm)

Plack::Middleware::BufferedStreaming - Enable buffering for non-streaming aware servers

  enable "BufferedStreaming";

Plack::Middleware::BufferedStreaming is a PSGI middleware component that wraps the application that uses "psgi.streaming" interface to run on the servers that do not support the interface, by buffering the writer output to a temporary buffer.

This middleware doesn't do anything and bypass the application if the server supports "psgi.streaming" interface, unless you set "force" option (see below).

Force enable this middleware only if the container supports "psgi.streaming".

Yuval Kogman

Tatsuhiko Miyagawa

2022-09-06 perl v5.34.0