Thrall

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  this package.

0.0301  2014-06-30      Piotr Roszatycki <dexter@cpan.org>

* Minor fixes in POD documentation

0.0300  2014-06-28      Piotr Roszatycki <dexter@cpan.org>

* Based on Starlight 0.0302
* Does not hang up on daemonize without error log file.
* Bugfix for streaming mode (Use of uninitialized value).
* Requirement for Time::HiRes is optional.
* Suggests Time::TZOffset on Windows.
* Support for "quiet", "user", "group", "umask", "daemonize", "pid" and
  "error-log" options.

0.0202  2014-01-21      Piotr Roszatycki <dexter@cpan.org>

* Handle SIGINT (ctrl-c) gracefully.

0.0201  2013-12-29      Piotr Roszatycki <dexter@cpan.org>

lib/Thrall/Server.pm  view on Meta::CPAN

                SERVER_NAME            => $self->{host} || '*',
                SCRIPT_NAME            => '',
                REMOTE_ADDR            => $peeraddr,
                REMOTE_PORT            => $peerport,
                'psgi.version'         => [1, 1],
                'psgi.errors'          => *STDERR,
                'psgi.url_scheme'      => $self->{ssl} ? 'https' : 'http',
                'psgi.run_once'        => Plack::Util::FALSE,
                'psgi.multithread'     => $self->{is_multithread},
                'psgi.multiprocess'    => $self->{is_multiprocess},
                'psgi.streaming'       => Plack::Util::TRUE,
                'psgi.nonblocking'     => Plack::Util::FALSE,
                'psgix.input.buffered' => Plack::Util::TRUE,
                'psgix.io'             => $conn,
                'psgix.harakiri'       => Plack::Util::TRUE,
            };

            my $may_keepalive = $req_count < $self->{max_keepalive_reqs};
            if ($may_keepalive && $max_reqs_per_child && $proc_req_count >= $max_reqs_per_child) {
                $may_keepalive = undef;
            }



( run in 0.599 second using v1.01-cache-2.11-cpan-4d50c553e7e )