From ecccfe61af2ea4821f4ac8c89937fb64683c7362 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Sat, 10 May 2014 10:26:48 +0200 Subject: [PATCH] Reset usingTLS in XMPPTCPConnection.shutdown() --- .../src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/smack-tcp/src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java b/smack-tcp/src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java index 617f89067..1ce7b86f0 100644 --- a/smack-tcp/src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java +++ b/smack-tcp/src/main/java/org/jivesoftware/smack/XMPPTCPConnection.java @@ -370,6 +370,7 @@ public class XMPPTCPConnection extends XMPPConnection { setWasAuthenticated(authenticated); authenticated = false; connected = false; + usingTLS = false; reader = null; writer = null; }