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

From: Henrik Nordström <henrik_at_henriknordstrom.net>
Date: Wed, 30 Apr 2014 10:52:28 +0200

ons 2014-04-30 klockan 06:22 +1200 skrev Amos Jeffries:

> 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.

Unless it has been fixed the UFS based stores also have an implicit
limit on cached entries somewhat less than 4KB (whole meta header need
to fit in first 4KB). Entries failing this gets cached but can never get
hit.

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

For Internet host names the limits are 63 octets per label, and 255
octects in total including dot delimiters.

Regards
Henrik
Received on Wed Apr 30 2014 - 08:52:48 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2014 - 12:00:15 MDT