[Bug 153301] New: KIO job sometimes freeze
Jiri Klement
jiri.klement at gmail.com
Sun Dec 2 21:00:15 CET 2007
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=153301
Summary: KIO job sometimes freeze
Product: kdelibs
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdelibs-bugs kde org
ReportedBy: jiri.klement gmail com
Version: (using KDE Devel)
Installed from: Compiled sources
OS: Linux
KIO::Get job sometimes freeze. For example in krusader's functions Split File & Combine File.
I think problem is in SocketConnectionBackend::socketReadyRead method (kdelibs/kio/kio/connection.h). The method checks socket->bytesAvailable() to make sure it could read complete message at once. But sometimes QSocket can't get more data from underlying connection until it's buffer is emptied.
When I changed this method to read data into my buffer as soon as they are available, krusader no longer freezed.
More information about the Kdelibs-bugs
mailing list