aboutsummaryrefslogtreecommitdiff
path: root/juick-www/src/main/java/com/juick/xmpp/s2s
diff options
context:
space:
mode:
Diffstat (limited to 'juick-www/src/main/java/com/juick/xmpp/s2s')
-rw-r--r--juick-www/src/main/java/com/juick/xmpp/s2s/ConnectionIn.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-www/src/main/java/com/juick/xmpp/s2s/ConnectionIn.java b/juick-www/src/main/java/com/juick/xmpp/s2s/ConnectionIn.java
index 345caea9a..7181f1c28 100644
--- a/juick-www/src/main/java/com/juick/xmpp/s2s/ConnectionIn.java
+++ b/juick-www/src/main/java/com/juick/xmpp/s2s/ConnectionIn.java
@@ -14,6 +14,7 @@ import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.Socket;
+import java.net.SocketException;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;
@@ -154,7 +155,7 @@ public class ConnectionIn extends Connection implements Runnable {
LOGGER.warning("STREAM " + streamID + " FINISHED");
xmpp.removeConnectionIn(this);
closeConnection();
- } catch (EOFException ex) {
+ } catch (EOFException | SocketException ex) {
LOGGER.info(String.format("STREAM %s CLOSED (dirty)", streamID));
xmpp.removeConnectionIn(this);
closeConnection();