Re: POST large amount of data causes segmentation fault

2020-02-09 Thread Vincent Veyron
On Sun, 9 Feb 2020 10:57:04 + Scott Alexander wrote: > I meant I'm posting data from a form, javascript is collecting a series of > numbers from a as a string. Not really clear what happens here? I guess Javascript writes the content of the text input? > Javascript seperates each number

Re: POST large amount of data causes segmentation fault

2020-02-09 Thread Russell Lundberg
You might want to have a look at Apache2::SizeLimit instead https://perl.apache.org/docs/2.0/api/Apache2/SizeLimit.html You might decide to limit the count if numbers which get submitted with a single form. -- Russell Lundberg Latest Blog Post for Telecom Pros: Are you stuck with a messy mobile n

Re: POST large amount of data causes segmentation fault

2020-02-09 Thread Scott Alexander
Hi, I meant I'm posting data from a form, javascript is collecting a series of numbers from a as a string. Javascript seperates each number with a '/' then I use split within Perl to get the list of numbers into an array. The length of the URL where the data is being posted to is just send_me

Re: POST large amount of data causes segmentation fault

2020-02-09 Thread Russell Lundberg
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 Tel

POST large amount of data causes segmentation fault

2020-02-09 Thread Scott Alexander
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 mo