Bug 185478

Summary: Passive DCC Send stalls at 99%
Product: [Applications] konversation Reporter: Philipp Claves <pclaves>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: normal CC: b.buschinski
Priority: NOR    
Version: 1.1   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Philipp Claves 2009-02-24 22:51:08 UTC
Version:           1.1 (using KDE 3.5.10)
OS:                Linux
Installed from:    Unspecified Linux

DCC transfer between Konversation 1.1 clients stalls at 99% if passvie mode is enabled at the sender side. It remains in send/receive state and no error is reported until one sides aborts the transfer.

Without passive mode the transfer works.
Comment 1 Bernd Buschinski 2009-03-06 02:21:35 UTC
SVN commit 935726 by buschinski:

In case the arriving packages are bigger than our buffer, we always leave a some data in the socket and when all data has arrived on the socket, we dont read the rest, because we dont get another readyRead from the Socket.
So we should read everything we get without leftovers.
After some more testing I will backport it
CCBUG:185478


 M  +11 -8     transferrecv.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=935726
Comment 2 Bernd Buschinski 2009-03-06 18:58:57 UTC
Backported the fix
http://websvn.kde.org/?view=rev&revision=935988