[squid-users] Re: external_acl_type, stops at externalAclLookup ?

From: Joao S Veiga <jsveiga_at_it.eng.br>
Date: Mon, 26 Oct 2009 10:44:40 -0200

Replacing the perl script by this bash script works:

#########################
#!/bin/bash
while read ip; do
 echo $ip >> /tmp/webl
 echo "OK user=jsv"
done
#########################

Removing the ' echo "OK user=jsv" ' line from this script results in
the same behavior as with the perl script - so it looks like squid is
not getting the perl output.

I tried to "cheat" by using qx{echo "OK user=jsv"} in the perl script,
but it did not work either. It looks to me like the $|=1; is not
working and perl is holding the output in the buffer (?!?).

BR,

Joao S Veiga
Received on Mon Oct 26 2009 - 12:44:48 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 26 2009 - 12:00:02 MDT