Permalink
Commits on Jan 4, 2017
  1. Fix build breakage caused by r1717474 in perl < 5.13.6 (mg_free_type(…

    Steve Hay committed Jan 4, 2017
    …) was added in 5.13.6).
    
    Spotted by Rainer Jung <rainer.jung@kippdata.de>.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1777355 13f79535-47bb-0310-9956-ffa450edef68
  2. Since Apache 2.4.25, header injection fails with

    Steve Hay committed Jan 4, 2017
      protocol.c(957): (22)Invalid argument: [client 127.0.0.1:53182] Failed to read request header line X-Extra-Header2: Value 2
      protocol.c(1313): [client 127.0.0.1:53182] AH00567: request failed: error reading the headers
    
    making the server issue a 400 Bad request response and causing test
    failures.
    
    The problem is that the injected header lines only have a LF and no CR.
    
    RFC 7230, section 3.5 says:
    
      Although the line terminator for the start-line and header fields is
       the sequence CRLF, a recipient MAY recognize a single LF as a line
       terminator and ignore any preceding CR.
    
    Apache with strict enabled chooses not to implement the MAY. This may or
    may not be a good idea, but that is a  different question. In any case, 
    mod_perl's test should send a compliant HTTP request.
    
    Bug-Debian: https://bugs.debian.org/849082
    
    [Patch from Stefan Fritsch <sf@sfritsch.de>]
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1777320 13f79535-47bb-0310-9956-ffa450edef68
  3. HTTP/1.1 RFC 7230, section 2.6. "Protocol Versioning" says the HTTP name

    Steve Hay committed Jan 4, 2017
    is case sensitive. Starting with Apache 2.4.25, using lower case will
    make the server issue a 400 Bad request response, causing a test failure.
    
    https://tools.ietf.org/html/rfc7230#section-2.6
    
    Bug-Debian: https://bugs.debian.org/849082
    
    [Patch from Niko Tyni <ntyni@debian.org>]
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1777317 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 3, 2016
  1. Update RELEASE instructions to reflect what has been done for 2.0.9 a…

    Steve Hay committed Nov 3, 2016
    …nd 2.0.10
    
    (Download locations and project websites are both handled very differently now compared to the old notes that were in the RELEASE document.)
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1767940 13f79535-47bb-0310-9956-ffa450edef68
Commits on Oct 27, 2016
  1. Start 2.0.11-dev cycle

    Steve Hay committed Oct 27, 2016
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1766898 13f79535-47bb-0310-9956-ffa450edef68
  2. Release 2.0.10

    Steve Hay committed Oct 27, 2016
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1766873 13f79535-47bb-0310-9956-ffa450edef68
Commits on Oct 6, 2016
  1. Make mod_perl-2.0.10-rc2

    Steve Hay committed Oct 6, 2016
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1763585 13f79535-47bb-0310-9956-ffa450edef68
  2. Declare MP_vtbl_env and MP_vtbl_envelem as 'extern' to fix linker err…

    Steve Hay committed Oct 6, 2016
    …ors on OSX/Darwin
    
    Patch by Michael Schout <mschout@gkg.net>.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1763583 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 30, 2016
  1. Make mod_perl-2.0.10-rc1

    Steve Hay committed Sep 30, 2016
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1762907 13f79535-47bb-0310-9956-ffa450edef68
  2. Update README for 2.0.10

    Steve Hay committed Sep 30, 2016
    - Tested up to the latest Apache httpd 2.4.23
    - We now support Perl 5.22+
    - We have new env.t failures on Windows with default configuration Perls
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1762891 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 7, 2016
  1. Update Apache-Test external from 1.39 to 1.40

    Steve Hay committed Sep 7, 2016
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1759553 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 6, 2016
  1. Update Makefile.PL as per r1759432

    Steve Hay committed Sep 6, 2016
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1759467 13f79535-47bb-0310-9956-ffa450edef68
  2. Update RELEASE as per r1759430

    Steve Hay committed Sep 6, 2016
    Note: The latter part of this document still needs updating, which I will do in due course when making 2.0.10.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1759463 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 4, 2016
  1. Update Changes file with recent changes.

    Steve Hay committed Mar 4, 2016
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1733567 13f79535-47bb-0310-9956-ffa450edef68
  2. Automatic compiler flags for gcc 5 and clang

    Steve Hay committed Mar 4, 2016
    To make compilation easier on gcc5/clang hosts, this patch automatically selects the appropriate c89 option, when modperl is being built with either gcc 5 or clang.
    
    Tested by the author on Ubuntu 15.10 (with gcc 5.2.1), Fedora 23 (with gcc 5.3.1) and FreeBSD 10.2 (with clang).
    
    Thanks to Klaus S. Madsen <ksm@jobindex.dk> for the patch.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1733566 13f79535-47bb-0310-9956-ffa450edef68
  3. Fix printf tests for perl-5.22 without ithreads support

    Steve Hay committed Mar 4, 2016
    The comment in r1702395 is wrong. It's not because of the thread context that the number of arguments is wrong, it's because of the way WrapXS.pm handles functions with variable parameter length (i.e. ... functions).
    
    In the .xs code items is the number of elements in the MARK array. However when WrapXS.pm generates code for a ... function, it will increment MARK, so that it points to the second argument to the function. It will not, however decrement items, which means that items and MARK now are out of sync. We suspect that MARK is incremented to skip the object that the function is called on.
    
    This patch updates the comment and removes the ifdef around the decrementation of items, which solves the test failures for non-threaded perl 5.22.
    
    Thanks to Klaus S. Madsen <ksm@jobindex.dk> for the patch.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1733564 13f79535-47bb-0310-9956-ffa450edef68
  4. Fix compile errors since SVN revision 1717474 for unthreaded perl

    Steve Hay committed Mar 4, 2016
    Thanks to Klaus S. Madsen <ksm@jobindex.dk> for the patch.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1733563 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 1, 2015
  1. Add support for Perl 5.22.x.

    Steve Hay committed Dec 1, 2015
    As outlined by Leon Timmermans in [perl #123687]:
    
      lookup %ENV's magic, and then replace the pointer to PL_vtbl_env with
      a pointer to MP_vtbl_env. You may have to add some svt_copy magic to
      make it cast MP_vtbl_envelem instead of PL_vtbl_envelem on the elements.
    
    with an added svt_local for the 'local %ENV' tests.
    
    While at it, augment t/modperl/env.t to check that deleting %ENV elements really removes them from subprocess_env. This highlights the need for modifying their vtable, currently in the modperl_envelem_tie() macro.
    
    (MP_vtbl_envelem probably shouldn't be a global variable, but the modperl_envelem_tie() macro needs it, and the perl vtables are global too anyway. I've made MP_vtbl_env global too for symmetry.)
    
    Based on ++Niko Tyni's 0001-Steps-at-Perl-5.22-compatibility-take-3.patch in [rt.cpan.org #101962].
    
    Bug: https://rt.cpan.org/Public/Bug/Display.html?id=101962
    Bug: https://rt.perl.org/Ticket/Display.html?id=123687
    
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1717474 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 11, 2015
  1. Fix t/modperl/print.t, t/modperl/printf.t and t/directive/perlloadmod…

    Steve Hay committed Sep 11, 2015
    …ule3.t under perl-5.22.0
    
    I'm working on CPAN RT#101962: Support for perl-5.22.0. The new "Redundant argument in subroutine entry" warning for printf-type functions has revealed a problem in our printf override which causes these tests to fail. In threaded builds we wrongly included the thread context in the count of arguments being passed to perl's sprintf implementation, which then warned that more arguments were being passed than the format string required. With warnings being fatalized in all test scripts this caused a few test scripts to fail.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1702395 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 10, 2015
  1. Fix t/api/uri.t, t/apr/uri.t and t/apr-ext/uri.t under perl-5.22.0

    Steve Hay committed Sep 10, 2015
    I'm working on CPAN RT#101962: Support for perl-5.22.0. The new "Redundant argument in sprintf" warning has revealed a couple of problems in our test suite which causes these tests to fail.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1702195 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 18, 2015
  1. Start 2.0.10-dev cycle

    Steve Hay committed Jun 18, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1686333 13f79535-47bb-0310-9956-ffa450edef68
  2. Release 2.0.9

    Steve Hay committed Jun 18, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1686303 13f79535-47bb-0310-9956-ffa450edef68
  3. Add note to README about MP_INLINE problem when building with GCC 5.

    Steve Hay committed Jun 18, 2015
    Subject: Re: mod_perl2, MP_INLINE and gcc 5
    From: Niko Tyni <ntyni@debian.org>
    Date: Thu, 18 Jun 2015 11:08:40 +0300
    Message-ID: <20150618080840.GA28984@hagar.it.helsinki.fi>
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1686295 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 10, 2015
  1. Make mod_perl-2.0.9-rc3

    Steve Hay committed Jun 10, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1684717 13f79535-47bb-0310-9956-ffa450edef68
  2. Fix t/api/aplog.t for apr-1.5.2

    Steve Hay committed Jun 10, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1684703 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 4, 2015
  1. Note that Perl 5.22.x is currently not supported due to the problem i…

    Steve Hay committed Jun 4, 2015
    …n CPAN RT#101962
    
    We plan to fix this for 2.0.10 rather than hold up the long-awaited httpd-2.4.x support.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1683477 13f79535-47bb-0310-9956-ffa450edef68
  2. Restore unthreaded build following r1682366

    Steve Hay committed Jun 4, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1683472 13f79535-47bb-0310-9956-ffa450edef68
Commits on May 30, 2015
  1. Make mod_perl-2.0.9-rc2

    Steve Hay committed May 30, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1682638 13f79535-47bb-0310-9956-ffa450edef68
Commits on May 29, 2015
  1. t/modules/proxy.t no longer fails, following r1682369

    Steve Hay committed May 29, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1682389 13f79535-47bb-0310-9956-ffa450edef68
  2. Follow-up to r1682369 to restore the build on Windows

    Steve Hay committed May 29, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1682384 13f79535-47bb-0310-9956-ffa450edef68
  3. Remove PerlInterpScope directive as discussed on mailing list. PerlIn…

    Jan Kaluža committed May 29, 2015
    …terpScope
    
    did not work correctly with httpd-2.4.x threaded MPMs. For example when using
    'PerlInterpScope connection' and multiple requests are handled using the single
    connection, every request tries to fetch new interpreter. This leads to
    deadlock soon, because we can always have more requests than interpreters.
    
    There are more situations like the one described above and the fix is quite
    hard with the way how the usage of PerlInterpeters is designed currently.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1682369 13f79535-47bb-0310-9956-ffa450edef68
  4. Add MP_*_CROAK_*_PUTBACK macros to call modperl_croak and also putback

    Jan Kaluža committed May 29, 2015
    the interpreter if possible. Use them in modperl_filter related code.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1682366 13f79535-47bb-0310-9956-ffa450edef68
Commits on May 28, 2015
  1. In httpd-2.4, the Allow/Deny/Order directives are in mod_access_compa…

    Steve Hay committed May 28, 2015
    …t instead of mod_authz_host, and the Satisfy directive is now also in mod_access_compat instead of core. Also allow running test suite if httpd.conf of the Apache we're building against (which is used to configure t/conf/httpd.conf) doesn't load mod_access_compat.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1682286 13f79535-47bb-0310-9956-ffa450edef68
Commits on May 13, 2015
  1. Make mod_perl-2.0.9-rc1

    Steve Hay committed May 13, 2015
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1679267 13f79535-47bb-0310-9956-ffa450edef68
  2. Add a Changes entry for the biggest change in this version, which is …

    Steve Hay committed May 13, 2015
    …as-yet unmentioned in the Change file!
    
    If my reading of the SVN history is correct, this was started by Torsten, finished for *nix by Jan, largely fixed up for Windows by me, and with a few contributions from gozer. My apologies if I've missed anyone. If so then speak up during the RC phase to get your name in lights and receive fame, fortune and probably more spam.
    
    git-svn-id: https://svn.apache.org/repos/asf/perl/modperl/trunk@1679260 13f79535-47bb-0310-9956-ffa450edef68