Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 1, 2012
  1. Jesse Luehrs
Commits on Sep 30, 2012
  1. Tatsuhiko Miyagawa

    Merge pull request #324 from dex4er/remote_port

    miyagawa authored
    Set REMOTE_PORT environment variable
Commits on Sep 28, 2012
  1. Ævar Arnfjörð Bjarmason

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

    avar authored
    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. Ævar Arnfjörð Bjarmason

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

    avar authored
    …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 21, 2012
  1. Tatsuhiko Miyagawa
Commits on Sep 20, 2012
  1. Tatsuhiko Miyagawa

    Checking in changes prior to tagging of version 1.0004.

    miyagawa authored
    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. Tatsuhiko Miyagawa

    Implement psgix.harakiri. #329

    miyagawa authored
Commits on Sep 11, 2012
  1. Ævar Arnfjörð Bjarmason

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

    avar authored
    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. Piotr Roszatycki
Commits on Sep 3, 2012
  1. Dave Rolsky
  2. Dave Rolsky
Commits on Aug 29, 2012
  1. Tatsuhiko Miyagawa

    Checking in changes prior to tagging of version 1.0003.

    miyagawa authored
    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. Tatsuhiko Miyagawa
Commits on Aug 19, 2012
  1. Tatsuhiko Miyagawa
Commits on Aug 15, 2012
  1. Tatsuhiko Miyagawa

    rather use 3600

    miyagawa authored
  2. Piotr Roszatycki
Commits on Aug 14, 2012
  1. Tatsuhiko Miyagawa

    Checking in changes prior to tagging of version 1.0002.

    miyagawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 799d98c..d1144bf 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,18 @@
     Go to http://github.com/plack/Plack/issues for the roadmap and known issues.
    
    +1.0002  Mon Aug 13 17:04:25 PDT 2012
    +    [NEW FEATURES]
    +        - Added --no-default-middleware option to plackup #290
    +
    +    [BUG FIXES]
    +        - Use C locale for AccessLog strftime #313
    +        - Escape Plack::Request URI path using RFC 3986 definition (ssmccoy)
    +
    +    [IMPROVEMENTS]
    +        - Documentation improvements (ether, Tom Heady)
    +        - Skip displaying ".." in Plack::App::Directory #277
    +        - Document load_class() doesn't validate user input. #285
    +
     1.0001  Thu Jul 26 16:24:13 PDT 2012
         [INCOMPATIBLE CHANGES]
             - Deleted lots of code, methods and warnings that have been deprecated since 0.99
  2. Tatsuhiko Miyagawa
Commits on Aug 13, 2012
  1. Tatsuhiko Miyagawa

    cleanup

    miyagawa authored
  2. Tatsuhiko Miyagawa

    Merge pull request #315 from karenetheridge/topic/201208_docs

    miyagawa authored
    grammar, spelling, module links
  3. Tatsuhiko Miyagawa
  4. Tatsuhiko Miyagawa
  5. Tatsuhiko Miyagawa
  6. Tatsuhiko Miyagawa
  7. Tatsuhiko Miyagawa

    Merge pull request #312 from karenetheridge/rfm/httpexceptions_psgi_e…

    miyagawa authored
    …rrors
    
    Plack::Middleware::HTTPExceptions doc and test improvements
  8. Scott S. McCoy

    Path escaping regex supports RFC 3986 definition.

    ssmccoy authored
     * Updated the class of characters-to-not-escape passed to URI::Escape to
       support the proper definition as stipulated by RFC 3986 for URL Paths,
       namely::
    
        safe           = "$" | "-" | "_" | "." | "+"
        extra          = "!" | "*" | "'" | "(" | ")" | ","
    
        unreserved     = alpha | digit | safe | extra
        escape         = "%" hex hex
    
        uchar          = unreserved | escape
    
        hpath          = hsegment *[ "/" hsegment ]
        hsegment       = *[ uchar | ";" | ":" | "@" | "&" | "=" ]
    
     * Added unit test which verifies behavior by attempting to use path
       parameters.
Commits on Aug 12, 2012
  1. Tom Heady

    pod spelling: FGCI => FCGI

    tomheady authored
    Fixed misspelling of FGCI to FCGI is pod documentation.
Commits on Aug 11, 2012
  1. Karen Etheridge
Commits on Aug 6, 2012
  1. Tatsuhiko Miyagawa

    use C locale. Fixes #313

    miyagawa authored
Commits on Jul 26, 2012
  1. Tatsuhiko Miyagawa

    Checking in changes prior to tagging of version 1.0001.

    miyagawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 329269d..fa283d6 100644
    --- a/Changes
    +++ b/Changes
    @@ -1,5 +1,16 @@
     Go to http://github.com/plack/Plack/issues for the roadmap and known issues.
    
    +1.0001  Thu Jul 26 16:24:13 PDT 2012
    +    [INCOMPATIBLE CHANGES]
    +        - Deleted lots of code, methods and warnings that have been deprecated since 0.99
    +          (which should've been done in 1.0000 release)
    +
    +    [DEVELOPERS]
    +        - Added bootstrap script to install devel dependencies
    +
    +    [IMPROVEMENTS]
    +        - Fixed version numbers in some of the modules that have their own $VERSION
    +
     1.0000  Thu Jul 19 18:59:18 PDT 2012
             - This be 1.0! (Same as 0.9991)
  2. Tatsuhiko Miyagawa
  3. Tatsuhiko Miyagawa
  4. Tatsuhiko Miyagawa
  5. Tatsuhiko Miyagawa
  6. Tatsuhiko Miyagawa
Something went wrong with that request. Please try again.