Plack
view release on metacpan or search on metacpan
0.9943 Fri Jul 30 13:24:15 PDT 2010
- Updated Apache* handler so it could duck type on Loader (jnap)
- Added --access-log to plackup (grantm)
- Added support for streaming stdio in Net::FastCGI handler (chansen)
0.9942 Fri Jul 23 23:42:43 PDT 2010
- Allow passing FCGI manager object to Handler::FCGI (confound)
- Call FCGI::Request::Finish() before pm_post_dispatch (confound)
- Moved response_cb() to Plack::Util (confound)
- re-enable WithLexicals now that PadWalker segfaults with 5.12 is fixed #98
0.9941 Thu Jul 8 18:17:30 PDT 2010
- Makes Lint not warn about ASCII-only strings with UTF8 flag because they're safe
0.9940 Fri Jul 2 23:37:51 PDT 2010
- Fixed META.yml
0.9939 Fri Jul 2 17:56:10 PDT 2010
- Improved middleware documentation (miyagawa, leedo, bobtfish)
- Added a test about Transfer-Encoding with Content-Length: 0 (chiba)
- Fixed the compatiblity issues with FastCGI docs and tests with lighttpd 1.4.26 (tadam)
- LighttpdScriptNameFix: Added 'script_name' option (tadam)
0.9926 Sun Mar 28 14:37:03 PDT 2010
- Added -v|--version option to plackup and the ability for Plack::Runner users to override
0.9925 Sat Mar 27 19:03:57 PDT 2010
- Make this a non-devel release
0.99_24 Sat Mar 27 13:31:51 PDT 2010
- Disable Devel::StackTrace::WithLexicals for now until PadWalker RT #55242 is fixed
0.99_23 Sat Mar 27 01:02:24 PDT 2010
- Dropped keep-alive code from HTTP::Server::PSGI now that Starlet clones the code
- Special case --disable-* and --enable-* command line options in plackup and Plack::Runner
0.99_22 Thu Mar 25 19:48:08 PDT 2010
- INCOMPATIBLE: removed --max-workers option from the default standalone server.
Now it gives you warnings and falls back to the single process mode.
0.99_21 Thu Mar 25 15:05:53 PDT 2010
lib/Plack/Middleware/StackTrace.pm view on Meta::CPAN
use warnings;
use parent qw/Plack::Middleware/;
use Devel::StackTrace;
use Devel::StackTrace::AsHTML;
use Scalar::Util qw( refaddr );
use Try::Tiny;
use Plack::Util::Accessor qw( force no_print_errors );
our $StackTraceClass = "Devel::StackTrace";
# Optional since it needs PadWalker
if (try { require Devel::StackTrace::WithLexicals; Devel::StackTrace::WithLexicals->VERSION(0.08); 1 }) {
$StackTraceClass = "Devel::StackTrace::WithLexicals";
}
sub call {
my($self, $env) = @_;
my ($trace, %string_traces, %ref_traces);
local $SIG{__DIE__} = sub {
$trace = $StackTraceClass->new(
( run in 0.633 second using v1.01-cache-2.11-cpan-05444aca049 )