You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Eric Cholet <ch...@logilune.com> on 2001/07/12 16:25:33 UTC
$r->internal_redirect
Where is $r->internal_redirect defined? I must be blind but
I can't seem to find it. I'm trying to debug a reproducible
seg fault I'm getting when calling that method, which I wasn't
getting with mod_perl 1.24.
--
Eric Cholet
B995 E519 1594 10D0 4271 1EA5 8DF3 8004
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: $r->internal_redirect
Posted by Eric Cholet <ch...@logilune.com>.
--On 12/07/01 16:25 +0200 Eric Cholet wrote:
> Where is $r->internal_redirect defined? I must be blind but
> I can't seem to find it. I'm trying to debug a reproducible
> seg fault I'm getting when calling that method, which I wasn't
> getting with mod_perl 1.24.
never mind, I missed the ALIAS statement as pointed out to me
by Geoff.
--
Eric Cholet
B995 E519 1594 10D0 4271 1EA5 8DF3 8004
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: $r->internal_redirect
Posted by Stas Bekman <st...@stason.org>.
On Thu, 12 Jul 2001, Eric Cholet wrote:
> --On 12/07/01 23:39 +0800 Stas Bekman wrote:
>
> > On Thu, 12 Jul 2001, Eric Cholet wrote:
> >
> >> Where is $r->internal_redirect defined? I must be blind but
> >> I can't seem to find it. I'm trying to debug a reproducible
> >> seg fault I'm getting when calling that method, which I wasn't
> >> getting with mod_perl 1.24.
> >
> > in ./src/modules/perl/Apache.xs
> [...]
> > it's aliased to internal_redirect_handler
>
> Thanks... After some digging turns out it's a bug in some XS code,
> but not in mod_perl... Sorry for the noise.
> Anyway I noticed there's no test for internal_redirect in mod_perl's
> test suite, so first thing I did was to add one, which was a fast
> way to rule out mod_perl as a potential culprit. Would this test be a
> good thing to add to mod_perl?
IMHO, the more tests we have the better.
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: $r->internal_redirect
Posted by Eric Cholet <ch...@logilune.com>.
--On 12/07/01 23:39 +0800 Stas Bekman wrote:
> On Thu, 12 Jul 2001, Eric Cholet wrote:
>
>> Where is $r->internal_redirect defined? I must be blind but
>> I can't seem to find it. I'm trying to debug a reproducible
>> seg fault I'm getting when calling that method, which I wasn't
>> getting with mod_perl 1.24.
>
> in ./src/modules/perl/Apache.xs
[...]
> it's aliased to internal_redirect_handler
Thanks... After some digging turns out it's a bug in some XS code,
but not in mod_perl... Sorry for the noise.
Anyway I noticed there's no test for internal_redirect in mod_perl's
test suite, so first thing I did was to add one, which was a fast
way to rule out mod_perl as a potential culprit. Would this test be a
good thing to add to mod_perl?
--
Eric Cholet
B995 E519 1594 10D0 4271 1EA5 8DF3 8004
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org
Re: $r->internal_redirect
Posted by Stas Bekman <st...@stason.org>.
On Thu, 12 Jul 2001, Eric Cholet wrote:
> Where is $r->internal_redirect defined? I must be blind but
> I can't seem to find it. I'm trying to debug a reproducible
> seg fault I'm getting when calling that method, which I wasn't
> getting with mod_perl 1.24.
in ./src/modules/perl/Apache.xs
#functions from http_request.c
void
internal_redirect_handler(r, location)
Apache r
char * location
ALIAS:
Apache::internal_redirect = 1
...
it's aliased to internal_redirect_handler
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org