You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/06/05 20:41:14 UTC

DO NOT REPLY [Bug 9644] New: - error logs entries for external filter, but page served ok

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9644>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9644

error logs entries for external filter, but page served ok

           Summary: error logs entries for external filter, but page served
                    ok
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: mod_ext_filter
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bruno@wolff.to


I am seeing error logs like the following when using a filter
program (a 10 line perl program included below):
[Wed Jun 05 13:12:39 2002] [error] [client 127.0.0.1] (9)Bad file descriptor:
apr_file_close(child input)
I get a log entry whenever a page to which this filter is applied
gets included (by INCLUDES) in another document. If the document has
three includes I get three error messages for each reference. I don't
get an error message if I access the file directly instead of including it.
I use the virtual= clause to specify the document. This is occuring
in the httpd-2.0_20020605161218.tar.gz snapshot with apr and apr-util
from about the same time. I also had the problem with the previous
snapshot I was using from a few days ago.
The perl program is as follows:
#!/usr/bin/perl
print "\n<pre>\n";
while (<STDIN>) {
  s/&/&amp;/;
  s/</&lt;/;
  s/>/&gt;/;
  print;
}
print "</pre>\n"

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org