note
Anonymous Monk
<p><i> I will give this a try, but...it's not clear to me how it is doing anything at child init time, not compile time. </i><p> now you've confused me :) some more
<p> At what time, other than child init time, would any plackish webserver create an app object of your app and then wait for incoming requests?
<p> That is pretty much "child init time" in terms of PSGI ...
<p> So the app object is created, builder runs the "enable" callback, and then the webserver waits for requests to give to app
<p> Oh yeah, I see , it is no different than just doing it in the constructor :) except maybe slightly semantically different (if its not part of the app, then do nothing middleware seems appropriate)
<p> I think child_init_time is about knowing too much about the webserver
<p> PSGI is about apps, ::Middleware is about wrapping apps (daisy chain), and Plack::Handler is about connecting PSGI apps to webservers (hey random webserver run this app_
<p> I just can't see where child_init_time belongs as a PSGI/Plack concept ...
1084540
1084585
4