Summary: | ftp://something never times out | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | hrabe |
Component: | ftp | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | thiago |
Priority: | NOR | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
hrabe
2001-08-18 19:49:37 UTC
It does time out, but it takes an awfully long time, depending on your kernel. In my system, I think it too 3 minutes. I'm going to add a timeout to the ioslave. Subject: kdelibs/kioslave/ftp CVS commit by thiago: Adding a timeout to the FTP connection, set to a minute. This also fixes the non-bug #31000. This should be backported to 3.1 too. CCMAIL: 31000@bugs.kde.org M +2 -1 ftp.cc 1.176 --- kdelibs/kioslave/ftp/ftp.cc #1.175:1.176 @@ -336,4 +336,5 @@ bool Ftp::connect( const QString &host, return false; } + ksControl->setTimeout(60); // a minute should be enough if (ksControl->connect() < 0) { *** Bug has been marked as fixed ***. |