svn commit: r1682366 - in /perl/modperl/trunk/src/modules/perl: modperl_error.h modperl_filter.c

2015-05-28 Thread jkaluza
Author: jkaluza Date: Fri May 29 05:01:01 2015 New Revision: 1682366 URL: http://svn.apache.org/r1682366 Log: Add MP_*_CROAK_*_PUTBACK macros to call modperl_croak and also putback the interpreter if possible. Use them in modperl_filter related code. Modified: perl/modperl/trunk/src/modules

svn commit: r1682369 - in /perl/modperl/trunk: ./ src/modules/perl/ t/response/TestDirective/ t/response/TestModperl/ t/response/TestPerl/

2015-05-28 Thread jkaluza
Author: jkaluza Date: Fri May 29 05:41:18 2015 New Revision: 1682369 URL: http://svn.apache.org/r1682369 Log: Remove PerlInterpScope directive as discussed on mailing list. PerlInterpScope did not work correctly with httpd-2.4.x threaded MPMs. For example when using 'PerlInterpScope connection

svn commit: r1676417 - /perl/modperl/trunk/src/modules/perl/modperl_interp.c

2015-04-28 Thread jkaluza
Author: jkaluza Date: Tue Apr 28 06:51:12 2015 New Revision: 1676417 URL: http://svn.apache.org/r1676417 Log: Initialize interp-refcnt to 1 in modperl_interp_select. Reasoning: 1. All calls of MP_INTERPa do not increment interp-refcnt, so refcnt used to be 0 before this commit

svn commit: r1618150 - /perl/modperl/trunk/ModPerl-Registry/t/conf/extra.conf.in

2014-08-15 Thread jkaluza
Author: jkaluza Date: Fri Aug 15 11:07:14 2014 New Revision: 1618150 URL: http://svn.apache.org/r1618150 Log: * ModPerl-Registry/t/conf/extra.conf.in: Use RewriteLog only in httpd 2.4.0. Modified: perl/modperl/trunk/ModPerl-Registry/t/conf/extra.conf.in Modified: perl/modperl/trunk/ModPerl

svn commit: r1593957 - in /perl/modperl/branches/httpd24threading/src/modules/perl: modperl_interp.h modperl_util.c

2014-05-12 Thread jkaluza
Author: jkaluza Date: Mon May 12 13:05:08 2014 New Revision: 1593957 URL: http://svn.apache.org/r1593957 Log: Fix compilation with MP_NO_THREADS=1 by using MP_HAS_INTERP in conditions checking for interp. Modified: perl/modperl/branches/httpd24threading/src/modules/perl/modperl_interp.h

svn commit: r1590627 - in /perl/modperl/branches/httpd24threading: Makefile.PL lib/ModPerl/BuildOptions.pm

2014-04-28 Thread jkaluza
Author: jkaluza Date: Mon Apr 28 13:17:53 2014 New Revision: 1590627 URL: http://svn.apache.org/r1590627 Log: Require threaded Perl when compilling with httpd = 2.4.0. Remove unused option MP_NONTHREADED_OK and replace it with MP_NO_THREADS. This is follow up of r1151822. Modified: perl

svn commit: r1562772 - /perl/modperl/branches/httpd24threading/src/modules/perl/modperl_interp.c

2014-01-30 Thread jkaluza
Author: jkaluza Date: Thu Jan 30 10:47:58 2014 New Revision: 1562772 URL: http://svn.apache.org/r1562772 Log: Mark interpreter as free when the refcnt decrements to 0. This fixes freezing tests with event MPM (and concurrent requests with event MPM). Modified: perl/modperl/branches

svn commit: r1508317 - /perl/modperl/branches/httpd24/

2013-07-30 Thread jkaluza
Author: jkaluza Date: Tue Jul 30 06:35:07 2013 New Revision: 1508317 URL: http://svn.apache.org/r1508317 Log: Use Apache-Test revision 1504090 Modified: perl/modperl/branches/httpd24/ (props changed) Propchange: perl/modperl/branches/httpd24

svn commit: r1504060 - in /perl/modperl/branches/httpd24/t/api: access2.t access2_24.t

2013-07-17 Thread jkaluza
Author: jkaluza Date: Wed Jul 17 09:03:37 2013 New Revision: 1504060 URL: http://svn.apache.org/r1504060 Log: Skip access2.t/access2_24.t in case we build with httpd-2.4/httpd-2.2 Modified: perl/modperl/branches/httpd24/t/api/access2.t perl/modperl/branches/httpd24/t/api/access2_24.t

svn commit: r1498355 - in /perl/modperl/branches/httpd24/xs: Apache2/ServerRec/ maps/ tables/current24/Apache2/ tables/current24/ModPerl/

2013-07-01 Thread jkaluza
Author: jkaluza Date: Mon Jul 1 10:40:28 2013 New Revision: 1498355 URL: http://svn.apache.org/r1498355 Log: Wrap server_rec::is_virtual as int (not as char) Modified: perl/modperl/branches/httpd24/xs/Apache2/ServerRec/Apache2__ServerRec.h perl/modperl/branches/httpd24/xs/maps

svn commit: r1497221 - in /perl/modperl/branches/httpd24: Makefile.PL lib/Apache2/ParseSource.pm lib/ModPerl/MapUtil.pm

2013-06-27 Thread jkaluza
Author: jkaluza Date: Thu Jun 27 06:39:28 2013 New Revision: 1497221 URL: http://svn.apache.org/r1497221 Log: Save results of xs_generate to xs/tables/current24 when buildign with httpd-2.4. This allows having generated xs wrapping for both httpd-2.4 and httpd-2.2 versions. Modified: perl

svn commit: r1497222 [1/7] - in /perl/modperl/branches/httpd24/xs/tables: current/Apache2/ current/ModPerl/ current24/ current24/APR/ current24/Apache2/ current24/ModPerl/

2013-06-27 Thread jkaluza
Author: jkaluza Date: Thu Jun 27 06:41:26 2013 New Revision: 1497222 URL: http://svn.apache.org/r1497222 Log: Move xs/tables generated with httpd-2.4 into current24 directory and revert old current directory to xs/tables generated with httpd-2.2. Added: perl/modperl/branches/httpd24/xs

svn commit: r1497226 - /perl/modperl/branches/httpd24/xs/Apache2/ServerUtil/Apache2__ServerUtil.h

2013-06-27 Thread jkaluza
Author: jkaluza Date: Thu Jun 27 07:03:04 2013 New Revision: 1497226 URL: http://svn.apache.org/r1497226 Log: Port server_rec::loglevel to perl only when compiling with httpd-2.4 Modified: perl/modperl/branches/httpd24/xs/Apache2/ServerUtil/Apache2__ServerUtil.h Modified: perl/modperl

svn commit: r1495982 - /perl/modperl/branches/httpd24/src/modules/perl/modperl_cmd.c

2013-06-24 Thread jkaluza
Author: jkaluza Date: Mon Jun 24 10:29:02 2013 New Revision: 1495982 URL: http://svn.apache.org/r1495982 Log: Make sure authn and authz providers are cleaned up in time The authn and authz providers need to be registered in the configuration pool rather than the server process pool. The latter

svn commit: r1496004 - in /perl/modperl/branches/httpd24: ./ ModPerl-Registry/lib/ModPerl/ ModPerl-Registry/t/ ModPerl-Registry/t/cgi-bin/ lib/ lib/Apache2/ src/modules/perl/ t/modperl/ t/perl/ t/resp

2013-06-24 Thread jkaluza
Author: jkaluza Date: Mon Jun 24 12:26:43 2013 New Revision: 1496004 URL: http://svn.apache.org/r1496004 Log: Merged revisions 1451907,1455340,1456372,1457512,1457617-1457619,1458176,1460976,1469131,1469135,1469140,1470641,1477980,1477995,1491887 via svnmerge from https://svn.apache.org/repos

svn commit: r1449661 - /perl/modperl/branches/httpd24/lib/Apache2/Build.pm

2013-02-25 Thread jkaluza
Author: jkaluza Date: Mon Feb 25 11:26:20 2013 New Revision: 1449661 URL: http://svn.apache.org/r1449661 Log: * lib/Apache2/Build.pm: do not build with LFS Modified: perl/modperl/branches/httpd24/lib/Apache2/Build.pm Modified: perl/modperl/branches/httpd24/lib/Apache2/Build.pm URL: http

svn commit: r1448033 - /perl/modperl/branches/httpd24/t/response/TestAPI/aplog.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 08:24:25 2013 New Revision: 1448033 URL: http://svn.apache.org/r1448033 Log: * t/response/TestAPI/aplog.pm: adjust test to new error log format Submitted by: sf Modified: perl/modperl/branches/httpd24/t/response/TestAPI/aplog.pm Modified: perl/modperl

svn commit: r1448037 - /perl/modperl/branches/httpd24/xs/maps/modperl_types.map

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 08:33:27 2013 New Revision: 1448037 URL: http://svn.apache.org/r1448037 Log: * xs/maps/modperl_types.map: Add U16 type to make 'make xs_generate' happy Submitted by: sf Modified: perl/modperl/branches/httpd24/xs/maps/modperl_types.map Modified: perl/modperl

svn commit: r1448039 - in /perl/modperl/branches/httpd24/lib: Apache2/ParseSource.pm ModPerl/CScan.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 08:43:49 2013 New Revision: 1448039 URL: http://svn.apache.org/r1448039 Log: * lib/ModPerl/CScan.pm: Parse inline C functions in CScan * lib/Apache2/ParseSource.pm: Return also inline functions in get_functions() Modified: perl/modperl/branches/httpd24/lib

svn commit: r1448043 - /perl/modperl/branches/httpd24/xs/APR/APR/Makefile.PL

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 09:04:57 2013 New Revision: 1448043 URL: http://svn.apache.org/r1448043 Log: * xs/APR/APR/Makefile.PL: Link against aprutil-1. This is workaround for Apache2:Build issue. Modified: perl/modperl/branches/httpd24/xs/APR/APR/Makefile.PL Modified: perl

svn commit: r1448045 - /perl/modperl/branches/httpd24/xs/APR/Socket/APR__Socket.h

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 09:07:51 2013 New Revision: 1448045 URL: http://svn.apache.org/r1448045 Log: * xs/APR/Socket/APR__Socket.h: Rename 'sock' to 'socket' to fix compilation Modified: perl/modperl/branches/httpd24/xs/APR/Socket/APR__Socket.h Modified: perl/modperl/branches

svn commit: r1448051 - /perl/modperl/branches/httpd24/lib/Apache2/ParseSource.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 09:14:30 2013 New Revision: 1448051 URL: http://svn.apache.org/r1448051 Log: * lib/Apache2/ParseSource.pm: Do not CScan expat and byteswap headers, CScan cannot parse them Modified: perl/modperl/branches/httpd24/lib/Apache2/ParseSource.pm Modified: perl

svn commit: r1448060 - in /perl/modperl/branches/httpd24/xs: Apache2/ServerUtil/Apache2__ServerUtil.h maps/apache2_functions.map

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 09:46:03 2013 New Revision: 1448060 URL: http://svn.apache.org/r1448060 Log: * xs/maps/apache2_functions.map: Add function for ServerRec::loglevel * xs/Apache2/ServerUtil/Apache2__ServerUtil.h: port ServerRec::loglevel to httpd-2.4 Modified: perl/modperl

svn commit: r1448098 - in /perl/modperl/branches/httpd24: lib/Apache2/ lib/ModPerl/ src/modules/perl/ xs/Apache2/RequestUtil/ xs/maps/

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 11:40:50 2013 New Revision: 1448098 URL: http://svn.apache.org/r1448098 Log: Add new authz/authn API defined in httpd-2.4. It adds new directives PerlAddAuthzProvider/PerlAddAuthnProvider to register providers and RequestUtil::register_auth_provider method

svn commit: r1448100 - /perl/modperl/branches/httpd24/t/response/TestAPI/access2.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 11:43:14 2013 New Revision: 1448100 URL: http://svn.apache.org/r1448100 Log: * t/response/TestAPI/access2.pm: Port the test to new authz/authn API introduced in httpd-2.4 Modified: perl/modperl/branches/httpd24/t/response/TestAPI/access2.pm Modified: perl

svn commit: r1448104 - /perl/modperl/branches/httpd24/xs/Apache2/Access/Apache2__Access.h

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 11:51:01 2013 New Revision: 1448104 URL: http://svn.apache.org/r1448104 Log: * xs/Apache2/Access/Apache2__Access.h: return 'none' if RequestRec::auth_type is not set to stay compatible with older mod_perl. Modified: perl/modperl/branches/httpd24/xs/Apache2

svn commit: r1448107 - /perl/modperl/branches/httpd24/t/response/TestAPI/add_config.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 11:54:06 2013 New Revision: 1448107 URL: http://svn.apache.org/r1448107 Log: * t/response/TestAPI/add_config.pm: AllowOverride can be used only in .htaccess, so disable it in add_config test Modified: perl/modperl/branches/httpd24/t/response/TestAPI

svn commit: r1448202 - /perl/modperl/branches/httpd24/lib/Apache2/compat.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 14:53:10 2013 New Revision: 1448202 URL: http://svn.apache.org/r1448202 Log: * lib/Apache2/compat.pm: Use client_ip/client_addr instead of remote_ip/remote_addr Modified: perl/modperl/branches/httpd24/lib/Apache2/compat.pm Modified: perl/modperl/branches

svn commit: r1448205 - /perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_basic.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 15:01:00 2013 New Revision: 1448205 URL: http://svn.apache.org/r1448205 Log: * t/hooks/TestHooks/authen_basic.pm: Do not check for ap_requires, it is not needed in httpd-2.4, because authz provider checks for the valid-user. Modified: perl/modperl/branches

svn commit: r1448206 - /perl/modperl/branches/httpd24/t/hooks/TestHooks/authen_digest.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 15:02:11 2013 New Revision: 1448206 URL: http://svn.apache.org/r1448206 Log: * t/hooks/TestHooks/authen_digest.pm: Set $r-user and $r-ap_auth_type, otherwise httpd-2.4 thinks that authentication was not done. Modified: perl/modperl/branches/httpd24/t/hooks

svn commit: r1448209 - /perl/modperl/branches/httpd24/t/hooks/TestHooks/authz.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 15:04:04 2013 New Revision: 1448209 URL: http://svn.apache.org/r1448209 Log: * t/hooks/TestHooks/authz.pm: Hardcode dougm username, because we don't have access to ap_requires in httpd-2.4. Another way could be to create new auth provider, but that's already

svn commit: r1448212 - /perl/modperl/branches/httpd24/t/preconnection/TestPreConnection/note.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 15:14:40 2013 New Revision: 1448212 URL: http://svn.apache.org/r1448212 Log: * t/preconnection/TestPreConnection/note.pm: Use client_ip/client_addr instead of remote_ip/remote_addr Modified: perl/modperl/branches/httpd24/t/preconnection/TestPreConnection

svn commit: r1448228 - /perl/modperl/branches/httpd24/t/hooks/TestHooks/stacked_handlers2.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 15:28:31 2013 New Revision: 1448228 URL: http://svn.apache.org/r1448228 Log: * t/hooks/TestHooks/stacked_handlers2.pm: handler for PerlAuthenHandler has to set $r-user and $r-ap_auth_type, otherwise httpd will think that authentication was not done. Modified

svn commit: r1448242 [1/4] - in /perl/modperl/branches/httpd24/xs/tables/current: Apache2/ConstantsTable.pm Apache2/FunctionTable.pm Apache2/StructureTable.pm ModPerl/FunctionTable.pm

2013-02-20 Thread jkaluza
Author: jkaluza Date: Wed Feb 20 15:37:17 2013 New Revision: 1448242 URL: http://svn.apache.org/r1448242 Log: Result of 'make xs_generate' run. Modified: perl/modperl/branches/httpd24/xs/tables/current/Apache2/ConstantsTable.pm perl/modperl/branches/httpd24/xs/tables/current/Apache2

svn commit: r1448022 [2/2] - in /perl/modperl/branches/httpd24: ./ lib/ lib/Apache2/ lib/ModPerl/ src/modules/perl/ t/conf/ t/lib/TestAPRlib/ t/response/TestDirective/ xs/ xs/APR/Brigade/ xs/APR/Bucke

2013-02-19 Thread jkaluza
Modified: perl/modperl/branches/httpd24/xs/APR/Pool/APR__Pool.h URL: http://svn.apache.org/viewvc/perl/modperl/branches/httpd24/xs/APR/Pool/APR__Pool.h?rev=1448022r1=1448021r2=1448022view=diff == ---