DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=40309>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40309 Summary: mod_ext_filter mode=input -> no data in stdin Product: Apache httpd-2 Version: 2.2.2 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: normal Priority: P2 Component: mod_ext_filter AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] I wrote two little filters for testing mod_ext_filter. One is used in mode output and the other in mode input. The output filter works fine but the input filter can't read any data from stdin because there is no data in stdin. I have checked the logs for errors but there was nothing. The requested page is also shown correctly. Did I make a mistake? ------------------------------------------------ httpd.conf: LoadModule ext_filter_module modules/mod_ext_filter.so ExtFilterDefine filter_single_sign_on mode=input cmd="E:/singlesignon.exe" SetInputFilter filter_single_sign_on ----------------------------------------------- singlesignon.exe: int main(int argc,char *argv[]) { FILE *file; int zeichen; /* ... Open a file for output. */ file = fopen("E:\\request.txt", "w"); fprintf(file, "Request: \n"); while((zeichen = getc(stdin)) != EOF) // Get data from stdin { fprintf(file, "%c", zeichen); // Send data to file. putchar(zeichen); } fclose(file); return 0; } -------------------------------------- -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
