cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: More testsuite line-ending improvements to support Windows

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 4 Feb 2014 00:29:52 +0100 (CET)

On Mon, 3 Feb 2014, Marc Hoersken wrote:

>> It looks like the test tunnels an FTP connection through a HTTP proxy and
>> because the mode of the <datacheck> is text, LF is compared for the HTTP
>> responses rather than CRLF which looking at the <connect> section these
>> lines have.
>
> Yes, even though I thought that this commit [1] would make it convert all
> line-endings to CRLF on Windows and not touch them on any other system.
> Basically the HTTP headers should use CRLF everywhere and the FTP listing
> should be text-aware.

Test 1316 may be a tricky case since it is "FTP over HTTP", which basically is
initially FTP but it becomes HTTP when it uses an HTTP proxy to get the job
done.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-04