Re: Case-sensitive $r->param?

2024-02-14 Thread Joe Schaefer
You're more than welcome to join our tech blogging community Randolf. Just reach out privately with your preferred username and I'll get you sorted today. On Wed, Feb 14, 2024 at 3:22 PM Randolf Richardson wrote: > Yeah, I can see that being a major undertaking, and then Ruben's > observ

Re: Case-sensitive $r->param?

2024-02-14 Thread Randolf Richardson
Yeah, I can see that being a major undertaking, and then Ruben's observation that it could break a lot of software is also important. By the way, thanks for all the work you've done on Mod Perl. It's a great solution for the projects I work on, and I use it extensively for a lot o

Re: how to make :Sealed subs reentrant...

2024-02-14 Thread Joe Schaefer
Personally, after all the work I have done over the past 25 years to make mod_perl what it is today, I could care less about making it easy for other people to avoid patching source code to perl itself. If you don't like the performance gains of using :Sealed subroutines on your mod_perl handlers,

Re: how to make :Sealed subs reentrant...

2024-02-14 Thread Ed Sabol
On Feb 14, 2024, at 2:27 PM, Joe Schaefer wrote: > sealed.pm is really only necessary in a mod_perl context. And really it only > matters if you are using subrequests to reenter :Sealed handlers. Otherwise > I don't see the point of the exercise. Well, I suppose one point of the exercise would

Re: how to make :Sealed subs reentrant...

2024-02-14 Thread Joe Schaefer
sealed.pm is really only necessary in a mod_perl context. And really it only matters if you are using subrequests to reenter :Sealed handlers. Otherwise I don't see the point of the exercise. On Wed, Feb 14, 2024 at 2:25 PM Joe Schaefer wrote: > Why would there be? It only impacts :sealed subs,

Re: how to make :Sealed subs reentrant...

2024-02-14 Thread Joe Schaefer
Why would there be? It only impacts :sealed subs, which is not bundled with Perl. On Wed, Feb 14, 2024 at 2:24 PM Ed Sabol wrote: > On Feb 14, 2024, at 12:18 PM, Joe Schaefer wrote: > > pad.c will segfault with an out-of-bounds memory access at line 2460 of > pad.c. > > Is there a Perl/perl5 Gi

Re: how to make :Sealed subs reentrant...

2024-02-14 Thread Ed Sabol
On Feb 14, 2024, at 12:18 PM, Joe Schaefer wrote: > pad.c will segfault with an out-of-bounds memory access at line 2460 of pad.c. Is there a Perl/perl5 GitHub issue or pull request for this? Regards, Ed

how to make :Sealed subs reentrant...

2024-02-14 Thread Joe Schaefer
pad.c will segfault with an out-of-bounds memory access at line 2460 of pad.c. If you are willing to recompile perl with a dirty hotfix, there is one mentioned near the bottom of this page: https://blogs.sunstarsys.com/joe/perl7-sealed-lexicals.html.en.gz -- Joe Schaefer, Ph.D.

Re: Case-sensitive $r->param?

2024-02-14 Thread Ruben Safir
that would break a lot of software On Wed, Feb 14, 2024 at 08:30:47AM -0800, Randolf Richardson wrote: > Thanks Joe. So it's an APR library issue then. > > I wonder if adding a case_sensitive_keys() method to > APR::Request::Param that takes a boolean is something the APR team > wou

Re: Case-sensitive $r->param?

2024-02-14 Thread Joe Schaefer
It’s not worth replumbing apr‘s table API at this point. Joe Schaefer, Ph.D. Orion - The Enterprise Jamstack Wiki 954.253.3732 On Wed, Feb 14, 2024 at 11:31 AM Randolf Richardson wrote: > Thanks Joe. S

Re: Case-sensitive $r->param?

2024-02-14 Thread Randolf Richardson
Thanks Joe. So it's an APR library issue then. I wonder if adding a case_sensitive_keys() method to APR::Request::Param that takes a boolean is something the APR team would be willing to add. Or might there be a better approach? > In short- No. All apreq interfaces use APR tabl

Re: Case-sensitive $r->param?

2024-02-14 Thread Joe Schaefer
In short- No. All apreq interfaces use APR tables underneath. On Wed, Feb 14, 2024 at 11:12 AM Randolf Richardson wrote: > Is there a way to use $r->param in a case-sensitive manner? The > documentation indicates that keys are case-insensitive. > > Thanks. > > Randolf Richardso

Case-sensitive $r->param?

2024-02-14 Thread Randolf Richardson
Is there a way to use $r->param in a case-sensitive manner? The documentation indicates that keys are case-insensitive. Thanks. Randolf Richardson, CNA - rand...@inter-corporate.com Inter-Corporate Computer & Network Services, Inc. Beautiful British Columbia, Canada https://www.

Reviving the mod_perl social network

2024-02-14 Thread Joe Schaefer
We're making free tech blogs available to our social network on our mod_perl + event_mpm platform. Something like blogs.sunstarsys.com/joe look interesting? Get in on the ground floor and contact me privately for your account. Thanks! Let's revive the mod_perl tech community together, one blog a