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

2014-05-01 Thread Marcus Kool
On 05/01/2014 12:50 AM, Eliezer Croitoru wrote: On 05/01/2014 02:52 AM, Marcus Kool wrote: Eliezer, It is not clear what you want to achieve... If you just want to use a URL filter I suggest to use ufdbGuard. I am the author, give support, there are regular updates, it is multithreaded and

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

2014-04-30 Thread Henrik Nordström
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

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

2014-04-30 Thread Eliezer Croitoru
On 04/30/2014 11:52 AM, Henrik Nordström wrote: 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. Then StoreID helps a bit with

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

2014-04-30 Thread Amos Jeffries
On 1/05/2014 6:12 a.m., Eliezer Croitoru wrote: On 04/30/2014 11:52 AM, Henrik Nordström wrote: 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

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

2014-04-29 Thread Kinkie
http://www.boutell.com/newfaq/misc/urllength.html Squid defines MAX_URL at 8KiB (in src/defines.h) On Tue, Apr 29, 2014 at 4:40 PM, Eliezer Croitoru elie...@ngtech.co.il wrote: I am working on external_acl helper and I want to work with a DB of urls and domains. I know that there is a limit

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

2014-04-29 Thread Eliezer Croitoru
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. Eliezer On

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

2014-04-29 Thread Francesco
Well, Squid can't send you more than 8 KiB, so I'd consider that as a limit. Most browser will send much shorter URLs than that, if the page I refereced is to be believed. Kinkie On 29 Apr 2014, at 18:02, Eliezer Croitoru elie...@ngtech.co.il wrote: Thanks, I have seen this url and

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

2014-04-29 Thread Amos Jeffries
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