Package: scavr Version: 1.7.0-2 Severity: important
Hi, You see my software versions below. In fact, I just add url_rewrite_program /usr/lib/squid/scavr -c /etc/squid/scavr.conf url_rewrite_children 1 url_rewrite_access deny localhost into my squid.conf, then restart squid, then run strace on 'python scavr' process. I see that on first squid request, python reads characters from stdin, byte by byte, but it does not return on reading newline: read(0, "h", 1) = 1 read(0, "t", 1) = 1 read(0, "t", 1) = 1 read(0, "p", 1) = 1 read(0, ":", 1) = 1 read(0, "/", 1) = 1 read(0, "/", 1) = 1 read(0, "s", 1) = 1 ... read(0, "G", 1) = 1 read(0, "E", 1) = 1 read(0, "T", 1) = 1 read(0, " ", 1) = 1 read(0, "-", 1) = 1 read(0, "\n", 1) = 1 read(0, <unfinished ...> (I had broken the last read) Looking into lsof, I can see that squid spawns python-scavr with unix domain sockets as its stdin and stdout. May be python works with sockets in some special way, but so far I could not find this out of python sources. Hope you would. Thank you in advance for your attention to this. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-1-686 Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8) Versions of packages scavr depends on: ii python 2.4.4-1 An interactive high-level object-o ii python-clamav 0.3.3-2 Python bindings to ClamAV Versions of packages scavr recommends: ii squid 2.6.4-2 Internet Object Cache (WWW proxy c -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]