Scott,

Are you saying that the incoming request has a length of 42,000+ characters?

Apache docs say 8,192 characters is the maximum length of a URL.

Would it be possible to reduce the length of the request until the
segmentation fault stops occurring?
--
Russell Lundberg
Latest Blog Post for Telecom Pros:  Are you stuck with a messy mobile
network?
<https://www.linkedin.com/pulse/you-stuck-messy-mobile-network-russell-lundberg/>
Denver, Colorado +1 (808) 217-6975
Follow me on LinkedIn <https://th.linkedin.com/in/russelllundberg> | Twitter
<https://twitter.com/intent/follow?screen_name=telecomvoices> | Let's talk
<https://app.acuityscheduling.com/schedule.php?owner=14702481&appointmentType=8878125>
 | Subscribe to CafeTele Newsletter <https://cafetele.ck.page/newsletter>


On Sun, Feb 9, 2020 at 4:49 PM Scott Alexander <scott.alexan...@humak.fi>
wrote:

> Hi,
>
> I have in my code
>
> $req = Apache2::Request->new($r);
>
> My code gets to line 41 then causes a "child pid 13766 exit signal
> Segmentation fault (11)"
>
> $r->log_error("LINE 41") ;
> @number = split /\//, $req->param("numbers") ;
> $r->log_error("LINE 43") ;
>
> the incoming numbers contains a string of mobile numbers which in this
> test is 3900 numbers long and each number is 10-12 characters long.
> javascript tells me the length of the posted string is 42260 characters
> long.
>
> Any idea how to fix this problem?
>
> httpd -v
> Server version: Apache/2.2.15 (Unix)
> Server built:   Jun 19 2018 15:45:13
>
> but I get the same error on the production server which is
>
> Server version: Apache/2.4.6 (CentOS)
> Server built:   Aug  8 2019 11:41:18
>
>
> Terveisin/Regards
>
> *Scott Alexander*
> Asiantuntija, järjestelmät  Systems Specialist
>
> Humak
> Humanistinen ammattikorkeakoulu
> University of Applied Sciences
> www.humak.fi
>
> Tel. +358 (0)50 411 9556
>
> scott.alexan...@humak.fi
>

Reply via email to