mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 09:39:39 +02:00
Fixed possible delay when TLS is not supported by the server. SMACK-161
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@4773 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
f5c5213e61
commit
47cc26e234
2 changed files with 11 additions and 1 deletions
|
@ -477,7 +477,8 @@ class PacketReader {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!startTLSReceived) {
|
||||
// Release the lock after TLS has been negotiated or we are not insterested in TLS
|
||||
if (!startTLSReceived || !connection.getConfiguration().isTLSEnabled()) {
|
||||
releaseConnectionIDLock();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue