KIO slave using copy() - problem with canResume()

Stephan Kulow coolo at kde.org
Mon Mar 8 12:50:34 GMT 2004


On Monday 08 March 2004 11:48, Dr. Juergen Pfennig wrote:
> I now have a working implementation for kio_ftp that also implements resume, 
> but I am only 95% happy with it. I would for example like to call canResume() 
Are that the same 95% with the inlining compiler? :)

> if I find .part file locally. Unfortunately this doesn't work. canResume() 
> tries to send metadata from the calling end of the data-pump kio_slave to 
> other side of the data pump. In other words: while a copy job executes inside 
> copy() the KIO::slavebase members mOutgoingMetaData and mIncomingMetaData 
> should be equal, so that if you send meta data (to yourself) you will able to 
> receive it. This would make canResume() work with copy.
> 
> Could someone please change this? For me it would take a while and I would 
> probable break things - or someone could become upset because the idea is 
I for one can't even follow you here. What exactly is wrong? You only list what should be.

Greetings, Stephan

-- 
There may be no I in TEAM, but a M and an E.




More information about the kde-core-devel mailing list