Permalink
Switch branches/tags
Commits on Oct 16, 2012
  1. Documentation

    miyagawa committed Oct 16, 2012
  2. Stop load_psgi() from loading files from @INC if it's given a filenam…

    …e args.
    
    This might break users who installs `foo.psgi` into @INC directories
    and expect `plackup foo.psgi` to load them from there - it's been a
    mix of documented (loading class names like MyApp::PSGI) and
    undocumented feature anyways.
    miyagawa committed Oct 16, 2012
Commits on Oct 15, 2012
  1. Merge pull request #339 from plack/streaming-errordocument

    fix errordocument for streaming responses in subrequests
    miyagawa committed Oct 15, 2012
Commits on Oct 11, 2012
Commits on Oct 9, 2012
  1. Checking in changes prior to tagging of version 1.0005.

    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index acbb0ef..f7ced00 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,16 @@
     Go to http://github.com/plack/Plack/issues for the roadmap and known issues.
    
    +1.0005  Tue Oct  9 13:33:47 PDT 2012
    +    [NEW FEATURES]
    +        - Support psgix.cleanup handlers in Apache2 (avar)
    +        - Added REMOTE_PORT environment variable to HTTP::Server::PSGI (dex4er)
    +
    +    [IMPROVEMENTS]
    +        - Documentation fix for multiple cookie values (miyagawa)
    +        - Delete MOD_PERL environment variable for better compatibilities (avar)
    +        - Split out Plack::TempBuffer as a standalone Stream::Buffered module (doy)
    +        - Bump Test::TCP dep
    +
     1.0004  Thu Sep 20 08:36:11 JST 2012
         [NEW FEATURES]
             - Added psgix.harakiri support in HTTP::Server::PSGI
    miyagawa committed Oct 9, 2012
Commits on Oct 5, 2012
  1. Merge pull request #335 from plack/stream-buffered

    remove Plack::TempBuffer in favor of Stream::Buffered
    miyagawa committed Oct 5, 2012
Commits on Oct 4, 2012
  1. make it 1.02. Fix #336

    miyagawa committed Oct 4, 2012
Commits on Oct 3, 2012
  1. bump Test::TCP dep. Fix #336

    miyagawa committed Oct 3, 2012
Commits on Oct 1, 2012
Commits on Sep 30, 2012
  1. Merge pull request #324 from dex4er/remote_port

    Set REMOTE_PORT environment variable
    miyagawa committed Sep 30, 2012
  2. Merge pull request #334 from avar/add-support-for-psgix_cleanup-to-ap…

    …ache2-handler
    
    Plack::Handler::Apache2: implement support for cleanup handlers
    miyagawa committed Sep 30, 2012
Commits on Sep 28, 2012
  1. Plack::Handler::Apache2: implement support for cleanup handlers

    Change Plack::Handler::Apache2 to Implement support for the PSGI
    environment cleanup handlers proposal specified at
    https://github.com/plack/psgi-specs/wiki/Proposal:-PSGI-environment-cleanup-handlers. Being
    able to emulate Apache-like behavior was the original reason for the
    proposal, so it's fitting that we should have support for this in our
    Apache compatibility layer.
    
    The same patch should work pretty much as-is for Apache1 as well, but
    I don't have access to an Apache1 server anymore so I've just
    implemented it for Apache2.
    
    Note that we check psgix.harakiri.commit after the cleanup handlers
    have run in case one of the cleanup handlers sets that flag, if we
    don't have any cleanup handlers we ask the server to child_terminate()
    without setting up a PerlCleanupHandler.
    
    This is perhaps a needles premature optimization (we could just get
    rid of that if() entirely and always do "push_handlers"), but it
    seemed to be superfluous to always set up a PerlCleanupHandler even
    when we don't need any asynchronous cleanup, but only child
    termination.
    
    This patch is best viewed with "git show -w", I re-indented the
    key/values in the $env assignment to fit the current coding style of
    that file, but I didn't change any of the existing keys there. I only
    added psgix.cleanup and psgix.cleanup.handlers.
    avar committed Sep 28, 2012
Commits on Sep 27, 2012
  1. Merge pull request #333 from avar/delete-MOD_PERL-instead-of-setting-…

    …it-to-undef
    
    Plack::Handler::Apache[12]: delete $ENV{MOD_PERL}, don't just localize i...
    miyagawa committed Sep 27, 2012
  2. Plack::Handler::Apache[12]: delete $ENV{MOD_PERL}, don't just localiz…

    …e it
    
    Some software such as CGI::Cookie does "exists $ENV{MOD_PERL}" to
    check if it's running under mod_perl instead of just checking whether
    $ENV{MOD_PERL} is true.
    
    So that code that does this doesn't assume it's running under Apache
    locally delete $ENV{MOD_PERL} instead of just setting its value to
    undef.
    
    Note that we're not doing "delete local $ENV{MOD_PERL}" because that
    construct was introduced in 5.12, also note why we're doing it this
    way in the code
    http://perldoc.perl.org/5.12.0/perldelta.html#delete-local
    
    So before we'd have:
    
        $ perl -MData::Dumper -wle 'our %hash = qw(MOD_PERL yes foo bar); { local $hash{MOD_PERL}; print Dumper \%hash; } print Dumper \%hash'
        $VAR1 = {
                  'foo' => 'bar',
                  'MOD_PERL' => undef
                };
        $VAR1 = {
                  'foo' => 'bar',
                  'MOD_PERL' => 'yes'
                };
    
    And now we have:
    
        $ perl -MData::Dumper -wle 'our %hash = qw(MOD_PERL yes foo bar); { local $hash{MOD_PERL}; delete $hash{MOD_PERL}; print Dumper \%hash; } print Dumper \%hash'
        $VAR1 = {
                  'foo' => 'bar'
                };
        $VAR1 = {
                  'foo' => 'bar',
                  'MOD_PERL' => 'yes'
                };
    avar committed Sep 27, 2012
Commits on Sep 22, 2012
  1. typo

    miyagawa committed Sep 22, 2012
Commits on Sep 21, 2012
  1. Merge pull request #331 from avar/t-plack-request-cookie-docs

    t/Plack-Request/cookie.t: add documentation to some of the trickier test...
    miyagawa committed Sep 21, 2012
  2. t/Plack-Request/cookie.t: add documentation to some of the trickier t…

    …ests
    
    Change the t/Plack-Request/cookie.t tests to use three-arg is() for
    the undef tests and the multi-cookie test.
    avar committed Sep 21, 2012
Commits on Sep 20, 2012
  1. rename files

    miyagawa committed Sep 20, 2012
  2. Checking in changes prior to tagging of version 1.0004.

    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 3509cf7..acbb0ef 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,13 @@
     Go to http://github.com/plack/Plack/issues for the roadmap and known issues.
    
    +1.0004  Thu Sep 20 08:36:11 JST 2012
    +    [NEW FEATURES]
    +        - Added psgix.harakiri support in HTTP::Server::PSGI
    +
    +    [IMPROVEMENTS]
    +        - Preload TempBuffer modules (avar)
    +        - Documentation fixes (autarch)
    +
     1.0003  Wed Aug 29 13:44:53 PDT 2012
         [BUG FIXES]
             - Fix Basic authentication error in case password contains a colon #319
    miyagawa committed Sep 20, 2012
Commits on Sep 19, 2012
  1. Merge pull request #330 from chromatic/patch-1

    Update scripts/plackup
    miyagawa committed Sep 19, 2012
  2. Update scripts/plackup

    Minor typo fixes.
    chromatic committed Sep 19, 2012
  3. Implement psgix.harakiri. #329

    miyagawa committed Sep 19, 2012
Commits on Sep 11, 2012
  1. Merge pull request #328 from avar/pre-load-tempbuffer-modules

    Plack::TempBuffer: pre-load Plack::TempBuffer::* modules
    miyagawa committed Sep 11, 2012
  2. Plack::TempBuffer: pre-load Plack::TempBuffer::* modules

    Change the Plack::TempBuffer module so that we pre-load the ::PerlIO,
    ::File and ::Auto modules. These modules are really small, and by
    use-ing them here we'll have them pre-loaded in pre-forking
    webservers.
    avar committed Sep 11, 2012
Commits on Sep 4, 2012
Commits on Sep 3, 2012
  1. Merge pull request #323 from autarch/autarch/doc-tweaks

    Doc tweaks
    miyagawa committed Sep 3, 2012