Re: $_GET vars dropped?
| From: | Christoph M. Becker | Date: | Wed, 29 Apr 2020 21:13:19 +0000 |
| Subject: | Re: $_GET vars dropped? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-327120@lists.php.net to get a copy of this message | ||
On 29.04.2020 at 13:23, Ashley Sheridan wrote:
> On April 29, 2020 11:16:21 AM UTC, Andrey Repin <anrdaemon@freemail.ru> wrote:
>
>> Greetings, Ashley Sheridan.
>> In reply to Your message dated Friday, April 24, 2020, 17:09:19,
>>
>>> I actually found that browsers weren't the issue with long GET
>> requests but
>>> web servers were. In my particular case it was IIS, not sure if
>> Apache and nginx have the same issue.
>>
>> This is not an issue per se, more a sane limitation on client
>> misbehavior.
>> When webserver just accepted the connection and started parsing a
>> request, it
>> has to allocate some memory for initial buffer to read the request into
>> it.
>> Making this allocation bigger is not really feasible, and if your
>> request line
>> does not fit into it, it's safer to drop you and claim you are
>> misbehaving than
>> to keep reading in hopes of finding an end to your arrogance.
>
> I don't think I was arrogant, perhaps your choice of wording could be better?
As I understand it, Andrey didn't refer to you in his last sentence, but
to the sender of the overly long query string. :)
--
Christoph M. Becker