Commit 4c629fc6 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Closing stream connection was not working.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6592 b35dd754-fafc-0310-a699-88a17e54d16e
parent 8a27cb38
...@@ -127,6 +127,11 @@ public abstract class StanzaHandler { ...@@ -127,6 +127,11 @@ public abstract class StanzaHandler {
return; return;
} }
// Verify if end of stream was requested
if (stanza.equals("</stream:stream>")) {
session.getConnection().close();
return;
}
// Create DOM object from received stanza // Create DOM object from received stanza
Element doc; Element doc;
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment