Skip to content
Commits on Oct 9, 2012
  1. @miyagawa

    Checking in changes prior to tagging of version 1.0005.

    miyagawa committed Oct 9, 2012
    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
Commits on Oct 5, 2012
  1. @miyagawa

    Merge pull request #335 from plack/stream-buffered

    miyagawa committed Oct 5, 2012
    remove Plack::TempBuffer in favor of Stream::Buffered
Commits on Oct 4, 2012
  1. @miyagawa

    make it 1.02. Fix #336

    miyagawa committed Oct 3, 2012
Commits on Oct 3, 2012
  1. @miyagawa

    bump Test::TCP dep. Fix #336

    miyagawa committed Oct 3, 2012
Commits on Oct 1, 2012
  1. @doy
Commits on Sep 30, 2012
  1. @miyagawa
  2. @miyagawa

    Merge pull request #324 from dex4er/remote_port

    miyagawa committed Sep 29, 2012
    Set REMOTE_PORT environment variable
  3. @miyagawa
  4. @miyagawa

    Merge pull request #334 from avar/add-support-for-psgix_cleanup-to-ap…

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

    Plack::Handler::Apache2: implement support for cleanup handlers

    avar committed Sep 28, 2012
    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.
Commits on Sep 27, 2012
  1. @miyagawa
  2. @miyagawa

    Merge pull request #333 from avar/delete-MOD_PERL-instead-of-setting-…

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

    Plack::Handler::Apache[12]: delete $ENV{MOD_PERL}, don't just localiz…

    avar committed Sep 27, 2012
    …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'
                };
Commits on Sep 22, 2012
  1. @miyagawa

    typo

    miyagawa committed Sep 22, 2012
Commits on Sep 21, 2012
  1. @miyagawa

    Merge pull request #331 from avar/t-plack-request-cookie-docs

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

    t/Plack-Request/cookie.t: add documentation to some of the trickier t…

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

    rename files

    miyagawa committed Sep 20, 2012
  3. @miyagawa
  4. @miyagawa

    Checking in changes prior to tagging of version 1.0004.

    miyagawa committed Sep 20, 2012
    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
Commits on Sep 19, 2012
  1. @miyagawa

    Merge pull request #330 from chromatic/patch-1

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

    Update scripts/plackup

    chromatic committed Sep 19, 2012
    Minor typo fixes.
  3. @miyagawa

    Implement psgix.harakiri. #329

    miyagawa committed Sep 19, 2012
Commits on Sep 11, 2012
  1. @miyagawa

    Merge pull request #328 from avar/pre-load-tempbuffer-modules

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

    Plack::TempBuffer: pre-load Plack::TempBuffer::* modules

    avar committed Sep 11, 2012
    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.
Commits on Sep 4, 2012
  1. @dex4er
Commits on Sep 3, 2012
  1. @miyagawa

    Merge pull request #323 from autarch/autarch/doc-tweaks

    miyagawa committed Sep 3, 2012
    Doc tweaks
  2. @autarch
  3. @autarch
Commits on Aug 29, 2012
  1. @miyagawa

    Checking in changes prior to tagging of version 1.0003.

    miyagawa committed Aug 29, 2012
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index d1144bf..3509cf7 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,11 @@
     Go to http://github.com/plack/Plack/issues for the roadmap and known issues.
    
    +1.0003  Wed Aug 29 13:44:53 PDT 2012
    +    [BUG FIXES]
    +        - Fix Basic authentication error in case password contains a colon #319
    +        - Fix AccessLog middleware in platforms where %z strftime is not supported #318
    +        - Escape $_ in Plack::Request path method due to a possible URI::Escape bug
    +
     1.0002  Mon Aug 13 17:04:25 PDT 2012
         [NEW FEATURES]
             - Added --no-default-middleware option to plackup #290
  2. @miyagawa
Commits on Aug 19, 2012
  1. @miyagawa
Commits on Aug 15, 2012
  1. @miyagawa

    rather use 3600

    miyagawa committed Aug 15, 2012
  2. @miyagawa

    Merge pull request #318 from dex4er/fix_tz_offset

    miyagawa committed Aug 15, 2012
    Correct timezone on systems where strftime doesn't support %z
Something went wrong with that request. Please try again.