[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdebase/kcontrol/crypto
From:       George Staikos <staikos () kde ! org>
Date:       2001-07-05 2:12:45
[Download RAW message or body]

On Wednesday 04 July 2001 16:56, Dawit Alemayehu wrote:

> No problem.  I already commited the changes I made to TCPSlaveBase and am
> only holding off the HTTP changes only :)  All that is left for me is to
> better document the class :)  BTW, when debugging yesterday for a stupid
> error I made in TCPSlaveBase, I noticed  that the KSSL class is initialized
> twice.  Once when the io-slave is created and then again when you connect
> to the SSL server because of the call to d->kssl->reinitialize().  Is that
> necessary becuase inheriting classes have access to the member variables
> like m_bIsSSL ?

   Initialize just creates the object.  I reinitialize just to be sure that 
no code path has made it through reusing an object which hasn't been 
initialized again.  ... in other words, I did it like that for safety.  There 
shouldn't be any significant overhead.

-- 

George Staikos

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic