https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23685

--- Comment #59 from David Cook <[email protected]> ---
(In reply to Katrin Fischer from comment #57)
> (In reply to Nick Clemens (kidclamp) from comment #55)
> > Old links to ODS exports will fail with a 500 if the pref is off, would be
> > nice to have a warning, even just in the logs, of what happened, but not a
> > blocker here.
> > 
> > The patch to exclude from plack was dropped, but that seems appropriate -
> > systems can implement it locally if needed
> 
> Could you explain a bit more about when a library would want to implement
> this?

So a library could exclude from Plack if they want to have a large export of
all the rows. 

Plack buffers the whole response in a temporary file before sending any data
back to Apache, which can cause timeouts. Whereas CGI/excluded from Plack will
theoretically send the data back immediately to Apache (for non-ODS exports),
although I think in practice it's a bit more complicated. See bug 31744 for an
inventory.pl example. 

So it would be addressing a timeout problem rather than a memory problem. 

Maybe before Kohacon2025 I can keep working on my Mojolicious controller
replacement for CGI scripts which solve the timeout problem without excluding
from Plack. 

(The ODS export is a problem regardless because of the compressed nature of the
ODS format and how OpenOffice::OODoc works.)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to