From: Ian Holsman Date: Sun, 18 Aug 2002 21:01:06 +0000 (+0000) Subject: PR: X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=45870977233d6fd7361b3db49f6bd4afa6d5d6cc;p=apache PR: Obtained from: Submitted by: Alexey Panchenko alexey@liwest.ru Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96439 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index e0846cbc3b..9e864d3349 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,7 @@ Changes with Apache 2.0.41 + + *) thread safety & proxy-ftp [Alexey Panchenko alexey@liwest.ru, Ian Holsman] + *) mod_disk_cache works much better. This module should still be considered experimental. [Eric Prud'hommeaux] diff --git a/modules/proxy/proxy_ftp.c b/modules/proxy/proxy_ftp.c index a306056c46..8d95499f18 100644 --- a/modules/proxy/proxy_ftp.c +++ b/modules/proxy/proxy_ftp.c @@ -672,13 +672,10 @@ proxy_ftp_command(const char *cmd, request_rec *r, conn_rec *ftp_ctrl, static int ftp_set_TYPE(char xfer_type, request_rec *r, conn_rec *ftp_ctrl, apr_bucket_brigade *bb, char **pmessage) { - static char old_type[2] = { 'A', '\0' }; /* After logon, mode is ASCII */ + char old_type[2] = { 'A', '\0' }; /* After logon, mode is ASCII */ int ret = HTTP_OK; int rc; - if (xfer_type == old_type[0]) - return ret; - /* set desired type */ old_type[0] = xfer_type;