cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: More testsuite line-ending improvements to support Windows

From: Marc Hoersken <info_at_marc-hoersken.de>
Date: Sun, 09 Feb 2014 12:36:22 +0100

Am 04.02.2014 00:29, schrieb Daniel Stenberg:
> 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.
>

I do actually think that curl does not handle the HTTP header correctly
in this case. It seems like on LF-based systems the second HTTP-header
output by curl uses LF even though the HTTP-proxy sends it using CRLF.
This second header output is caused by the secondary FTP connection that
is opened to retrieve the FTP listing.

I would appreciate it if someone with insight into the FTP code could
check if it actually does the correct thing for proxied data
connections. Thanks in advance.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-02-09