Subject: | persistence issues |
Hello,
the documentation does not say much about object persistence (as opposed
to just perl interpreter persistence) in persistent environments (e.g.
FastCGI, CGI::Application::Server).
* Feature Request: Documentation should cover persistence.
It would be nice if there was a small howto regarding CGI::Application
object persistence.
- should it be done at all?
- what cleanup is an application supposed to do?
- are plugins supposed to work in persistent environments?
* Bug Report (maybe): CGI::Application does not cleanup per-request data
I stumbled across 2 issues that I believe should be handled (cleaned up)
by CGI::Application itself (if persistence is to be supported at all):
- header settings ($self->{__HEADER_PROPS})
=> redirect loop
- prerun_mode settings ($self->{__PRERUN_MODE})
=> locked in given runmode after first use
(see also
http://www.mail-archive.com/cgiapp@lists.erlbaum.net/msg08997.html)
I am not sure if this classifies as a bug, since the documentation does
not say if persistence is to be used or not.
See also https://rt.cpan.org/Ticket/Display.html?id=72906 about
CGI::Application::Server
Regards
Matthias