cURL / Mailing Lists / curl-library / Single Mail


FTP and very long server response lines

From: Daniel Stenberg <>
Date: Thu, 23 Aug 2007 12:45:29 +0200 (CEST)


I just wanted to let it be known that libcurl didn't previously deal with FTP
server response lines that were longer than 16 kilobytes (in a single line),
and with the newly added fix it should now work with any lengths but it will
chop off the line so not the entire will be passed on to the application.

Such extreme responses are very rare and an exception anyway so I don't think
it'll hurt anyone for real. As a comparison, wget bails out on a response that
reaches 4K.

  Commercial curl and libcurl Technical Support:
Received on 2007-08-23