cURL / Mailing Lists / curl-library / Single Mail

curl-library

FTP response timeout bug in 7.21.0 (with patch)

From: Jan Van Boghout <lists_at_macrabbit.com>
Date: Sat, 17 Jul 2010 00:55:56 +0200

Hello List,

When I upgraded to libcurl 7.21.0, I started getting strange timeout errors from FTP commands (immediately after sending them). After some research, I've concluded that the FTP implementation is missing at least one timestamp reset point, which the following patch adds:

http://macrabbit.com/misc/libssh2/ftp.c.patch

If someone who knows the FTP subsystem could review and include, that would be most appreciated. There's also a documentation/comment error in pingpong.h: response_time is described as a number of seconds when it's actually milliseconds. Relevant line:

long response_time; /* When no timeout is given, this is the amount of seconds we await for a server response. */

Cheers,
Jan

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-07-17