Return-Path: Delivered-To: apmail-apache-bugdb-archive@apache.org Received: (qmail 3188 invoked by uid 500); 2 Jul 2000 14:20:07 -0000 Mailing-List: contact apache-bugdb-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: apache-bugdb@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-bugdb@apache.org Received: (qmail 3134 invoked by uid 501); 2 Jul 2000 14:20:01 -0000 Resent-Date: 2 Jul 2000 14:20:01 -0000 Resent-Message-ID: <20000702142001.3133.qmail@locus.apache.org> Resent-From: submit@bugz.apache.org (GNATS Filer) Resent-To: apache-bugdb@apache.org Resent-Cc: apache-bugdb@apache.org Resent-Reply-To: submit@bugz.apache.org, vek@pharmapartners.nl Received: (qmail 99383 invoked by uid 501); 2 Jul 2000 14:15:25 -0000 Message-Id: <20000702141525.99381.qmail@locus.apache.org> Date: 2 Jul 2000 14:15:25 -0000 From: Villy Kruse Reply-To: vek@pharmapartners.nl To: submit@bugz.apache.org X-Send-Pr-Version: 3.110 Subject: mod_proxy/6268: proxy_ftp.c fails with some servers -- the communication hangs. >Number: 6268 >Category: mod_proxy >Synopsis: proxy_ftp.c fails with some servers -- the communication hangs. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sun Jul 02 07:20:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: vek@pharmapartners.nl >Release: 1.3.12 >Organization: apache >Environment: Linux redhat 5.1 >Description: Some FTP server will not send anything on the FTP control channel before the data channel has been closed by the server after a file transfer. On these servers the transfer will not complete properly and the process will be waiting for input on the FTP control channel forever or until killed. >How-To-Repeat: The site ftp://ftp.nluug.nl is one such site which gives problems when using apache as a proxy server. I don't know what server they are running. Unix servers running wu_ftpd does not have any problem. >Fix: Move ap_bclose(data) to the point right after ap_proxy_send_fb or send_dir in proxy_ftp.c before the status code is requested after the file transfer is complete. This has fixed the problem for me. >Release-Note: >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]