[dreamwidth/dw-free] 765864: Plack testing
Sep. 8th, 2021 11:46 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Branch: refs/heads/mark/plack-test Home: https://github.com/dreamwidth/dw-free Commit: 7658648f41befca98cf26194bd0a8561b65e23e5 https://github.com/dreamwidth/dw-free/commit/7658648f41befca98cf26194bd0a8561b65e23e5 Author: Mark Smith mark@dreamwidth.org Date: 2021-09-09 (Thu, 09 Sep 2021)
Changed paths: A app.psgi M cgi-bin/DW/Request.pm M cgi-bin/DW/Request/Base.pm A cgi-bin/DW/Request/Plack.pm M cgi-bin/DW/Request/Standard.pm M cgi-bin/LJ/Widget/Feeds.pm A cgi-bin/Plack/Middleware/DW/Auth.pm A cgi-bin/Plack/Middleware/DW/Dev.pm A cgi-bin/Plack/Middleware/DW/Redirects.pm A cgi-bin/Plack/Middleware/DW/RequestWrapper.pm A cgi-bin/Plack/Middleware/DW/XForwardedFor.pm M cgi-bin/ljlib.pl M cgi-bin/modperl_subs.pl M doc/dependencies-cpanm
Log Message:
Plack testing
This makes the minimal changes necessary to enable supporting Plack as a runtime environment instead of Apache.
The idea is to make running the code much, much simpler since we can have a pure Perl web server and never need to deal with system modules and the increasingly difficult to deal with Apache/mod_perl stuff.
However, Plack is a pluggable runtime so it still does support mod_perl so we can do that for efficiency in production if we want. Or, we can start to look at something like Starman.