Re: [RELEASE CANDIDATE] mod_perl-1.31 RC4
Randy Kobes wrote: On Wed, 2 Apr 2008, Issac Goldstand wrote: Philippe M. Chiasson wrote: The mod_perl 1.31 release candidate 4 "Works with Perl 5.10" is ready. It can be downloaded here: [ ... ] win32 vc6 FAIL Sorry folks, still segfaulting. Backtrace below: I also get this crash on startup on Win32: perl-5.10.0 (ActivePerl 1002), Apache/1.3.34 However, given that - it works with perl-5.8 (ActivePerl 822), where all tests pass - most likely mod_perl-2 is used by most Windows users by now - as Steve Hay found, it's something to do with the particular compile-time settings used by ActivePerl - this looks like it may take some time to track down I again don't want to hold this up, unless there's a strong objection, so take this as a +1; we could put a note in the README saying that it doesn't work yet on perl-5.10 ActivePerl. +1 FWIW I need to test the 2.04 RC - somehow I missed the original notice, and only now noticed Randy's +1 :) Issac
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
make test passes on Apache/2.2.4 mod_perl/2.0.4-rc1 Perl/v5.8.8 Apache/2.2.8 mod_perl/2.0.4-rc1 Perl/v5.8.8 Adam Quoting "Philippe M. Chiasson" <[EMAIL PROTECTED]>: The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz MD5: 1f0a941e8b5f26b6102126ae67ddbb43 SHA1: 8b2ceede3c783b9b2cc9e0fe63a095b0e4a1f000 Please give it a spin in your favorite configuration and report any problems. Especially needed against Perl-5.10 on Windows. The summary of what has changed since 2.0.3 are (from Changes): Fix $r->location corruption under certain conditions [Gozer] Fix a crash when spawning Perl threads under Perl 5.10 [Gozer] Fix erratic behaviour when filters were used with Perl 5.10 [Gozer] Fix problems with redefinitions of perl_free as free and perl_malloc as malloc on Win32, as described at http://marc.info/?l=apache-modperl&m=119896407510526&w=2 [Tom Donovan] Fix a crash when running a sub-request from within a filter where mod_perl was not the content handler. [Gozer] Refactor tests to use keepalives instead of same_interp [Gozer, Phred] Apache2::Reload has been moved to an externally maintained CPAN distribution [Fred Moyer <[EMAIL PROTECTED]>] PerlCleanupHandler are now registered with a subpool of $r->pool, instead of $r->pool itself, ensuring they run _before_ any other $r->pool cleanups [Torsten Foertsch] Fix a bug that would prevent pnotes from being cleaned up properly at the end of the request [Torsten Foertsch] On Win32, embed the manifest file, if present, in mod_perl.so, so as to work with VC 8 [Steve Hay, Randy Kobes] Expose apr_thread_rwlock_t with the APR::ThreadRWLock module [Torsten Foertsch] Don't waste an extra interpreter anymore under threaded MPMs when using a modperl handler [Torsten Foertsch] Fix a bug that could cause a crash when using $r->push_handlers() multiple times for a phase that has no configured handlers [Torsten Foertsch] Catch up with some httpd API changes 2.2.4: The full server version information is now included in the error log at startup as well as server status reports, irrespective of the setting of the ServerTokens directive. ap_get_server_version() is now deprecated, and is replaced by ap_get_server_banner() and ap_get_server_description(). [Jeff Trawick] 2.3.0: ap_get_server_version() has been removed. Third-party modules must now use ap_get_server_banner() or ap_get_server_description(). [Gozer] fixed Apache2::compat Apache2::ServerUtil::server_root() resolution issues [Joshua Hoblitt] *) SECURITY: CVE-2007-1349 (cve.mitre.org) fix unescaped variable interprolation in regular expression [Randal L. Schwartz <[EMAIL PROTECTED]>, Fred Moyer <[EMAIL PROTECTED]>] Make $r->the_request() writeable [Fred Moyer <[EMAIL PROTECTED]>] fix ModPerl::RegistryCooker::read_script to handle all possible errors, previously there was a case where Apache2::Const::OK was returned on an error. [Eivind Eklund <[EMAIL PROTECTED]>] a minor compilation warning resolved in modperl_handler_new_from_sv [Stas] a minor compilation warning resolved in modperl_gtop_size_string [Stas] Prevent direct use of _deprecated_ Apache2::ReadConfig in sections with httpd Alias directives from incorrectly generating 'The Alias directive in x at line y will probably never match' messages. [Philip M. Gollucci <[EMAIL PROTECTED]>] Prevent Apache2::PerSections::symdump() from returning invalid httpd.conf snippets like 'Alias undef' [Philip M. Gollucci <[EMAIL PROTECTED]>] Require B-Size 0.9 for Apache2::Status which fixes Can't call method "script_name" on an undefined value [Philip M. Gollucci <[EMAIL PROTECTED]>] -march=pentium4 or anything with an = in it in CCFLAGS or @ARGV that gets passed to xs/APR/APR/Makefile.PL broke the @ARGV parsing. I.E. FreeBSD port builds when users had CPUTYPE set in /etc/make.conf. [Philip M. Gollucci <[EMAIL PROTECTED]>] Fixes to get bleed-ithread (5.9.5+) to comile again. [Philip M. Gollucci <[EMAIL PROTECTED]>] -- Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
Re: [RELEASE CANDIDATE] mod_perl-1.31 RC4
On Wed, 2 Apr 2008, Issac Goldstand wrote: Philippe M. Chiasson wrote: The mod_perl 1.31 release candidate 4 "Works with Perl 5.10" is ready. It can be downloaded here: [ ... ] win32 vc6 FAIL Sorry folks, still segfaulting. Backtrace below: I also get this crash on startup on Win32: perl-5.10.0 (ActivePerl 1002), Apache/1.3.34 However, given that - it works with perl-5.8 (ActivePerl 822), where all tests pass - most likely mod_perl-2 is used by most Windows users by now - as Steve Hay found, it's something to do with the particular compile-time settings used by ActivePerl - this looks like it may take some time to track down I again don't want to hold this up, unless there's a strong objection, so take this as a +1; we could put a note in the README saying that it doesn't work yet on perl-5.10 ActivePerl. -- best regards, Randy
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
On Tue, 1 Apr 2008, Philippe M. Chiasson wrote: The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz MD5: 1f0a941e8b5f26b6102126ae67ddbb43 SHA1: 8b2ceede3c783b9b2cc9e0fe63a095b0e4a1f000 Please give it a spin in your favorite configuration and report any problems. Especially needed against Perl-5.10 on Windows. Tested on - linux: perl-5.8.7, Apache/2.0.55 preform - all tests pass - Win32: perl-5.10.0 (ActivePerl 1002), Apache/2.2.8 - 'nmake test' crashes on t/modules/apache_status, but this test passes when run individually, and also passes when all the t/modules/* tests are run (as well as some random combinations of earlier tests). I need to run t/SMOKE to narrow down the combination that fails. This is something relatively recent from svn. However, I won't be able to get to this for a week or so, and don't want to hold this release up, so +1. -- best regards, Randy
Re: [mp2] $s->protocol returns "INCLUDED"
Philippe M. Chiasson wrote: Ryan Gies wrote: What causes $s->protocol() to return the string "INCLUDED"? SSI includes / mod_include Take that back, I am wrong. It's set by the subrequest mechanism, so it will be set for internal sub-requests. An SSI virtual include: Is just one case, anything that triggers a subrequest will do it too. -- Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/ signature.asc Description: OpenPGP digital signature
Re: [mp2] $s->protocol returns "INCLUDED"
Ryan Gies wrote: What causes $s->protocol() to return the string "INCLUDED"? SSI includes / mod_include -- Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/ signature.asc Description: OpenPGP digital signature
[mp2] $s->protocol returns "INCLUDED"
What causes $s->protocol() to return the string "INCLUDED"?
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
William A. Rowe, Jr. wrote: Issac Goldstand wrote: Ahem, On that subject, libapreq1 is already a year and a half into it's latest release cycle. We're still waiting for a PMC vote to finish the release... Someone remind me to do a lightning talk about this next time I'm at AC :) Time for a FFT presentation - 15 minutes on cutting edge POST handling using apreq? Just give [EMAIL PROTECTED] a title, abstract, presenter and short bio. Not I - I won't be there. I'm trying to get my wife (and boss, but he's less of an issue if I can talk there) to come around to the idea of AC US 2008. I can do it then.
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
Issac Goldstand wrote: Ahem, On that subject, libapreq1 is already a year and a half into it's latest release cycle. We're still waiting for a PMC vote to finish the release... Someone remind me to do a lightning talk about this next time I'm at AC :) Time for a FFT presentation - 15 minutes on cutting edge POST handling using apreq? Just give [EMAIL PROTECTED] a title, abstract, presenter and short bio. Bill
Re: perl at apachecon
On Apr 2, 2008, at 1:07 PM, Brian Millett wrote: Wow, not many proposals. :-( I usually submit one, but the timing of the conference is terrible this year -- right in the middle of the US presidential election. There's no way I can get away from work then. - Perrin
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
On Tue, 01 Apr 2008 23:26:43 -0700 "Philippe M. Chiasson" <[EMAIL PROTECTED]> wrote: > The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It > can be downloaded here: > http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz The t/apache/util.t still fails when not under English locale. Maybe you should set the locale to C or en before testing. -- Best regards, imacat ^_*' <[EMAIL PROTECTED]> PGP Key: http://www.imacat.idv.tw/me/pgpkey.asc <> News: http://www.wov.idv.tw/ Tavern IMACAT's: http://www.imacat.idv.tw/ TLUG List Manager: http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug pgpNA3ZBFLlP9.pgp Description: PGP signature
Re: perl at apachecon
Quoting Brian Millett <[EMAIL PROTECTED]>: Wow, not many proposals. :-( It's not too late to submit more (you've got one day left till the deadline). Adam
Re: perl at apachecon
Juan Jose Natera escribío: OSCON 2008 doesn't have much perl either. A disturbing trend. Have you actually looked at this year's Perl track at OSCON? http://en.oreilly.com/oscon2008/public/schedule/topic/80 Yep, but back when it was the Perl Conference held in conjunction with OSCON, there were many more. -- Brian Millett - [ Garibaldi, "Revelations"] "What's up, Doc?" signature.asc Description: OpenPGP digital signature
Re: perl at apachecon
> OSCON 2008 doesn't have much perl either. > > A disturbing trend. Have you actually looked at this year's Perl track at OSCON? http://en.oreilly.com/oscon2008/public/schedule/topic/80
Re: perl at apachecon
Geoffrey Young escribío: hi all :) perl's (and mod_perl's) presence at apachecon has been dwindling over the years. I won't get into a rant about why this might be, so please don't you do it either :) anyway, if you have any interest in attending apachecon us this year, please login to the apachecon site and take the time to rate the current proposals - showing interest in perl ones is the only voice we have toward getting them chosen for the conference. http://apachecon.com/html/login.html anyone can create an account (and if you go to the conference you'll need to create one to register anyway). the main site is http://www.us.apachecon.com/us2008/ and the dates are november 3-7 in cool new orleans. thanks Wow, not many proposals. :-( OSCON 2008 doesn't have much perl either. A disturbing trend. -- Brian Millett - [ Sinclair, "The Gathering"] "Sooner or later, everyone comes to Babylon 5." signature.asc Description: OpenPGP digital signature
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
I have tried mod_perl 2.0.3 under Windows with ActivePerl 5.8.8 build 821 and above, but when I used a little more complex app, the server didn't want to start. With Active Perl build 820 it works though. Will mod_perl 2.0.4 work with versions of ActivePerl higher than build 820? Thanks. Octavian - Original Message - From: "Joe Orton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "modperl List" Sent: Wednesday, April 02, 2008 5:15 PM Subject: Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1 On Tue, Apr 01, 2008 at 11:26:43PM -0700, Philippe M. Chiasson wrote: The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz MD5: 1f0a941e8b5f26b6102126ae67ddbb43 SHA1: 8b2ceede3c783b9b2cc9e0fe63a095b0e4a1f000 Please give it a spin in your favorite configuration and report any problems. Especially needed against Perl-5.10 on Windows. v5.8.8 on Fedora 8/x86_64, testing against httpd 2.2.9-dev got: t/modules/include_subreq.t11 100.00% 1 3 tests and 1 subtest skipped. Failed 1/238 test scripts, 99.58% okay. 1/2683 subtests failed, 99.96% okay. the failure was: t/modules/include_subreq1..1 # Running under perl version 5.008008 for linux # Current time local: Wed Apr 2 15:11:56 2008 # Current time GMT: Wed Apr 2 14:11:56 2008 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.31 # Failed test 1 in t/modules/include_subreq.t at line 17 # testing : handler => filter => handler # expected: subreq is quite ok # received: is quite subreq ok not ok 1 is that a known issue? joe
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
On Tue, Apr 01, 2008 at 11:26:43PM -0700, Philippe M. Chiasson wrote: > The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It > can be downloaded here: > > http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz > > MD5: 1f0a941e8b5f26b6102126ae67ddbb43 > SHA1: 8b2ceede3c783b9b2cc9e0fe63a095b0e4a1f000 > > Please give it a spin in your favorite configuration and report > any problems. Especially needed against Perl-5.10 on Windows. v5.8.8 on Fedora 8/x86_64, testing against httpd 2.2.9-dev got: t/modules/include_subreq.t11 100.00% 1 3 tests and 1 subtest skipped. Failed 1/238 test scripts, 99.58% okay. 1/2683 subtests failed, 99.96% okay. the failure was: t/modules/include_subreq1..1 # Running under perl version 5.008008 for linux # Current time local: Wed Apr 2 15:11:56 2008 # Current time GMT: Wed Apr 2 14:11:56 2008 # Using Test.pm version 1.25 # Using Apache/Test.pm version 1.31 # Failed test 1 in t/modules/include_subreq.t at line 17 # testing : handler => filter => handler # expected: subreq is quite ok # received: is quite subreq ok not ok 1 is that a known issue? joe
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
On Wed, 2 Apr 2008, Foo JH wrote: Philippe M. Chiasson wrote: The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It can be downloaded here: [ ... ] Fantastic! Can I assume that libapreq will be compatible with this version? In all likelihood the only way is to try it yourself... At least on Win32, libapreq compiles fine and passes all tests with perl-5.10 - a libapreq2 ppm package is available at http://cpan.uwinnipeg.ca/PPMPackages/10xx/ -- best regards, Randy Kobes
perl at apachecon
hi all :) perl's (and mod_perl's) presence at apachecon has been dwindling over the years. I won't get into a rant about why this might be, so please don't you do it either :) anyway, if you have any interest in attending apachecon us this year, please login to the apachecon site and take the time to rate the current proposals - showing interest in perl ones is the only voice we have toward getting them chosen for the conference. http://apachecon.com/html/login.html anyone can create an account (and if you go to the conference you'll need to create one to register anyway). the main site is http://www.us.apachecon.com/us2008/ and the dates are november 3-7 in cool new orleans. thanks --Geoff
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
Ahem, On that subject, libapreq1 is already a year and a half into it's latest release cycle. We're still waiting for a PMC vote to finish the release... Someone remind me to do a lightning talk about this next time I'm at AC :) Foo JH wrote: Fantastic! Can I assume that libapreq will be compatible with this version? In all likelihood the only way is to try it yourself... Philippe M. Chiasson wrote: The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz MD5: 1f0a941e8b5f26b6102126ae67ddbb43 SHA1: 8b2ceede3c783b9b2cc9e0fe63a095b0e4a1f000 Please give it a spin in your favorite configuration and report any problems. Especially needed against Perl-5.10 on Windows. The summary of what has changed since 2.0.3 are (from Changes): Fix $r->location corruption under certain conditions [Gozer] Fix a crash when spawning Perl threads under Perl 5.10 [Gozer] Fix erratic behaviour when filters were used with Perl 5.10 [Gozer] Fix problems with redefinitions of perl_free as free and perl_malloc as malloc on Win32, as described at http://marc.info/?l=apache-modperl&m=119896407510526&w=2 [Tom Donovan] Fix a crash when running a sub-request from within a filter where mod_perl was not the content handler. [Gozer] Refactor tests to use keepalives instead of same_interp [Gozer, Phred] Apache2::Reload has been moved to an externally maintained CPAN distribution [Fred Moyer <[EMAIL PROTECTED]>] PerlCleanupHandler are now registered with a subpool of $r->pool, instead of $r->pool itself, ensuring they run _before_ any other $r->pool cleanups [Torsten Foertsch] Fix a bug that would prevent pnotes from being cleaned up properly at the end of the request [Torsten Foertsch] On Win32, embed the manifest file, if present, in mod_perl.so, so as to work with VC 8 [Steve Hay, Randy Kobes] Expose apr_thread_rwlock_t with the APR::ThreadRWLock module [Torsten Foertsch] Don't waste an extra interpreter anymore under threaded MPMs when using a modperl handler [Torsten Foertsch] Fix a bug that could cause a crash when using $r->push_handlers() multiple times for a phase that has no configured handlers [Torsten Foertsch] Catch up with some httpd API changes 2.2.4: The full server version information is now included in the error log at startup as well as server status reports, irrespective of the setting of the ServerTokens directive. ap_get_server_version() is now deprecated, and is replaced by ap_get_server_banner() and ap_get_server_description(). [Jeff Trawick] 2.3.0: ap_get_server_version() has been removed. Third-party modules must now use ap_get_server_banner() or ap_get_server_description(). [Gozer] fixed Apache2::compat Apache2::ServerUtil::server_root() resolution issues [Joshua Hoblitt] *) SECURITY: CVE-2007-1349 (cve.mitre.org) fix unescaped variable interprolation in regular expression [Randal L. Schwartz <[EMAIL PROTECTED]>, Fred Moyer <[EMAIL PROTECTED]>] Make $r->the_request() writeable [Fred Moyer <[EMAIL PROTECTED]>] fix ModPerl::RegistryCooker::read_script to handle all possible errors, previously there was a case where Apache2::Const::OK was returned on an error. [Eivind Eklund <[EMAIL PROTECTED]>] a minor compilation warning resolved in modperl_handler_new_from_sv [Stas] a minor compilation warning resolved in modperl_gtop_size_string [Stas] Prevent direct use of _deprecated_ Apache2::ReadConfig in sections with httpd Alias directives from incorrectly generating 'The Alias directive in x at line y will probably never match' messages. [Philip M. Gollucci <[EMAIL PROTECTED]>] Prevent Apache2::PerSections::symdump() from returning invalid httpd.conf snippets like 'Alias undef' [Philip M. Gollucci <[EMAIL PROTECTED]>] Require B-Size 0.9 for Apache2::Status which fixes Can't call method "script_name" on an undefined value [Philip M. Gollucci <[EMAIL PROTECTED]>] -march=pentium4 or anything with an = in it in CCFLAGS or @ARGV that gets passed to xs/APR/APR/Makefile.PL broke the @ARGV parsing. I.E. FreeBSD port builds when users had CPUTYPE set in /etc/make.conf. [Philip M. Gollucci <[EMAIL PROTECTED]>] Fixes to get bleed-ithread (5.9.5+) to comile again. [Philip M. Gollucci <[EMAIL PROTECTED]>]
Re: [RELEASE CANDIDATE] mod_perl-2.0.4 RC1
Fantastic! Can I assume that libapreq will be compatible with this version? In all likelihood the only way is to try it yourself... Philippe M. Chiasson wrote: The mod_perl 2.0.4 release candidate 1 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp2/mod_perl-2.0.4-rc1.tar.gz MD5: 1f0a941e8b5f26b6102126ae67ddbb43 SHA1: 8b2ceede3c783b9b2cc9e0fe63a095b0e4a1f000 Please give it a spin in your favorite configuration and report any problems. Especially needed against Perl-5.10 on Windows. The summary of what has changed since 2.0.3 are (from Changes): Fix $r->location corruption under certain conditions [Gozer] Fix a crash when spawning Perl threads under Perl 5.10 [Gozer] Fix erratic behaviour when filters were used with Perl 5.10 [Gozer] Fix problems with redefinitions of perl_free as free and perl_malloc as malloc on Win32, as described at http://marc.info/?l=apache-modperl&m=119896407510526&w=2 [Tom Donovan] Fix a crash when running a sub-request from within a filter where mod_perl was not the content handler. [Gozer] Refactor tests to use keepalives instead of same_interp [Gozer, Phred] Apache2::Reload has been moved to an externally maintained CPAN distribution [Fred Moyer <[EMAIL PROTECTED]>] PerlCleanupHandler are now registered with a subpool of $r->pool, instead of $r->pool itself, ensuring they run _before_ any other $r->pool cleanups [Torsten Foertsch] Fix a bug that would prevent pnotes from being cleaned up properly at the end of the request [Torsten Foertsch] On Win32, embed the manifest file, if present, in mod_perl.so, so as to work with VC 8 [Steve Hay, Randy Kobes] Expose apr_thread_rwlock_t with the APR::ThreadRWLock module [Torsten Foertsch] Don't waste an extra interpreter anymore under threaded MPMs when using a modperl handler [Torsten Foertsch] Fix a bug that could cause a crash when using $r->push_handlers() multiple times for a phase that has no configured handlers [Torsten Foertsch] Catch up with some httpd API changes 2.2.4: The full server version information is now included in the error log at startup as well as server status reports, irrespective of the setting of the ServerTokens directive. ap_get_server_version() is now deprecated, and is replaced by ap_get_server_banner() and ap_get_server_description(). [Jeff Trawick] 2.3.0: ap_get_server_version() has been removed. Third-party modules must now use ap_get_server_banner() or ap_get_server_description(). [Gozer] fixed Apache2::compat Apache2::ServerUtil::server_root() resolution issues [Joshua Hoblitt] *) SECURITY: CVE-2007-1349 (cve.mitre.org) fix unescaped variable interprolation in regular expression [Randal L. Schwartz <[EMAIL PROTECTED]>, Fred Moyer <[EMAIL PROTECTED]>] Make $r->the_request() writeable [Fred Moyer <[EMAIL PROTECTED]>] fix ModPerl::RegistryCooker::read_script to handle all possible errors, previously there was a case where Apache2::Const::OK was returned on an error. [Eivind Eklund <[EMAIL PROTECTED]>] a minor compilation warning resolved in modperl_handler_new_from_sv [Stas] a minor compilation warning resolved in modperl_gtop_size_string [Stas] Prevent direct use of _deprecated_ Apache2::ReadConfig in sections with httpd Alias directives from incorrectly generating 'The Alias directive in x at line y will probably never match' messages. [Philip M. Gollucci <[EMAIL PROTECTED]>] Prevent Apache2::PerSections::symdump() from returning invalid httpd.conf snippets like 'Alias undef' [Philip M. Gollucci <[EMAIL PROTECTED]>] Require B-Size 0.9 for Apache2::Status which fixes Can't call method "script_name" on an undefined value [Philip M. Gollucci <[EMAIL PROTECTED]>] -march=pentium4 or anything with an = in it in CCFLAGS or @ARGV that gets passed to xs/APR/APR/Makefile.PL broke the @ARGV parsing. I.E. FreeBSD port builds when users had CPUTYPE set in /etc/make.conf. [Philip M. Gollucci <[EMAIL PROTECTED]>] Fixes to get bleed-ithread (5.9.5+) to comile again. [Philip M. Gollucci <[EMAIL PROTECTED]>]
APR::Socket SSL
Hi, I'm writing a PerlProcessConnectionHandler. It starts: sub handler { my $c = shift; my $sock = $c->client_socket; $sock is an instance of APR::Socket. The problem is that the connection is using SSL and I need to be able to read/write the unencrypted socket stream. If $sock was an instance of IO::Socket I could just do a IO::Socket::SSL->start_SSL( $sock ) to handle SSL negotiation and to get access to the unencrypted stream, but how do I do it with APR::Socket? Also, and I'm guessing this is a big no. Is it possible to have a PerlProcessConnectionHandler that reads the first few bytes from the socket then decides that it doesn't want to continue so puts them back on the stack and then hands off to the next phase for "normal" processing? Regards, Mike
Re: [RELEASE CANDIDATE] mod_perl-1.31 RC4
Just to clarify a bit, this is against the exact same Apache + Perl I tried (and segfaulted) RC3 against. I can't seem to grab the .mdmp from temp but if anyone knows how to make a dump from within the vc6 ide or on-demand from any other JIT debugger, I'd be happy to make one. Issac Issac Goldstand wrote: win32 vc6 FAIL Sorry folks, still segfaulting. Backtrace below: NTDLL! 7c918fea() NTDLL! 7c90104b() PerlIOUnix_open(interpreter * 0x009a4084, _PerlIO_funcs * 0x280cb548 _PerlIO_unix, PerlIO_list_s * 0x008230fc, long 0, const char * 0x280be174 `string', int 0, int 0, int 0, _PerlIO * * 0x, int 0, sv * * 0x) line 2633 PerlIOBuf_open(interpreter * 0x0001, _PerlIO_funcs * 0x280cb708 _PerlIO_crlf, PerlIO_list_s * 0x008230fc, long 1, const char * 0x280be174 `string', int 0, int 0, int 0, _PerlIO * * 0x, int 0, sv * * 0x) line 3692 + 27 bytes PerlIO_openn(interpreter * 0x009a4084, const char * 0x, const char * 0x280be174 `string', int 0, int 0, int 0, _PerlIO * * 0x, int 0, sv * * 0x) line 1604 + 29 bytes PerlIO_fdopen(int 0, const char * 0x280be174 `string') line 4995 + 22 bytes PerlIO_stdstreams(interpreter * 0x009a4084) line 1212 PerlIO_resolve_layers(interpreter * 0x008230fc, const char * 0x, const char * 0x280b3b74 `string', int 1, sv * * 0x0012db64) line 1493 + 6 bytes PerlIO_openn(interpreter * 0x009a4084, const char * 0x, const char * 0x280b3b74 `string', int -1, int 0, int 0, _PerlIO * * 0x, int 1, sv * * 0x0012db64) line 1575 + 20 bytes PerlIO_open(const char * 0x0082316c, const char * 0x280b3b74 `string') line 5004 + 21 bytes S_open_script(interpreter * 0x009a4084, const char * 0x0082316c, char 0, sv * 0x009a6adc, int * 0x0012dbec, _PerlIO * * * 0x0012dbc4) line 3705 + 11 bytes S_parse_body(interpreter * 0x, char * * 0x, void (interpreter *)* 0x10026750 mod_perl_xs_init(interpreter *)) line 2056 perl_parse(interpreter * 0x009a4084, void (interpreter *)* 0x10026750 mod_perl_xs_init(interpreter *), int 4, char * * 0x0012dd2c, char * * 0x) line 1651 perl_startup(server_rec * 0x003f8e88, pool * 0x003f8e60) line 704 + 27 bytes perl_cmd_require(cmd_parms * 0x0012fe34, void * 0x003fa8f8, char * 0x003faa88) line 621 + 28 bytes invoke_cmd(const command_struct * 0x10094c20, cmd_parms * 0x0012fe34, void * 0x003fa8f8, const char * 0x0012de30) line 877 + 6 bytes ap_handle_command(cmd_parms * 0x009a0108, void * 0x003f9a28, const char * 0x0012de24) line 989 ap_srm_command_loop(cmd_parms * 0x0012fe34, void * 0x003f9a28) line 1003 ap_process_resource_config(server_rec * 0x003f8e88, char * 0x6ffae000 _ap_server_confname, pool * 0x003f8e60, pool * 0x009a0058) line 1294 + 13 bytes ap_read_config(pool * 0x003f8e60, pool * 0x009a0058, char * 0x6ffae000 _ap_server_confname) line 1579 apache_main(int 6, char * * 0x00820110) line 7880 + 23 bytes main(int 6, char * * 0x00820110) line 33 + 13 bytes APACHE! mainCRTStartup + 227 bytes KERNEL32! 7c816d4f() Philippe M. Chiasson wrote: The mod_perl 1.31 release candidate 4 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc4.tar.gz MD5: ba12ce36c4c738bccfa93ab646a6824c SHA1: 2de6ce29f44505cfdca34b7aa6499d961c72953b Please give it a spin in your favorite configuration and report any problems. Especially needed against Perl-5.10. The summary of what has changed since 1.30 are (from Changes): Fix potential segfault when the environment contains NULL values [Mike Schilli] Fix static APACI build against newer apache-1.3.38+ [Gozer] Fixed modules/regex.t test 4 on Win32 [Steve Hay] Avoid possible segfault when PerlFreshRestart is On. [Michael Rendell <[EMAIL PROTECTED]>] Prevent segfault when running with perl >= 5.9.3 [Steve Hay] Fix shared libary extensions on Win32 to be .dll not .so [Nikolay Ananiev <[EMAIL PROTECTED]>] Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32 for perl >= 5.8.6 [Steve Hay]
Re: [RELEASE CANDIDATE] mod_perl-1.31 RC4
win32 vc6 FAIL Sorry folks, still segfaulting. Backtrace below: NTDLL! 7c918fea() NTDLL! 7c90104b() PerlIOUnix_open(interpreter * 0x009a4084, _PerlIO_funcs * 0x280cb548 _PerlIO_unix, PerlIO_list_s * 0x008230fc, long 0, const char * 0x280be174 `string', int 0, int 0, int 0, _PerlIO * * 0x, int 0, sv * * 0x) line 2633 PerlIOBuf_open(interpreter * 0x0001, _PerlIO_funcs * 0x280cb708 _PerlIO_crlf, PerlIO_list_s * 0x008230fc, long 1, const char * 0x280be174 `string', int 0, int 0, int 0, _PerlIO * * 0x, int 0, sv * * 0x) line 3692 + 27 bytes PerlIO_openn(interpreter * 0x009a4084, const char * 0x, const char * 0x280be174 `string', int 0, int 0, int 0, _PerlIO * * 0x, int 0, sv * * 0x) line 1604 + 29 bytes PerlIO_fdopen(int 0, const char * 0x280be174 `string') line 4995 + 22 bytes PerlIO_stdstreams(interpreter * 0x009a4084) line 1212 PerlIO_resolve_layers(interpreter * 0x008230fc, const char * 0x, const char * 0x280b3b74 `string', int 1, sv * * 0x0012db64) line 1493 + 6 bytes PerlIO_openn(interpreter * 0x009a4084, const char * 0x, const char * 0x280b3b74 `string', int -1, int 0, int 0, _PerlIO * * 0x, int 1, sv * * 0x0012db64) line 1575 + 20 bytes PerlIO_open(const char * 0x0082316c, const char * 0x280b3b74 `string') line 5004 + 21 bytes S_open_script(interpreter * 0x009a4084, const char * 0x0082316c, char 0, sv * 0x009a6adc, int * 0x0012dbec, _PerlIO * * * 0x0012dbc4) line 3705 + 11 bytes S_parse_body(interpreter * 0x, char * * 0x, void (interpreter *)* 0x10026750 mod_perl_xs_init(interpreter *)) line 2056 perl_parse(interpreter * 0x009a4084, void (interpreter *)* 0x10026750 mod_perl_xs_init(interpreter *), int 4, char * * 0x0012dd2c, char * * 0x) line 1651 perl_startup(server_rec * 0x003f8e88, pool * 0x003f8e60) line 704 + 27 bytes perl_cmd_require(cmd_parms * 0x0012fe34, void * 0x003fa8f8, char * 0x003faa88) line 621 + 28 bytes invoke_cmd(const command_struct * 0x10094c20, cmd_parms * 0x0012fe34, void * 0x003fa8f8, const char * 0x0012de30) line 877 + 6 bytes ap_handle_command(cmd_parms * 0x009a0108, void * 0x003f9a28, const char * 0x0012de24) line 989 ap_srm_command_loop(cmd_parms * 0x0012fe34, void * 0x003f9a28) line 1003 ap_process_resource_config(server_rec * 0x003f8e88, char * 0x6ffae000 _ap_server_confname, pool * 0x003f8e60, pool * 0x009a0058) line 1294 + 13 bytes ap_read_config(pool * 0x003f8e60, pool * 0x009a0058, char * 0x6ffae000 _ap_server_confname) line 1579 apache_main(int 6, char * * 0x00820110) line 7880 + 23 bytes main(int 6, char * * 0x00820110) line 33 + 13 bytes APACHE! mainCRTStartup + 227 bytes KERNEL32! 7c816d4f() Philippe M. Chiasson wrote: The mod_perl 1.31 release candidate 4 "Works with Perl 5.10" is ready. It can be downloaded here: http://www.apache.org/~gozer/mp1/mod_perl-1.31-rc4.tar.gz MD5: ba12ce36c4c738bccfa93ab646a6824c SHA1: 2de6ce29f44505cfdca34b7aa6499d961c72953b Please give it a spin in your favorite configuration and report any problems. Especially needed against Perl-5.10. The summary of what has changed since 1.30 are (from Changes): Fix potential segfault when the environment contains NULL values [Mike Schilli] Fix static APACI build against newer apache-1.3.38+ [Gozer] Fixed modules/regex.t test 4 on Win32 [Steve Hay] Avoid possible segfault when PerlFreshRestart is On. [Michael Rendell <[EMAIL PROTECTED]>] Prevent segfault when running with perl >= 5.9.3 [Steve Hay] Fix shared libary extensions on Win32 to be .dll not .so [Nikolay Ananiev <[EMAIL PROTECTED]>] Patch to mod_perl.dsp to remove /D _WINSOCK2API_ on Win32 for perl >= 5.8.6 [Steve Hay]