cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Switching off sending of `TYPE I' in Passive Connections

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 24 May 2005 11:44:00 +0200 (CEST)

On Mon, 23 May 2005, vms_curl_at_kuhrt.net wrote:

> In mid-June I plan on playing with ftp to work on a VMS specific issue.
> Since I'll be knee deep in the code at that time, I'll keep this suggestion
> under consideration.

Cool.

>> We've seen similar issues with other commands before. I think the better
>> fix is to allow any 2xx response as a positive response to TYPE. Simply
>> skipping TYPE seems wrong... Don't you agree?
>
> In my opinion positive responses should not cause a disconnect. A log
> message maybe, but not a disconnect.

I agree, and I've just comment a fix for this. And a corresponding test case
(261).

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-24