From owner-freebsd-questions Thu Mar 9 17:50:16 2000 Delivered-To: freebsd-questions@freebsd.org Received: from student.kgv.edu.hk (student.kgv.edu.hk [152.101.128.2]) by hub.freebsd.org (Postfix) with SMTP id 969EC37B92C for ; Thu, 9 Mar 2000 17:50:09 -0800 (PST) (envelope-from menger@student.kgv.edu.hk) Received: (qmail 89686 invoked by uid 33); 10 Mar 2000 01:50:04 -0000 Date: 10 Mar 2000 01:50:04 -0000 Message-ID: <20000310015004.89685.qmail@student.kgv.edu.hk> To: freebsd-questions@freebsd.org Subject: Please help: Buffers From: Matthew Enger X-Mailer: TWIG 2.1.1 Reply-To: menger-freebsd@gate.kgv.edu.hk Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? ------------------------------------- Matthew Enger Systems Administrator - KGV School To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message