KSSL session reuse bugs

David Faure dfaure at klaralvdalens-datakonsult.se
Thu Oct 23 12:01:11 BST 2003


On Thursday 23 October 2003 12:54, Stefan Rompf wrote:
> Hi,
> 
> > Shouldn't this apply to other kind of jobs than TransferJob, too?
> > For instance, stat() over https (testing if a URL exists)
> > or fetching multiple urls at a time, or hmm, listing a dir over webdavs,
> > or anything else one can do over webdavs.
> 
> beside stat, I suppose all these jobs are TransferJobs or inherit from 
> TransferJob, so they should already use SSL session caching.

No, delete(), listDir(), special() etc. are no TransferJob, that's why I chose
those examples (hmm forget about 'multiple urls', I had missed the 'static').

> The reason I chose TransferJob over SimpleJob is that the session cache must 
> be aware of redirections, and moving m_redirectionURL breaks binary 
> compatibilty.
I see.

> > Maybe this should be moved to a separate singleton class (KStaticDeleter),
> > used by SimpleJob?
> 
> Good point. That will allow us to retrieve the SSL session in SimpleJob, and  
> save it in the redirection aware TransferJob, StatJob etc.

Sounds good.

-- 
David Faure -- faure at kde.org, dfaure at klaralvdalens-datakonsult.se
Qt/KDE/KOffice developer
Klarälvdalens Datakonsult AB, Platform-independent software solutions




More information about the kde-core-devel mailing list