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=10760>. 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=10760 empty ftp directory listings from cached ftp directories Summary: empty ftp directory listings from cached ftp directories Product: Apache httpd-1.3 Version: 1.3.26 Platform: PC OS/Version: Linux Status: NEW Severity: Major Priority: Other Component: mod_proxy AssignedTo: bugs@httpd.apache.org ReportedBy: [EMAIL PROTECTED] mod_proxy uses its own routine named 'send_dir' in proxy_ftp.c to output the contents in ftp directories. Unfortunately this routine doesn't update the amount of bytes written so that subsequent requests for the same directory will result in a directory listing with "Content-Length: 0". The patch to fix this bug below applies on top of the patch given in bug report 10747: --- proxy_ftp.c.orig Fri Jul 12 18:19:04 2002 +++ proxy_ftp.c Fri Jul 12 22:31:31 2002 @@ -1358,7 +1359,7 @@ ap_proxy_send_fb(data, r, c, -1, 0, 0, conf->io_buffer_size); } else { - send_dir(data, r, c, cwd); + c->written=send_dir(data, r, c, cwd); } /* ap_proxy_send_fb() closes the socket */ data = NULL; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]