Re: How long is a domain or url can be?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 30 Apr 2014 06:22:15 +1200

On 30/04/2014 4:02 a.m., Eliezer Croitoru wrote:
> Thanks,
>
> I have seen this url and I remembered that there was something inside
> squid.
>
> I assumed that based on this link it should be pretty high.
> I noticed that apache web server has the limit of 128KB for a url.
>
> So I am a bit confused but I am thinking about url filtering DB.
>

HTTP defines no limit.
 - squid defines MAX_URL of 8KB, along with a header line limit of 64KB
total, and a helper line limit of 32KB total.

DNS defines X.Y.Z segments as being no longer than 255 bytes *each*.

Amos

> Eliezer
>
> On 04/29/2014 06:28 PM, Kinkie wrote:
>> http://www.boutell.com/newfaq/misc/urllength.html
>>
>> Squid defines MAX_URL at 8KiB (in src/defines.h)
>
Received on Tue Apr 29 2014 - 18:22:23 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 30 2014 - 12:00:15 MDT