>
> Should work, but you may want to tune the script to also handle "no
> content-length"... (should dump warnings in your cache.log in the
> current design)..
hey  Mr. Henrik,
Thanks for the reply. Can you tell me how to handle "no
content-length" the script I am using is below for content-length is
below
the request_body_max_size script for content-length
#!/bin/sh
while read line; do
  set -- $line
  length="$1"
  limit="$2"
  if [ "$length" -le "$2" ]; then
     echo OK
  else
     echo ERR
  fi
done
The warning in cache.log is below
/etc/squid/request.sh: line 6: [: -: integer expression expected
Thanks & Regards
Ankush Grover
Received on Tue Jun 20 2006 - 06:58:28 MDT
This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT