Bug 185478 - Passive DCC Send stalls at 99%
Summary: Passive DCC Send stalls at 99%
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.1
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 22:51 UTC by Philipp Claves
Modified: 2009-03-06 18:58 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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