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
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]
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;