Continuity
view release on metacpan or search on metacpan
Version 1.6 (released 2014.07.17)
* Spelling fixes mostly (thanks dsteinbrunner!)
Version 1.5 (released 2011.09.17)
* Fix PSGI docroot
* Documentation improvements
Version 1.4 (released 2011.03.20)
* Make PSGI adapter be non-blocking
* Also make it use the psgi.streaming interface
* Add yield to Adapt::HttpDaemon's print (I thought it was there before?)
* Add Coro thread descriptions for better debugging
Version 1.3 (released 2010.11.22)
* Stupid version number issue
Version 1.2.0 (released 2010.11.22)
* Refactor PSGI adaptor (scrottie)
* Random documentation updates
lib/Continuity/Adapt/PSGI.pm view on Meta::CPAN
# $server->loop calls this; plackup run .psgi files except a coderef as the
# last value and this lets that coderef fall out of the call to
# $server->loop.
# unique to the PSGI adapter -- a coderef that gets invoked when a request
# comes in
my $app = sub {
my $env = shift;
unless ($env->{'psgi.streaming'}) {
die 'This application needs psgi.streaming support!';
}
# stuff $env onto a queue that get_request above pulls from; get_request is
# called from Continuity's main execution context/loop. Continuity's main
# execution loop invokes the Mapper to send the request across a queue to
# the per session execution context (creating a new one as needed).
return sub {
my $response = shift;
( run in 0.235 second using v1.01-cache-2.11-cpan-4d50c553e7e )