httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Ralf S. Engelschall)
Subject Re: cvs commit: apache-1.3/src/modules/proxy proxy_ftp.c
Date Fri, 20 Mar 1998 11:14:09 GMT

In article <> you wrote:

> Ralf wrote,...
>>   Log:
>>   The proxy module now uses the already determined response of
>>   the FTP SITE command to provide a Content-Length header for FTP requests.

> Bravo! I've been thinking of doing this in a similar way, but never came
> around to doing it. Very good.


> Did you think of the (barely documented) ";type=a" suffix? If ASCII mode
> is enabled, then we should NOT send the Content-Length header because
> possibly a CRLF<->LF translation is involved, changing the de-facto
> transfer size. The default transfer type is binary, of course, so this
> will hardly be a restriction.

Ups, yes. Good point, Martin. I'll add an additional check
for this case. Thanks for pointing it out.

                                       Ralf S. Engelschall

View raw message