Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 3, 2010
  1. @miyagawa

    Checking in changes prior to tagging of version 0.9953.

    miyagawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index c9773d3..c67bf27 100644
    --- a/Changes
    +++ b/Changes
    @@ -2,6 +2,11 @@ Revision history for Perl extension Plack
    
     Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.
    
    +0.9953  Fri Dec  3 14:50:09 PST 2010
    +        - Include the original error message in the StackTrace text output on console.
    +          This requires Devel::StackTrace 1.23 and Devel::StackTrace::WithLexicals 0.08 (optional)
    +        - Fixed AccessLog middleware to handle multiple dashes in %{} (Jiro)
    +
     0.9952  Thu Dec  2 14:03:48 PST 2010
             - Fixed the potential deadlocks in WrapCGI's read/write pipe (typester)
             - Improved documentations on plackup -e
  2. @spiritloose @miyagawa

    fix AccessLog to handle multiple dashes in %{...}i

    spiritloose authored miyagawa committed
  3. @miyagawa
  4. @miyagawa

    Include original error message in the text version of StackTrace

    miyagawa authored
    Also passes indent => 1 so we don't need the janky trace_as_string().
    Note that this code does not seem to work with Devel::StackTrace::WithLexicals
    as of this writing because it ignores 'message' and 'indent' :(
    
    Going to patch it.
Commits on Dec 2, 2010
  1. @miyagawa

    Checking in changes prior to tagging of version 0.9952.

    miyagawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index 77ab5e7..c9773d3 100644
    --- a/Changes
    +++ b/Changes
    @@ -2,6 +2,12 @@ Revision history for Perl extension Plack
    
     Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.
    
    +0.9952  Thu Dec  2 14:03:48 PST 2010
    +        - Fixed the potential deadlocks in WrapCGI's read/write pipe (typester)
    +        - Improved documentations on plackup -e
    +        - Fixed a potential DoS vulnerability in HTTP::Server::PSGI (kazuho)
    +        - Allows setting names of FCGI process with proc_title option (rafl)
    +
     0.9951  Mon Oct 25 13:50:33 PDT 2010
             - Added Feersum to the benchmark script (stash)
             - Lint: fixed the body handle check to see if the file has getline() method (tokuhirom)
  2. @miyagawa

    Revert StackTrace improvements.

    miyagawa authored
    This series of patches just seems like a workaround and doesn't look
    ideal to me. We could discuss more to merge more appropriate fix to
    the fundamental problem.
  3. @rafl @miyagawa

    Allow setting names for FCGI::Manager's processes

    rafl authored miyagawa committed
Commits on Nov 29, 2010
  1. @miyagawa
Commits on Nov 24, 2010
  1. @miyagawa
Commits on Nov 14, 2010
  1. @typester
Commits on Nov 7, 2010
  1. @miyagawa
Commits on Nov 2, 2010
  1. @miyagawa

    s/require/use/

    miyagawa authored
  2. @miyagawa
  3. @theory
  4. @theory

    Look for `stack_trace`, too.

    theory authored
    This is to support StackTrace::Auto, which is used by Throwable::X and pernaps other exception classes.
Commits on Nov 1, 2010
  1. @theory

    Improve text representation of stack trace.

    theory authored
    There were a few issues when the original exception was an Exception::Class
    object:
    
    * Ghe text representation was not showing the original error message.
      Devel::StackTrace::AsHTML nicely adds the original exception text to the
      beginning of the HTML, but the text version did not. Instead the trace just
      showed the Exception::Class object getting passed around.
    
    * The stack trace was not the original stack trace, but a new one.
    
    So change the exception handler to see if the exception object is blessed and
    has a `trace` method. If so, use that for the trace. This assumes any
    exception object with a `trace` method returns a Devel::StackTrace object,
    which I think is likely.
    
    Then, change the way the message is displayed to add the original error
    message, as AsHTML does, and to use Devel::StackTrace's `as_string()` method
    rather than our own function that does the same thing.
Commits on Oct 25, 2010
  1. @miyagawa

    Checking in changes prior to tagging of version 0.9951.

    miyagawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index e595c95..77ab5e7 100644
    --- a/Changes
    +++ b/Changes
    @@ -2,6 +2,14 @@ Revision history for Perl extension Plack
    
     Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.
    
    +0.9951  Mon Oct 25 13:50:33 PDT 2010
    +        - Added Feersum to the benchmark script (stash)
    +        - Lint: fixed the body handle check to see if the file has getline() method (tokuhirom)
    +        - StackTrace: store the stacktrace in $env->{'plack.stacktrace.text'} and $env->{'plack.stacktrace.html'} (theory)
    +        - Added ->mount method to the Plack::Builder OO interface (franckcuny)
    +        - HTTPExceptions: Don't set an invalid Content-Length when the exception is not an object (ask)
    +        - ErrorDocument: Fixed wrong Content-Length header be set (ask)
    +
     0.9950  Thu Sep 30 14:11:33 PDT 2010
             - Fixed typos in middleware docs (miyagawa, theory, tokuhirom)
             - App::Directory: fixed URL generation escape bug (chiba)
  2. @miyagawa

    Fixed UUV warnings

    miyagawa authored
  3. @miyagawa

    Storing StackTrace object in $env causes a circular reference.

    miyagawa authored
    The "real" fix for this would be to have an option or method to walk
    over StackTrace frame and weaken() all args and lexicals (in case of
    WithLexicals) so that the trace object can be safely stored in $env,
    but for now, storing text version of the trace and HTML version would
    be enough.
  4. @abh @miyagawa

    Clarify ErrorDocument subrequest convention

    abh authored miyagawa committed
  5. @abh @miyagawa

    Remove a previously set Content-Length header when replacing the cont…

    abh authored miyagawa committed
    …ent with a static ErrorDocument
  6. @abh @miyagawa

    HTTPExceptions: Don't set an invalid Content-Length header if the exc…

    abh authored miyagawa committed
    …eption wasn't an exception object
  7. @franckcuny @miyagawa

    add OO interface to mount in Plack::Builder

    franckcuny authored miyagawa committed
    * It's now possible to use ->mount on Plack::Builder.
    * Add some examples in SYNOPSIS on how to use the OO interface.
    * Added some tests
  8. @miyagawa
Commits on Oct 24, 2010
  1. @theory
Commits on Oct 22, 2010
  1. @theory
Commits on Oct 19, 2010
  1. @tokuhirom
Commits on Oct 13, 2010
  1. @miyagawa

    fix docs

    miyagawa authored
Commits on Oct 2, 2010
  1. @miyagawa

    Fix FastCGIDispatcher doc

    miyagawa authored
Commits on Oct 1, 2010
  1. @miyagawa

    added -q

    miyagawa authored
  2. @miyagawa

    Added Feersum

    miyagawa authored
Commits on Sep 30, 2010
  1. @miyagawa

    Checking in changes prior to tagging of version 0.9950.

    miyagawa authored
    Changelog diff is:
    
    diff --git a/Changes b/Changes
    index e0a5d43..e595c95 100644
    --- a/Changes
    +++ b/Changes
    @@ -2,6 +2,11 @@ Revision history for Perl extension Plack
    
     Take a look at http://github.com/miyagawa/Plack/issues for the planned changes before 1.0 release.
    
    +0.9950  Thu Sep 30 14:11:33 PDT 2010
    +        - Fixed typos in middleware docs (miyagawa, theory, tokuhirom)
    +        - App::Directory: fixed URL generation escape bug (chiba)
    +        - Middleware::JSONP: support callback parameter name (franck)
    +
     0.9949  Tue Sep 14 11:59:36 PDT 2010
             - Fixed FCGI handler docs
             - Auth::Basic: PAss $env to the callback so .htpasswd based auth can be implemented with PATH_INFO (doy)
Commits on Sep 29, 2010
  1. @franckcuny
  2. @franckcuny
Commits on Sep 20, 2010
  1. @miyagawa

    rename tests

    miyagawa authored
Something went wrong with that request. Please try again.