Re: [mp2] cgi tests

2003-08-27 Thread Randy Kobes
On Wed, 27 Aug 2003, Stas Bekman wrote: > Randy Kobes wrote: [ .. ] > > This has been fixed, and the associated perlio.t test > > runs on Win32, and passes all but one subtest (I don't have > > the details handy, but the failure is due to a difference > > of a single leading space between expe

Re: [mp2] cgi tests

2003-08-27 Thread Stas Bekman
Randy Kobes wrote: It's possible that the problem comes from the new PerlIO Layer, try testing again after disabling it: [ .. ] You're right - disabling PERLIO_LAYERS allows the modules/cgi.t and modules/cgiupload.t to pass ... I'll try to track down what changes in the past few weeks led to this

Re: [mp2] cgi tests

2003-08-27 Thread Randy Kobes
On Wed, 27 Aug 2003, Stas Bekman wrote: > Stas Bekman wrote: > > Randy Kobes wrote: > >> On Wed, 27 Aug 2003, Stas Bekman wrote: > >>> Randy Kobes wrote: > On Mon, 25 Aug 2003, Stas Bekman wrote: > > It's possible that the problem comes from the new PerlIO > > Layer, try testing again

PERL_DL_NONLAZY=1

2003-08-27 Thread Stas Bekman
As mike chamberlain told me over irc, apr-ext/perlio was faling for him because of the modperl_perl_gensym not being resolved in APR/PerlIO.so. I didn't see that error since on linux by default symbols resolution is lazy and since that part of the api wasn't tested I did see the problem. On MacO

Re: [mp2] cgi tests

2003-08-27 Thread Stas Bekman
Stas Bekman wrote: Randy Kobes wrote: On Wed, 27 Aug 2003, Stas Bekman wrote: Randy Kobes wrote: On Mon, 25 Aug 2003, Stas Bekman wrote: It's possible that the problem comes from the new PerlIO Layer, try testing again after disabling it: [ .. ] Hi Stas, You're right - disabling PERLIO_LA

Re: [mp2] cgi tests

2003-08-27 Thread Randy Kobes
On Wed, 27 Aug 2003, Stas Bekman wrote: > Randy Kobes wrote: > > On Mon, 25 Aug 2003, Stas Bekman wrote: > > > >>It's possible that the problem comes from the new PerlIO > >>Layer, try testing again after disabling it: > > [ .. ] > > Hi Stas, > >You're right - disabling PERLIO_LAYERS allows th

Re: [mp2] cgi tests

2003-08-27 Thread Stas Bekman
Randy Kobes wrote: On Wed, 27 Aug 2003, Stas Bekman wrote: Randy Kobes wrote: On Mon, 25 Aug 2003, Stas Bekman wrote: It's possible that the problem comes from the new PerlIO Layer, try testing again after disabling it: [ .. ] Hi Stas, You're right - disabling PERLIO_LAYERS allows the module

Re: cvs commit: modperl-2.0/t/response/TestModules proxy.pm

2003-08-27 Thread Stas Bekman
Geoffrey Young wrote: this is a pretty big deal, as mod_perl tests have always run against a single available server. are we sure that this isn't going to be problematic on some platforms (namely win32, as usual :)? though I guess from the docs MaxClients is meaningless to that mpm. Not rea

Re: [mp2] cgi tests

2003-08-27 Thread Stas Bekman
Randy Kobes wrote: On Mon, 25 Aug 2003, Stas Bekman wrote: It's possible that the problem comes from the new PerlIO Layer, try testing again after disabling it: [ .. ] Hi Stas, You're right - disabling PERLIO_LAYERS allows the modules/cgi.t and modules/cgiupload.t to pass ... I'll try to track

Re: mod_perl + Apache 1.3.28

2003-08-27 Thread Radu Greab
I'm glad (OK, I've spent half a day on this) I haven't followed the suggestion in Bricolage docs to use Apache 1.3.27, but went with Apache 1.3.28. Today I stepped on the same issue like you have and I have found the cause of it. > I just ran into some very strange issues with connections to a >

Re: [mp2] cgi tests

2003-08-27 Thread Randy Kobes
On Mon, 25 Aug 2003, Stas Bekman wrote: > It's possible that the problem comes from the new PerlIO Layer, try testing > again after disabling it: [ .. ] Hi Stas, You're right - disabling PERLIO_LAYERS allows the modules/cgi.t and modules/cgiupload.t to pass ... I'll try to track down what chang

Re: cvs commit: modperl-2.0/t/response/TestModules proxy.pm

2003-08-27 Thread Geoffrey Young
this is a pretty big deal, as mod_perl tests have always run against a single available server. are we sure that this isn't going to be problematic on some platforms (namely win32, as usual :)? though I guess from the docs MaxClients is meaningless to that mpm. Not really, all tests designe

Re: cvs commit: modperl-2.0/t/filter/TestFilter in_str_consume.pm

2003-08-27 Thread Geoffrey Young
Stas Bekman wrote: [EMAIL PROTECTED] wrote: stas2003/08/26 21:42:38 Modified:t/filter in_str_consume.t t/filter/TestFilter in_str_consume.pm Log: rewrite the input streaming consume filter to bring it up-to-date with the latest httpds. make it more elaborate

subrequest filter tests

2003-08-27 Thread Geoffrey Young
hi all... this patch contains only the tests for subrequests used in filters. you can use it to test or reproduce the problem. craig - in case it got lost in the mass of email yesterday, if you could try the latest cvs version of mod_perl and see if it core dumps, that would be great. re

Re: cvs commit: modperl-2.0/t/filter/TestFilter in_str_consume.pm

2003-08-27 Thread Stas Bekman
[EMAIL PROTECTED] wrote: stas2003/08/26 21:42:38 Modified:t/filter in_str_consume.t t/filter/TestFilter in_str_consume.pm Log: rewrite the input streaming consume filter to bring it up-to-date with the latest httpds. make it more elaborate at the same time. Geoff

Re: mp2 make test errors with current CVS on NetBSD 1.6.1/i386/perl5.8.0

2003-08-27 Thread Carl Brewer
Stas Bekman wrote: Nothing has changed with regards to Apache::Test in the last few days. Purhaps you had a borked checkout. Negative, ghostrider! Make test fails as before. I just ignored make test, and installed it anyway, and it works. -

Re: cvs commit: modperl-2.0/t/response/TestModules proxy.pm

2003-08-27 Thread Stas Bekman
Geoffrey Young wrote: [EMAIL PROTECTED] wrote: stas2003/08/26 16:28:04 Modified:lib/ModPerl TestRun.pm Added: t/modules proxy.t t/response/TestModules proxy.pm Log: new test: converting a normal request to a proxy request - requires to bump up the numb

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-27 Thread Stas Bekman
Geoffrey Young wrote: [...] as I said, nowhere in any of the module shipped with core do I find logic like this - mod_include and mod_cgi both seem to call ap_run_sub_req without flushing the main data stream (though mod_include does split the stream and send the data _prior to the tag_ off).

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-27 Thread Stas Bekman
Geoffrey Young wrote: the problem is with the r->main logic in mpxs_ap_run_sub_req. with that logic, what ends up happening is that the data currently being operated on is explicity flushed. this is bad within a (streaming) filter where you are expected to call $f->print yourself, as the dat

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-27 Thread Geoffrey Young
however, removing that logic causes api/lookup_uri2.t to fail, but I suspect this is an issue with puts() rather than the subrequest mechanism - changing puts() to print() makes everything work just fine. does puts() write directly to the wire, bypassing filters? Sorry, but that's cheating ;)

Re: SubRequest in Filter MP2 [QUESTION]

2003-08-27 Thread Stas Bekman
Geoffrey Young wrote: Stas Bekman wrote: Craig Shelley wrote: I'll take a look at it. But you didn't supply a complete bug report as explained http://perl.apache.org/bugs/. Please do so. I think I've got this figured out. the problem is with the r->main logic in mpxs_ap_run_sub_req. with t

Re: cvs commit: modperl-2.0/t/response/TestModules proxy.pm

2003-08-27 Thread Geoffrey Young
[EMAIL PROTECTED] wrote: stas2003/08/26 16:28:04 Modified:lib/ModPerl TestRun.pm Added: t/modules proxy.t t/response/TestModules proxy.pm Log: new test: converting a normal request to a proxy request - requires to bump up the number of maxclients to 2 t

Re: mp2 make test errors with current CVS on NetBSD 1.6.1/i386/perl5.8.0

2003-08-27 Thread Stas Bekman
Carl Brewer wrote: Have you tried gozer's patch? I posted the URL in the previous followup. I'll try it tonight, and if I have no luck, may have time to roll my own fix. mod_perl shouldn't care if localhost is 127.0.0.1 or ::1 in the least, it should make no difference, IMO :) It's Apache::Test

Re: mp2 make test errors with current CVS on NetBSD 1.6.1/i386/perl5.8.0

2003-08-27 Thread Carl Brewer
Stas Bekman wrote: So it's an issue with httpd.conf over IPv6. I'd say so. Have you tried gozer's patch? I posted the URL in the previous followup. I'll try it tonight, and if I have no luck, may have time to roll my own fix. mod_perl shouldn't care if localhost is 127.0.0.1 or ::1 in the least

Re: mp2 make test errors with current CVS on NetBSD 1.6.1/i386/perl5.8.0

2003-08-27 Thread Carl Brewer
Stas Bekman wrote: May be. I don't have IPv6 here, so I haven't tested with it. Anybody with IPv6 can help us here? Philippe, when is your patch going in? Carl, can you test without IPv6 enabled? Or is it too much of a trouble? Turning off IPv6 on the box is not an option :) If you install th

Re: mp2 make test errors with current CVS on NetBSD 1.6.1/i386/perl5.8.0

2003-08-27 Thread Stas Bekman
Carl Brewer wrote: Stas Bekman wrote: Nothing has changed with regards to Apache::Test in the last few days. Purhaps you had a borked checkout. Negative, ghostrider! Make test fails as before. I just ignored make test, and installed it anyway, and it works. So it's an issue with httpd.conf o

Re: mp2 make test errors with current CVS on NetBSD 1.6.1/i386/perl5.8.0

2003-08-27 Thread Stas Bekman
Carl Brewer wrote: Stas Bekman wrote: May be. I don't have IPv6 here, so I haven't tested with it. Anybody with IPv6 can help us here? Philippe, when is your patch going in? Carl, can you test without IPv6 enabled? Or is it too much of a trouble? If you install things nevertheless can you run

Re: mp2 make test errors with current CVS on NetBSD 1.6.1/i386/perl5.8.0

2003-08-27 Thread Stas Bekman
Carl Brewer wrote: Stas Bekman wrote: May be. I don't have IPv6 here, so I haven't tested with it. Anybody with IPv6 can help us here? Philippe, when is your patch going in? Carl, can you test without IPv6 enabled? Or is it too much of a trouble? Turning off IPv6 on the box is not an option :

Re: mp2 make test errors with current CVS on NetBSD 1.6.1/i386/perl5.8.0

2003-08-27 Thread Carl Brewer
Stas Bekman wrote: May be. I don't have IPv6 here, so I haven't tested with it. Anybody with IPv6 can help us here? Philippe, when is your patch going in? Carl, can you test without IPv6 enabled? Or is it too much of a trouble? If you install things nevertheless can you run your own things off