mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04:00
* removed SSL ex_data sharing of sslids in pqissl+authssl.
This used an unprotected singleton -> bad... Probably killed a lot of connections. * removed mConnMgr tests in authssl AuthSSL shouldn't use ConnectMgr. what happened to abstraction / seperation of function??? This code prevents quick reconnections. * Disabled AuthSSL from adding new SSL peers. This functionality is important... but should be handled elsewhere (p3connmgr or pqissl) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3200 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a24d833a12
commit
30210cf9ec
4 changed files with 7 additions and 63 deletions
|
@ -54,9 +54,12 @@
|
|||
|
||||
typedef std::string SSL_id;
|
||||
|
||||
class AuthSSL;
|
||||
/* This #define removes Connection Manager references in AuthSSL.
|
||||
* They should not be here. What about Objects and orthogonality?
|
||||
* This code is also stopping immediate reconnections from working.
|
||||
*/
|
||||
|
||||
class p3ConnectMgr;
|
||||
class AuthSSL;
|
||||
|
||||
class sslcert
|
||||
{
|
||||
|
@ -185,8 +188,6 @@ static int ex_data_ctx_index; //used to pass the peer id in the ssl context
|
|||
static AuthSSL *getAuthSSL() throw() // pour obtenir l'instance
|
||||
{ return instance_ssl; }
|
||||
|
||||
p3ConnectMgr *mConnMgr;
|
||||
|
||||
private:
|
||||
|
||||
// the single instance of this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue