Re: [Klara FreeBSD #2159] Second bug in our web server: mod_perl2 Apache2::Upload upload method silently dies

2025-07-22 Thread Randolf Richardson via modperl
No worries. I'm glad you included modperl@perl.apache.org in this development of software that is important to mod_perl2. I'm curious though, why not upgrade the libapreq2 package in the FreeBSD ports/pacakges system to libapreq2 v2.18, which already resolved the problem, instead

Re: [Klara FreeBSD #2159] Second bug in our web server: mod_perl2 Apache2::Upload upload method silently dies

2025-07-22 Thread Randolf Richardson via modperl
Why is effort being put into patching libapreq2 v2.17 when simply compiling v2.18 from source already solves the problems? > We now know how to fix this problem. The installation I have for testing mixes > packages from poudriere and ports installed from /usr/ports, which is not best > pra

Re: Apache2::Upload ->upload method dies silently if any file field is empty

2025-07-18 Thread Randolf Richardson via modperl
> On Jul 17, 2025, at 1:32PM, Alex Aminoff wrote: > > I have written up a description and replication code here: > > > > http://back.nber.org/sys-admin/apache2_upload_bug.html > > > > Is this something anyone else has seen? > > Hi, Alex. Yes, this is a known problem that has been discussed on the

Re: Apache2::Upload ->upload method dies silently if any file field is empty

2025-07-17 Thread Randolf Richardson via modperl
I've been down this road. If wrapping $r->upload() in an eval block doesn't solve the problem, it's likely that you need to upgrade libapreq2 to v2.18 (or newer): https://www.inter-corporate.com/kb/internal-apreq-error.pl If your Linux distribution doesn't include