Groupware 5.2.2

[#151] Only one acc with tls is possible
Summary Only one acc with tls is possible
Queue gloox
Queue Version SVN
Type Bug
State Resolved
Priority 2. Medium
Owners js (at) camaya (dot) net
Requester euroelessar (at) gmail (dot) com
Created 10/16/2009 (2751 days ago)
Updated 10/16/2009 (2751 days ago)
Resolved 10/16/2009 (2751 days ago)

10/16/2009 09:25:38 PM Jakob Schröter Assigned to Jakob Schröter
State ⇒ Resolved
10/16/2009 09:25:27 PM SVN Commit Comment #2 Reply to this comment
ChangeLog for revision 4192:

* don't deinit() gnutls. problematic if another account is still using 
TLS (fixes #151)

10/16/2009 06:26:21 PM euroelessar (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
New Attachment: tlsgnutlsbase.diff
Queue ⇒ gloox
Summary ⇒ Only one acc with tls is possible
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
If there are more than one acc with tls encryption enabled we get 
segfault at disconnect, because gnutls_global_deinit(), as I see, 
clear all resources of gnutls, so any active connection provide segfault
So we can't use it in destructor, patch is attached