Date: Thu, 9 Mar 2000 20:05:57 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: menger-freebsd@gate.kgv.edu.hk Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Please help: Buffers Message-ID: <20000309200557.V14279@fw.wintelcom.net> In-Reply-To: <20000310015004.89685.qmail@student.kgv.edu.hk>; from menger@student.kgv.edu.hk on Fri, Mar 10, 2000 at 01:50:04AM -0000 References: <20000310015004.89685.qmail@student.kgv.edu.hk>
next in thread | previous in thread | raw e-mail | index | archive | help
* Matthew Enger <menger@student.kgv.edu.hk> [000309 18:23] wrote:
>
> Hello,
>
> At the school I am attending we are running Squid 2.3.STABLE1 on FreeBSD 3.4-
> STABLE with cyberpatrol filters. We reciently discovered that if the URL
> entred into the squid redirect program for cyberpatrol is over 1024
> characters the program will not recieve any more text. This is causing
> problems for some URI's being accessed through our proxy which are (for some
> odd reason) longer then 1024 characters.
>
> I wrote a perl script below to act as a redirector and it is having the same
> problem:
>
> #!/usr/bin/perl
>
> $|=1;
> use strict;
>
> while (<>) {
> my @X = split;
> my $url = $X[0];
> chomp $url;
>
> print "$url\n";
> }
>
> Does anyone know how I can change this limit for both C (the cyberpatrol
> program) and perl programs?
You're not mentioning which browser you are using, but i know that
some if not all versions of MSIE don't work with URLs longer than
1024 characters.
-Alfred
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000309200557.V14279>
