Hi Jonathan,

the patches to today's CPAN versions of Poet and Mason attached. Having
those an .mp module should looks like:

CLASS->no_wrap;
method handle {
    sub {
          my $responder = shift;
          my $writer = $responder->([ 200, [ 'Content-Type',  'text/plain'
] ]);
          for (my $i = 0; $i< 1_000_000_000; $i++) {
                $writer->write($i . " do not even think of opening it in a
browser\n");
          }
          $writer->close();
    };
}


I am afraid I will need you help and advise with test cases, especially
with Mason, which no longer relies upon to Plack.


-- 
Sincerely yours, Alexander Kuznetsov

Attachment: Mason.diff
Description: Binary data

Attachment: Poet.diff
Description: Binary data

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to