Groupware 5.2.2
12/21/2014

[#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 (1892 days ago)
Due
Updated 10/16/2009 (1892 days ago)
Assigned
Resolved 10/16/2009 (1892 days ago)

History
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)


Diff: http://svn.camaya.net/diff.php?f=trunk&r1=4191&r2=4192
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