ysth has asked for the wisdom of the Perl Monks concerning the following question:
A new server is being developed, mostly by someone other than me, that has some code in a mod_perl child init handler; I'm trying to figure out if it's worthwhile to argue for using a module that expects to be run under Plack instead of reinventing that module's wheel. But I don't see any provision for child init code in Plack or PSGI. Am I missing something?
AFAICT we could just go ahead and use Plack and the child init handler, but that seems contrary to the spirit of PSGI (and would mean special code to enable plackup to work).
I know Starman has a similar child_init_hook; maybe how/if it solves this problem could provide an answer?
--
A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |
A math joke: r = | |csc(θ)|+|sec(θ)| |-| |csc(θ)|-|sec(θ)| |
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Plack and apache child init phase
by sundialsvc4 (Abbot) on Apr 30, 2014 at 20:25 UTC | |
Re: Plack and apache child init phase
by Anonymous Monk on May 01, 2014 at 03:08 UTC | |
by ysth (Canon) on May 01, 2014 at 06:55 UTC | |
by Anonymous Monk on May 01, 2014 at 07:36 UTC | |
by ysth (Canon) on May 01, 2014 at 08:26 UTC | |
by Anonymous Monk on May 01, 2014 at 09:47 UTC | |
|
Back to
Seekers of Perl Wisdom